Browse Source

现场更新

master
fyf 11 months ago
parent
commit
9ba2a12ac0
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

@@ -542,7 +542,7 @@ public class ExecuteTheRecipe {
ToastUtils.info("工序:手动投料," + name + "," + zl);
String title = "手动投料-温馨提示!";
String message = "客官请投入主料,[" + name + "]重量" + zl + "g,投入后点击[确定]继续流程!";
ExecuteTheRecipe.WritePLC("暂停开关", true, null);
//ExecuteTheRecipe.WritePLC("暂停开关", true, null);

final boolean[] IsComplete = {false};
Activity activity = findActivity(context);
@@ -570,7 +570,7 @@ public class ExecuteTheRecipe {
while (!IsComplete[0]) {
Thread.sleep(100);//10 *6
}
ExecuteTheRecipe.WritePLC("暂停开关", false, null);
//ExecuteTheRecipe.WritePLC("暂停开关", false, null);
ToastUtils.info("确定完成,继续制作!");
} else {
//自动投料


Loading…
Cancel
Save