#
Junjie
2025-11-18 8f2b1fc281755c110faff41b75d0182b44243811
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();
    }
    /**