package com.skyline.electricity.pojo;
|
|
public class DeviceInfo
|
{
|
private Integer gid;
|
private String filename;
|
private double x;
|
private double y;
|
private double z;
|
private String xpl2id;
|
private String device_name;
|
private String account;
|
private String device_id;
|
private String testpoint;
|
private String code;
|
private String kkstype;
|
private String gemo;
|
|
public Integer getGid() {
|
return this.gid;
|
}
|
|
public String getFilename() {
|
return this.filename;
|
}
|
|
public double getX() {
|
return this.x;
|
}
|
|
public double getY() {
|
return this.y;
|
}
|
|
public double getZ() {
|
return this.z;
|
}
|
|
public String getXpl2id() {
|
return this.xpl2id;
|
}
|
|
public String getDevice_name() {
|
return this.device_name;
|
}
|
|
public String getAccount() {
|
return this.account;
|
}
|
|
public String getDevice_id() {
|
return this.device_id;
|
}
|
|
public String getTestpoint() {
|
return this.testpoint;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getKkstype() {
|
return this.kkstype;
|
}
|
|
public String getGemo() {
|
return this.gemo;
|
}
|
|
public void setGid(final Integer gid) {
|
this.gid = gid;
|
}
|
|
public void setFilename(final String filename) {
|
this.filename = filename;
|
}
|
|
public void setX(final double x) {
|
this.x = x;
|
}
|
|
public void setY(final double y) {
|
this.y = y;
|
}
|
|
public void setZ(final double z) {
|
this.z = z;
|
}
|
|
public void setXpl2id(final String xpl2id) {
|
this.xpl2id = xpl2id;
|
}
|
|
public void setDevice_name(final String device_name) {
|
this.device_name = device_name;
|
}
|
|
public void setAccount(final String account) {
|
this.account = account;
|
}
|
|
public void setDevice_id(final String device_id) {
|
this.device_id = device_id;
|
}
|
|
public void setTestpoint(final String testpoint) {
|
this.testpoint = testpoint;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setKkstype(final String kkstype) {
|
this.kkstype = kkstype;
|
}
|
|
public void setGemo(final String gemo) {
|
this.gemo = gemo;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof DeviceInfo)) {
|
return false;
|
}
|
final DeviceInfo other = (DeviceInfo)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$gid = this.getGid();
|
final Object other$gid = other.getGid();
|
Label_0065: {
|
if (this$gid == null) {
|
if (other$gid == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$gid.equals(other$gid)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$filename = this.getFilename();
|
final Object other$filename = other.getFilename();
|
Label_0102: {
|
if (this$filename == null) {
|
if (other$filename == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$filename.equals(other$filename)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
if (Double.compare(this.getX(), other.getX()) != 0) {
|
return false;
|
}
|
if (Double.compare(this.getY(), other.getY()) != 0) {
|
return false;
|
}
|
if (Double.compare(this.getZ(), other.getZ()) != 0) {
|
return false;
|
}
|
final Object this$xpl2id = this.getXpl2id();
|
final Object other$xpl2id = other.getXpl2id();
|
Label_0187: {
|
if (this$xpl2id == null) {
|
if (other$xpl2id == null) {
|
break Label_0187;
|
}
|
}
|
else if (this$xpl2id.equals(other$xpl2id)) {
|
break Label_0187;
|
}
|
return false;
|
}
|
final Object this$device_name = this.getDevice_name();
|
final Object other$device_name = other.getDevice_name();
|
Label_0224: {
|
if (this$device_name == null) {
|
if (other$device_name == null) {
|
break Label_0224;
|
}
|
}
|
else if (this$device_name.equals(other$device_name)) {
|
break Label_0224;
|
}
|
return false;
|
}
|
final Object this$account = this.getAccount();
|
final Object other$account = other.getAccount();
|
Label_0261: {
|
if (this$account == null) {
|
if (other$account == null) {
|
break Label_0261;
|
}
|
}
|
else if (this$account.equals(other$account)) {
|
break Label_0261;
|
}
|
return false;
|
}
|
final Object this$device_id = this.getDevice_id();
|
final Object other$device_id = other.getDevice_id();
|
Label_0298: {
|
if (this$device_id == null) {
|
if (other$device_id == null) {
|
break Label_0298;
|
}
|
}
|
else if (this$device_id.equals(other$device_id)) {
|
break Label_0298;
|
}
|
return false;
|
}
|
final Object this$testpoint = this.getTestpoint();
|
final Object other$testpoint = other.getTestpoint();
|
Label_0335: {
|
if (this$testpoint == null) {
|
if (other$testpoint == null) {
|
break Label_0335;
|
}
|
}
|
else if (this$testpoint.equals(other$testpoint)) {
|
break Label_0335;
|
}
|
return false;
|
}
|
final Object this$code = this.getCode();
|
final Object other$code = other.getCode();
|
Label_0372: {
|
if (this$code == null) {
|
if (other$code == null) {
|
break Label_0372;
|
}
|
}
|
else if (this$code.equals(other$code)) {
|
break Label_0372;
|
}
|
return false;
|
}
|
final Object this$kkstype = this.getKkstype();
|
final Object other$kkstype = other.getKkstype();
|
Label_0409: {
|
if (this$kkstype == null) {
|
if (other$kkstype == null) {
|
break Label_0409;
|
}
|
}
|
else if (this$kkstype.equals(other$kkstype)) {
|
break Label_0409;
|
}
|
return false;
|
}
|
final Object this$gemo = this.getGemo();
|
final Object other$gemo = other.getGemo();
|
if (this$gemo == null) {
|
if (other$gemo == null) {
|
return true;
|
}
|
}
|
else if (this$gemo.equals(other$gemo)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DeviceInfo;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $gid = this.getGid();
|
result = result * 59 + (($gid == null) ? 43 : $gid.hashCode());
|
final Object $filename = this.getFilename();
|
result = result * 59 + (($filename == null) ? 43 : $filename.hashCode());
|
final long $x = Double.doubleToLongBits(this.getX());
|
result = result * 59 + (int)($x >>> 32 ^ $x);
|
final long $y = Double.doubleToLongBits(this.getY());
|
result = result * 59 + (int)($y >>> 32 ^ $y);
|
final long $z = Double.doubleToLongBits(this.getZ());
|
result = result * 59 + (int)($z >>> 32 ^ $z);
|
final Object $xpl2id = this.getXpl2id();
|
result = result * 59 + (($xpl2id == null) ? 43 : $xpl2id.hashCode());
|
final Object $device_name = this.getDevice_name();
|
result = result * 59 + (($device_name == null) ? 43 : $device_name.hashCode());
|
final Object $account = this.getAccount();
|
result = result * 59 + (($account == null) ? 43 : $account.hashCode());
|
final Object $device_id = this.getDevice_id();
|
result = result * 59 + (($device_id == null) ? 43 : $device_id.hashCode());
|
final Object $testpoint = this.getTestpoint();
|
result = result * 59 + (($testpoint == null) ? 43 : $testpoint.hashCode());
|
final Object $code = this.getCode();
|
result = result * 59 + (($code == null) ? 43 : $code.hashCode());
|
final Object $kkstype = this.getKkstype();
|
result = result * 59 + (($kkstype == null) ? 43 : $kkstype.hashCode());
|
final Object $gemo = this.getGemo();
|
result = result * 59 + (($gemo == null) ? 43 : $gemo.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "DeviceInfo(gid=" + this.getGid() + ", filename=" + this.getFilename() + ", x=" + this.getX() + ", y=" + this.getY() + ", z=" + this.getZ() + ", xpl2id=" + this.getXpl2id() + ", device_name=" + this.getDevice_name() + ", account=" + this.getAccount() + ", device_id=" + this.getDevice_id() + ", testpoint=" + this.getTestpoint() + ", code=" + this.getCode() + ", kkstype=" + this.getKkstype() + ", gemo=" + this.getGemo() + ")";
|
}
|
}
|