2026-06-24 f4bd1f3c89d906131495a0aca5aaf82966378510
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package cn.iocoder.yudao.module.iot.core.biz.dto;
 
import lombok.Data;
 
import java.util.List;
 
/**
 * IoT Modbus 设备配置 Response DTO
 *
 * @author 芋道源码
 */
@Data
public class IotModbusDeviceConfigRespDTO {
 
    /**
     * 设备编号
     */
    private Long deviceId;
    /**
     * 产品标识
     */
    private String productKey;
    /**
     * 设备名称
     */
    private String deviceName;
 
    // ========== Modbus 连接配置 ==========
 
    /**
     * Modbus 服务器 IP 地址
     */
    private String ip;
    /**
     * Modbus 服务器端口
     */
    private Integer port;
    /**
     * 从站地址
     */
    private Integer slaveId;
    /**
     * 连接超时时间,单位:毫秒
     */
    private Integer timeout;
    /**
     * 重试间隔,单位:毫秒
     */
    private Integer retryInterval;
    /**
     * 模式
     */
    private Integer mode;
    /**
     * 数据帧格式
     */
    private Integer frameFormat;
 
    // ========== Modbus 点位配置 ==========
 
    /**
     * 点位列表
     */
    private List<IotModbusPointRespDTO> points;
 
}