12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #pragma once
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "ClientSocket.h"
- #include "head.h"
- typedef struct __BASIC_STRUCT
- {
- int nAddr;
- RESPONSE_STRUCT tagStatusStruct;
- }BASIC_STRUCT, *PBASIC_STRUCT;
- typedef struct __NET_STRUCT
- {
- int nNetPort;
- int nAddr;
- char strIpAddr[32];
- CClientSocket* pClientskt;
- }NET_STRUCT, *PNET_STRUCT;
- //extern vector<__BASIC_STRUCT> g_vtReadBasicInfo;
- //extern vector<__COM_STRUCT> g_vtComStruct;
- extern vector<__NET_STRUCT> g_vtNetStruct;
- extern vector<RESPONSE_STRUCT>g_Response;
- // CMGEApp
- // 有关此类实现的信息,请参阅 MGE.cpp
- //
- class CModbustcpApp : public CWinApp
- {
- public:
- CModbustcpApp();
-
- // 重写
- public:
- virtual BOOL InitInstance();
-
- DECLARE_MESSAGE_MAP()
- virtual int ExitInstance();
- };
|