|  |  | 
 |  |  |             Command com = this.createInnerCommand(CodeLocal.onLinePart); | 
 |  |  |             com.setParam(rtuAddrs) ; | 
 |  |  |             String rqUrl = this.get2MwRequestUrl(this.env, ContextComSend) ; | 
 |  |  |             BaseResponse res = sendRequest2Mw(restTemplate, rqUrl, com) ; | 
 |  |  |             BaseResponse res = sendPostRequest2Mw(restTemplate, rqUrl, com) ; | 
 |  |  |             if(res != null){ | 
 |  |  |                 if(res.isSuccess()){ | 
 |  |  |                     Command reCom = JSON.parseObject(res.getContent() == null ? null : JSON.toJSONString(res.getContent()), Command.class) ; | 
 |  |  | 
 |  |  |         //向通信中间件发关命令,查询部分RTU在线情况 | 
 |  |  |         Command com = this.createInnerCommand(CodeLocal.onLineAll); | 
 |  |  |         String rqUrl = this.get2MwRequestUrl(this.env, ContextComSend) ; | 
 |  |  |         BaseResponse res = sendRequest2Mw(restTemplate, rqUrl, com) ; | 
 |  |  |         BaseResponse res = sendPostRequest2Mw(restTemplate, rqUrl, com) ; | 
 |  |  |         if(res != null){ | 
 |  |  |             if(res.isSuccess()){ | 
 |  |  |                 Command reCom = JSON.parseObject(res.getContent() == null ? null : JSON.toJSONString(res.getContent()), Command.class) ; |