From 9f0747e902bbb61229aa46a6bcf802921ee6fb58 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期六, 21 六月 2025 14:35:33 +0800 Subject: [PATCH] 1. 主窗口添加端口设置按钮,弹出本地测试的端口配置界面 --- SourceCode/Bond/Servo/PortConfigurationDlg.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/SourceCode/Bond/Servo/PortConfigurationDlg.h b/SourceCode/Bond/Servo/PortConfigurationDlg.h index ac7a710..dc33c95 100644 --- a/SourceCode/Bond/Servo/PortConfigurationDlg.h +++ b/SourceCode/Bond/Servo/PortConfigurationDlg.h @@ -20,11 +20,16 @@ protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔 virtual BOOL OnInitDialog(); + afx_msg void OnBnClickedButtonApply(); DECLARE_MESSAGE_MAP() private: - CGridCtrl m_wndGrid; - + int GetLoadPortEqID(const std::string& strPortName); void InitGrid(); void FillGrid(); + + CGridCtrl m_wndGrid; + CComboBox m_comboPort; + CComboBox m_comboRecipe; + CComboBox m_comboMaterialsType; }; -- Gitblit v1.9.3