自动化立体仓库 - WMS系统
#
zjj
2025-04-08 66470c6bacea9438f05f7b5854379ee510afb1b8
src/main/java/com/zy/asrs/utils/Utils.java
@@ -165,10 +165,10 @@
        int row = getRow(shallowLoc);
        int remainder = (int) Arith.remainder(row, slaveProperties.getGroupCount());
        int targetRow;
        if (remainder == 0  ) {
            targetRow = row + 1;
        } else if (remainder == 3) {
        if (remainder == 2) {
            targetRow = row - 1;
        } else if (remainder == 3) {
            targetRow = row + 1;
        } else {
            throw new RuntimeException(shallowLoc + "不是浅库位,系统繁忙");
        }
@@ -356,9 +356,6 @@
            }
        }
        //堆垛机库位从14排开始
        necessaryParameters[1] = necessaryParameters[1]+13;    //curRow   最深库位排
        necessaryParameters[3] = necessaryParameters[3]+13;    //nearRow  最浅库位排
        return necessaryParameters;
    }