CZT
2023-10-11 564295458c720206db9b5194b90481b711f4b010
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package com.ld.igds.models;
 
import java.io.Serializable;
import java.util.Date;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
 
import com.bstek.dorado.annotation.PropertyDef;
 
import lombok.Data;
 
/**
 * 气体在获取的时候并不是直接获取到的气体信息,每次通过多次获取后得到一个结果, 这里保存的就是多路气体信息
 * 
 * @author Andy
 *
 */
@Data
@Entity
@Table(name = "D_GAS_INFO")
public class GasInfo implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 50)
    @PropertyDef(label = "ID", description = "工具类生成:companyId + depotId + batchId")
    private String id;
 
    @Id
    @Column(name = "PASS_CODE_")
    @PropertyDef(label = "通道路数", description = "第几路,不同的协议采集次数不一样")
    private int passCode = -1;
 
    @Column(name = "PER_CO2_")
    @PropertyDef(label = "二氧化碳浓度", description = "二氧化碳浓度(PPM)")
    private Double perCo2 = 0.0;
 
    @Column(name = "PER_O2_")
    @PropertyDef(label = "氧气浓度", description = "氧气浓度(%)")
    private Double perO2 = 0.0;
 
    @Column(name = "PER_PH3_")
    @PropertyDef(label = "磷化氢浓度", description = "磷化氢浓度(PPM)")
    private Double perPh3 = 0.0;
 
    @Column(name = "PER_N2_")
    @PropertyDef(label = "氮气浓度")
    private Double perN2 = 0.0;
 
    @Column(name = "RECEIVE_DATE_")
    @PropertyDef(label = "检测时间")
    private Date receiveDate;
 
    @Column(name = "REMARK_", length = 200)
    @PropertyDef(label = "备注信息")
    private String remark;
 
    @Transient
    @PropertyDef(label = "", description = "Co2检测错误信息")
    private String errorCo2;
 
    @Transient
    @PropertyDef(label = "", description = "O2检测错误信息")
    private String errorO2;
 
    @Transient
    @PropertyDef(label = "", description = "PH3检测错误信息")
    private String errorPh3;
}