icpdas.h 740 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // MGE.h : MGE DLL 的主头文件
  2. //
  3. #pragma once
  4. #ifndef __AFXWIN_H__
  5. #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7. #include "CommAsyn.h"
  8. typedef struct __BASIC_STRUCT
  9. {
  10. int nAddr;
  11. RESPONSE_STRUCT tagStatusStruct;
  12. }BASIC_STRUCT, *PBASIC_STRUCT;
  13. typedef struct __COM_STRUCT
  14. {
  15. int nCommPort;
  16. int nAddr;
  17. CCommAsyn* pComm;
  18. }COM_STRUCT, *PCOM_STRUCT;
  19. //extern vector<__BASIC_STRUCT> g_vtReadBasicInfo;
  20. extern vector<__COM_STRUCT> g_vtComStruct;
  21. extern DWORD g_dwOnlineTick;
  22. // CMGEApp
  23. // 有关此类实现的信息,请参阅 MGE.cpp
  24. //
  25. class CIcpdasApp : public CWinApp
  26. {
  27. public:
  28. CIcpdasApp();
  29. // 重写
  30. public:
  31. virtual BOOL InitInstance();
  32. DECLARE_MESSAGE_MAP()
  33. virtual int ExitInstance();
  34. };