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.
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
// InputController_9222.h: interface for the CInputController_9222 class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_INPUTCONTROLLER_9222_H__42D3A85D_CF16_4F00_8E0D_F0B555E73D6B__INCLUDED_)
|
|
#define AFX_INPUTCONTROLLER_9222_H__42D3A85D_CF16_4F00_8E0D_F0B555E73D6B__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "InputControllerBase.h"
|
|
|
|
class CAdlinkCommon;
|
|
// NOTE: the Channel/Point number for analog input is 0 to 15 only
|
|
// However, MIT internal setting is 16 to 31.
|
|
|
|
class CInputController_9222 : public CInputControllerBase
|
|
{
|
|
public:
|
|
CInputController_9222();
|
|
virtual ~CInputController_9222();
|
|
|
|
// method to initialise the input controller card
|
|
int InitCard(int nHardwareIniTypeID, int nHardwareIniTypeCardNo, int *pPhysicalCardID) override;
|
|
|
|
// method to close the input controller card
|
|
int CloseCard(int nPhysicalCardID) override;
|
|
|
|
private:
|
|
std::unique_ptr<CAdlinkCommon> m_pCommon;
|
|
};
|
|
|
|
#endif // !defined(AFX_INPUTCONTROLLER_9222_H__42D3A85D_CF16_4F00_8E0D_F0B555E73D6B__INCLUDED_)
|