pipIrr-platform/pipIrr-web/pipIrr-mwTest-web/src/main/java/com/dy/pipIrrMwTestWeb/p206V202404test/CommandP206V202404Ctrl.java
@@ -18,9 +18,13 @@ public class CommandP206V202404Ctrl extends ComSupportP206V202404 { @GetMapping(path = "test") public BaseResponse<String> test(String com) { public BaseResponse<String> test(String rtuAddr, String com) { BaseResponse<String> rt = null ; if(com == null){ if(rtuAddr == null || rtuAddr.trim().equals("")){ rt = this.connect() ;//连接通信中间件测试 }else{ this.rtuAddr = rtuAddr ; if(com == null || com.trim().equals("")){ rt = this.connect() ;//连接通信中间件测试 }else{ try{ @@ -67,6 +71,7 @@ e.printStackTrace(); } } } return rt ; }