| | |
| | | log.warn("堆垛机命令下发[id:{},时间:{}] >>>>> {}", slave.getId(), DateUtils.convert(new Date(), DateUtils.yyyyMMddHHmmsssss_F), JSON.toJSON(command)); |
| | | OutputQueue.CRN.offer(MessageFormat.format("【{0}】[id:{1}] >>>>> 命令下发: {2}", DateUtils.convert(new Date()), slave.getId(), JSON.toJSON(command))); |
| | | |
| | | Date now = new Date(); |
| | | |
| | | //更新指令日志 |
| | | commandInfoLog.setDeviceLog("指令下发成功"); |
| | | commandInfoLogService.insert(commandInfoLog); |
| | |
| | | |
| | | //更新指令状态 |
| | | commandInfo.setCommandStatus(CommandStatusType.EXECUTE.id);//执行中 |
| | | commandInfo.setExecuteTime(now); |
| | | commandInfoService.updateById(commandInfo); |
| | | |
| | | //更新任务步序 |