|
|
|
@ -19,19 +19,9 @@ public class MeterConfig implements Serializable { |
|
|
|
/** |
|
|
|
* 主键 |
|
|
|
*/ |
|
|
|
@TableId(type = IdType.AUTO) |
|
|
|
@TableId(value = "id", type = IdType.AUTO) |
|
|
|
private Integer id; |
|
|
|
|
|
|
|
/** |
|
|
|
* ids5000表id |
|
|
|
*/ |
|
|
|
private Integer ids5000Id; |
|
|
|
|
|
|
|
/** |
|
|
|
* 间隔类型 1 分钟 2 小时 3 天 |
|
|
|
*/ |
|
|
|
private Integer intervalType; |
|
|
|
|
|
|
|
/** |
|
|
|
* 电压等级(1安全电压2低压3高压4超高压5特高压) |
|
|
|
*/ |
|
|
|
@ -52,16 +42,6 @@ public class MeterConfig implements Serializable { |
|
|
|
*/ |
|
|
|
private String deviceName; |
|
|
|
|
|
|
|
/** |
|
|
|
* y坐标 |
|
|
|
*/ |
|
|
|
private Double locationY; |
|
|
|
|
|
|
|
/** |
|
|
|
* x坐标 |
|
|
|
*/ |
|
|
|
private Double locationX; |
|
|
|
|
|
|
|
/** |
|
|
|
* 设备类型 |
|
|
|
*/ |
|
|
|
@ -82,15 +62,11 @@ public class MeterConfig implements Serializable { |
|
|
|
*/ |
|
|
|
private Integer cameraId; |
|
|
|
|
|
|
|
/** |
|
|
|
* 告警最小值 |
|
|
|
*/ |
|
|
|
private Double warningMax; |
|
|
|
@TableField(exist = false) |
|
|
|
private String cameraType; |
|
|
|
|
|
|
|
/** |
|
|
|
* 告警最大值 |
|
|
|
*/ |
|
|
|
private Double warningMin; |
|
|
|
@TableField(exist = false) |
|
|
|
private String cameraName; |
|
|
|
|
|
|
|
/** |
|
|
|
* 表计类型配置编号 |
|
|
|
@ -108,15 +84,30 @@ public class MeterConfig implements Serializable { |
|
|
|
private Date firstTime; |
|
|
|
|
|
|
|
/** |
|
|
|
* 焦距类型 1定焦2变焦 |
|
|
|
* 算法类型 1usb2mipi 3内部算法 |
|
|
|
*/ |
|
|
|
private String focalLength; |
|
|
|
private String algorithmType; |
|
|
|
|
|
|
|
/** |
|
|
|
* 执行间隔时间 |
|
|
|
*/ |
|
|
|
private Integer intervalTime; |
|
|
|
|
|
|
|
/** |
|
|
|
* 执行间隔类型 1分钟 2 小时 3 天 |
|
|
|
*/ |
|
|
|
private Integer intervalType; |
|
|
|
|
|
|
|
/** |
|
|
|
* 告警最大值 |
|
|
|
*/ |
|
|
|
private Double warningMax; |
|
|
|
|
|
|
|
/** |
|
|
|
* 告警最小值 |
|
|
|
*/ |
|
|
|
private Double warningMin; |
|
|
|
|
|
|
|
/** |
|
|
|
* 焦距数量 |
|
|
|
*/ |
|
|
|
@ -133,9 +124,9 @@ public class MeterConfig implements Serializable { |
|
|
|
private String remarks; |
|
|
|
|
|
|
|
/** |
|
|
|
* 61850读数模型 |
|
|
|
* 初始化状态 |
|
|
|
*/ |
|
|
|
private String iec61850mx; |
|
|
|
private String initStatus; |
|
|
|
|
|
|
|
/** |
|
|
|
* 创建人 |
|
|
|
@ -152,11 +143,116 @@ public class MeterConfig implements Serializable { |
|
|
|
*/ |
|
|
|
private String updateUser; |
|
|
|
|
|
|
|
private int isJz; |
|
|
|
|
|
|
|
private String jzVal; |
|
|
|
|
|
|
|
/** |
|
|
|
* 修改时间 |
|
|
|
*/ |
|
|
|
private Date updateTime; |
|
|
|
|
|
|
|
@TableField(exist = false) |
|
|
|
private String ip; |
|
|
|
|
|
|
|
@TableField(exist = false) |
|
|
|
private String typeAlias; |
|
|
|
|
|
|
|
@TableField(exist = false) |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
@Override |
|
|
|
public boolean equals(Object that) { |
|
|
|
if (this == that) { |
|
|
|
return true; |
|
|
|
} |
|
|
|
if (that == null) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
if (getClass() != that.getClass()) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
MeterConfig other = (MeterConfig) that; |
|
|
|
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) |
|
|
|
&& (this.getVoltageClass() == null ? other.getVoltageClass() == null : this.getVoltageClass().equals(other.getVoltageClass())) |
|
|
|
&& (this.getOwningInterval() == null ? other.getOwningInterval() == null : this.getOwningInterval().equals(other.getOwningInterval())) |
|
|
|
&& (this.getIdentificationInterval() == null ? other.getIdentificationInterval() == null : this.getIdentificationInterval().equals(other.getIdentificationInterval())) |
|
|
|
&& (this.getDeviceName() == null ? other.getDeviceName() == null : this.getDeviceName().equals(other.getDeviceName())) |
|
|
|
&& (this.getDeviceType() == null ? other.getDeviceType() == null : this.getDeviceType().equals(other.getDeviceType())) |
|
|
|
&& (this.getMeterCode() == null ? other.getMeterCode() == null : this.getMeterCode().equals(other.getMeterCode())) |
|
|
|
&& (this.getMeterName() == null ? other.getMeterName() == null : this.getMeterName().equals(other.getMeterName())) |
|
|
|
&& (this.getCameraId() == null ? other.getCameraId() == null : this.getCameraId().equals(other.getCameraId())) |
|
|
|
&& (this.getTypeId() == null ? other.getTypeId() == null : this.getTypeId().equals(other.getTypeId())) |
|
|
|
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) |
|
|
|
&& (this.getFirstTime() == null ? other.getFirstTime() == null : this.getFirstTime().equals(other.getFirstTime())) |
|
|
|
&& (this.getAlgorithmType() == null ? other.getAlgorithmType() == null : this.getAlgorithmType().equals(other.getAlgorithmType())) |
|
|
|
&& (this.getIntervalTime() == null ? other.getIntervalTime() == null : this.getIntervalTime().equals(other.getIntervalTime())) |
|
|
|
&& (this.getFocalNumber() == null ? other.getFocalNumber() == null : this.getFocalNumber().equals(other.getFocalNumber())) |
|
|
|
&& (this.getParameterConfig() == null ? other.getParameterConfig() == null : this.getParameterConfig().equals(other.getParameterConfig())) |
|
|
|
&& (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks())) |
|
|
|
&& (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser())) |
|
|
|
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) |
|
|
|
&& (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser())) |
|
|
|
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public int hashCode() { |
|
|
|
final int prime = 31; |
|
|
|
int result = 1; |
|
|
|
result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); |
|
|
|
result = prime * result + ((getVoltageClass() == null) ? 0 : getVoltageClass().hashCode()); |
|
|
|
result = prime * result + ((getOwningInterval() == null) ? 0 : getOwningInterval().hashCode()); |
|
|
|
result = prime * result + ((getIdentificationInterval() == null) ? 0 : getIdentificationInterval().hashCode()); |
|
|
|
result = prime * result + ((getDeviceName() == null) ? 0 : getDeviceName().hashCode()); |
|
|
|
result = prime * result + ((getDeviceType() == null) ? 0 : getDeviceType().hashCode()); |
|
|
|
result = prime * result + ((getMeterCode() == null) ? 0 : getMeterCode().hashCode()); |
|
|
|
result = prime * result + ((getMeterName() == null) ? 0 : getMeterName().hashCode()); |
|
|
|
result = prime * result + ((getCameraId() == null) ? 0 : getCameraId().hashCode()); |
|
|
|
result = prime * result + ((getTypeId() == null) ? 0 : getTypeId().hashCode()); |
|
|
|
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); |
|
|
|
result = prime * result + ((getFirstTime() == null) ? 0 : getFirstTime().hashCode()); |
|
|
|
result = prime * result + ((getAlgorithmType() == null) ? 0 : getAlgorithmType().hashCode()); |
|
|
|
result = prime * result + ((getIntervalTime() == null) ? 0 : getIntervalTime().hashCode()); |
|
|
|
result = prime * result + ((getFocalNumber() == null) ? 0 : getFocalNumber().hashCode()); |
|
|
|
result = prime * result + ((getParameterConfig() == null) ? 0 : getParameterConfig().hashCode()); |
|
|
|
result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode()); |
|
|
|
result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode()); |
|
|
|
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); |
|
|
|
result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode()); |
|
|
|
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
StringBuilder sb = new StringBuilder(); |
|
|
|
sb.append(getClass().getSimpleName()); |
|
|
|
sb.append(" ["); |
|
|
|
sb.append("Hash = ").append(hashCode()); |
|
|
|
sb.append(", id=").append(id); |
|
|
|
sb.append(", voltageClass=").append(voltageClass); |
|
|
|
sb.append(", owningInterval=").append(owningInterval); |
|
|
|
sb.append(", identificationInterval=").append(identificationInterval); |
|
|
|
sb.append(", deviceName=").append(deviceName); |
|
|
|
sb.append(", deviceType=").append(deviceType); |
|
|
|
sb.append(", meterCode=").append(meterCode); |
|
|
|
sb.append(", meterName=").append(meterName); |
|
|
|
sb.append(", cameraId=").append(cameraId); |
|
|
|
sb.append(", typeId=").append(typeId); |
|
|
|
sb.append(", status=").append(status); |
|
|
|
sb.append(", firstTime=").append(firstTime); |
|
|
|
sb.append(", algorithmType=").append(algorithmType); |
|
|
|
sb.append(", intervalTime=").append(intervalTime); |
|
|
|
sb.append(", focalNumber=").append(focalNumber); |
|
|
|
sb.append(", parameterConfig=").append(parameterConfig); |
|
|
|
sb.append(", remarks=").append(remarks); |
|
|
|
sb.append(", createUser=").append(createUser); |
|
|
|
sb.append(", createTime=").append(createTime); |
|
|
|
sb.append(", updateUser=").append(updateUser); |
|
|
|
sb.append(", updateTime=").append(updateTime); |
|
|
|
sb.append(", serialVersionUID=").append(serialVersionUID); |
|
|
|
sb.append("]"); |
|
|
|
return sb.toString(); |
|
|
|
} |
|
|
|
} |