package com.ld.igds.grain.dto;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 粮情分机-通道电缆数据信息
|
*/
|
@Data
|
public class GrainSerCableData implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@PropertyDef(label = "所属通道")
|
private Integer passCode;
|
|
@PropertyDef(label = "传感器个数")
|
private int iotNum;
|
|
@PropertyDef(label = "传感器故障个数")
|
private int iotErrNum;
|
|
@PropertyDef(label = "传感器-温度")
|
private Double temp = 0.0;
|
|
@PropertyDef(label = "传感器-根号")
|
private int rootIndex = 1;
|
|
@PropertyDef(label = "传感器-点号")
|
private int pointIndex = 1;
|
|
@PropertyDef(label = "传感器-配置")
|
private String conf;
|
|
@PropertyDef(label = "接收时间")
|
private Date receiveDate = new Date();
|
|
}
|