自动化立体仓库 - WMS系统
13
zhang
3 天以前 82de5a307466894bbb0258f8a63a26a7bb96d80d
src/main/java/com/zy/asrs/utils/Utils.java
@@ -8,15 +8,12 @@
import com.zy.asrs.entity.LocMast;
import com.zy.asrs.entity.RowLastno;
import com.zy.asrs.service.RowLastnoService;
import com.zy.common.CodeBuilder;
import com.zy.common.model.LocDetlDto;
import com.zy.common.properties.SlaveProperties;
import com.zy.common.service.CommonService;
import com.zy.system.service.UserService;
import java.text.DecimalFormat;
import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
 * Created by vincent on 2020/8/27
@@ -27,18 +24,25 @@
    public static String getStaName(Integer sta){
        HashMap<Integer, String> map = new HashMap<>();
        map.put(113,"Ctu库102");map.put(115,"Ctu库101");
        map.put(204,"Ctu库201");map.put(304,"Ctu库301");
        map.put(113, "Ctu库102");
        map.put(115, "Ctu库101");
        map.put(204, "Ctu库201");
        map.put(304, "Ctu库301");
        map.put(31001,"四向库101");
        map.put(1024,"堆垛机库北1号出库口");map.put(1028,"堆垛机库北2号出库口");
        map.put(1040,"堆垛机库南1号入库口");map.put(1042,"堆垛机库南1号出库口");
        map.put(1024, "堆垛机库北1号出库口");
        map.put(1028, "堆垛机库北2号出库口");
        map.put(1040, "堆垛机库南1号入库口");
        map.put(1042, "堆垛机库南1号出库口");
        map.put(2000,"堆垛机库北2楼出入库口");map.put(2002,"堆垛机库北二楼出库口");
        map.put(2010,"堆垛机库南二楼出入库口");map.put(2012,"堆垛机库南二楼出库口");
        map.put(2000, "堆垛机库北2楼出入库口");
        map.put(2002, "堆垛机库北二楼出库口");
        map.put(2010, "堆垛机库南二楼出入库口");
        map.put(2012, "堆垛机库南二楼出库口");
        map.put(3010,"堆垛机库南三楼出入库口");map.put(3012,"堆垛机库南三楼出库口");
        map.put(3010, "堆垛机库南三楼出入库口");
        map.put(3012, "堆垛机库南三楼出库口");
        return map.get(sta)==null?sta.toString():map.get(sta);
    }
@@ -519,6 +523,7 @@
        return necessaryParameters;
    }
    //四向库(牛眼\光泰)
    public static int[] LocNecessaryParametersDoubleExtension6(RowLastno rowLastno, Integer curRow, Integer crnNumber) {
        int[] necessaryParameters = new int[]{0, 0, 0, 0};