From 7cd7cb1fd7d230c7ea3309c57c48838f39e73706 Mon Sep 17 00:00:00 2001 From: liup <1454939542@qq.com> Date: Wed, 18 Sep 2024 15:10:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=89=E5=BE=85=E6=97=B6=E5=81=9C=E6=AD=A2?= =?UTF-8?q?=E5=8A=A0=E7=83=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bonait/bnframework/business/ExecuteTheRecipe.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 {