From 8d437e955d1223ce622343ac7da90b1ad6fab954 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期四, 05 六月 2025 09:13:09 +0800 Subject: [PATCH] Merge branch 'master' into liuyang --- 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