src/main/java/com/zy/common/model/LocTypeDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/zy/core/thread/SiemensCrnThread.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/common/model/LocTypeDto.java
@@ -23,14 +23,14 @@ } public LocTypeDto(StaProtocol staProtocol) { // if (staProtocol.isHigh() == staProtocol.isLow()) { // throw new CoolException("plc高低检测异常"); // } // if (staProtocol.isLow()) { // this.locType1 = 1; // 低库位 // } else { // this.locType1 = 2; // 高库位 // } if (staProtocol.isHigh() == staProtocol.isLow()) { throw new CoolException("plc高低检测异常"); } if (staProtocol.isLow()) { this.locType1 = 1; // 低库位 } else { this.locType1 = 2; // 高库位 } } /** src/main/java/com/zy/core/thread/SiemensCrnThread.java
@@ -146,6 +146,7 @@ if (result.IsSuccess) { if (null == crnProtocol) { crnProtocol = new CrnProtocol(); crnProtocol.setCrnNo(this.getSlave().getId()); } crnProtocol.setMode(siemensNet.getByteTransform().TransInt16(result.Content, 0)); crnProtocol.setTaskNo(siemensNet.getByteTransform().TransInt16(result.Content, 2)); src/main/resources/application.yml
@@ -36,7 +36,7 @@ enable: false wms: url: localhost:8081/bfmwms url: localhost:8081/bfwms # 下位机配置 wcs-slave: