123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #pragma once
- // CAddDevice 对话框
- class CAddDevice : public CDialog
- {
- DECLARE_DYNAMIC(CAddDevice)
- public:
- CAddDevice(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CAddDevice();
- // 对话框数据
- enum { IDD = Dlg_AddDevice };
- CString m_strDepotPath;
- CString m_strRutDepotPath;
- void InitDataView();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- DECLARE_MESSAGE_MAP()
- public:
- virtual BOOL OnInitDialog();
- afx_msg void OnBnClickedOk();
- afx_msg void OnBnClickedExist();
- CString m_strDeviceName; // 设备名称;
- CString m_strDeviceID; // 设备ID号;
- CComboBox m_cobRate; // 波特率;
- CComboBox m_cobDatabit; // 数据位;
- CComboBox m_cobStopbit; // 停止位;
- CComboBox m_cobParity; // 校验码;
- CString m_strResponseTime; // 响应时间;
- CString m_strFrequency; // 采集频率;
- CString m_strLineType; // 接线类型;
- CString m_strComType; // 通信协议类型;
- CString m_strPindef; // 串口接线针角定义;
- //CComboBox m_cobStore;
- CString m_strFactory;
- CString m_strClassType;
- CString m_strDeviceName2;
- CString m_strModelNum;
- CString m_strSeries;
- CString m_strProtocol;
- };
|