dubin
9 天以前 c0fc45a7cd97c2ded531b85575e6f26ff269db1b
src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -53,7 +53,7 @@
    private boolean pakMk = true;
    //托盘重量
    private Integer weight = 0;
    private double weight = 0;
    // 入库暂存数
    private Short inQty;
@@ -123,7 +123,7 @@
        basDevp.setLocType2((short) 0);  // 宽窄类型{0:未知,1:窄库位,2:宽库位}
        basDevp.setLocType3((short) 0);  // 轻重类型{0:未知,1:轻库位,2:重库位}
        basDevp.setLocType1(high != low && low ? (short) 1 : (short) 2);
        basDevp.setMaxWt((double) (weight !=null ?(int)weight : 0));
        basDevp.setMaxWt((double) (weight != 0 ?(int)weight : 0));
        return basDevp;
    }