Browse Source

等待时停止加热

炒锅机器人_一拖多
liup 3 months ago
parent
commit
7cd7cb1fd7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java

+ 6
- 0
app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java View File

@@ -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 {


Loading…
Cancel
Save