📄 advao.h
字号:
#if !defined(AFX_ADVAO_H__A1C4877A_8E3A_4F95_AD4E_3BC770B292D0__INCLUDED_)
#define AFX_ADVAO_H__A1C4877A_8E3A_4F95_AD4E_3BC770B292D0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CAdvAO wrapper class
class CAdvAO : public CWnd
{
protected:
DECLARE_DYNCREATE(CAdvAO)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xc3991d96, 0x7267, 0x4fd1, { 0x80, 0x28, 0x76, 0xd1, 0xda, 0xff, 0xe5, 0xb1 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
// Operations
public:
long GetDeviceNumber();
void SetDeviceNumber(long nNewValue);
CString GetDeviceName();
long GetLastErrorCode();
void SetLastErrorCode(long nNewValue);
CString GetLastErrorMessage();
void SetLastErrorMessage(LPCTSTR lpszNewValue);
long GetChannelNow();
void SetChannelNow(long nNewValue);
long GetResolutionInByte();
long GetChannelMaxNumber();
void SetDataValueRange(LPCTSTR lpszNewValue);
CString GetDataValueRange();
void SetDataPhysics(long nNewValue);
long GetDataPhysics();
void SetDataAnalog(double newValue);
double GetDataAnalog();
void SetDataDigital(long nNewValue);
long GetDataDigital();
long GetChannelExportStart();
void SetChannelExportStart(long nNewValue);
long GetChannelExportCount();
void SetChannelExportCount(long nNewValue);
double GetDataPacerRate();
void SetDataPacerRate(double newValue);
long GetDataPacerSource();
void SetDataPacerSource(long nNewValue);
long GetResolution();
long GetDataTriggerSource();
void SetDataTriggerSource(long nNewValue);
long GetDataReferenceSource();
void SetDataReferenceSource(long nNewValue);
long GetBulkTransferMinDataCount();
BOOL SelectDevice();
long GetDeviceListFirst(BSTR* pDeviceName);
long GetDeviceListNext(BSTR* pDeviceName);
BOOL TransferBulkDataFromMemory(long dataCount, const VARIANT& buffer, long timeout, BOOL cyclic, BOOL synchronous);
BOOL TransferBulkDataFromFile(LPCTSTR dataFile, long timeout, BOOL synchronous);
BOOL StopTransferBulkData();
BOOL ConvertAnalogValueToDigital(const VARIANT& dataAnalogArray, VARIANT* dataDigitalArray, long dataCount);
BOOL ConvertAnalogFileToDigital(LPCTSTR dataAnalogFile, LPCTSTR dataDigitalFile, LPCTSTR characterChannelSpacing, LPCTSTR characterNewLine);
BOOL GetValueRangeListFirst(double* boundaryLow, double* boundaryHigh);
BOOL GetValueRangeListNext(double* boundaryLow, double* boundaryHigh);
BOOL SetValueRange(long channel, double boundaryLow, double boundaryHigh);
BOOL GetValueRange(long channel, double* boundaryLow, double* boundaryHigh);
BOOL SynchronousExportData(const VARIANT& channelArray, const VARIANT& dataArray, long dataCount);
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADVAO_H__A1C4877A_8E3A_4F95_AD4E_3BC770B292D0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -