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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
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 com.bstek.dorado.annotation.PropertyDef;
 
import lombok.Data;
 
/**
 * 能耗数据信息,能耗数据记录
 *
 * @author: andy.jia
 * @description:
 * @version:
 * @data:2020年2月14日
 */
@Data
@Entity
@Table(name = "D_ENERGY")
public class Energy implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "批次号")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码", description = "")
    private String companyId;
 
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "所属仓库")
    private String depotId;
 
    @Column(name = "DEVICE_ID_", length = 40)
    @PropertyDef(label = "电表id")
    private String deviceId;
 
    @Column(name = "DEVICE_NAME_", length = 200)
    @PropertyDef(label = "电表名称")
    private String deviceName;
 
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "能耗类型")
    private String type;
 
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "更新时间")
    private Date updateTime;
 
    @Column(name = "UA_")
    @PropertyDef(label = "A相电压")
    private Double ua;
 
    @Column(name = "UB_")
    @PropertyDef(label = "B相电压")
    private Double ub;
 
    @Column(name = "UC_")
    @PropertyDef(label = "C相电压")
    private Double uc;
 
    @Column(name = "IA_")
    @PropertyDef(label = "A相电流")
    private Double ia;
 
    @Column(name = "IB_")
    @PropertyDef(label = "B相电流")
    private Double ib;
 
    @Column(name = "IC_")
    @PropertyDef(label = "C相电流")
    private Double ic;
 
    @Column(name = "F_")
    @PropertyDef(label = "频率")
    private Double f;
 
    @Column(name = "EP_")
    @PropertyDef(label = "有功电能(电表读数)")
    private double ep;
 
    @Column(name = "EP_INC_")
    @PropertyDef(label = "有功电能(增量)")
    private double epInc = 0.0;
 
    @Column(name = "EQ_")
    @PropertyDef(label = "无功电能(电表读数)")
    private double eq;
 
    @Column(name = "EQ_INC_")
    @PropertyDef(label = "无功电能(增量)")
    private double eqInc = 0.0;
 
    @Column(name = "ES_")
    @PropertyDef(label = "总电能  (电表读数)")
    private double es;
 
    @Column(name = "ES_INC_")
    @PropertyDef(label = "总电能(增量)")
    private double esInc = 0.0;
 
//    @Column(name = "ES_FAN_")
//    @PropertyDef(label = "通风耗电(增量)")
//    private double esFan = 0.0;
//
//    @Column(name = "ES_AIR_")
//    @PropertyDef(label = "空调耗电(增量)")
//    private double esAir = 0.0;
//
//    @Column(name = "ES_LAMP_")
//    @PropertyDef(label = "照明耗电(增量)")
//    private double esLamp = 0.0;
 
}