pang.jiabao
1 天以前 3ba1c6b6591f5949cbad37192f411eb388f8fba7
src/main/java/com/zy/common/model/LocTypeDto.java
@@ -30,7 +30,22 @@
    }
    public LocTypeDto(StaProtocol staProtocol) {
        this.locType1 = staProtocol.getGoodsHeight();
//        if (staProtocol.isHigh() == staProtocol.isLow() || staProtocol.isChang() == staProtocol.isDuan()) {
//                    News.error("plc高低/长短检测异常,high:{},low:{},chang:{},duan:{}",staProtocol.isHigh(),staProtocol.isLow(),staProtocol.isChang(),staProtocol.isDuan());
//                    return;
//        }
//
//        if (staProtocol.isHigh()) {
//            this.locType1 = 2;
//        } else {
//            this.locType1 = 1;
//        }
//
//        if (staProtocol.isChang()) {
//            this.locType2 = 2; // 长库位
//        } else {
//            this.locType2 = 1; // 短库位
//        }
    }
    /**