[6.7.2]
[Update] 1、升级动态皮肤加载SDK 2、完善YiXin皮肤包中的文案/TTS,蘑菇--》易鑫
This commit is contained in:
@@ -4,6 +4,7 @@ import android.view.View
|
||||
import com.mogo.eagle.core.data.R
|
||||
import com.mogo.eagle.core.data.config.FunctionBuildConfig
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
||||
import com.mogo.skin.utils.SkinResources
|
||||
|
||||
|
||||
/**
|
||||
@@ -253,7 +254,7 @@ enum class EventTypeEnumNew(
|
||||
"闯红灯预警",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_traffic_lights_red,
|
||||
content = "前方路口有闯红灯风险",
|
||||
tts = "蘑菇路侧提醒您,前方路口有闯红灯风险,建议降低车速"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方路口有闯红灯风险,建议降低车速"
|
||||
),
|
||||
|
||||
TYPE_USECASE_ID_IVP_GREEN(
|
||||
@@ -271,49 +272,49 @@ enum class EventTypeEnumNew(
|
||||
"车辆故障",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_car_breakdown,
|
||||
content = "前方%s米有故障车辆,影响路段%s米",
|
||||
tts = "蘑菇路侧提醒您,前方%s米有故障车辆,影响路段%s米"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米有故障车辆,影响路段%s米"
|
||||
),
|
||||
TYPE_FOURS_PONDING( //积水
|
||||
407.toString(),
|
||||
"道路积水",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_jishui_vr,
|
||||
content = "前方%s米道路积水,影响路段%s米",
|
||||
tts ="蘑菇路侧提醒您,前方%s米道路积水,影响路段%s米"
|
||||
tts ="${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米道路积水,影响路段%s米"
|
||||
),
|
||||
TYPE_USECASE_ID_ROAD_PARKING( //异常停车
|
||||
412.toString(),
|
||||
"异常停车",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_no_parking,
|
||||
content = "前方%s米异常停车,影响路段%s米",
|
||||
tts = "蘑菇路侧提醒您,前方%s米异常停车,影响路段%s米"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米异常停车,影响路段%s米"
|
||||
),
|
||||
TYPE_USECASE_ID_TJW( //%d
|
||||
707.toString(),
|
||||
"拥堵",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_congestion,
|
||||
content = "前方%s米拥堵,影响路段%s米",
|
||||
tts = "蘑菇路侧提醒您,前方%s米拥堵,影响路段%s米"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米拥堵,影响路段%s米"
|
||||
),
|
||||
TYPE_USECASE_ID_SLW( //超速行驶
|
||||
901.toString(),
|
||||
"超速行驶",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_over_speed,
|
||||
content = "%s有车辆超速行驶",
|
||||
tts = "蘑菇路侧提醒您,%s有车辆超速行驶"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,%s有车辆超速行驶"
|
||||
),
|
||||
TYPE_USECASE_ID_ROAD_VEHICLE_RETROGRADE( //车辆逆行
|
||||
904.toString(),
|
||||
"逆行车辆",
|
||||
poiTypeSrcVr = R.drawable.icon_default,
|
||||
content = "前方%s米逆行车辆,影响路段%s米",
|
||||
tts = "蘑菇路侧提醒您,前方%s米逆行车辆,影响路段%s米"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米逆行车辆,影响路段%s米"
|
||||
),
|
||||
TYPE_USECASE_ID_ROAD_SPEED_LIMIT( //-->
|
||||
6666.toString(),
|
||||
"超速",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_over_speed,
|
||||
content = "当前路段限速 %s KM/H,已超速",
|
||||
tts = "蘑菇路侧提醒您,当前路段限速 %s 千米每小时,已超速"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,当前路段限速 %s 千米每小时,已超速"
|
||||
),
|
||||
//------------道路危险情况预警 obu end ----------->
|
||||
|
||||
@@ -323,161 +324,161 @@ enum class EventTypeEnumNew(
|
||||
"急转弯",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_turn_left_sharp,
|
||||
content = "前方%s米急转弯",
|
||||
tts = "蘑菇路侧提醒您,前方%s米急转弯"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米急转弯"
|
||||
),
|
||||
TYPE_ID_BRIDGE(
|
||||
8.toString(),
|
||||
"桥梁",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_hump_bridge,
|
||||
content = "前方%s米桥梁",
|
||||
tts = "蘑菇路侧提醒您,前方%s米桥梁"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米桥梁"
|
||||
),
|
||||
TYPE_ID_PEDESTRIAN(
|
||||
10.toString(),
|
||||
"路人",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_pedestrian_crossing,
|
||||
content = "前方%s米路人",
|
||||
tts = "蘑菇路侧提醒您,前方%s米路人"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米路人"
|
||||
),
|
||||
TYPE_ID_SLIPPERY_ROAD(
|
||||
17.toString(),
|
||||
"路滑",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_jiebing_vr,
|
||||
content = "前方%s米路滑",
|
||||
tts = "蘑菇路侧提醒您,前方%s米路滑"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米路滑"
|
||||
),
|
||||
TYPE_ID_TUNNEL(
|
||||
21.toString(),
|
||||
"隧道",
|
||||
poiTypeSrcVr = R.drawable.icon_default,
|
||||
content = "前方%s米隧道",
|
||||
tts = "蘑菇路侧提醒您,前方%s米隧道"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米隧道"
|
||||
),
|
||||
TYPE_ID_FERRY(
|
||||
22.toString(),
|
||||
"渡轮",
|
||||
poiTypeSrcVr = R.drawable.icon_default,
|
||||
content = "前方%s米渡轮",
|
||||
tts = "蘑菇路侧提醒您,前方%s米渡轮"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米渡轮"
|
||||
),
|
||||
TYPE_ID_UNEVEN_ROAD(
|
||||
24.toString(),
|
||||
"路面不平",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_road_hollow,
|
||||
content = "前方%s米路面不平",
|
||||
tts = "蘑菇路侧提醒您,前方%s米路面不平"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米路面不平"
|
||||
),
|
||||
TYPE_ID_NON_MOTOR_VEHICLE(
|
||||
32.toString(),
|
||||
"非机动车",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_motobike,
|
||||
content = "前方%s米有非机动车",
|
||||
tts = "蘑菇路侧提醒您,前方%s米有非机动车"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米有非机动车"
|
||||
),
|
||||
TYPE_ID_OBSTACLE(
|
||||
36.toString(),
|
||||
"障碍",
|
||||
poiTypeSrcVr = R.drawable.icon_default,
|
||||
content = "前方%s米障碍",
|
||||
tts = "蘑菇路侧提醒您,前方%s米障碍"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米障碍"
|
||||
),
|
||||
TYPE_FOURS_ROAD_WORK(
|
||||
38.toString(),
|
||||
"施工",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_road_construction,
|
||||
content = "前方%s米施工",
|
||||
tts = "蘑菇路侧提醒您,前方%s米施工"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米施工"
|
||||
),
|
||||
TYPE_VEHICLE_QUEUE(
|
||||
47.toString(),
|
||||
"车队",
|
||||
poiTypeSrcVr = R.drawable.icon_default,
|
||||
content = "前方%s米车队",
|
||||
tts = "蘑菇路侧提醒您,前方%s米车队"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米车队"
|
||||
),
|
||||
TYPE_NO_PASSING(
|
||||
51.toString(),
|
||||
"道路不通",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_fenglu_vr,
|
||||
content = "前方%s米不通",
|
||||
tts = "蘑菇路侧提醒您,前方%s米不通"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米不通"
|
||||
),
|
||||
TYPE_NO_TURNING_AROUND(
|
||||
75.toString(),
|
||||
"禁止掉头",
|
||||
poiTypeSrcVr = R.drawable.icon_default,
|
||||
content = "前方%s米禁止掉头",
|
||||
tts = "蘑菇路侧提醒您,前方%s米禁止掉头"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米禁止掉头"
|
||||
),
|
||||
TYPE_USECASE_ID_ROAD_NO_PARKING(
|
||||
78.toString(),
|
||||
"禁止停车",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_no_parking,
|
||||
content = "前方%s米有禁停路段",
|
||||
tts = "蘑菇路侧提醒您,前方%s米有禁停路段"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米有禁停路段"
|
||||
),
|
||||
TYPE_USECASE_ID_ROAD_NO_TOOTING(
|
||||
80.toString(),
|
||||
"禁止鸣笛",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_no_tooting,
|
||||
content = "前方%s米禁止鸣笛",
|
||||
tts = "蘑菇路侧提醒您,前方%s米禁止鸣笛"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米禁止鸣笛"
|
||||
),
|
||||
TYPE_USECASE_ID_BUS_WARNING(
|
||||
123.toString(),
|
||||
"公交提醒",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_tramcar,
|
||||
content = "前方%s米公交提醒",
|
||||
tts = "蘑菇路侧提醒您,前方%s米公交提醒"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米公交提醒"
|
||||
),
|
||||
TYPE_USECASE_ID_NARROW_RIGHT(
|
||||
163.toString(),
|
||||
"右侧变窄/车道数减少",
|
||||
poiTypeSrcVr = R.drawable.icon_default,
|
||||
content = "前方%s米右侧变窄/车道数减少",
|
||||
tts = "蘑菇路侧提醒您,前方%s米右侧变窄/车道数减少"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米右侧变窄/车道数减少"
|
||||
),
|
||||
TYPE_USECASE_ID_GAS_STATION(
|
||||
201.toString(),
|
||||
"加油站",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_gas_station,
|
||||
content = "前方%s米加油站",
|
||||
tts = "蘑菇路侧提醒您,前方%s米加油站"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米加油站"
|
||||
),
|
||||
TYPE_USECASE_ID_ROAD_PEDESTRIAN_SCHOOL(
|
||||
242.toString(),
|
||||
"学校",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_school,
|
||||
content = "前方%s米学校",
|
||||
tts = "蘑菇路侧提醒您,前方%s米学校"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米学校"
|
||||
),
|
||||
TYPE_USECASE_ID_ACCIDENT(
|
||||
244.toString(),
|
||||
"交通事故",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_jiaotongshigu_vr,
|
||||
content = "前方%s米交通事故",
|
||||
tts = "蘑菇路侧提醒您,前方%s米交通事故"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米交通事故"
|
||||
),
|
||||
TYPE_USECASE_ROAD_BUS_STATION(
|
||||
245.toString(),
|
||||
"通过公交站",
|
||||
poiTypeSrcVr = R.drawable.icon_v2x_bus_station_driver,
|
||||
content = "前方%s米有公交站",
|
||||
tts = "前方%s米有公交站,蘑菇提醒您小心右侧行人及来车"
|
||||
tts = "前方%s米有公交站,${SkinResources.getInstance().getString(R.string.operation_platform_name)}提醒您小心右侧行人及来车"
|
||||
),
|
||||
TYPE_ATTENTION_CONFLUENCE(
|
||||
44.toString(),
|
||||
"前方车辆汇流",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_attention_confluence,
|
||||
content = "前方%s米注意车辆汇流",
|
||||
tts = "蘑菇路侧提醒您,前方%s米注意车辆汇流"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米注意车辆汇流"
|
||||
),
|
||||
TYPE_PEDESTRIAN_CROSSING(
|
||||
114.toString(),
|
||||
"人行横道",
|
||||
poiTypeSrcVr = R.drawable.icon_warning_v2x_person,
|
||||
content = "前方%s米人行横道",
|
||||
tts = "蘑菇路侧提醒您,前方%s米人行横道"
|
||||
tts = "${SkinResources.getInstance().getString(R.string.operation_platform_name)}路侧提醒您,前方%s米人行横道"
|
||||
),
|
||||
//------------车内标牌 obu end -------------->
|
||||
|
||||
@@ -486,7 +487,7 @@ enum class EventTypeEnumNew(
|
||||
"交通拥堵",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_yongdu_vr,
|
||||
content = "前方%s米交通拥堵",
|
||||
tts = "前方%s米交通拥堵, 蘑菇提醒您注意观察小心通过"
|
||||
tts = "前方%s米交通拥堵, ${SkinResources.getInstance().getString(R.string.operation_platform_name)}提醒您注意观察小心通过"
|
||||
),
|
||||
|
||||
TYPE_SOCKET_ROAD_JINGZHI(
|
||||
@@ -494,7 +495,7 @@ enum class EventTypeEnumNew(
|
||||
"静止障碍物占道",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_jingzhi_zhangai,
|
||||
content = "前方%s米静止障碍物占道",
|
||||
tts = "前方%s米静止障碍物占道, 蘑菇提醒您注意观察小心通过"
|
||||
tts = "前方%s米静止障碍物占道, ${SkinResources.getInstance().getString(R.string.operation_platform_name)}提醒您注意观察小心通过"
|
||||
),
|
||||
|
||||
TYPE_SOCKET_ROAD_SHIGU(
|
||||
@@ -502,7 +503,7 @@ enum class EventTypeEnumNew(
|
||||
"道路事故",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_shigu_sanjiaopai,
|
||||
content = "前方%s米道路事故",
|
||||
tts = "前方%s米道路事故,蘑菇提醒您注意观察小心通过"
|
||||
tts = "前方%s米道路事故,${SkinResources.getInstance().getString(R.string.operation_platform_name)}提醒您注意观察小心通过"
|
||||
),
|
||||
|
||||
TYPE_SOCKET_ROAD_SHIGONG(
|
||||
@@ -510,14 +511,14 @@ enum class EventTypeEnumNew(
|
||||
"道路施工",
|
||||
poiTypeSrcVr = R.drawable.v2x_icon_shigong_zhandao,
|
||||
content = "前方%s米道路施工",
|
||||
tts = "前方%s米道路施工,蘑菇提醒您注意观察小心通过"
|
||||
tts = "前方%s米道路施工,${SkinResources.getInstance().getString(R.string.operation_platform_name)}提醒您注意观察小心通过"
|
||||
),
|
||||
TYPE_SOCKET_ROAD_OTHER_RETROGRADE_VEHICLE(
|
||||
"100062",
|
||||
"他车倒车/逆行",
|
||||
poiTypeSrcVr = R.drawable.icon_v2x_other_retrograde_vehicle_driver,
|
||||
content = "前方%s米有车辆异常倒车或逆行",
|
||||
tts = "前方%s米有车辆异常倒车或逆行,蘑菇提醒您注意观察小心通过"
|
||||
tts = "前方%s米有车辆异常倒车或逆行,${SkinResources.getInstance().getString(R.string.operation_platform_name)}提醒您注意观察小心通过"
|
||||
),
|
||||
TYPE_SOCKET_ROAD_GREE_WAVE(
|
||||
"100063",
|
||||
@@ -531,7 +532,7 @@ enum class EventTypeEnumNew(
|
||||
"行人横穿",
|
||||
poiTypeSrcVr = View.NO_ID,
|
||||
content = "前方%s米有行人/非机动车横穿",
|
||||
tts = "前方%s米有行人/非机动车横穿,蘑菇提醒您提前减速,注意观察,小心通过"
|
||||
tts = "前方%s米有行人/非机动车横穿,${SkinResources.getInstance().getString(R.string.operation_platform_name)}提醒您提前减速,注意观察,小心通过"
|
||||
),
|
||||
TYPE_ERROR(
|
||||
0.toString(),
|
||||
|
||||
Reference in New Issue
Block a user