|
|
|
@ -21,6 +21,10 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
name = "点位名称" |
|
|
|
) |
|
|
|
private String pointName; |
|
|
|
@Excel( |
|
|
|
name = "点位ID" |
|
|
|
) |
|
|
|
private String pointId; |
|
|
|
@Excel( |
|
|
|
name = "状态" |
|
|
|
) |
|
|
|
@ -127,7 +131,9 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
public String getPointName() { |
|
|
|
return this.pointName; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPointId() { |
|
|
|
return pointId; |
|
|
|
} |
|
|
|
public String getWarnStatus() { |
|
|
|
return this.warnStatus; |
|
|
|
} |
|
|
|
@ -223,7 +229,9 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
public void setPointName(String pointName) { |
|
|
|
this.pointName = pointName; |
|
|
|
} |
|
|
|
|
|
|
|
public void setPointId(String pointId) { |
|
|
|
this.pointId = pointId; |
|
|
|
} |
|
|
|
public void setWarnStatus(String warnStatus) { |
|
|
|
this.warnStatus = warnStatus; |
|
|
|
} |
|
|
|
@ -316,12 +324,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(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(imgAnalyse, that.imgAnalyse) && 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(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(imgAnalyse, that.imgAnalyse) && 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(areaName, that.areaName) && Objects.equals(algType, that.algType) && Objects.equals(objectId, that.objectId) && Objects.equals(imageNormalUrlPath, that.imageNormalUrlPath) && Objects.equals(suggestion, that.suggestion); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public int hashCode() { |
|
|
|
return Objects.hash(deviceName, channelName, deviceSource, pointName, warnStatus, algName, resValue, img, filterDesc, imgAnalyse, desc, lineId, patrolTime, pointStatus, imgType, dataType, filter, requestId, resStatus, areaName, algType, objectId, imageNormalUrlPath, suggestion); |
|
|
|
return Objects.hash(deviceName, channelName, deviceSource, pointName, pointId, warnStatus, algName, resValue, img, filterDesc, imgAnalyse, desc, lineId, patrolTime, pointStatus, imgType, dataType, filter, requestId, resStatus, areaName, algType, objectId, imageNormalUrlPath, suggestion); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@ -331,6 +339,7 @@ public class PatrolData implements Comparable<PatrolData> { |
|
|
|
", channelName='" + channelName + '\'' + |
|
|
|
", deviceSource='" + deviceSource + '\'' + |
|
|
|
", pointName='" + pointName + '\'' + |
|
|
|
", pointId='" + pointId + '\'' + |
|
|
|
", warnStatus='" + warnStatus + '\'' + |
|
|
|
", algName='" + algName + '\'' + |
|
|
|
", resValue='" + resValue + '\'' + |
|
|
|
|