liurunyu
2025-04-23 e5c29d6ac2b210a9385723598d79a42ae5a9679e
pipIrr-platform/pipIrr-mw/pipIrr-mwTest-server/src/main/java/com/dy/testServer/ServerProperties.java
New file
@@ -0,0 +1,24 @@
package com.dy.testServer;
public class ServerProperties {
   //模拟客户的rtuAddr起始号
   public static Long rtuAddrStart = 0L ;
   //模拟客户的rtuAddr截止号
   public static Long rtuAddrEnd = 0L ;
   //每个mwTest分配的rtuAddr数
   public static Integer rtuAddrPerMwTest = 0 ;
   //服务端URL
   public static String tcpServerIp = "" ;
   //服务端上下文
   public static Integer tcpServerPort = 60000 ;
   //发送数据间隔 秒
   public static Integer sendInterval = 0 ;
   //每一轮次发送数据,其中包括心跳发送次数
   public static Integer heartbeatTimes = 0 ;
   //发送数据次数
   public static Integer sendTimes = 0 ;
   //发送完数据后,是否关闭TCP连接,1是,0否
   public static Integer sendOverThenCloseConnect = 0 ;
}