diff --git a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java index b8e07f47..5fb862af 100644 --- a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java +++ b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java @@ -1373,7 +1373,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); }//提前关闭加热 @@ -1391,7 +1391,7 @@ public class ExecuteTheRecipe { Thread.sleep(100);//10 *6 } WriteMainPLC("机器人放辅料完成", false, null); - if (isJre) { + if (isJre && ConfigName.getInstance().WhetherManualFeedingSuspended.contains("是")) { ExecuteTheRecipe.WritePLC("加热", true, null); }//再次释放加热