From 847c9a21a5056884a77443c9d5f1f08919db0a79 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 02 十二月 2024 17:16:03 +0800 Subject: [PATCH] 修改升级协议中的bug,程序存储内存在址增量由0x20改为0x200 --- pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/monitor/MonitorSv.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/monitor/MonitorSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/monitor/MonitorSv.java index a4f1e1f..803cf39 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/monitor/MonitorSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/monitor/MonitorSv.java @@ -77,7 +77,7 @@ 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) ; @@ -115,7 +115,7 @@ //鍚戦�氫俊涓棿浠跺彂鍏冲懡浠わ紝鏌ヨ閮ㄥ垎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) ; -- Gitblit v1.8.0