| | |
| | | //覆盖工作档目标站 |
| | | wrkMast.setStaNo(targetSta.intValue()); |
| | | wrkMast.setShuttleNo(null);//释放小车 |
| | | wrkMast.setLiftNo(null);//释放提升机 |
| | | if (wrkMastMapper.updateById(wrkMast) > 0) { |
| | | //向300站写入目标站 |
| | | staProtocol = staProtocol.clone(); |
| | |
| | | // //覆盖工作档目标站 |
| | | // wrkMast.setStaNo(targetSta.intValue()); |
| | | // wrkMast.setShuttleNo(null);//释放小车 |
| | | // wrkMast.setLiftNo(null);//释放提升机 |
| | | // if (wrkMastMapper.updateById(wrkMast) > 0) { |
| | | // //向300站写入目标站 |
| | | // staProtocol = staProtocol.clone(); |
| | |
| | | continue; |
| | | } |
| | | |
| | | if (staProtocol309.isAutoing() && staProtocol309.isLoading()) { |
| | | if (staProtocol309.isAutoing() && staProtocol309.isLoading() && staProtocol309.isInEnable()) { |
| | | // 获取条码扫描仪信息 |
| | | BarcodeThread barcodeThread = (BarcodeThread) SlaveConnection.get(SlaveType.Barcode, 11);//308站条码器 |
| | | BarcodeThread barcodeThread = (BarcodeThread) SlaveConnection.get(SlaveType.Barcode, 9);//308站条码器 |
| | | if (barcodeThread == null) { |
| | | continue; |
| | | } |
| | |
| | | if(!Cools.isEmpty(barcode)) { |
| | | //通知AGV取货 |
| | | agvRestockCall("CS-301-001-01@3", barcode); |
| | | log.info("通知AGV取货,条码号:" + barcode); |
| | | } |
| | | } else if (staProtocol312.isAutoing() && staProtocol312.isLoading()) { |
| | | } |
| | | |
| | | if (staProtocol312.isAutoing() && staProtocol312.isLoading() && staProtocol312.isInEnable()) { |
| | | // 获取条码扫描仪信息 |
| | | BarcodeThread barcodeThread = (BarcodeThread) SlaveConnection.get(SlaveType.Barcode, 12);//311站条码器 |
| | | BarcodeThread barcodeThread = (BarcodeThread) SlaveConnection.get(SlaveType.Barcode, 10);//311站条码器 |
| | | if (barcodeThread == null) { |
| | | continue; |
| | | } |
| | |
| | | if(!Cools.isEmpty(barcode)) { |
| | | //通知AGV取货 |
| | | agvRestockCall("CS-302-001-01@3", barcode); |
| | | log.info("通知AGV取货,条码号:" + barcode); |
| | | } |
| | | } |
| | | } |