From 426da014822111c6f1a541e9431f58060e477a4b Mon Sep 17 00:00:00 2001 From: lhiven <236881222@qq.com> Date: Thu, 1 Feb 2024 17:29:16 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BD=93inpu=E6=96=99?= =?UTF-8?q?=E7=9B=98=E9=80=80=E5=9B=9E=E5=88=B0=E5=AE=89=E5=85=A8=E4=BD=8D?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E5=90=AF=E5=8A=A8=E5=90=8E?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=BB=99input=E6=96=99=E4=BB=93=E4=B8=8A?= =?UTF-8?q?=E6=96=99=E7=9B=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.SkyLine/Flow/WorkEnvironment.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rs.SkyLine/Flow/WorkEnvironment.cs b/Rs.SkyLine/Flow/WorkEnvironment.cs index 4be8189..d53862e 100644 --- a/Rs.SkyLine/Flow/WorkEnvironment.cs +++ b/Rs.SkyLine/Flow/WorkEnvironment.cs @@ -58,7 +58,8 @@ namespace Rs.MotionPlat.Flow switch (step) { case EStockCheckStep.Input料仓是否就绪: - if (!StockManager.Instance.GetStock(ETrayType.Input).HasTray() || GlobalVar.VirtualAxis) + if ((!StockManager.Instance.GetStock(ETrayType.Input).HasTray() && StockManager.Instance.GetStock(ETrayType.Input).Status!= EStockTrayStatus.Backed) + || GlobalVar.VirtualAxis) { logInfo = GetClassName() + $"{ETrayType.Input}料仓无料,开始给{ETrayType.Input}料仓上料"; MessageQueue.Instance.Insert(logInfo);