| | |
| | | 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); |
| | | } |
| | | } |
| | | } |