完成了UGC场景基础UI

This commit is contained in:
董宏宇
2020-10-22 11:32:32 +08:00
parent fa7860d2a4
commit e37cd915dd
21 changed files with 518 additions and 10 deletions

View File

@@ -30,6 +30,10 @@ public class MarkerExploreWay implements Serializable {
//上报类型1-用户上报2-后台上报 3-三方上报
private String uploadType;
// http://wiki.zhidaohulian.com/pages/viewpage.action?pageId=42321443
// 1 需要用户判断是否拥堵 进行UGC问答
private int infoCheckNode;
public String getAddr() {
if (TextUtils.isEmpty(addr)) {
return "未知道路";
@@ -171,11 +175,27 @@ public class MarkerExploreWay implements Serializable {
return Objects.hash(infoId, type, poiType);
}
public boolean isCanLive() {
return canLive;
}
public void setGenerateTime(long generateTime) {
this.generateTime = generateTime;
}
public int getInfoCheckNode() {
return infoCheckNode;
}
public void setInfoCheckNode(int infoCheckNode) {
this.infoCheckNode = infoCheckNode;
}
@Override
public String toString() {
return "MarkerExploreWay{" +
"type='" + type + '\'' +
", infoId='" + infoId + '\'' +
"infoId='" + infoId + '\'' +
", type='" + type + '\'' +
", poiType='" + poiType + '\'' +
", sn='" + sn + '\'' +
", location=" + location +
@@ -189,6 +209,7 @@ public class MarkerExploreWay implements Serializable {
", userInfo=" + userInfo +
", items=" + items +
", uploadType='" + uploadType + '\'' +
", infoCheckNode=" + infoCheckNode +
'}';
}
}

View File

@@ -137,6 +137,8 @@ public class V2XMessageEntity<T> implements Serializable {
int ALERT_ROAD_LIVE_CAR_WARNING = 1_007;
// 道路事件违章停车
int ALERT_ILLEGAL_PARK_WARNING = 1_008;
// 用户UGC反馈事件准确性弹窗
int ALERT_EVENT_UGC_WARNING = 1_009;
// 自车求助
int ALERT_CAR_FOR_HELP = 8_000;
}
@@ -151,6 +153,7 @@ public class V2XMessageEntity<T> implements Serializable {
V2XTypeEnum.ALERT_ANIMATION_WARNING,
V2XTypeEnum.ALERT_ROAD_LIVE_CAR_WARNING,
V2XTypeEnum.ALERT_ILLEGAL_PARK_WARNING,
V2XTypeEnum.ALERT_EVENT_UGC_WARNING,
V2XTypeEnum.ALERT_CAR_FOR_HELP,
})
@Target({