| | |
| | | } |
| | | |
| | | @Override |
| | | public boolean updateLocation(ShuttleCommand param) { |
| | | return true;//还没移植过来 |
| | | } |
| | | |
| | | @Override |
| | | public boolean isIdle() { |
| | | return this.isIdle(null); |
| | | } |
| | |
| | | if (shuttleService == null) { |
| | | return false; |
| | | } |
| | | BasShuttle basShuttle = shuttleService.getById(this.device.getDeviceNo()); |
| | | BasShuttle basShuttle = shuttleService.getOne(new LambdaQueryWrapper<BasShuttle>().eq(BasShuttle::getDeviceId, this.device.getId())); |
| | | if (basShuttle == null) { |
| | | return false; |
| | | } |
| | |
| | | return command; |
| | | } |
| | | |
| | | @Override |
| | | public ShuttleCommand getUpdateLocationCommand(Integer taskNo, String locNo) { |
| | | return null;//还没移植过来 |
| | | } |
| | | |
| | | //获取小车复位响应命令 |
| | | public ShuttleCommand getInitCommand(Integer taskNo, Integer code) { |
| | | LocService locService = SpringUtils.getBean(LocService.class); |