pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu202404/src/main/java/com/dy/simRtu202404/ServerProperties.java
New file
@@ -0,0 +1,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 ;
}