#
whycq
2024-01-18 78b52c20a27a02466c8af9c0c8222b9f2f3ff20c
src/main/java/com/zy/common/model/LocTypeDto.java
@@ -29,13 +29,10 @@
    }
    public LocTypeDto(StaProtocol staProtocol) {
        if (staProtocol.isHigh() == staProtocol.isLow()) {
            throw new CoolException("plc高低检测异常");
        }
        if (staProtocol.isLow()) {
            this.locType1 = 1; // 低库位
        if (!staProtocol.isWeight()) {
            this.locType1 = 1; // 轻货
        } else {
            this.locType1 = 2; // 高库位
            this.locType1 = 2; // 重货
        }
    }