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) {