提交 | 用户 | 时间
|
c7f709
|
1 |
package com.iailab.module.data.channel.modbus.vo; |
L |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
4 |
import com.alibaba.excel.annotation.ExcelProperty; |
2f03e2
|
5 |
import com.fasterxml.jackson.annotation.JsonFormat; |
c7f709
|
6 |
import io.swagger.v3.oas.annotations.media.Schema; |
L |
7 |
import lombok.Data; |
|
8 |
|
|
9 |
import java.util.Date; |
|
10 |
|
|
11 |
/** |
|
12 |
* @author lirm |
|
13 |
* @Description |
|
14 |
* @createTime 2024年08月27日 |
|
15 |
*/ |
|
16 |
@Schema(description = "数据平台 - ModBusDevice Response VO") |
|
17 |
@Data |
|
18 |
@ExcelIgnoreUnannotated |
|
19 |
public class ModBusTagRespVO { |
|
20 |
|
|
21 |
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
22 |
@ExcelProperty("ID") |
|
23 |
private String id; |
|
24 |
|
|
25 |
@Schema(description = "tag名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
26 |
@ExcelProperty("tag名称") |
|
27 |
private String tagName; |
|
28 |
|
|
29 |
@Schema(description = "数据类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
30 |
@ExcelProperty("数据类型") |
|
31 |
private String dataType; |
|
32 |
|
|
33 |
@Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
34 |
@ExcelProperty("是否启用") |
03e8ac
|
35 |
private Integer enabled; |
c7f709
|
36 |
|
e8ad66
|
37 |
@Schema(description = "数据值", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
D |
38 |
@ExcelProperty("数据值") |
|
39 |
private Double dataValue; |
|
40 |
|
c7f709
|
41 |
@Schema(description = "大小端", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
L |
42 |
@ExcelProperty("大小端") |
|
43 |
private String format; |
|
44 |
|
|
45 |
@Schema(description = "关联设备", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
46 |
@ExcelProperty("关联设备") |
|
47 |
private String device; |
|
48 |
|
|
49 |
@Schema(description = "Modbus地址 00001 ~49999", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
50 |
@ExcelProperty("Modbus地址") |
|
51 |
private String address; |
|
52 |
|
|
53 |
@Schema(description = "采集频率", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
54 |
@ExcelProperty("采集频率") |
|
55 |
private Integer samplingRate; |
|
56 |
|
|
57 |
@Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
58 |
@ExcelProperty("描述") |
|
59 |
private String tagDesc; |
|
60 |
|
|
61 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
62 |
@ExcelProperty("创建时间") |
|
63 |
private Date createTime; |
|
64 |
|
|
65 |
@Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
66 |
@ExcelProperty("更新时间") |
|
67 |
private Date updateTime; |
2f03e2
|
68 |
|
潘 |
69 |
@Schema(description = "数据质量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
70 |
@ExcelProperty("数据质量") |
|
71 |
private String dataQuality; |
|
72 |
|
|
73 |
@Schema(description = "数据时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
74 |
@ExcelProperty("数据时间") |
|
75 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
76 |
private Date dataTime; |
c7f709
|
77 |
} |