From e9c66dce803984d9eb0c026df8f50ad196fd0650 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 22 七月 2025 16:20:25 +0800
Subject: [PATCH] 1.将原来的设置CassetteType更新到EFEM的功能,修改为本地保存,因为EFEM不需要这些数据; 2.配置是否需要比较map的一致性; 3.收到EFEM的PortStarus,INUSE状态时,弹出配置对话框;打勾选择要加工的产品;

---
 SourceCode/Bond/Servo/PortConfigurationDlg.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/PortConfigurationDlg.h b/SourceCode/Bond/Servo/PortConfigurationDlg.h
index a016273..a8cd23f 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 瀵硅瘽妗�
 
@@ -12,6 +13,9 @@
 	CPortConfigurationDlg(CWnd* pParent = nullptr);   // 鏍囧噯鏋勯�犲嚱鏁�
 	virtual ~CPortConfigurationDlg();
 
+public:
+	void setCurSelPort(int sel);
+
 // 瀵硅瘽妗嗘暟鎹�
 #ifdef AFX_DESIGN_TIME
 	enum { IDD = IDD_DIALOG_PORT_CONFIGURATION };
@@ -20,8 +24,21 @@
 protected:
 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 鏀寔
 	virtual BOOL OnInitDialog();
+	afx_msg void OnSelchangeComboPort();
+	afx_msg void OnBnClickedButtonApply();
 	DECLARE_MESSAGE_MAP()
 
 private:
+	int GetLoadPortEqID(const std::string& strPortName);
+	void LoadPortConfigToUI(SERVO::CLoadPort* pPort);
+	void InitGrid();
+
+private:
+	SERVO::CLoadPort* m_pPort[4];
+	int m_nCurSelPort;
+
 	CGridCtrl m_wndGrid;
+	CComboBox m_comboPort;
+	CComboBox m_comboRecipe;
+	CComboBox m_comboMaterialsType;
 };

--
Gitblit v1.9.3