Browse Source

333

master
fyf 10 months ago
parent
commit
10cdb5b3c0
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

@@ -1271,7 +1271,7 @@ public class ExecuteTheRecipe {
boolean isJre = false;
Object K = ReadPLC("加热");
isJre = K == null ? false : (boolean) K;
if (isJre) {
if (isJre && ConfigName.getInstance().WhetherManualFeedingSuspended.contains("是")) {
ExecuteTheRecipe.WritePLC("加热", false, null);
}//提前关闭加热

@@ -1289,7 +1289,7 @@ public class ExecuteTheRecipe {
Thread.sleep(100);//10 *6
}
WriteMainPLC("机器人投放主料完成", false, null);
if (isJre) {
if (isJre && ConfigName.getInstance().WhetherManualFeedingSuspended.contains("是")) {
ExecuteTheRecipe.WritePLC("加热", true, null);
}//再次释放加热
}


Loading…
Cancel
Save