完成违章停车的展示方式修改,换成了V2XRoadEventAdapter.java加载的方式
This commit is contained in:
@@ -30,8 +30,10 @@ public class V2XEventShowEntity implements Serializable {
|
||||
private V2XLiveCarInfoEntity v2XLiveCarInfoRes;
|
||||
// 直播车机列表
|
||||
private List<V2XLiveCarInfoEntity> v2XLiveCarList;
|
||||
// 推送信息展示
|
||||
// 推送信息,疲劳驾驶,
|
||||
private V2XPushMessageEntity v2XPushMessageEntity;
|
||||
// 违章停车
|
||||
private MarkerExploreWay v2XIllegalPark;
|
||||
|
||||
public int getViewType() {
|
||||
return viewType;
|
||||
@@ -73,6 +75,14 @@ public class V2XEventShowEntity implements Serializable {
|
||||
this.v2XPushMessageEntity = v2XPushMessageEntity;
|
||||
}
|
||||
|
||||
public MarkerExploreWay getV2XIllegalPark() {
|
||||
return v2XIllegalPark;
|
||||
}
|
||||
|
||||
public void setV2XIllegalPark(MarkerExploreWay v2XIllegalPark) {
|
||||
this.v2XIllegalPark = v2XIllegalPark;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
@@ -85,12 +95,16 @@ public class V2XEventShowEntity implements Serializable {
|
||||
return viewType == that.viewType &&
|
||||
Objects.equals(v2XRoadEventEntity, that.v2XRoadEventEntity) &&
|
||||
Objects.equals(v2XLiveCarInfoRes, that.v2XLiveCarInfoRes) &&
|
||||
Objects.equals(v2XLiveCarList, that.v2XLiveCarList);
|
||||
Objects.equals(v2XLiveCarList, that.v2XLiveCarList) &&
|
||||
Objects.equals(v2XPushMessageEntity, that.v2XPushMessageEntity) &&
|
||||
Objects.equals(v2XIllegalPark, that.v2XIllegalPark);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(viewType, v2XRoadEventEntity, v2XLiveCarInfoRes, v2XLiveCarList);
|
||||
return Objects.hash(viewType, v2XRoadEventEntity,
|
||||
v2XLiveCarInfoRes, v2XLiveCarList,
|
||||
v2XPushMessageEntity, v2XIllegalPark);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user