| | |
| | | continue; |
| | | } |
| | | if (!barcodeThread.getBarcode().equals(task.getZpallet())) { |
| | | log.error("解析入库任务退出,条码不符合"); |
| | | log.error("解析入库任务退出,条码不符合,任务条码:"+task.getZpallet()+",线程条码:"+barcodeThread.getBarcode()); |
| | | continue; |
| | | } |
| | | DevpThread devpThread = (DevpThread) SlaveConnection.get(SlaveType.Conveyor, basConveyor.getDeviceId().intValue()); |
| | |
| | | if (deviceStatus == 255) { |
| | | //离线 |
| | | shuttleProtocol.setProtocolStatus(ShuttleProtocolStatusType.OFFLINE); |
| | | }else if (deviceStatus == 3) { |
| | | //就绪状态且离线 |
| | | if (shuttleProtocol.getProtocolStatusType().equals(ShuttleProtocolStatusType.OFFLINE)) { |
| | | shuttleProtocol.setProtocolStatus(ShuttleProtocolStatusType.IDLE); |
| | | } |
| | | } |
| | | |
| | | if(deviceStatus != 4 || deviceStatus != 6 || deviceStatus != 7 || deviceStatus != 8 || deviceStatus != 255 || deviceStatus != -1) { |