src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -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(weight !=null ?(int)weight : 0); basDevp.setMaxWt((double) (weight !=null ?(int)weight : 0)); return basDevp; }