lty
2025-05-22 3ae0915c1b5534339e598be244cd2f33bb95b8ca
src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -49,6 +49,9 @@
    // 锁定标记
    private boolean pakMk = true;
    //托盘重量
    private Integer weight = 0;
    // 入库暂存数
    private Short inQty;
@@ -118,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;
    }