From e48a55eb3cc807fa5a45cf398b6f523e96aa5312 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 15 七月 2025 15:10:31 +0800
Subject: [PATCH] 1.Variable列表显示到界面; 2.从文件中加载CReport列表;
---
SourceCode/Bond/Servo/ServoDlg.cpp | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp
index 12eed74..1b04b6b 100644
--- a/SourceCode/Bond/Servo/ServoDlg.cpp
+++ b/SourceCode/Bond/Servo/ServoDlg.cpp
@@ -22,6 +22,9 @@
#include "UserManager.h"
#include "SystemLogManager.h"
#include "PortConfigurationDlg.h"
+#include "CHMPropertyDlg.h"
+#include "CPageVarialbles.h"
+#include "CPageReport.h"
#ifdef _DEBUG
@@ -556,7 +559,17 @@
void CServoDlg::OnMenuProjectVarialbleList()
{
- AfxMessageBox("OnMenuProjectVarialbleList");
+ CHMPropertyDlg dlg(_T("Variable|Rreport|Collection Event"), 658, 788);
+
+ CPageReport* pPage1 = new CPageReport();
+ pPage1->Create(IDD_PAGE_REPORT);
+ dlg.addPage(pPage1, "Report");
+
+ CPageVarialbles* pPage2 = new CPageVarialbles();
+ pPage2->Create(IDD_PAGE_VARIABLE);
+ dlg.addPage(pPage2, "Variable");
+
+ dlg.DoModal();
}
void CServoDlg::OnUpdateMenuProjectVarialbleList(CCmdUI* pCmdUI)
--
Gitblit v1.9.3