自动化立体仓库 - WCS系统
zjj
2024-05-10 9aefce26355af7cd43bc958c045b196b355693b8
src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -22,6 +22,10 @@
    private Short staNo;
    // ----------------------------------------------------------------
    // 物料代码
    private Short matnr;
    // ----------------------------------------------------------------
    // 自动
    private boolean autoing;
@@ -87,6 +91,7 @@
    private boolean force = false;
    private short amount = 0;
    private Short tongType = 0;
    public Boolean isErr(){
        if (frontErr || backErr || highErr || leftErr || rightErr || weightErr || barcodeErr){
@@ -107,7 +112,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;
    }