From 26e26278bb7bf53b961f0414d9848679453349e4 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 15 五月 2025 18:01:48 +0800
Subject: [PATCH] 1.在FetchedOutJob时,如果是双玻璃片,即已贴合,则两块一起从列表删除; 2.同上,在StoredJob时,如果是双玻璃片,即已贴合,则两块一起加入列表中;

---
 SourceCode/Bond/Servo/CPageGraph2.cpp |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CPageGraph2.cpp b/SourceCode/Bond/Servo/CPageGraph2.cpp
index e8493da..ea4010b 100644
--- a/SourceCode/Bond/Servo/CPageGraph2.cpp
+++ b/SourceCode/Bond/Servo/CPageGraph2.cpp
@@ -227,6 +227,17 @@
 		}
 		else if (nCmd == ID_EQSGRAPHITEM_TEST3) {
 			SERVO::CEquipment* pEquipment = (SERVO::CEquipment*)pItem->pData;
+			if (pEquipment != nullptr) {
+				SERVO::CGlass* pGlass = pEquipment->getFrontGlass();
+				if (pGlass != nullptr) {
+					SERVO::CProcessData pd;
+					pd.setGlassId(pGlass->getID().c_str());
+					pEquipment->onProcessData(&pd);
+				}
+			}
+		}
+		else if (nCmd == ID_EQSGRAPHITEM_TEST4) {
+			SERVO::CEquipment* pEquipment = (SERVO::CEquipment*)pItem->pData;
 
 			// 娴嬭瘯涓嬪彂Cim Message
 			/*

--
Gitblit v1.9.3