From 24f53bb77f9ac80feb2e62e8ee670be4aa5f3c6e Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 13 二月 2025 11:56:42 +0800 Subject: [PATCH] 1、远程模块remote模块实现: (1、系统启动时向通信中间件注册消息接收者; (2、消息接收者ctr实现(测试阶段); 2、在配置文件增加配置Springboot RestTemplate网络请求超时时长; 3、其他一些测试与优化。 --- pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/upData/UpData.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/upData/UpData.java b/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/upData/UpData.java index f85a2fa..3db4a2a 100644 --- a/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/upData/UpData.java +++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/upData/UpData.java @@ -52,7 +52,7 @@ protected static byte[] creatHead4Upgrade(String rtuAddr, String preCode, String sufCode)throws Exception { byte[] bsHead = new byte[12] ; byte index = 0 ; - bsHead[index] = ProtocolConstantV206V1.P_Head_Byte ; + bsHead[index] = ProtocolConstantV206V1.UG_P_Head_Byte ; index++ ; bsHead[index] = 0 ;//甯ч暱搴� @@ -60,7 +60,7 @@ bsHead[index] = 0 ;//甯ч暱搴� index++ ; - bsHead[index] = ProtocolConstantV206V1.P_Head_Byte ; + bsHead[index] = ProtocolConstantV206V1.UG_P_Head_Byte ; index++ ; bsHead[index] = ByteUtil.hex2Bytes(preCode)[0]; //鍔熻兘鐮佸煙 -- Gitblit v1.8.0