⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adaout.h

📁 这是工厂应用的软件
💻 H
字号:
#if !defined(AFX_ADAOUT_H__3D529BCD_1F29_4EF1_93D1_7DD64B3AC586__INCLUDED_)
#define AFX_ADAOUT_H__3D529BCD_1F29_4EF1_93D1_7DD64B3AC586__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.

/////////////////////////////////////////////////////////////////////////////
// CAdaout wrapper class

class CAdaout : public CWnd
{
protected:
	DECLARE_DYNCREATE(CAdaout)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x970dd29, 0x8809, 0x11d2, { 0xa9, 0xb8, 0x0, 0x20, 0x18, 0x65, 0x9, 0x13 } };
		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:
	BOOL GetCyclicMode();
	void SetCyclicMode(BOOL);
	long GetDeviceNumber();
	void SetDeviceNumber(long);
	CString GetDeviceName();
	void SetDeviceName(LPCTSTR);
	double GetOutputRate();
	void SetOutputRate(double);
	long GetNumberOfOutputs();
	void SetNumberOfOutputs(long);
	long GetTransferMode();
	void SetTransferMode(long);
	BOOL GetExtTrigger();
	void SetExtTrigger(BOOL);
	long GetErrorCode();
	void SetErrorCode(long);
	CString GetErrorMessage();
	void SetErrorMessage(LPCTSTR);
	long GetDataType();
	void SetDataType(long);
	BOOL GetEventEnabled();
	void SetEventEnabled(BOOL);
	long GetOutputType();
	void SetOutputType(long);
	short GetChannel();
	void SetChannel(short);
	short GetMaxChannel();
	void SetMaxChannel(short);

// Operations
public:
	BOOL OpenDevice();
	BOOL CloseDevice();
	BOOL OutputStart();
	BOOL OutputStop();
	long OutputStatus();
	BOOL RealOutput(float Data);
	BOOL RawOutput(short Data);
	BOOL SetRawBuffer(const VARIANT& DataArray);
	BOOL SetRealBuffer(const VARIANT& DataArray);
	BOOL SynchronousOutput();
	BOOL SetSynchronous(BOOL Enabled);
	long SelectDevice();
	void AboutBox();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ADAOUT_H__3D529BCD_1F29_4EF1_93D1_7DD64B3AC586__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -