pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/local/CommandInnerDeaLer.java
@@ -29,6 +29,8 @@ return this.stopTcpSv(com) ; }else if(code.equals(CodeLocal.recoverTcpSv)){ return this.recoverTcpSv(com) ; }else if(code.equals(CodeLocal.mwState)){ return this.mwInfo(com) ; } return ReturnCommand.errored("出错,收到内部命令的功能码不能识别!", com.getId(), com.getCode()) ; } @@ -84,4 +86,14 @@ /** * 查询通信中间件运行情况 * @throws Exception */ private Command mwInfo(Command command) throws Exception{ MwInfoVo mwInfo = new MwInfoDeal().deal() ; return ReturnCommand.successed("查询通信中间件运行情况", command.getId(), command.getCode(), mwInfo) ; } }