serialport.h

来自「AliEditor_Source code」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_SERIALPORT_H__3AAF4344_9F69_40AB_9736_6B907A50BBCA__INCLUDED_)
#define AFX_SERIALPORT_H__3AAF4344_9F69_40AB_9736_6B907A50BBCA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SerialPort.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSerialPort dialog

class CSerialPort : public CDialog
{
// Construction
public:
	CSerialPort(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSerialPort)
	enum { IDD = IDD_SERAIL_PORT };
	CComboBox	m_stop_bits;
	CComboBox	m_data_bits;
	CComboBox	m_port_parity;
	CComboBox	m_bits_rate;
	CComboBox	m_com_port;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSerialPort)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
public:
	int m_com_port_val;
	int m_bits_rate_val;
	int m_data_parity_val;
	int m_data_bits_val;
	int m_stop_bits_val;

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSerialPort)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SERIALPORT_H__3AAF4344_9F69_40AB_9736_6B907A50BBCA__INCLUDED_)

⌨️ 快捷键说明

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