|
|
@@ -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 { |
|
|
|
//自动投料 |
|
|
|