package com.fzzy.gateway.hx2023.data; import lombok.Data; /** * 粮情信息详细 */ @Data public class KafkaGrainDataDetail { //根号 private String cableNum; //层号 private String layerNumber; //温度值 private String temperature; //索引,从0开始 private String position; //该温度点所在的列,平方仓、地下仓必填 private int linex; //该温度点所在的行,平方仓、地下仓必填 private int rowy; //浅圆仓、筒仓必填,示例:{\"totalCircle\":3,\"smallCircle\":\"4,10,16\"},totalCircle:总圈数,smallCircle:每圈有几根缆 private int total_circle; //具体圈数--浅圆仓、筒仓必填 private int circle; public KafkaGrainDataDetail() { } public KafkaGrainDataDetail(String cableNum, String layerNumber, String temperature, String position, int linex, int rowy, int total_circle, int circle) { this.cableNum = cableNum; this.layerNumber = layerNumber; this.temperature = temperature; this.position = position; this.linex = linex; this.rowy = rowy; this.total_circle = total_circle; this.circle = circle; } public KafkaGrainDataDetail(String cableNum, String layerNumber, String temperature, String position, int linex, int rowy) { this.cableNum = cableNum; this.layerNumber = layerNumber; this.temperature = temperature; this.position = position; this.linex = linex; this.rowy = rowy; } }