From c4a65f54c7876395a07e4a0914035d707fac7ee2 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期四, 12 六月 2025 15:06:27 +0800 Subject: [PATCH] 1. 模仿Bander添加VacuumBake、BakeCooling和Measurement写入事件 2. 修复搬运交互的地址 3. 修复状态图VacuumBake、BakeCooling和Measurement信号显示的问题 --- SourceCode/Bond/Servo/CEquipment.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h index cb1a615..da67314 100644 --- a/SourceCode/Bond/Servo/CEquipment.h +++ b/SourceCode/Bond/Servo/CEquipment.h @@ -150,6 +150,9 @@ // unitNo: 0:local; Others:unit No int recipeParameterRequest(short masterRecipeId, short localRecipeId, short unitNo); + // 获取指定的Slot + CSlot* getSlot(int index); + // 获取一个可用的槽位 CSlot* getAvailableSlot(); @@ -164,6 +167,7 @@ // 获取一个指定物料类型(G1,G2,G1&G2)的且已经加工处理的槽位 CSlot* getProcessedSlot(MaterialsType putSlotType); + CSlot* getProcessedSlot2(MaterialsType putSlotType, const std::vector<int>& candidates); // 获取玻璃物料 CGlass* getGlassFromSlot(int slotNo); @@ -181,6 +185,8 @@ // 指定槽位是否可以放置玻璃 BOOL canPlaceGlassInSlot(const short slotIndex); + // 手动移除物料 + int removeGlass(int slotNo); // 以下为从CC-Link读取到的Bit标志位检测函数 public: -- Gitblit v1.9.3