📄 config.h
字号:
#if !defined(AFX_CONFIG_H__FAC5C55D_88E6_4228_A8F3_2A6B92898886__INCLUDED_)
#define AFX_CONFIG_H__FAC5C55D_88E6_4228_A8F3_2A6B92898886__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Config.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CConfig dialog
class CConfig : public CDialog
{
// Construction
public:
CConfig(CWnd* pParent = NULL); // standard constructor
public:
int n_PORT, n_BAUDRATE, n_BITSIZE, n_STOPBIT, n_TIMER;
char n_PARITY;
CString n_RTUID;
public:
// 读配置文件
void readconfig(void);
// 写配置文件
void writeconfig(void);
// Dialog Data
//{{AFX_DATA(CConfig)
enum { IDD = IDD_CONFIG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConfig)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CConfig)
afx_msg void OnReadcfparity();
afx_msg void OnWritecf();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONFIG_H__FAC5C55D_88E6_4228_A8F3_2A6B92898886__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -