Browse Source

提交

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

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

@@ -568,6 +568,7 @@ public class ExecuteTheRecipe {
Log.e("按钮按下", name);
WritePLC(name, true, null);
Thread.sleep(500);
RecordManager.getInstance().addLogRecord("订单处理日志",deviceNum+"号炒锅("+deviceNum+")-BottomClick1-"+name);
WritePLC(name, false, null);
Log.e("按钮复位", name);
} catch (Exception ex) {


+ 1
- 0
app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe2.java View File

@@ -567,6 +567,7 @@ public class ExecuteTheRecipe2 {
Log.e("按钮按下", name);
WritePLC(name, true, null);
Thread.sleep(500);
RecordManager.getInstance().addLogRecord("订单处理日志",deviceNum+"号炒锅("+deviceNum+")-BottomClick1-"+name);
WritePLC(name, false, null);
Log.e("按钮复位", name);
} catch (Exception ex) {


+ 2
- 2
app/src/main/java/com/bonait/bnframework/common/constant/ConfigName.java View File

@@ -323,11 +323,11 @@ public class ConfigName {
add(new Res_PLCADDRESS("机器人完成反馈(炒锅)", "-------------", 0, 0,2));
add(new Res_PLCADDRESS("1炒锅倒原料完成", "M600", 1, 1,2));
add(new Res_PLCADDRESS("1炒锅倒调料完成", "M601", 1, 1,2));
add(new Res_PLCADDRESS("1机器人到位请求炒锅出餐倒菜", "M602", 0, 1,2));
add(new Res_PLCADDRESS("1机器人到位请求炒锅出餐倒菜", "M602", 1, 1,2));
add(new Res_PLCADDRESS("1炒锅出餐完成", "M603", 1, 1,2));
add(new Res_PLCADDRESS("2炒锅倒原料完成", "M610", 1, 1,2));
add(new Res_PLCADDRESS("2炒锅倒调料完成", "M611", 1, 1,2));
add(new Res_PLCADDRESS("2机器人到位请求炒锅出餐倒菜", "M612", 0, 1,2));
add(new Res_PLCADDRESS("2机器人到位请求炒锅出餐倒菜", "M612", 1, 1,2));
add(new Res_PLCADDRESS("2炒锅出餐完成", "M613", 1, 1,2));
add(new Res_PLCADDRESS("控制机器人", "-------------", 0, 0,2));
add(new Res_PLCADDRESS("主任务", "GI0", 0, 1,2));


Loading…
Cancel
Save