#
Junjie
2023-10-20 16bb4a6e5bf59c308ff351c5060875629f93291c
src/main/java/com/zy/common/model/LocTypeDto.java
@@ -23,14 +23,10 @@
    }
    public LocTypeDto(StaProtocol staProtocol) {
        if (staProtocol.isHigh() == staProtocol.isLow()) {
        if (staProtocol.getLocType1() == null || staProtocol.getLocType1() == 0) {
            throw new CoolException("plc高低检测异常");
        }
        if (staProtocol.isLow()) {
            this.locType1 = 1; // 低库位
        } else {
            this.locType1 = 2; // 高库位
        }
        this.locType1 = staProtocol.getLocType1();
    }
    /**