自动化立体仓库 - WMS系统
#
ytfl
9 天以前 387fca449212b4cc7dc09922183a8970011963f0
src/main/java/com/zy/asrs/utils/Utils.java
@@ -116,6 +116,9 @@
     */
    public static String getShallowLoc(SlaveProperties slaveProperties, String deepLoc) {
        int row = getRow(deepLoc);
        if (row ==1 || row == 6){
            return deepLoc;
        }
        boolean deepLocLeft = isDeepLocLeft(slaveProperties, row);//判断是否为左深库位
        int shallowRow = deepLocLeft ? (row + 1) : (row - 1);
        return zerofill(String.valueOf(shallowRow), 2) + deepLoc.substring(2);