#
TQS
2024-08-15 3ad8eac4b257e4bfcaef175ec1477758ad71a420
src/main/java/com/zy/asrs/utils/Utils.java
@@ -224,14 +224,14 @@
     */
    public static short getRow(Integer staNo) {
        switch (staNo){
            case 108:
                return 4;
            case 208:
                return 18;
            case 112:
            case 107:
                return 3;
            case 212:
            case 207:
                return 19;
            case 112:
                return 4;
            case 212:
                return 18;
        }
        throw new RuntimeException("站点解析异常");
    }
@@ -241,14 +241,14 @@
     */
    public static short getBay(Integer staNo) {
        switch (staNo){
            case 108:
                return 5;
            case 208:
                return 5;
            case 112:
            case 107:
                return 2;
            case 212:
            case 207:
                return 6;
            case 112:
                return 5;
            case 212:
                return 5;
        }
        throw new RuntimeException("站点解析异常");
    }
@@ -274,6 +274,17 @@
        }
    }
    public static Integer getStaNoConvertCentreOther3(Integer staNo,Integer staNoS){//放货为获取行走目标位
        switch (staNoS){
            case 113:
                return 112;
            case 213:
                return 212;
            default:
                return staNo;
        }
    }
    /**
     * 通过排列层拼接出库位号
     */