From 375342c11638685d6b7fecc2a979825c56d770f9 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 14 七月 2025 17:57:15 +0800
Subject: [PATCH] 1.CCollectionEvent,CLoadPort, CVariable类实现; 2.从.txt或csv中加载CVariable列表; 3.添加菜单,准备添加相关查看或编辑 CVariable列表的界面;
---
SourceCode/Bond/Servo/RecipeDeviceBindDlg.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
index c6634bf..884f048 100644
--- a/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
+++ b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
@@ -19,6 +19,17 @@
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔
-
+ virtual BOOL OnInitDialog();
+ afx_msg void OnClose();
+ afx_msg void OnSize(UINT nType, int cx, int cy);
DECLARE_MESSAGE_MAP()
+
+private:
+ struct DeviceWidget {
+ CEdit* editDeviceID;
+ CEdit* editDeviceName;
+ CComboBox* comboRecipeID;
+ };
+
+ std::vector<DeviceWidget> m_vecDevices;
};
--
Gitblit v1.9.3