From 10cdb5b3c081f128fbb095b73a4c4d33e7464cda Mon Sep 17 00:00:00 2001 From: fyf Date: Mon, 19 Feb 2024 10:02:30 +0800 Subject: [PATCH] 333 --- .../com/bonait/bnframework/business/ExecuteTheRecipe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 00979ddd..c8b7f4d6 100644 --- a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java +++ b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java @@ -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); }//再次释放加热 }