📄 airserverdlg.h
字号:
// airserverDlg.h : header file
//
#if !defined(AFX_AIRSERVERDLG_H__8EC0CD62_EDE1_4ABA_867D_E899D485CCAA__INCLUDED_)
#define AFX_AIRSERVERDLG_H__8EC0CD62_EDE1_4ABA_867D_E899D485CCAA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ComStatus.h"
#include "PortTalk.h"
/////////////////////////////////////////////////////////////////////////////
// CAirserverDlg dialog
class CAirserverDlg : public CDialog
{
// Construction
public:
CAirserverDlg(CWnd* pParent = NULL); // standard constructor
CComStatus m_comstatus;
int top;
int bottom;
BOOL detect;
// Dialog Data
//{{AFX_DATA(CAirserverDlg)
enum { IDD = IDD_AIRSERVER_DIALOG };
CComboBox m_airbottom;
CComboBox m_airtop;
CString m_message;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAirserverDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAirserverDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void select_ait_top();
afx_msg void select_air_bottom();
afx_msg void start_watch();
afx_msg void stop_watch();
afx_msg void empty_data();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CPortTalk *porttalk;
ULONG io_Base;
BOOL SetIOBASE();
void open_com();
void close_com();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AIRSERVERDLG_H__8EC0CD62_EDE1_4ABA_867D_E899D485CCAA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -