jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.ld.igds.phone.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ld.igds.constant.DepotType;
import lombok.Data;
 
import java.util.Date;
import java.util.List;
 
/**
 * 粮情信息封装
 * @author chen
 */
@Data
public class Dto5302 {
 
    private String depotId;
    private String depotName;
    private String depotType;
    private String depotTypeName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date receiveDate;
    private Double tempIn;
    private Double humidityIn;
    private Double tempOut;
    private Double humidityOut;
    private Double tempMax = 0.0;
    private Double tempMin = 0.0;
    private Double tempAve = 0.0;
    private String cable;
    private String cableCir;
 
    private List<DtoPoint5302> points;
 
    private List<DtoDetail5302> details;
 
    public String getDepotTypeName() {
        if (null != this.depotType) {
            return DepotType.getMsg(this.depotType);
        }
        return null;
    }
}