|
|
@@ -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 = "请问客官确定要开始制作吗,小菠萝好开心呀,马上就有好吃的耶?"; |
|
|
|