package com.inspect.ivs.vo;
|
|
|
|
public class IvsDevChanSnapVo extends IvsVo {
|
|
private String serial;
|
|
private String channel;
|
|
private boolean realtime;
|
|
private boolean check_outputs;
|
|
private boolean timeout;
|
|
private String UUID;
|
|
|
|
public String getSerial() {
|
|
return this.serial;
|
|
}
|
|
|
|
public String getChannel() {
|
|
return this.channel;
|
|
}
|
|
|
|
public boolean isRealtime() {
|
|
return this.realtime;
|
|
}
|
|
|
|
public boolean isCheck_outputs() {
|
|
return this.check_outputs;
|
|
}
|
|
|
|
public boolean isTimeout() {
|
|
return this.timeout;
|
|
}
|
|
|
|
public void setSerial(String serial) {
|
|
this.serial = serial;
|
|
}
|
|
|
|
public void setChannel(String channel) {
|
|
this.channel = channel;
|
|
}
|
|
|
|
public void setRealtime(boolean realtime) {
|
|
this.realtime = realtime;
|
|
}
|
|
|
|
public void setCheck_outputs(boolean check_outputs) {
|
|
this.check_outputs = check_outputs;
|
|
}
|
|
|
|
public void setTimeout(boolean timeout) {
|
|
this.timeout = timeout;
|
|
}
|
|
|
|
public String getUUID() {
|
|
return UUID;
|
|
}
|
|
|
|
public void setUUID(String UUID) {
|
|
this.UUID = UUID;
|
|
}
|
|
|
|
public boolean equals(Object o) {
|
|
if(o == this) {
|
|
return true;
|
|
} else if(!(o instanceof IvsDevChanSnapVo)) {
|
|
return false;
|
|
} else {
|
|
IvsDevChanSnapVo other = (IvsDevChanSnapVo)o;
|
|
if(!other.canEqual(this)) {
|
|
return false;
|
|
} else if(this.isRealtime() != other.isRealtime()) {
|
|
return false;
|
|
} else if(this.isCheck_outputs() != other.isCheck_outputs()) {
|
|
return false;
|
|
} else if(this.isTimeout() != other.isTimeout()) {
|
|
return false;
|
|
} else {
|
|
Object this$serial = this.getSerial();
|
|
Object other$serial = other.getSerial();
|
|
if(this$serial == null) {
|
|
if(other$serial != null) {
|
|
return false;
|
|
}
|
|
} else if(!this$serial.equals(other$serial)) {
|
|
return false;
|
|
}
|
|
|
|
Object this$channel = this.getChannel();
|
|
Object other$channel = other.getChannel();
|
|
if(this$channel == null) {
|
|
if(other$channel != null) {
|
|
return false;
|
|
}
|
|
} else if(!this$channel.equals(other$channel)) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
|
|
protected boolean canEqual(Object other) {
|
|
return other instanceof IvsDevChanSnapVo;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int PRIME = 1;
|
|
int result = 1;
|
|
result = result * 59 + (this.isRealtime()?79:97);
|
|
result = result * 59 + (this.isCheck_outputs()?79:97);
|
|
result = result * 59 + (this.isTimeout()?79:97);
|
|
Object $serial = this.getSerial();
|
|
result = result * 59 + ($serial == null?43:$serial.hashCode());
|
|
Object $channel = this.getChannel();
|
|
result = result * 59 + ($channel == null?43:$channel.hashCode());
|
|
return result;
|
|
}
|
|
|
|
public String toString() {
|
|
return "IvsDevChanSnapVo(serial=" + this.getSerial() + ", channel=" + this.getChannel() + ", realtime=" + this.isRealtime() + ", check_outputs=" + this.isCheck_outputs() + ", timeout=" + this.isTimeout() + ")";
|
|
}
|
|
}
|