config.h

来自「运用通信API编写串口通信。 功能:1)通过串口进行数据的收发并在接收端显示收」· C头文件 代码 · 共 51 行

H
51
字号
#if !defined(AFX_CONFIG_H__2FECE8CB_89A5_41FA_A9AC_AEC34E261E97__INCLUDED_)
#define AFX_CONFIG_H__2FECE8CB_89A5_41FA_A9AC_AEC34E261E97__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

// Dialog Data
	//{{AFX_DATA(Cconfig)
	enum { IDD = IDD_DIALOG };
	int		m_intBaud;
	int		m_intPort;
	int		m_intParity;
	int		m_intStop;
	int		m_intData;
	//}}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)
		// NOTE: the ClassWizard will add member functions here
	//}}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__2FECE8CB_89A5_41FA_A9AC_AEC34E261E97__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?