From 5bf6d6d8e5fc80d9297c7329d23283848ba56e0f Mon Sep 17 00:00:00 2001 From: lhiven <236881222@qq.com> Date: Thu, 22 Feb 2024 16:18:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=BB=93=E6=9D=9F=E4=B8=8A?= =?UTF-8?q?=E6=96=99=EF=BC=8C=E6=96=99=E7=9B=98=E9=87=8D=E6=96=B0=E5=9B=9E?= =?UTF-8?q?=E5=88=B0=E5=B7=A5=E4=BD=9C=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.SkyLine/Flow/NormalFlow/DischargeFlow.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Rs.SkyLine/Flow/NormalFlow/DischargeFlow.cs b/Rs.SkyLine/Flow/NormalFlow/DischargeFlow.cs index 3657d29..2a166f4 100644 --- a/Rs.SkyLine/Flow/NormalFlow/DischargeFlow.cs +++ b/Rs.SkyLine/Flow/NormalFlow/DischargeFlow.cs @@ -636,6 +636,14 @@ namespace Rs.MotionPlat.Flow logInfo = GetClassName() + $"选择了结束上料,通知中控结束上料"; MessageQueue.Instance.Insert(logInfo); reFetchNum = 0; + if (!StockManager.Instance.GetStock(ETrayType.Input).HasTray()) + { + logInfo = GetClassName() + $"检测到料盘不在工作位"; + MessageQueue.Instance.Insert(logInfo); + StockManager.Instance.GetStock(ETrayType.Input).Load(EStockTrayLoadMode.AfterBacked, null); + logInfo = GetClassName() + $"料盘已运动到工作位"; + MessageQueue.Instance.Insert(logInfo); + } TestCenter.Instance.EndInput(); LoadAndUnloadTask.Instance.ClearUndoTask(); if (NozzleManager.GetNozzlesByStatus(ENozzleStatus.ToUnload).Count > 0)