QuakeGod
2023-09-05 df03213660361b1c771f0a3f21b6ddaeaef7763a
提交 | 用户 | age
418cb3 1 #pragma once
Q 2
3 #include "CMyPropPage.h"
4 #include "KDefine.h"
5 // CPropCommCfg 对话框
6
7 class CPropCommCfg : public CMyPropPage
8 {
9     DECLARE_DYNAMIC(CPropCommCfg)
10
11 public:
12     CPropCommCfg(CWnd* pParent = nullptr);   // 标准构造函数
13     virtual ~CPropCommCfg();
14
15 // 对话框数据
16 #ifdef AFX_DESIGN_TIME
17     enum { IDD = IDD_PROP_COMM_CFG };
18 #endif
19
20 protected:
21     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
22
23     DECLARE_MESSAGE_MAP()
24 public:
25     stComPortParam ComPortParam;
26
27     int ShowParams();
28     int GetParams();
29     int GetData();
30     int SetData();
31 };