zhubaomin
2024-08-22 81636c3be211bdd6c32b60df5b89d2026911f24e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ;
 
}