| | |
| | | import com.zy.asrs.wcs.rcs.model.protocol.ShuttleProtocol; |
| | | import com.zy.asrs.wcs.rcs.service.DeviceService; |
| | | import com.zy.asrs.wcs.rcs.service.DeviceTypeService; |
| | | import com.zy.asrs.wcs.rcs.service.ShuttleService; |
| | | import com.zy.asrs.wcs.rcs.thread.ShuttleThread; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | |
| | | |
| | | List<Device> deviceList = deviceService.list(new LambdaQueryWrapper<Device>().eq(Device::getDeviceType, DeviceCtgType.SHUTTLE.val())); |
| | | for (Device device : deviceList) { |
| | | basShuttleService. |
| | | // basShuttleService. |
| | | ShuttleThread thread = (ShuttleThread) SlaveConnection.get(SlaveType.Shuttle, device.getId().intValue()); |
| | | if (null == thread) { |
| | | continue; |
| | |
| | | } |
| | | |
| | | MapWsShuttleVo shuttleVo = new MapWsShuttleVo(); |
| | | shuttleVo.setShuttleNo(); |
| | | // shuttleVo.setShuttleNo(); |
| | | |
| | | |
| | | shuttleVos.add(shuttleVo); |