瀏覽代碼

45

master
fyf 11 月之前
父節點
當前提交
2a47263daa
共有 1 個檔案被更改,包括 12 行新增1 行删除
  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 查看文件

@@ -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…
取消
儲存