📄 gtcfgdlg.h
字号:
// GTcfgDlg.h : header file
//
//{{AFX_INCLUDES()
//#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_GTCFGDLG_H__0A91C6A6_82CA_434C_BA74_22A223EDD18A__INCLUDED_)
#define AFX_GTCFGDLG_H__0A91C6A6_82CA_434C_BA74_22A223EDD18A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CGTcfgDlg dialog
//static DWORD WINAPI ReadPortThread(LPVOID lpvoid); //读数据线程
UINT ReadPortThread(LPVOID lpvoid); //读数据线程
static DWORD WINAPI GetCheckThread(LPVOID lpParam);//检测设备线程
class CGTcfgDlg : public CDialog
{
// Construction
public:
CGTcfgDlg(CWnd* pParent = NULL); // standard constructor
char Parity[4];
unsigned char StopBits;
unsigned char ByteSize;
int nBaudRate;
unsigned char m_pPortNum;
void SendUserAt(int ipot,CString strat);
void SendEnable(int isFlag);
void OnComm(char* pRecv);
HANDLE hCheckhread;
// CWinThread* pRecvThread;
// Dialog Data
//{{AFX_DATA(CGTcfgDlg)
enum { IDD = IDD_GTCFG_DIALOG };
CIPAddressCtrl m_strIP;
CString m_strRxdata;
CString m_strTxdata;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGTcfgDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGTcfgDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonSrv1ip();
afx_msg void OnButtonSrv1pt();
afx_msg void OnButtonSrv2ip();
afx_msg void OnButtonSrv2pt();
afx_msg void OnButtonIpgprs();
afx_msg void OnButtonIpc();
afx_msg void OnButtonTum();
afx_msg void OnButtonImei();
afx_msg void OnButtonHbs();
afx_msg void OnButtonIpr();
afx_msg void OnButtonHbt();
afx_msg void OnButtonCopen();
afx_msg void OnButtonManualsend();
//afx_msg void OnComm();
afx_msg void OnButtonOpenc();
afx_msg void OnButtonVer();
afx_msg void OnButtonSelall();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GTCFGDLG_H__0A91C6A6_82CA_434C_BA74_22A223EDD18A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -