BNC监视器处理程序
源代码在线查看: configdlg.h
/*
** FILENAME ConfigDlg.h
**
** PURPOSE Here the ports can be configured
**
*/
#if !defined(AFX_CONFIGDLG_H__E8DCAF4F_5B32_11D1_94BA_00805A147202__INCLUDED_)
#define AFX_CONFIGDLG_H__E8DCAF4F_5B32_11D1_94BA_00805A147202__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "resource.h"
class CConfigDlg : public CDialog
{
public:
CConfigDlg(CWnd* pParent = NULL); // standard constructor
CConfigDlg(CWnd* pParent, BOOL bSerial,DCB dcb,WORD nIO,int nPort);
//{{AFX_DATA(CConfigDlg)
enum { IDD = IDD_CONFIG_DIALOG };
CString m_strBaudRate;
CString m_strDataBits;
CString m_strParity;
CString m_strStopBits;
int m_nPort;
CString m_strIO;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConfigDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
BOOL m_bSerial;
protected:
DCB m_dcb;
// Generated message map functions
//{{AFX_MSG(CConfigDlg)
virtual BOOL OnInitDialog();
afx_msg void OnRadio2();
afx_msg void OnRadio1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONFIGDLG_H__E8DCAF4F_5B32_11D1_94BA_00805A147202__INCLUDED_)