提交 | 用户 | 时间
|
03e8ac
|
1 |
package com.iailab.module.data.channel.modbus.vo; |
J |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
4 |
import com.iailab.module.data.channel.tag.vo.TagImportExcelVO; |
|
5 |
import lombok.AllArgsConstructor; |
|
6 |
import lombok.Data; |
|
7 |
import lombok.NoArgsConstructor; |
|
8 |
import lombok.experimental.Accessors; |
|
9 |
import lombok.experimental.SuperBuilder; |
|
10 |
|
|
11 |
/** |
|
12 |
* 用户 Excel 导入 VO |
|
13 |
* @author Jay |
|
14 |
*/ |
|
15 |
@Data |
|
16 |
@AllArgsConstructor |
|
17 |
@NoArgsConstructor |
|
18 |
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题 |
|
19 |
@SuperBuilder |
|
20 |
public class ModBusTagImportExcelVO extends TagImportExcelVO { |
|
21 |
|
|
22 |
@ExcelProperty(value = "地址", index = 3) |
|
23 |
private String address; |
|
24 |
|
|
25 |
@ExcelProperty(value = "大小端", index = 4) |
|
26 |
private String format; |
|
27 |
|
|
28 |
@ExcelProperty(value = "采集频率", index = 5) |
|
29 |
private Integer samplingRate; |
|
30 |
|
|
31 |
} |