From d801f8999ad7cdbee7a5652b4bb512c47b9a2668 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 04 六月 2025 18:05:01 +0800
Subject: [PATCH] 1.搬送条件检测,增加一个条件,必须是已加工处理完成的Glass才符合搬出条件。 2.根据1,为CGlass增加相应工位的处理标志位,及标志位在后processDataReport修改为TRUE,以符合搬出条件;

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

diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h
index df7e015..95e5555 100644
--- a/SourceCode/Bond/Servo/CEquipment.h
+++ b/SourceCode/Bond/Servo/CEquipment.h
@@ -151,8 +151,14 @@
 		// 获取一个指定物料类型(G1,G2,G1&G2)的空槽位
 		CSlot* getAvailableSlotForGlass(MaterialsType type);
 
+		// 在指定的槽列表中,获取一个指定物料类型(G1,G2,G1&G2)的空槽位
+		CSlot* getAvailableSlotForGlass2(MaterialsType type, const std::vector<int>& candidates);
+
 		// 获取一个指定物料类型(G1,G2,G1&G2)的非空槽位
 		CSlot* getNonEmptySlot(MaterialsType type);
+
+		// 获取一个指定物料类型(G1,G2,G1&G2)的且已经加工处理的槽位
+		CSlot* getProcessedSlot(MaterialsType putSlotType);
 
 		// 获取玻璃物料
 		CGlass* getGlassFromSlot(int slotNo);
@@ -164,6 +170,9 @@
 		// 是否有玻璃
 		BOOL hasGlass();
 
+		// 获取指定ID的glass
+		CGlass * getGlass(const char* pszGlassId);
+
 		// 指定槽位是否可以放置玻璃
 		BOOL canPlaceGlassInSlot(const short slotIndex);
 

--
Gitblit v1.9.3