Browse Source

45

master
fyf 11 months ago
parent
commit
2a47263daa
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      app/src/main/java/com/bonait/bnframework/modules/home/fragment/Home1Fragment.java

+ 12
- 1
app/src/main/java/com/bonait/bnframework/modules/home/fragment/Home1Fragment.java View File

@@ -947,7 +947,18 @@ public class Home1Fragment extends BaseFragment {
ToastUtils.info("请先选择一个商品");
return;
}
//if (!IsMake(false)) { return; }

if (!ConfigName.getInstance().PlcIsConnect) {
ToastUtils.warning("PLC未准备就绪!!!");
return;
}

Object chushiover = ExecuteTheRecipe.getListingValue("初始化完成");
if (chushiover == null || !(boolean) chushiover) {
ToastUtils.warning("设备未初始化,请先手动初始化设备!!!");
return;
}

//按钮点击
String title = "开始操作提示!";
String message = "请问客官确定要开始制作吗,小菠萝好开心呀,马上就有好吃的耶?";


Loading…
Cancel
Save