9 天以前 a7f86b6000033c135f233d9fbf4131532b1ff95c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cn.iocoder.yudao.module.iot.gateway.protocol.modbus.tcpclient;
 
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
/**
 * IoT Modbus TCP Client 协议配置
 *
 * @author 超级管理员
 */
@Data
public class IotModbusTcpClientConfig {
 
    /**
     * 配置刷新间隔(秒)
     */
    @NotNull(message = "配置刷新间隔不能为空")
    @Min(value = 1, message = "配置刷新间隔不能小于 1 秒")
    private Integer configRefreshInterval = 30;
 
}