pqir_kilter_aio_card.h

来自「一款凯尔特DA卡的源代码」· C头文件 代码 · 共 42 行

H
42
字号
/*! 
COPYRIGHTS (C), 2007-2007, BeiJing HanWang Machine Vision Tech.Co.,Ltd. \n

	\file      PQIR_Kilter_AIO_Card.h
	\brief	   Define the class of Kilter AIO card
	\author    Dong Zhang
	\version   1.0
	\date      09-25-2008

REVISION: All rights reversed by BeiJing HanWang Machine Vision Tech.Co.,Ltd.
*/

#ifndef _PQIR_KILTER_ANOLOG_IO_CARD_H_
#define _PQIR_KILTER_ANOLOG_IO_CARD_H_

#include "PQIR_Analog_IO_Card.h"
#include "PQIR_IO_Define.h"

/*! \class CPQIR_Kilter_AIO_Card
	\brief This is the base class for operation analog I/O card.
*/
class CPQIR_Kilter_AIO_Card : public CPQIR_Analog_IO_Card
{
public:
	CPQIR_Kilter_AIO_Card();
	virtual ~CPQIR_Kilter_AIO_Card();
	
	virtual bool OpenIOCard();
	virtual bool CloseIOCard();

	virtual bool SetPortValue(int nPort, float fValue);
	virtual bool GetPortValue(int nPort, float& fValue);


protected:
	bool MapPort(int nPort, int& nMapPort);

private:

};

#endif  /* _PQIR_KILTER_ANOLOG_IO_CARD_H_ */

⌨️ 快捷键说明

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