📄 gtcfg.h
字号:
// GTcfg.h : main header file for the GTCFG application
//
#if !defined(AFX_GTCFG_H__128D1EA2_71DA_4C9C_AAF8_5DEEA3B58B0F__INCLUDED_)
#define AFX_GTCFG_H__128D1EA2_71DA_4C9C_AAF8_5DEEA3B58B0F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "Serial.h"
/////////////////////////////////////////////////////////////////////////////
// CGTcfgApp:
// See GTcfg.cpp for the implementation of this class
extern CString gstrTxat;
extern CString gstrTxat1;
extern CString gstrRxmsg;
extern int gAt_id;
extern BOOL isOpen;
extern BOOL isIPC;
extern Serial* gpPort;
extern HANDLE m_hComDev;
extern HANDLE hReadThread;
//extern CGTcfgDlg* gpView;
extern int TrimString(char *str);
extern void LTrim(char *t);
extern void RTrim(char *t);
extern CString gstrChck;
//extern DWORD WINAPI ReadPortThread(LPVOID lpvoid); //读数据线程
class CGTcfgApp : public CWinApp
{
public:
CGTcfgApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGTcfgApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CGTcfgApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GTCFG_H__128D1EA2_71DA_4C9C_AAF8_5DEEA3B58B0F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -