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

📄 daqai.h

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

/////////////////////////////////////////////////////////////////////////////
// CDAQAI wrapper class

class CDAQAI : public CWnd
{
protected:
	DECLARE_DYNCREATE(CDAQAI)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x624ec97b, 0x8e3a, 0x11d2, { 0xa9, 0xc9, 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:
	long GetDataType();
	void SetDataType(long);
	CString GetDeviceName();
	void SetDeviceName(LPCTSTR);
	short GetOverallInputRange();
	void SetOverallInputRange(short);
	VARIANT GetInputRangeList();
	void SetInputRangeList(const VARIANT&);
	double GetSampleRate();
	void SetSampleRate(double);
	short GetStartChannel();
	void SetStartChannel(short);
	short GetStopChannel();
	void SetStopChannel(short);
	long GetTransferMode();
	void SetTransferMode(long);
	long GetDeviceNumber();
	void SetDeviceNumber(long);
	long GetNumberOfSamples();
	void SetNumberOfSamples(long);
	BOOL GetFIFOEnabled();
	void SetFIFOEnabled(BOOL);
	BOOL GetEventEnabled();
	void SetEventEnabled(BOOL);
	short GetDaughterChannel();
	void SetDaughterChannel(short);
	short GetThermoType();
	void SetThermoType(short);
	short GetThermoScale();
	void SetThermoScale(short);
	CString GetDaughterName();
	void SetDaughterName(LPCTSTR);
	short GetThermoDasGain();
	void SetThermoDasGain(short);
	short GetThermoDasChannel();
	void SetThermoDasChannel(short);
	BOOL GetCyclicMode();
	void SetCyclicMode(BOOL);
	BOOL GetExtTrigger();
	void SetExtTrigger(BOOL);
	long GetInputRangeMode();
	void SetInputRangeMode(long);
	short GetMaxSingleEndedChannel();
	void SetMaxSingleEndedChannel(short);
	short GetMaxDifferentialChannel();
	void SetMaxDifferentialChannel(short);
	long GetDMAMode();
	void SetDMAMode(long);
	long GetClockSource();
	void SetClockSource(long);
	long GetTriggerMode();
	void SetTriggerMode(long);
	long GetTriggerEdge();
	void SetTriggerEdge(long);
	long GetDelayCount();
	void SetDelayCount(long);
	float GetTriggerVoltage();
	void SetTriggerVoltage(float);
	long GetSourceType();
	void SetSourceType(long);
	CString GetErrorMessage();
	void SetErrorMessage(LPCTSTR);
	long GetErrorCode();
	void SetErrorCode(long);
	long GetFIFOSize();
	void SetFIFOSize(long);

// Operations
public:
	BOOL AcquireStart();
	BOOL AcquireStop();
	BOOL CloseDevice();
	BOOL GetInputRange(short* Range, const VARIANT& List);
	BOOL OpenDevice();
	short RawInput(short Channel);
	float RealInput(short Channel);
	long AcquireStatus();
	short SelectDaughter();
	float ThermoRead();
	BOOL GetBufferData(long BufferStart, long count, const VARIANT& ReturnedData);
	BOOL GetFirstInputRange(BSTR* Item);
	BOOL GetNextInputRange(BSTR* Item);
	long SelectDevice();
	void AboutBox();
};

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

#endif // !defined(AFX_DAQAI_H__0B91333E_2EEA_44B4_9616_3CF271C6AC64__INCLUDED_)

⌨️ 快捷键说明

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