From 0eda0a5b33c420c65fa55091a7e01c269838cdb3 Mon Sep 17 00:00:00 2001 From: lhiven Date: Mon, 2 Dec 2024 13:55:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=99=E4=BB=93=E5=A4=B9=E7=88=AA=E6=9D=BE?= =?UTF-8?q?=E5=BC=80=E3=80=81=E5=A4=B9=E7=B4=A7=E6=97=B6=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?1=E7=A7=92=E7=9A=84=E5=BB=B6=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.DeweyTester/Flow/NormalFlow/StockFlowBase.cs | 3 ++- Rs.DeweyTester/Flow/SubFlow/StockTakeFlow.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Rs.DeweyTester/Flow/NormalFlow/StockFlowBase.cs b/Rs.DeweyTester/Flow/NormalFlow/StockFlowBase.cs index 2f23643..8fe627d 100644 --- a/Rs.DeweyTester/Flow/NormalFlow/StockFlowBase.cs +++ b/Rs.DeweyTester/Flow/NormalFlow/StockFlowBase.cs @@ -368,6 +368,7 @@ namespace Rs.MotionPlat.Flow.NormalFlow { if(Ops.IsOn($"料仓夹磁气缸{StockIndex}原位")) { + Thread.Sleep(1000); break; } else if(stopwatch.ElapsedMilliseconds>5000) @@ -401,7 +402,7 @@ namespace Rs.MotionPlat.Flow.NormalFlow { logInfo = $"{GetClassName()} 检测到料仓夹磁气缸{StockIndex}动位 OK"; MessageQueue.Instance.Insert(logInfo); - Thread.Sleep(500); + Thread.Sleep(1000); return; } else if (stopwatch.ElapsedMilliseconds > 5000) diff --git a/Rs.DeweyTester/Flow/SubFlow/StockTakeFlow.cs b/Rs.DeweyTester/Flow/SubFlow/StockTakeFlow.cs index 4f9172c..ea035d9 100644 --- a/Rs.DeweyTester/Flow/SubFlow/StockTakeFlow.cs +++ b/Rs.DeweyTester/Flow/SubFlow/StockTakeFlow.cs @@ -279,6 +279,8 @@ namespace Rs.MotionPlat.Flow.SubFlow break; case EButtonType.Skip: logInfo = GetClassName() + $"选择了跳过"; + curNozzle.VacBreak(EIoOperate.Close, GetClassName()); + curNozzle.VacSuction(EIoOperate.Close, GetClassName()); MessageQueue.Instance.Insert(logInfo); finished = true; flowStep = EStockTakeFlowStep.待触发;