自动化立体仓库 - WCS系统
#
Junjie
2023-11-14 dd91c85493463db1968e6e7a61c841d20f948cf6
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -2292,7 +2292,7 @@
     */
    public void agvRestockIntoByHangingWire() {
        //检测350和351扫码器
        int[] barcodeStaNo = {10, 11};//10 => 350站扫码器,11 => 351站扫码器
        int[] barcodeStaNo = {11, 12};//11 => 350站扫码器,12 => 351站扫码器
        for (int staNo : barcodeStaNo) {
            // 获取条码扫描仪信息
            BarcodeThread barcodeThread = (BarcodeThread) SlaveConnection.get(SlaveType.Barcode, staNo);
@@ -2301,8 +2301,12 @@
            }
            String barcode = barcodeThread.getBarcode();
            if(!Cools.isEmpty(barcode)) {
                if (barcode.contains("NoRead")) {
                    continue;
                }
                String agvStaNo = null;
                if (staNo == 10) {
                if (staNo == 11) {
                    agvStaNo = "303-1";
                }else {
                    agvStaNo = "304-1";
@@ -2312,7 +2316,7 @@
                if (result) {
                    barcodeThread.setBarcode("");
                }
                log.info(staNo + "号扫码器,通知AGV取货,条码号:" + barcode);
                log.info(barcodeThread.getSlave().getId() + "号扫码器,通知AGV取货,条码号:" + barcode);
            }
        }
    }