zjj
2025-06-30 8b8a2086509e28bb902166aa35e4c287eb906621
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/utils/ShuttleDispatcher.java
@@ -97,9 +97,9 @@
        resThread = this.searchCurrentLevShuttle(currentLevDevices, locNo);
        //同层没有搜索到合适小车,跨楼层搜索
        if(resThread == null) {
            resThread = this.searchDiffLevShuttle(diffLevDeviceMap, locNo, task);
        }
//        if(resThread == null) {
//            resThread = this.searchDiffLevShuttle(diffLevDeviceMap, locNo, task);
//        }
        return resThread;
    }
@@ -160,7 +160,7 @@
            // 同楼层直接计算到目标库位
            //当前穿梭车线程到当前车子所在楼层的目标库位距离
            List<NavigateNode> currentShuttlePath = navigateUtils.calc(
            List<NavigateNode> currentShuttlePath = navigateUtils.calcWhiteList(
                    currentLocNo
                    , locNo
                    , NavigationMapType.DFX.id
@@ -485,9 +485,9 @@
                continue;
            }
            if(!shuttleThread.isDeviceIdle()) {
                continue;
            }
//            if(!shuttleThread.isDeviceIdle()) {
//                continue;
//            }
            if(shuttleProtocol.getCurrentLocNo() == null) {
                continue;