package com.iailab.module.data.channel.modbus.vo;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.iailab.module.data.channel.tag.vo.TagImportExcelVO;
|
import lombok.AllArgsConstructor;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
import lombok.experimental.Accessors;
|
import lombok.experimental.SuperBuilder;
|
|
/**
|
* 用户 Excel 导入 VO
|
* @author Jay
|
*/
|
@Data
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
@SuperBuilder
|
public class ModBusTagImportExcelVO extends TagImportExcelVO {
|
|
@ExcelProperty(value = "地址", index = 3)
|
private String address;
|
|
@ExcelProperty(value = "大小端", index = 4)
|
private String format;
|
|
@ExcelProperty(value = "采集频率", index = 5)
|
private Integer samplingRate;
|
|
}
|