reduce the remain time of condition to show v2x

This commit is contained in:
zhongchao
2021-11-27 17:48:08 +08:00
parent 57fb70d961
commit b1c432bd9d

View File

@@ -131,7 +131,7 @@ class VipCarManager : IMogoOnMessageListener<VipMessage>, IMoGoTrafficLightListe
}
lastResult?.let {
//如果上次结果和本次灯态结果变化比较大则已变灯控制HMI展示弹窗
if (abs(it.remain - currentResult!!.remain) > 10) {
if (abs(it.remain - currentResult!!.remain) > 5) {
CallerHmiManager.showWarningV2X(EventTypeEnum.TYPE_VIP_IDENTIFICATION.poiType.toInt(),
EventTypeEnum.TYPE_VIP_IDENTIFICATION.content,
EventTypeEnum.TYPE_VIP_IDENTIFICATION.tts,