提交 | 用户 | age
|
65f713
|
1 |
#pragma once
|
Q |
2 |
#include "PropSysReg1.h"
|
|
3 |
#include "PropModeCfg.h"
|
|
4 |
#include "PropMemCfg.h"
|
|
5 |
#include "PropCommCfg.h"
|
|
6 |
#include "PropInputCfg.h"
|
|
7 |
#include "PropOutputCfg.h"
|
|
8 |
#include "PropSysReg1.h"
|
|
9 |
|
|
10 |
|
|
11 |
// CDialogSysRegSet 对话框
|
|
12 |
//class CPropSysReg1;
|
|
13 |
|
|
14 |
class CDialogSysRegSet : public CDialogEx
|
|
15 |
{
|
|
16 |
DECLARE_DYNAMIC(CDialogSysRegSet)
|
|
17 |
|
|
18 |
public:
|
|
19 |
CDialogSysRegSet(CWnd* pParent = nullptr); // 标准构造函数
|
|
20 |
virtual ~CDialogSysRegSet();
|
|
21 |
RECT rect0;
|
|
22 |
RECT rect1;
|
|
23 |
int m_nPropHeight;
|
|
24 |
int m_nFrameheight;
|
|
25 |
int m_nScrollPos = 0;
|
|
26 |
|
|
27 |
// 对话框数据
|
|
28 |
#ifdef AFX_DESIGN_TIME
|
|
29 |
enum { IDD = IDD_DIALOG_SYSREG_SET };
|
|
30 |
#endif
|
|
31 |
|
|
32 |
protected:
|
|
33 |
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
34 |
CPropSysReg1 m_propsysreg1;
|
|
35 |
CPropModeCfg m_propmodecfg1;
|
|
36 |
CPropMemCfg m_propmemcfg1;
|
|
37 |
|
|
38 |
CPropCommCfg m_propcommcfg1;
|
|
39 |
CPropCommCfg m_propcommcfg2;
|
|
40 |
CPropInputCfg m_propinputcfg1;
|
|
41 |
CPropInputCfg m_propinputcfg2;
|
|
42 |
CPropInputCfg m_propinputcfg3;
|
|
43 |
CPropInputCfg m_propinputcfg4;
|
|
44 |
CPropOutputCfg m_propoutputcfg1;
|
|
45 |
CPropOutputCfg m_propoutputcfg2;
|
|
46 |
CPropOutputCfg m_propoutputcfg3;
|
|
47 |
CPropOutputCfg m_propoutputcfg4;
|
|
48 |
CPropCommCfg m_propcommcfg3;
|
|
49 |
|
|
50 |
DECLARE_MESSAGE_MAP()
|
|
51 |
public:
|
|
52 |
virtual BOOL OnInitDialog();
|
|
53 |
CScrollBar m_prop_scrollbar1;
|
|
54 |
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
|
|
55 |
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
|
|
56 |
afx_msg void OnLbnSelchangeListSel1();
|
|
57 |
CListBox m_listSel1;
|
|
58 |
|
|
59 |
int m_nTotalProp = 0;
|
|
60 |
int m_nCurProp = 0;
|
|
61 |
CDialogEx * m_PropPages[30];
|
|
62 |
|
|
63 |
|
|
64 |
int AddPropPage(CString sName, CDialogEx & rDlg);
|
418cb3
|
65 |
int testXmlParser();
|
Q |
66 |
int LoadDeviceDescriptionFile();
|
65f713
|
67 |
};
|