From 959dcca95276888cd9c092d93d276ef9aa580aef Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 30 四月 2025 16:26:19 +0800 Subject: [PATCH] 1、增加远程透传命令; 2、表阀一体机协议优化; --- pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/ServerProperties.java | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/ServerProperties.java b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/ServerProperties.java new file mode 100644 index 0000000..5aa4fdb --- /dev/null +++ b/pipIrr-platform/pipIrr-mw/pipIrr-mwTest-client/src/main/java/com/dy/testClient/ServerProperties.java @@ -0,0 +1,27 @@ +package com.dy.testClient; + +public class ServerProperties { + + //RTU寮�濮嬪湴鍧� + public static Long rtuAddrStart = 0L ; + //RTU鎴鍦板潃 + public static Long rtuAddrEnd = 0L ; + //鏈嶅姟绔疘P + public static String tcpServerIp = "" ; + //鏈嶅姟绔笂涓嬫枃 + public static Integer tcpServerPort = 0 ; + //鍙戦�佹暟鎹暟鎹棿闅� + public static Integer sendInterval = 0 ;//绉� + //姣忎竴杞鍙戦�佹暟鎹紝鍏朵腑鍖呮嫭蹇冭烦鏁版嵁鐨勬鏁� + public static Integer heartbeatTimes = 3 ; + //鍙戦�佹暟鎹鏁� + public static Integer sendTimes = 0 ; + //鍙戦�佸畬鏁版嵁鍚庯紝鏄惁鍏抽棴TCP杩炴帴锛�1鏄紝0鍚� + public static Integer sendOverThenCloseConnect = 0 ; + + + public static boolean startTcpConnectWork = false ; + + //mwTestServer + public static boolean startRtuReportWork = false ; +} -- Gitblit v1.8.0