|
|
@@ -88,6 +88,7 @@ public class ExecuteTheRecipe2 { |
|
|
|
if (MakeStatus && orderDetail != null) { |
|
|
|
boolean isError = false; |
|
|
|
long startTime = System.currentTimeMillis(); //起始时间 |
|
|
|
RobotIsWorking = false; |
|
|
|
showlog("开始烹饪菜谱【" + orderDetail.goodsName + "】"); |
|
|
|
Wok2ModbusTcpServer.get().WriteBool("M52.0", (boolean) true, null); |
|
|
|
try { |
|
|
@@ -353,7 +354,7 @@ public class ExecuteTheRecipe2 { |
|
|
|
case "主料": |
|
|
|
case "辅料": |
|
|
|
case "出菜": |
|
|
|
while (!IsForcedEnd && !ExecuteTheRecipe2.RobotIsWorking) { |
|
|
|
while (!IsForcedEnd && !ExecuteTheRecipe.RobotIsWorking) { |
|
|
|
try { |
|
|
|
Thread.sleep(200); |
|
|
|
} catch (InterruptedException e) { |
|
|
|