1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.dy.simRtu202404;
 
 
/**
 * @Author: liurunyu
 * @Date: 2025/02/26 11:03
 * @Description
 */
public class ServerProperties {
 
    public static String rtuAddr ;
    public static String icCardAddr ;//IC卡地址
    public static String icCardNo ;//IC卡编号
 
    public static String serverIp ;//通信中间件服务端IP
    public static Integer serverPort ;//通信中间件服务端端口
    public static Integer connectTimeout = 3000 ;
 
    /**
     * 运行方式
     * 0:只上报心跳
     * 1:上报心跳 + 1次(开阀)
     * 2:上报心跳 + 1次(关阀)
     * 3:上报心跳 + 1次(开阀 + 关阀)
     * 4:上报心跳 + n次(开阀 + 关阀)
     */
    public static Integer type ;
 
}