From 01233fe221ac65a784bba454fd88c7c84d66954a Mon Sep 17 00:00:00 2001 From: liup <1454939542@qq.com> Date: Tue, 3 Sep 2024 17:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/bonait/bnframework/business/ExecuteTheRecipe.java | 2 +- .../java/com/bonait/bnframework/business/ExecuteTheRecipe2.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java index 8a600159..0b1a1649 100644 --- a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java +++ b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java @@ -355,7 +355,7 @@ public class ExecuteTheRecipe { case "主料": case "辅料": case "出菜": - while (!IsForcedEnd && !ExecuteTheRecipe2.RobotIsWorking) { + while (!IsForcedEnd && ExecuteTheRecipe2.RobotIsWorking) { try { Thread.sleep(200); } catch (InterruptedException e) { diff --git a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe2.java b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe2.java index 15fea500..2ca2d509 100644 --- a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe2.java +++ b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe2.java @@ -354,7 +354,7 @@ public class ExecuteTheRecipe2 { case "主料": case "辅料": case "出菜": - while (!IsForcedEnd && !ExecuteTheRecipe.RobotIsWorking) { + while (!IsForcedEnd && ExecuteTheRecipe.RobotIsWorking) { try { Thread.sleep(200); } catch (InterruptedException e) {