提交 | 用户 | 时间
|
0b0cb9
|
1 |
package com.iailab.module.data.channel.modbus.vo; |
潘 |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
4 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
5 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
6 |
import lombok.Data; |
|
7 |
|
|
8 |
import java.util.Date; |
|
9 |
|
|
10 |
/** |
|
11 |
* @author PanZhibao |
|
12 |
* @Description |
|
13 |
* @createTime 2024年08月22日 |
|
14 |
*/ |
|
15 |
@Schema(description = "数据平台 - ModBusDevice Response VO") |
|
16 |
@Data |
|
17 |
@ExcelIgnoreUnannotated |
|
18 |
public class ModBusDeviceRespVO { |
|
19 |
|
|
20 |
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
21 |
@ExcelProperty("ID") |
|
22 |
private String id; |
|
23 |
|
|
24 |
@Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
25 |
@ExcelProperty("设备名称") |
|
26 |
private String name; |
|
27 |
|
|
28 |
@Schema(description = "IP地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
29 |
@ExcelProperty("IP地址") |
|
30 |
private String address; |
|
31 |
|
|
32 |
@Schema(description = "端口", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
33 |
@ExcelProperty("端口") |
|
34 |
private Integer port; |
|
35 |
|
|
36 |
@Schema(description = "不活动超时(ms)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
37 |
@ExcelProperty("不活动超时(ms)") |
|
38 |
private Integer connectInactivityTimeout; |
|
39 |
|
|
40 |
@Schema(description = "重连超时(ms)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
41 |
@ExcelProperty("重连超时(ms)") |
|
42 |
private Integer reconnectInterval; |
|
43 |
|
|
44 |
@Schema(description = "重试次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
45 |
@ExcelProperty("重试次数") |
|
46 |
private Integer attemptsBeforeTimeout; |
|
47 |
|
|
48 |
@Schema(description = "重试间隔(ms)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
49 |
@ExcelProperty("重试间隔(ms)") |
|
50 |
private Integer waitToRetryMilliseconds; |
|
51 |
|
|
52 |
@Schema(description = "读超时(ms)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
53 |
@ExcelProperty("读超时(ms)") |
|
54 |
private Integer readTimeout; |
|
55 |
|
|
56 |
@Schema(description = "写超时(ms)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
57 |
@ExcelProperty("写超时(ms)") |
|
58 |
private Integer writeTimeout; |
|
59 |
|
|
60 |
@Schema(description = "是否使用优化", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
61 |
@ExcelProperty("是否使用优化") |
|
62 |
private Boolean useOptimizedBlockRead; |
|
63 |
|
|
64 |
@Schema(description = "统内部用,默认空字符串", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
65 |
@ExcelProperty("统内部用,默认空字符串") |
|
66 |
private String projectReference; |
|
67 |
|
|
68 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
69 |
@ExcelProperty("创建时间") |
|
70 |
private Date createTime; |
|
71 |
|
|
72 |
@Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
73 |
@ExcelProperty("更新时间") |
|
74 |
private Date updateTime; |
|
75 |
} |