From 4a9f803ce6896554706b97fe36e0002d18e1f346 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 16 七月 2025 09:35:41 +0800
Subject: [PATCH] 1. [TaskControl] 添加设备启用状态判断(IsEnabled) 2. 在多个工艺任务(如 bake_to_cooling、bond_to_bake 等)中增加 psrEq->IsEnabled() 判断

---
 SourceCode/Bond/Servo/PortConfigurationDlg.h |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/PortConfigurationDlg.h b/SourceCode/Bond/Servo/PortConfigurationDlg.h
index ac7a710..f08af7f 100644
--- a/SourceCode/Bond/Servo/PortConfigurationDlg.h
+++ b/SourceCode/Bond/Servo/PortConfigurationDlg.h
@@ -1,6 +1,7 @@
 锘�#pragma once
 #include "afxdialogex.h"
 #include "GridCtrl.h"
+#include "CLoadPort.h"
 
 // CPortConfigurationDlg 瀵硅瘽妗�
 
@@ -20,11 +21,20 @@
 protected:
 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 鏀寔
 	virtual BOOL OnInitDialog();
+	afx_msg void OnSelchangeComboPort();
+	afx_msg void OnBnClickedButtonApply();
 	DECLARE_MESSAGE_MAP()
 
 private:
-	CGridCtrl m_wndGrid;
-
+	int GetLoadPortEqID(const std::string& strPortName);
+	void LoadPortConfigToUI(SERVO::CLoadPort* pPort);
 	void InitGrid();
 	void FillGrid();
+
+	SERVO::CLoadPort* m_pPort[4];
+
+	CGridCtrl m_wndGrid;
+	CComboBox m_comboPort;
+	CComboBox m_comboRecipe;
+	CComboBox m_comboMaterialsType;
 };

--
Gitblit v1.9.3