123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #pragma once
- #include "afxwin.h"
- #include "MachineMgrBase.h"
- // CDlgConfig 对话框
- class CDlgConfig : public CDialog
- {
- DECLARE_DYNAMIC(CDlgConfig)
- public:
- CDlgConfig(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CDlgConfig();
- // 对话框数据
- enum { IDD = IDD_DLGCONFIG };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- virtual BOOL OnInitDialog();
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnBnClickedOk();
- afx_msg void OnBnClickedCancel();
- afx_msg void OnBnClickedRadioUsb();
- afx_msg void OnBnClickedRadioNet();
- afx_msg void OnBnClickedCheckudp();
- public:
- LPDEVICECFG m_lpCfg;
- private:
- int m_radio;
- CString m_strDBService;
- DWORD m_dwDBServicePort;
- CString m_strDBAccount;
- CString m_strDBPassword;
- CString m_strDBName;
- long m_lMachineNumber;
- CString m_strMachineIP;
- long m_nMachinePort;
- long m_nMachinePassword;
- long m_nMachineTimeout;
- int m_nProtocolType;
- CComboBox m_TypeCombox;
- };
|