From b78a202c2933d345e1983de26948dbdae5d72382 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期四, 12 二月 2026 10:28:06 +0800
Subject: [PATCH] 1.加上限制条件,Port1必须配置Port2, Port3必须配Port4,且是同一ProcessJob

---
 SourceCode/Bond/Servo/CCjPage2.h |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/SourceCode/Bond/Servo/CCjPage2.h b/SourceCode/Bond/Servo/CCjPage2.h
index 284aeb4..a49ee7a 100644
--- a/SourceCode/Bond/Servo/CCjPage2.h
+++ b/SourceCode/Bond/Servo/CCjPage2.h
@@ -5,14 +5,6 @@
 
 
 
-struct PJWarp {
-	BOOL addToCj;
-	void* pj;
-	int port;
-	BOOL checkSlot[8];
-	int material[8];
-};
-
 // CPjPage1 瀵硅瘽妗�
 
 class CCjPage2 : public CCjPageBase
@@ -33,6 +25,8 @@
 
 private:
 	void UpdatePjData();
+	void RefreshPortLocksAndButtons();
+	void SyncMaterialAcrossSelectedPorts(int material);
 
 private:
 	CCarrierSlotGrid m_grid;
@@ -59,4 +53,8 @@
 	afx_msg void OnBnClickedRadio4();
 	afx_msg void OnGridSelChanged(NMHDR* pNMHDR, LRESULT* pResult);
 	afx_msg void OnGridMatChanged(NMHDR* pNMHDR, LRESULT* pResult);
+	afx_msg void OnBnClickedButtonPort1ProcessStart();
+	afx_msg void OnBnClickedButtonPort2ProcessStart();
+	afx_msg void OnBnClickedButtonPort3ProcessStart();
+	afx_msg void OnBnClickedButtonPort4ProcessStart();
 };

--
Gitblit v1.9.3