|
|
|
@ -11,6 +11,7 @@ public class PatrolResultRef { |
|
|
|
private String lineId; |
|
|
|
private String deviceId; |
|
|
|
private String devType; |
|
|
|
private String deviceSource; |
|
|
|
private String time; |
|
|
|
private String value; |
|
|
|
private String algType; |
|
|
|
@ -42,12 +43,12 @@ public class PatrolResultRef { |
|
|
|
if (this == object) return true; |
|
|
|
if (object == null || getClass() != object.getClass()) return false; |
|
|
|
PatrolResultRef that = (PatrolResultRef) object; |
|
|
|
return Objects.equals(lineId, that.lineId) && Objects.equals(deviceId, that.deviceId) && Objects.equals(devType, that.devType) && Objects.equals(time, that.time) && Objects.equals(value, that.value) && Objects.equals(algType, that.algType) && Objects.equals(algName, that.algName) && Objects.equals(threshold, that.threshold) && Objects.equals(filePath, that.filePath) && Objects.equals(description, that.description) && Objects.equals(pointStatus, that.pointStatus) && Objects.equals(valueUnit, that.valueUnit) && Objects.equals(resultContent, that.resultContent); |
|
|
|
return Objects.equals(lineId, that.lineId) && Objects.equals(deviceId, that.deviceId) && Objects.equals(devType, that.devType) && Objects.equals(deviceSource, deviceSource) && Objects.equals(time, that.time) && Objects.equals(value, that.value) && Objects.equals(algType, that.algType) && Objects.equals(algName, that.algName) && Objects.equals(threshold, that.threshold) && Objects.equals(filePath, that.filePath) && Objects.equals(description, that.description) && Objects.equals(pointStatus, that.pointStatus) && Objects.equals(valueUnit, that.valueUnit) && Objects.equals(resultContent, that.resultContent); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public int hashCode() { |
|
|
|
return Objects.hash(lineId, deviceId, devType, time, value, algType, algName, threshold, filePath, description, pointStatus, valueUnit, resultContent); |
|
|
|
return Objects.hash(lineId, deviceId, devType, deviceSource, time, value, algType, algName, threshold, filePath, description, pointStatus, valueUnit, resultContent); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@ -56,6 +57,7 @@ public class PatrolResultRef { |
|
|
|
"lineId='" + lineId + '\'' + |
|
|
|
", deviceId='" + deviceId + '\'' + |
|
|
|
", devType='" + devType + '\'' + |
|
|
|
", deviceSource='" + deviceSource + '\'' + |
|
|
|
", time='" + time + '\'' + |
|
|
|
", value='" + value + '\'' + |
|
|
|
", algType='" + algType + '\'' + |
|
|
|
|