From 90c8673e4edaf2e68931470b4d480e02d4634fd0 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期六, 21 六月 2025 13:53:29 +0800
Subject: [PATCH] 1. 动态生成设备配方绑定界面的控件 2. 完善本地测试界面
---
SourceCode/Bond/Servo/RecipeDeviceBindDlg.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
index c6634bf..d65c49a 100644
--- a/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
+++ b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
@@ -19,6 +19,15 @@
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔
-
+ virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
+
+private:
+ struct DeviceWidget {
+ CEdit editDeviceID;
+ CEdit editDeviceName;
+ CComboBox comboRecipeID;
+ };
+
+ std::vector<DeviceWidget> m_vecDevices;
};
--
Gitblit v1.9.3