fyf 11 months ago
parent
commit
30fd1aa491
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java

+ 2
- 2
app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java View File

@@ -233,7 +233,7 @@ public class ExecuteTheRecipe {
String name = "料仓" + silos.num + "下料完成";
final boolean[] IsComplete = {false};
long a = System.currentTimeMillis();
while (!IsComplete[0]) {
while (!IsComplete[0] && !IsForcedEnd) {
if ((System.currentTimeMillis() - a) > 1000 * whileTime) {
break;
} else {
@@ -366,7 +366,7 @@ public class ExecuteTheRecipe {
}
});
long a = System.currentTimeMillis();
while (!IsComplete[0]) {
while (!IsComplete[0]&& !IsForcedEnd) {
if ((System.currentTimeMillis() - a) > 1000 * whileTime) {
break;
}


Loading…
Cancel
Save