#
luxiaotao1123
2021-06-25 1a8c79eb2e5be2c6840883a1435706af9c37f473
#
3个文件已修改
24 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/utils/Utils.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/model/Shelves.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/utils/Utils.java
@@ -88,11 +88,11 @@
        int row = getRow(deepLoc);
        int shallowRow = -1;
        switch (row) {
            case 3:
                shallowRow = 2;
                break;
            case 4:
                shallowRow = 5;
                shallowRow = 3;
                break;
            case 5:
                shallowRow = 6;
                break;
            default:
                throw new CoolException(deepLoc + "不是深库位,无法检索其对应的浅库位");
@@ -106,9 +106,13 @@
    public static Integer getDeepRow(SlaveProperties slaveProperties, Integer shallowRow) {
        switch (shallowRow) {
            case 2:
                return 3;
            case 5:
                return 2;
            case 7:
                return 7;
            case 3:
                return 4;
            case 6:
                return 5;
            default:
                throw new RuntimeException(shallowRow + "不是浅库位排,系统繁忙");
        }
src/main/java/com/zy/common/model/Shelves.java
@@ -110,10 +110,10 @@
    }
    public int start0(int curSeq){
        if (curSeq < 6) {
        if (curSeq < 7) {
            return curSeq + 1;
        } else {
            return 1;
            return 2;
        }
    }
src/main/resources/application.yml
@@ -52,6 +52,6 @@
  # 双深
  doubleDeep: true
  # 双深库位排号
  doubleLocs: 3,4
  doubleLocs: 4,5
  # 一个堆垛机负责的货架排数
  groupCount: 3
  groupCount: 3