fyf pirms 11 mēnešiem
vecāks
revīzija
30fd1aa491
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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 Parādīt failu

@@ -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;
}


Notiek ielāde…
Atcelt
Saglabāt