|
|
|
@ -77,6 +77,8 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
private String algType; |
|
|
|
private String objectId; |
|
|
|
private String imageNormalUrlPath; |
|
|
|
|
|
|
|
private String filePath; |
|
|
|
private String suggestion; |
|
|
|
|
|
|
|
|
|
|
|
@ -233,6 +235,10 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
return this.imageNormalUrlPath; |
|
|
|
} |
|
|
|
|
|
|
|
public String getFilePath() { |
|
|
|
return this.filePath; |
|
|
|
} |
|
|
|
|
|
|
|
public String getSuggestion() { |
|
|
|
return this.suggestion; |
|
|
|
} |
|
|
|
@ -341,6 +347,10 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
this.imageNormalUrlPath = imageNormalUrlPath; |
|
|
|
} |
|
|
|
|
|
|
|
public void setFilePath(String filePath) { |
|
|
|
this.filePath = filePath; |
|
|
|
} |
|
|
|
|
|
|
|
public void setSuggestion(String suggestion) { |
|
|
|
this.suggestion = suggestion; |
|
|
|
} |
|
|
|
@ -357,12 +367,12 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
if (this == object) return true; |
|
|
|
if (object == null || getClass() != object.getClass()) return false; |
|
|
|
PatrolData that = (PatrolData) object; |
|
|
|
return Objects.equals(deviceName, that.deviceName) && Objects.equals(channelName, that.channelName) && Objects.equals(deviceSource, that.deviceSource) && Objects.equals(pointName, that.pointName) && Objects.equals(pointId, that.pointId) && Objects.equals(warnStatus, that.warnStatus) && Objects.equals(algName, that.algName) && Objects.equals(resValue, that.resValue) && Objects.equals(img, that.img) && Objects.equals(filterDesc, that.filterDesc) && Objects.equals(brightDesc, that.brightDesc) && Objects.equals(imgAnalyse, that.imgAnalyse) && Objects.equals(brightImgAnalyse, that.brightImgAnalyse) && Objects.equals(desc, that.desc) && Objects.equals(lineId, that.lineId) && Objects.equals(patrolTime, that.patrolTime) && Objects.equals(pointStatus, that.pointStatus) && Objects.equals(imgType, that.imgType) && Objects.equals(dataType, that.dataType) && Objects.equals(filter, that.filter) && Objects.equals(requestId, that.requestId) && Objects.equals(resStatus, that.resStatus) && Objects.equals(brightResStatus, that.brightResStatus) && Objects.equals(areaName, that.areaName) && Objects.equals(algType, that.algType) && Objects.equals(objectId, that.objectId) && Objects.equals(imageNormalUrlPath, that.imageNormalUrlPath) && Objects.equals(suggestion, that.suggestion); |
|
|
|
return Objects.equals(deviceName, that.deviceName) && Objects.equals(channelName, that.channelName) && Objects.equals(deviceSource, that.deviceSource) && Objects.equals(pointName, that.pointName) && Objects.equals(pointId, that.pointId) && Objects.equals(warnStatus, that.warnStatus) && Objects.equals(algName, that.algName) && Objects.equals(resValue, that.resValue) && Objects.equals(img, that.img) && Objects.equals(filterDesc, that.filterDesc) && Objects.equals(brightDesc, that.brightDesc) && Objects.equals(imgAnalyse, that.imgAnalyse) && Objects.equals(brightImgAnalyse, that.brightImgAnalyse) && Objects.equals(desc, that.desc) && Objects.equals(lineId, that.lineId) && Objects.equals(patrolTime, that.patrolTime) && Objects.equals(pointStatus, that.pointStatus) && Objects.equals(imgType, that.imgType) && Objects.equals(dataType, that.dataType) && Objects.equals(filter, that.filter) && Objects.equals(requestId, that.requestId) && Objects.equals(resStatus, that.resStatus) && Objects.equals(brightResStatus, that.brightResStatus) && Objects.equals(areaName, that.areaName) && Objects.equals(algType, that.algType) && Objects.equals(objectId, that.objectId) && Objects.equals(imageNormalUrlPath, that.imageNormalUrlPath) && Objects.equals(suggestion, that.suggestion) && Objects.equals(filePath, that.filePath); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public int hashCode() { |
|
|
|
return Objects.hash(deviceName, channelName, deviceSource, pointName, pointId, warnStatus, algName, resValue, img, filterDesc, brightDesc, imgAnalyse, brightImgAnalyse, desc, lineId, patrolTime, pointStatus, imgType, dataType, filter, requestId, resStatus, brightResStatus, areaName, algType, objectId, imageNormalUrlPath, suggestion); |
|
|
|
return Objects.hash(deviceName, channelName, deviceSource, pointName, pointId, warnStatus, algName, resValue, img, filterDesc, brightDesc, imgAnalyse, brightImgAnalyse, desc, lineId, patrolTime, pointStatus, imgType, dataType, filter, requestId, resStatus, brightResStatus, areaName, algType, objectId, imageNormalUrlPath, suggestion, filePath); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@ -395,6 +405,7 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
", algType='" + algType + '\'' + |
|
|
|
", objectId='" + objectId + '\'' + |
|
|
|
", imageNormalUrlPath='" + imageNormalUrlPath + '\'' + |
|
|
|
", filePath='" + filePath + '\'' + |
|
|
|
", suggestion='" + suggestion + '\'' + |
|
|
|
'}'; |
|
|
|
} |
|
|
|
|