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 029986b6..9a8112f1 100644 --- a/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java +++ b/app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java @@ -368,6 +368,12 @@ public class ExecuteTheRecipe { case "主料": case "辅料": case "出菜": + boolean isJre; + Object K = ReadPLC(deviceNum,"加热"); + isJre = K == null ? true : (boolean) K; + if (isJre && ConfigName.getInstance().WhetherManualFeedingSuspended.contains("是")) { + WritePLC(deviceNum,"加热", false, null); + }//提前关闭加热 if(deviceNum==1){ while (!ConfigName.IsForcedEnd[deviceNum-1] && ConfigName.RobotIsWorking[1]) { try {