| | |
| | | OutputQueue.SHUTTLE.offer(MessageFormat.format("【{0}】[id:{1}] <<<<< 实时数据更新成功",DateUtils.convert(new Date()), slave.getId())); |
| | | // log.info(MessageFormat.format("【{0}】[id:{1}] <<<<< 实时数据更新成功",DateUtils.convert(new Date()), slave.getId())); |
| | | } |
| | | // log.warn(JSON.toJSONString(shuttleProtocol));//输出小车状态 |
| | | log.warn(JSON.toJSONString(shuttleProtocol));//输出小车状态 |
| | | } |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | |
| | | if (result == null) { |
| | | return false;//请求失败 |
| | | } |
| | | |
| | | shuttleProtocol.setSendTime(System.currentTimeMillis());//指令下发时间 |
| | | |
| | | return true; |
| | | } |
| | | |