|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
package com.os.ems.record.domain;
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
@ -12,172 +12,77 @@ import com.os.common.core.domain.BaseEntity;
|
|
|
|
|
* 电实时数据对象 ems_record_dnb_instant
|
|
|
|
|
*
|
|
|
|
|
* @author Yinq
|
|
|
|
|
* @date 2024-05-11
|
|
|
|
|
* @date 2024-05-21
|
|
|
|
|
*/
|
|
|
|
|
public class EmsRecordDnbInstant extends BaseEntity {
|
|
|
|
|
public class EmsRecordDnbInstant extends BaseEntity
|
|
|
|
|
{
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 编号
|
|
|
|
|
*/
|
|
|
|
|
/** 主键标识 */
|
|
|
|
|
private Long objId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量设备编号
|
|
|
|
|
*/
|
|
|
|
|
/** 计量设备编号 */
|
|
|
|
|
@Excel(name = "计量设备编号")
|
|
|
|
|
private String monitorId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量设备Code
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "计量设备名称")
|
|
|
|
|
private String monitorCode;
|
|
|
|
|
/**
|
|
|
|
|
* 计量设备名称
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/** 计量设备名称 */
|
|
|
|
|
@Excel(name = "计量设备名称")
|
|
|
|
|
private String monitorName;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 采集时间
|
|
|
|
|
*/
|
|
|
|
|
/** 采集时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private Date collectTime;
|
|
|
|
|
private String beginCollectTime;
|
|
|
|
|
private String endCollectTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A项电压
|
|
|
|
|
*/
|
|
|
|
|
/** A项电压 */
|
|
|
|
|
@Excel(name = "A项电压")
|
|
|
|
|
private Long vA;
|
|
|
|
|
private BigDecimal vA;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* B项电压
|
|
|
|
|
*/
|
|
|
|
|
/** B项电压 */
|
|
|
|
|
@Excel(name = "B项电压")
|
|
|
|
|
private Long vB;
|
|
|
|
|
private BigDecimal vB;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* C项电压
|
|
|
|
|
*/
|
|
|
|
|
/** C项电压 */
|
|
|
|
|
@Excel(name = "C项电压")
|
|
|
|
|
private Long vC;
|
|
|
|
|
private BigDecimal vC;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A项电流
|
|
|
|
|
*/
|
|
|
|
|
/** A项电流 */
|
|
|
|
|
@Excel(name = "A项电流")
|
|
|
|
|
private Long iA;
|
|
|
|
|
private BigDecimal iA;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* B项电流
|
|
|
|
|
*/
|
|
|
|
|
/** B项电流 */
|
|
|
|
|
@Excel(name = "B项电流")
|
|
|
|
|
private Long iB;
|
|
|
|
|
private BigDecimal iB;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* C项电流
|
|
|
|
|
*/
|
|
|
|
|
/** C项电流 */
|
|
|
|
|
@Excel(name = "C项电流")
|
|
|
|
|
private Long iC;
|
|
|
|
|
private BigDecimal iC;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 记录时间
|
|
|
|
|
*/
|
|
|
|
|
/** 记录时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private Date recordTime;
|
|
|
|
|
|
|
|
|
|
private String beginRecordTime;
|
|
|
|
|
private String endRecordTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功率因数
|
|
|
|
|
*/
|
|
|
|
|
/** 功率因数 */
|
|
|
|
|
@Excel(name = "功率因数")
|
|
|
|
|
private Long glys;
|
|
|
|
|
private BigDecimal glys;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 正向有功
|
|
|
|
|
*/
|
|
|
|
|
/** 正向有功 */
|
|
|
|
|
@Excel(name = "正向有功")
|
|
|
|
|
private Long zxyg;
|
|
|
|
|
private BigDecimal zxyg;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 有功功率
|
|
|
|
|
*/
|
|
|
|
|
/** 有功功率 */
|
|
|
|
|
@Excel(name = "有功功率")
|
|
|
|
|
private Long activePower;
|
|
|
|
|
private BigDecimal activePower;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 无功功率
|
|
|
|
|
*/
|
|
|
|
|
/** 无功功率 */
|
|
|
|
|
@Excel(name = "无功功率")
|
|
|
|
|
private Long reactivePower;
|
|
|
|
|
private BigDecimal reactivePower;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 采集方式(0自动 1手动)
|
|
|
|
|
*/
|
|
|
|
|
/** 采集方式(0自动 1手动) */
|
|
|
|
|
@Excel(name = "采集方式", readConverterExp = "0=自动,1=手动")
|
|
|
|
|
private Long collectType;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//统计单元id
|
|
|
|
|
private String workUnitCode;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getBeginRecordTime() {
|
|
|
|
|
return beginRecordTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getMonitorCode() {
|
|
|
|
|
return monitorCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setMonitorCode(String monitorCode) {
|
|
|
|
|
this.monitorCode = monitorCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setBeginRecordTime(String beginRecordTime) {
|
|
|
|
|
this.beginRecordTime = beginRecordTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getEndRecordTime() {
|
|
|
|
|
return endRecordTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setEndRecordTime(String endRecordTime) {
|
|
|
|
|
this.endRecordTime = endRecordTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getBeginCollectTime() {
|
|
|
|
|
return beginCollectTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setBeginCollectTime(String beginCollectTime) {
|
|
|
|
|
this.beginCollectTime = beginCollectTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getEndCollectTime() {
|
|
|
|
|
return endCollectTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setEndCollectTime(String endCollectTime) {
|
|
|
|
|
this.endCollectTime = endCollectTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getWorkUnitCode() {
|
|
|
|
|
return workUnitCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setWorkUnitCode(String workUnitCode) {
|
|
|
|
|
this.workUnitCode = workUnitCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getMonitorName() {
|
|
|
|
|
return monitorName;
|
|
|
|
|
}
|
|
|
|
@ -186,131 +91,147 @@ public class EmsRecordDnbInstant extends BaseEntity {
|
|
|
|
|
this.monitorName = monitorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setObjId(Long objId) {
|
|
|
|
|
public void setObjId(Long objId)
|
|
|
|
|
{
|
|
|
|
|
this.objId = objId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getObjId() {
|
|
|
|
|
public Long getObjId()
|
|
|
|
|
{
|
|
|
|
|
return objId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setMonitorId(String monitorId) {
|
|
|
|
|
this.monitorId = monitorId;
|
|
|
|
|
public void setMonitorCode(String monitorCode)
|
|
|
|
|
{
|
|
|
|
|
this.monitorCode = monitorCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getMonitorId() {
|
|
|
|
|
return monitorId;
|
|
|
|
|
public String getMonitorCode()
|
|
|
|
|
{
|
|
|
|
|
return monitorCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCollectTime(Date collectTime) {
|
|
|
|
|
public void setCollectTime(Date collectTime)
|
|
|
|
|
{
|
|
|
|
|
this.collectTime = collectTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getCollectTime() {
|
|
|
|
|
public Date getCollectTime()
|
|
|
|
|
{
|
|
|
|
|
return collectTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setVA(Long vA) {
|
|
|
|
|
public void setVA(BigDecimal vA)
|
|
|
|
|
{
|
|
|
|
|
this.vA = vA;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getVA() {
|
|
|
|
|
public BigDecimal getVA()
|
|
|
|
|
{
|
|
|
|
|
return vA;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setVB(Long vB) {
|
|
|
|
|
public void setVB(BigDecimal vB)
|
|
|
|
|
{
|
|
|
|
|
this.vB = vB;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getVB() {
|
|
|
|
|
public BigDecimal getVB()
|
|
|
|
|
{
|
|
|
|
|
return vB;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setVC(Long vC) {
|
|
|
|
|
public void setVC(BigDecimal vC)
|
|
|
|
|
{
|
|
|
|
|
this.vC = vC;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getVC() {
|
|
|
|
|
public BigDecimal getVC()
|
|
|
|
|
{
|
|
|
|
|
return vC;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setIA(Long iA) {
|
|
|
|
|
public void setIA(BigDecimal iA)
|
|
|
|
|
{
|
|
|
|
|
this.iA = iA;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getIA() {
|
|
|
|
|
public BigDecimal getIA()
|
|
|
|
|
{
|
|
|
|
|
return iA;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setIB(Long iB) {
|
|
|
|
|
public void setIB(BigDecimal iB)
|
|
|
|
|
{
|
|
|
|
|
this.iB = iB;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getIB() {
|
|
|
|
|
public BigDecimal getIB()
|
|
|
|
|
{
|
|
|
|
|
return iB;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setIC(Long iC) {
|
|
|
|
|
public void setIC(BigDecimal iC)
|
|
|
|
|
{
|
|
|
|
|
this.iC = iC;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getIC() {
|
|
|
|
|
public BigDecimal getIC()
|
|
|
|
|
{
|
|
|
|
|
return iC;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setRecordTime(Date recordTime) {
|
|
|
|
|
public void setRecordTime(Date recordTime)
|
|
|
|
|
{
|
|
|
|
|
this.recordTime = recordTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getRecordTime() {
|
|
|
|
|
public Date getRecordTime()
|
|
|
|
|
{
|
|
|
|
|
return recordTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setGlys(Long glys) {
|
|
|
|
|
public void setGlys(BigDecimal glys)
|
|
|
|
|
{
|
|
|
|
|
this.glys = glys;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getGlys() {
|
|
|
|
|
public BigDecimal getGlys()
|
|
|
|
|
{
|
|
|
|
|
return glys;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setZxyg(Long zxyg) {
|
|
|
|
|
public void setZxyg(BigDecimal zxyg)
|
|
|
|
|
{
|
|
|
|
|
this.zxyg = zxyg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getZxyg() {
|
|
|
|
|
public BigDecimal getZxyg()
|
|
|
|
|
{
|
|
|
|
|
return zxyg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setActivePower(Long activePower) {
|
|
|
|
|
public void setActivePower(BigDecimal activePower)
|
|
|
|
|
{
|
|
|
|
|
this.activePower = activePower;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getActivePower() {
|
|
|
|
|
public BigDecimal getActivePower()
|
|
|
|
|
{
|
|
|
|
|
return activePower;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setReactivePower(Long reactivePower) {
|
|
|
|
|
public void setReactivePower(BigDecimal reactivePower)
|
|
|
|
|
{
|
|
|
|
|
this.reactivePower = reactivePower;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getReactivePower() {
|
|
|
|
|
public BigDecimal getReactivePower()
|
|
|
|
|
{
|
|
|
|
|
return reactivePower;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCollectType(Long collectType) {
|
|
|
|
|
public void setCollectType(Long collectType)
|
|
|
|
|
{
|
|
|
|
|
this.collectType = collectType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getCollectType() {
|
|
|
|
|
public Long getCollectType()
|
|
|
|
|
{
|
|
|
|
|
return collectType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
|
.append("objId", getObjId())
|
|
|
|
|
.append("monitorId", getMonitorId())
|
|
|
|
|
.append("monitorCode", getMonitorCode())
|
|
|
|
|
.append("collectTime", getCollectTime())
|
|
|
|
|
.append("vA", getVA())
|
|
|
|
|
.append("vB", getVB())
|
|
|
|
|