#
野心家
2025-06-18 c5a3c0864c3fc94aed7019b412586352c589f185
src/main/java/com/zy/common/model/LocTypeDto.java
@@ -23,14 +23,15 @@
    }
    public LocTypeDto(StaProtocol staProtocol) {
        if (staProtocol.isHigh() == staProtocol.isLow()) {
            throw new CoolException("plc高低检测异常");
        }
        if (staProtocol.isLow()) {
//        if (staProtocol.isHigh() == staProtocol.isLow()) {
//            throw new CoolException("plc高低检测异常");
//        }
        if (!staProtocol.isHigh()) {
            this.locType1 = 1; // 低库位
        } else {
            this.locType1 = 2; // 高库位
        }
//        this.locType1 = 1;
    }
    /**