From 789af4f4a7baee07bd6c2c03588afcb19555343b Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 16 七月 2025 14:00:32 +0800
Subject: [PATCH] 1.CollectionEvent列表从文件加载,界面上显示;

---
 SourceCode/Bond/Servo/ServoDlg.cpp |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp
index 1b04b6b..b37b0f8 100644
--- a/SourceCode/Bond/Servo/ServoDlg.cpp
+++ b/SourceCode/Bond/Servo/ServoDlg.cpp
@@ -25,6 +25,7 @@
 #include "CHMPropertyDlg.h"
 #include "CPageVarialbles.h"
 #include "CPageReport.h"
+#include "CPageCollectionEvent.h"
 
 
 #ifdef _DEBUG
@@ -561,13 +562,17 @@
 {
 	CHMPropertyDlg dlg(_T("Variable|Rreport|Collection Event"), 658, 788);
 
-	CPageReport* pPage1 = new CPageReport();
-	pPage1->Create(IDD_PAGE_REPORT);
-	dlg.addPage(pPage1, "Report");
+	CPageCollectionEvent* pPage1 = new CPageCollectionEvent();
+	pPage1->Create(IDD_PAGE_COLLECTION_EVENT);
+	dlg.addPage(pPage1, "Event");
 
-	CPageVarialbles* pPage2 = new CPageVarialbles();
-	pPage2->Create(IDD_PAGE_VARIABLE);
-	dlg.addPage(pPage2, "Variable");
+	CPageReport* pPage2 = new CPageReport();
+	pPage2->Create(IDD_PAGE_REPORT);
+	dlg.addPage(pPage2, "Report");
+
+	CPageVarialbles* pPage3 = new CPageVarialbles();
+	pPage3->Create(IDD_PAGE_VARIABLE);
+	dlg.addPage(pPage3, "Variable");
 
 	dlg.DoModal();
 }

--
Gitblit v1.9.3