[6.5.0][道路事件] 添加道路事件占道决策的链路日志
This commit is contained in:
@@ -178,11 +178,13 @@ internal object V2NIdentifyDrawer: IEventDismissListener {
|
||||
val occupy = decision.occupy
|
||||
val laneId = decision.laneId
|
||||
val sb = StringBuilder()
|
||||
V2XBizTrace.onAck(decision, "计算出道路事件占道决策数据1")
|
||||
if (laneId != null) {
|
||||
val isOccupy = occupy.find { it.id == laneId } != null
|
||||
if (isOccupy) {
|
||||
if (isDriver) {
|
||||
val bestLane = V2NUtils.computeBestLane(laneId, occupy, total)
|
||||
V2XBizTrace.onAck(bestLane, "计算出最优车道")
|
||||
sb.append("发现前方${distance.toInt()}米${ if (poiType == EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGONG.poiType) "车道施工" else "车道事故" }@@, 蘑菇建议您尽快${bestLane.second}")
|
||||
} else {
|
||||
sb.append("发现前方${distance.toInt()}米${ if (poiType == EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGONG.poiType) "车道施工" else "车道事故" }@@, 蘑菇时刻为您守护")
|
||||
|
||||
Reference in New Issue
Block a user