From 968ccc0dec80301f63483275981c06843f841850 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 02 九月 2025 08:42:21 +0800
Subject: [PATCH] 1.修复加工完成的料放回去,当Port变为LoadReady状态时仍被取走的问题; 2.Port下料配置,每一片的物料类型设置修复;

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

diff --git a/SourceCode/Bond/Servo/ProcessJob.cpp b/SourceCode/Bond/Servo/ProcessJob.cpp
index 801d9d2..b672e27 100644
--- a/SourceCode/Bond/Servo/ProcessJob.cpp
+++ b/SourceCode/Bond/Servo/ProcessJob.cpp
@@ -419,4 +419,15 @@
 
         return "";
     }
+
+    CarrierSlotInfo* CProcessJob::getCarrier(std::string& strId)
+    {
+        for (auto& item : m_carriers) {
+            if (item.carrierId.compare(strId) == 0) {
+                return &item;
+            }
+        }
+
+        return nullptr;
+    }
 }

--
Gitblit v1.9.3