#
zjj
2024-10-14 948f59b1392e66e968a507a65f6945f1dd6da025
src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -22,6 +22,11 @@
    private Short staNo;
    // ----------------------------------------------------------------
    // 物料代码
    private Integer matnr;
    private String batch;
    // ----------------------------------------------------------------
    // 自动
    private boolean autoing;
@@ -87,6 +92,8 @@
    private boolean force = false;
    private short amount = 0;
    private Short tongType = 0;
    private Short weight = 0;
    public Boolean isErr(){
        if (frontErr || backErr || highErr || leftErr || rightErr || weightErr || barcodeErr){
@@ -107,7 +114,7 @@
        basDevp.setLocType1((short) 0);  // 高低类型{0:未知,1:低库位,2:高库位}
        basDevp.setLocType2((short) 0);  // 宽窄类型{0:未知,1:窄库位,2:宽库位}
        basDevp.setLocType3((short) 0);  // 轻重类型{0:未知,1:轻库位,2:重库位}
        basDevp.setLocType1(high != low && high ? (short) 2 : (short) 1);
        basDevp.setLocType1(high != low && low ? (short) 1 : (short) 2);
//        basDevp.
        return basDevp;
    }