dubin
2026-03-10 0360efd088ad32a7a254e0ea7d43325961ad6ea3
src/main/java/com/zy/common/model/LocTypeDto.java
@@ -29,14 +29,10 @@
    }
    public LocTypeDto(StaProtocol staProtocol) {
        if (staProtocol.isHigh() == staProtocol.isLow()) {
        if (staProtocol.getLocHeight() == null) {
            throw new CoolException("plc高低检测异常");
        }
        if (staProtocol.isLow()) {
            this.locType1 = 1; // 低库位
        } else {
            this.locType1 = 2; // 高库位
        }
        this.locType1 = staProtocol.getLocHeight();
    }
    /**