new#基于目的地预判的道路事件提醒、路线推荐
This commit is contained in:
@@ -35,6 +35,9 @@ public class V2XEventShowEntity implements Serializable {
|
||||
// 违章停车
|
||||
private MarkerExploreWay v2XIllegalPark;
|
||||
|
||||
// 基于目的地道路推荐详情
|
||||
private V2XRecommendRouteEntity v2XRecommendRouteEntity;
|
||||
|
||||
public int getViewType() {
|
||||
return viewType;
|
||||
}
|
||||
@@ -83,6 +86,14 @@ public class V2XEventShowEntity implements Serializable {
|
||||
this.v2XIllegalPark = v2XIllegalPark;
|
||||
}
|
||||
|
||||
public V2XRecommendRouteEntity getV2XRecommendRouteEntity() {
|
||||
return v2XRecommendRouteEntity;
|
||||
}
|
||||
|
||||
public void setV2XRecommendRouteEntity(V2XRecommendRouteEntity v2XRecommendRouteEntity) {
|
||||
this.v2XRecommendRouteEntity = v2XRecommendRouteEntity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
@@ -97,14 +108,15 @@ public class V2XEventShowEntity implements Serializable {
|
||||
Objects.equals(v2XLiveCarInfoRes, that.v2XLiveCarInfoRes) &&
|
||||
Objects.equals(v2XLiveCarList, that.v2XLiveCarList) &&
|
||||
Objects.equals(v2XPushMessageEntity, that.v2XPushMessageEntity) &&
|
||||
Objects.equals(v2XIllegalPark, that.v2XIllegalPark);
|
||||
Objects.equals(v2XIllegalPark, that.v2XIllegalPark) &&
|
||||
Objects.equals(v2XRecommendRouteEntity, that.v2XRecommendRouteEntity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(viewType, v2XRoadEventEntity,
|
||||
v2XLiveCarInfoRes, v2XLiveCarList,
|
||||
v2XPushMessageEntity, v2XIllegalPark);
|
||||
v2XPushMessageEntity, v2XIllegalPark, v2XRecommendRouteEntity);
|
||||
}
|
||||
|
||||
|
||||
@@ -119,6 +131,7 @@ public class V2XEventShowEntity implements Serializable {
|
||||
V2XMessageEntity.V2XTypeEnum.ALERT_ROAD_LIVE_CAR_WARNING,
|
||||
V2XMessageEntity.V2XTypeEnum.ALERT_ILLEGAL_PARK_WARNING,
|
||||
V2XMessageEntity.V2XTypeEnum.ALERT_CAR_FOR_HELP,
|
||||
V2XMessageEntity.V2XTypeEnum.ALERT_RECOMMEND_ROUTE,
|
||||
})
|
||||
@Target({
|
||||
ElementType.PARAMETER,
|
||||
|
||||
@@ -141,8 +141,8 @@ public class V2XMessageEntity<T> implements Serializable {
|
||||
int ALERT_EVENT_UGC_WARNING = 1_009;
|
||||
// 呼叫、请求直播事件
|
||||
int ALERT_VOICE_CALL_FOR_LIVECAR_SHOW = 1_010;
|
||||
// 基于目的地预判的道路事件
|
||||
int ALERT_PREJECTED_ROAD_WARNING = 1_011;
|
||||
// 基于预判目的地道路事件的路线推荐
|
||||
int ALERT_RECOMMEND_ROUTE = 1_011;
|
||||
// 推送VR消息展示
|
||||
int ALERT_PUSH_VR_SHOW = 2_000;
|
||||
// 自车求助
|
||||
@@ -164,7 +164,7 @@ public class V2XMessageEntity<T> implements Serializable {
|
||||
V2XTypeEnum.ALERT_EVENT_UGC_WARNING,
|
||||
V2XTypeEnum.ALERT_CAR_FOR_HELP,
|
||||
V2XTypeEnum.ALERT_VOICE_CALL_FOR_LIVECAR_SHOW,
|
||||
V2XTypeEnum.ALERT_PREJECTED_ROAD_WARNING,
|
||||
V2XTypeEnum.ALERT_RECOMMEND_ROUTE,
|
||||
V2XTypeEnum.ALERT_PUSH_VR_SHOW,
|
||||
V2XTypeEnum.ALERT_OBU_EVENT,
|
||||
})
|
||||
|
||||
@@ -4,6 +4,6 @@ package com.mogo.module.common.entity;
|
||||
* created by wujifei on 2020/12/24 15:33
|
||||
* describe:基于目的地预判的道路事件
|
||||
*/
|
||||
public class V2XPrejectedRoadEventEntity {
|
||||
public class V2XRecommendRouteEntity {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user