提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.data.channel.modbus.entity; |
H |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
4 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
5 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
6 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
7 |
import lombok.Data; |
|
8 |
|
|
9 |
import java.io.Serializable; |
0b0cb9
|
10 |
import java.util.Date; |
a6de49
|
11 |
|
H |
12 |
/** |
|
13 |
* ModBus设备表 |
|
14 |
* |
|
15 |
* @author PanZhibao |
|
16 |
* @Description |
|
17 |
* @createTime 2023年04月24日 10:31:00 |
|
18 |
*/ |
|
19 |
@Data |
|
20 |
@TableName("t_channel_modbus_device") |
|
21 |
public class ChannelModBusDeviceEntity implements Serializable { |
|
22 |
private static final long serialVersionUID = 1L; |
|
23 |
|
|
24 |
/** |
|
25 |
* 主键 |
|
26 |
*/ |
|
27 |
@Schema(description = "主键") |
|
28 |
@TableId(value = "id",type = IdType.INPUT) |
|
29 |
private String id; |
|
30 |
|
|
31 |
/** |
|
32 |
* 设备名称 |
|
33 |
*/ |
|
34 |
private String name; |
|
35 |
|
|
36 |
/** |
|
37 |
* IP地址 |
|
38 |
*/ |
|
39 |
private String address; |
|
40 |
|
|
41 |
/** |
|
42 |
* 端口 |
|
43 |
*/ |
|
44 |
private Integer port; |
|
45 |
|
|
46 |
/** |
|
47 |
* 不活动超时(ms) |
|
48 |
*/ |
|
49 |
private Integer connectInactivityTimeout; |
|
50 |
|
|
51 |
/** |
|
52 |
* 重连超时(ms) |
|
53 |
*/ |
|
54 |
private Integer reconnectInterval; |
|
55 |
|
|
56 |
/** |
|
57 |
* 重试次数 |
|
58 |
*/ |
|
59 |
private Integer attemptsBeforeTimeout; |
|
60 |
|
|
61 |
/** |
|
62 |
* 重试间隔(ms) |
|
63 |
*/ |
|
64 |
private Integer waitToRetryMilliseconds; |
|
65 |
|
|
66 |
/** |
|
67 |
* 读超时(ms) |
|
68 |
*/ |
|
69 |
private Integer readTimeout; |
|
70 |
|
|
71 |
/** |
|
72 |
* 写超时(ms) |
|
73 |
*/ |
|
74 |
private Integer writeTimeout; |
|
75 |
|
|
76 |
/** |
|
77 |
* 是否使用优化 |
|
78 |
*/ |
|
79 |
private Boolean useOptimizedBlockRead; |
|
80 |
|
|
81 |
/** |
|
82 |
* 系统内部用,默认空字符串 |
|
83 |
*/ |
|
84 |
private String projectReference; |
|
85 |
|
0b0cb9
|
86 |
/** |
潘 |
87 |
* 创建时间 |
|
88 |
*/ |
|
89 |
private Date createTime; |
|
90 |
|
|
91 |
/** |
|
92 |
* 更新时间 |
|
93 |
*/ |
|
94 |
private Date updateTime; |
|
95 |
|
a6de49
|
96 |
} |