//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: Laserguard libraries // SUBSYSTEM: Devices support library // FILE: LgDeviceGPIOPCI1762.h // AUTHOR: Chizhevskiy Sergey // OVERVIEW // ~~~~~~~~ // Header file of CLgDeviceGPIOPCI1762 //---------------------------------------------------------------------------- #ifndef __LG__DEVICE__GPIO__PCI__1762__H__INCLUDED__ #define __LG__DEVICE__GPIO__PCI__1762__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif #include "LgDeviceGPIO.h" #include "..\Advantech\LgAdvantechPCI1762.h" class CLgDeviceGPIOPCI1762 : public CLgDeviceGPIO, private CLgAdvantechPCI1762 { public: CLgDeviceGPIOPCI1762(); virtual ~CLgDeviceGPIOPCI1762(); public: BOOL Create( INT nDevice ); void Destroy(); protected: virtual BOOL ReadWriteProc( DWORD dwTimeout ); private: virtual void OnInputChange( INT nBit, BOOL bOn ); }; #endif