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.
36 lines
935 B
C++
36 lines
935 B
C++
// Input_7856.h: interface for the CInput_7856 class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_INPUT_7856_H__541D5DB0_55F8_40BA_B3D7_EE128774A724__INCLUDED_)
|
|
#define AFX_INPUT_7856_H__541D5DB0_55F8_40BA_B3D7_EE128774A724__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "InputBase.h"
|
|
|
|
class CAdlinkCommon_APS;
|
|
|
|
class CInput_7856 : public CInputBase
|
|
{
|
|
public:
|
|
CInput_7856(const CInputSetting &Setting);
|
|
virtual ~CInput_7856();
|
|
|
|
// method to query Analog input voltage
|
|
// nRange = 0 -> +/-10V
|
|
// nRange = 1 -> +/-5V
|
|
// nRange = 2 -> +/-2.5V
|
|
// nRange = 3 -> +/-1.25V
|
|
BOOL GetVoltage(double &dVoltage, int nRange) override;
|
|
|
|
int GetState() override;
|
|
|
|
private:
|
|
std::unique_ptr<CAdlinkCommon_APS> m_pCommon;
|
|
};
|
|
|
|
#endif // !defined(AFX_INPUT_7856_H__541D5DB0_55F8_40BA_B3D7_EE128774A724__INCLUDED_)
|