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.

48 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:
  7. // SUBSYSTEM:
  8. // FILE: DevicePCI1762.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of DevicePCI1762.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __DEVICE__PCI__1762__H__INCLUDED__
  15. #define __DEVICE__PCI__1762__H__INCLUDED__
  16. #include "Device.h"
  17. #include "DeviceDI.h"
  18. #include "DeviceDO.h"
  19. #include "..\..\LgLib\Net\LgNetDeviceGPIOPCI1762.h"
  20. class CDevicePCI1762 :
  21. public CDevice,
  22. public CDeviceDI,
  23. public CDeviceDO,
  24. public CLgNetDeviceGPIOPCI1762
  25. {
  26. public:
  27. CDevicePCI1762();
  28. virtual ~CDevicePCI1762();
  29. public:
  30. virtual BOOL ReadWriteProc( DWORD dwTimeout );
  31. private:
  32. CLgNetMessageGPIO m_Msg;
  33. CLgNetDevice m_MsgSink;
  34. private:
  35. typedef struct OUTPUT_STATE
  36. {
  37. BOOL bOn;
  38. BOOL bFirstTime;
  39. }OUTPUT_STATE;
  40. CLgArray<OUTPUT_STATE> m_OutputState;
  41. };
  42. #endif