lty
9 天以前 19b3cd8d64af08e5c0b3bd680c699e46a07e13d3
src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -50,7 +50,7 @@
    private boolean pakMk = true;
    //托盘重量
    private Double weight = 0.0;
    private Integer weight = 0;
    // 入库暂存数
    private Short inQty;
@@ -58,7 +58,7 @@
    // 隔壁站点(台车位置)
    private String nearbySta;
    //lfd入库印记  当stamp>=2时才入库
    //gl快速生成任务  stamp=1时直接生成任务
    private Integer stamp = 0;
    // 外形检测 ------------------------------------------------------------------------
@@ -121,7 +121,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.setInQty(inQty !=null ?(int)inQty : 0);
        basDevp.setMaxWt((double) (weight !=null ?(int)weight : 0));
        return basDevp;
    }