Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT: Laserguard libraries
  7. // SUBSYSTEM: Devices support library
  8. // FILE: LgDeviceGPIOPCI1762.h
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of CLgDeviceGPIOPCI1762
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__DEVICE__GPIO__PCI__1762__H__INCLUDED__
  15. #define __LG__DEVICE__GPIO__PCI__1762__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "LgDeviceGPIO.h"
  20. #include "..\Advantech\LgAdvantechPCI1762.h"
  21. class CLgDeviceGPIOPCI1762 :
  22. public CLgDeviceGPIO,
  23. private CLgAdvantechPCI1762
  24. {
  25. public:
  26. CLgDeviceGPIOPCI1762();
  27. virtual ~CLgDeviceGPIOPCI1762();
  28. public:
  29. BOOL Create( INT nDevice );
  30. void Destroy();
  31. protected:
  32. virtual BOOL ReadWriteProc( DWORD dwTimeout );
  33. private:
  34. virtual void OnInputChange( INT nBit, BOOL bOn );
  35. };
  36. #endif