From dae62c379069e9245479e1b31af76753689e517a Mon Sep 17 00:00:00 2001 From: fyf Date: Fri, 19 Jan 2024 14:41:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=97=A5=E6=97=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bnframework/business/ExecuteTheRecipe.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 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 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 + "下料"); //減去料仓数量