You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitlib.pub/MITLIB/IODll/Output_1203.h

32 lines
828 B
C++

// Output_1203.h: interface for the COutput_1203 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_OUTPUT_1203_H__C047F760_46EB_44CC_A05A_78B815955096__INCLUDED_)
#define AFX_OUTPUT_1203_H__C047F760_46EB_44CC_A05A_78B815955096__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "OutputBase.h"
class CAdvantechCommon_ACM;
class COutput_1203 : public COutputBase
{
public:
COutput_1203(const COutputSetting &Setting);
virtual ~COutput_1203();
// method to set analog output voltage
BOOL SetVoltage(double dVoltage, double dRange) override;
BOOL SetState(bool bState) override;
private:
std::unique_ptr<CAdvantechCommon_ACM> m_pCommon;
};
#endif // !defined(AFX_OUTPUT_1203_H__C047F760_46EB_44CC_A05A_78B815955096__INCLUDED_)