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/CBakeCooling.cpp | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CBakeCooling.cpp b/SourceCode/Bond/Servo/CBakeCooling.cpp
index 92aea69..5e374ab 100644
--- a/SourceCode/Bond/Servo/CBakeCooling.cpp
+++ b/SourceCode/Bond/Servo/CBakeCooling.cpp
@@ -48,4 +48,24 @@
{
CEquipment::serialize(ar);
}
+
+ void CBakeCooling::getAttributeVector(CAttributeVector& attrubutes)
+ {
+ __super::getAttributeVector(attrubutes);
+ }
+
+ int CBakeCooling::recvIntent(CPin* pPin, CIntent* pIntent)
+ {
+ return __super::recvIntent(pPin, pIntent);
+ }
+
+ BOOL CBakeCooling::glassWillArrive(CGlass* pGlass)
+ {
+ BOOL bRet = __super::glassWillArrive(pGlass);
+ if (!bRet) {
+ return FALSE;
+ }
+
+ return (m_glassList.size() < 4);
+ }
}
--
Gitblit v1.9.3