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 5b6a61f8..3e24b99c 100644 --- a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java +++ b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java @@ -373,15 +373,11 @@ public class ExecuteTheRecipe { IsComplete[0] = true; } }); - long a = System.currentTimeMillis(); - while (!IsComplete[0] && !IsForcedEnd) { - if ((System.currentTimeMillis() - a) > 1000 * whileTime) { - break; - } - Thread.sleep(100);//10 *6 - } - BottomClick("料仓" + silos.num + "下料"); + Thread.sleep(200); + + BottomClick1("料仓" + silos.num + "下料"); + ExecuteTheRecipe.showlog("料仓" + silos.num + "下料"); //減去料仓数量