PLC增加调度

master
erzhongxmu 2022-11-24 22:35:51 +08:00
parent 9a13a84d2c
commit 1155fc5883
1 changed files with 2 additions and 2 deletions

View File

@ -310,12 +310,12 @@ public class MdBinController extends BaseController {
String endcom = req.getParameter("endcom"); String endcom = req.getParameter("endcom");
if ("diaodu".equals(type)||"diaoduu".equals(type)) {//调度需要方式指令 if ("diaodu".equals(type)||"diaoduu".equals(type)) {//调度需要方式指令
// 异步发送指令 // 异步发送指令
if (StringUtil.isEmpty(binFrom)) { if (StringUtil.isEmpty(binFrom)&&"diaodu".equals(type)) {
j.setMsg("开始储位为空"); j.setMsg("开始储位为空");
j.setSuccess(false); j.setSuccess(false);
return j; return j;
} }
if (StringUtil.isEmpty(binTo)) { if (StringUtil.isEmpty(binTo)&&"diaodu".equals(type)) {
j.setMsg("结束储位为空"); j.setMsg("结束储位为空");
j.setSuccess(false); j.setSuccess(false);
return j; return j;