diff --git a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt index f8bf6c8add..5321d8fbd2 100644 --- a/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt +++ b/core/function-impl/mogo-core-function-obu-mogo/src/main/java/com/mogo/eagle/core/function/obu/mogo/MogoPrivateObuManager.kt @@ -396,18 +396,18 @@ class MogoPrivateObuManager private constructor() { && info.ext_info.lights.isNotEmpty() ) { //v2i数据传输延迟 - val hvMillTime = info.threat_info.hv_time.millisecond - val hvSecondMillTime = (info.threat_info.hv_time.second) * 1000 - val hvTime = hvMillTime + hvSecondMillTime - val currentTime = TimeUtils.getNowMills() % 60000 - val delayTime = currentTime - hvTime +// val hvMillTime = info.threat_info.hv_time.millisecond +// val hvSecondMillTime = (info.threat_info.hv_time.second) * 1000 +// val hvTime = hvMillTime + hvSecondMillTime +// val currentTime = TimeUtils.getNowMills() % 60000 +// val delayTime = currentTime - hvTime // Log.e("liyz", "onCvxIvpThreatIndInfo ---> currentTime = $currentTime ----- hvTime---> $hvTime ---hvMillTime = $hvMillTime ----hvSecondMillTime = $hvSecondMillTime ---delayTime---> $delayTime") - CallerObuListenerManager.invokeDelayTime(delayTime) - CallerLogger.e( - "$M_OBU${MogoObuConst.TAG_MOGO_OBU}", - "onCvxIvpThreatIndInfo red ---delayTime---> $delayTime" - ) +// CallerObuListenerManager.invokeDelayTime(delayTime) +// CallerLogger.e( +// "$M_OBU${MogoObuConst.TAG_MOGO_OBU}", +// "onCvxIvpThreatIndInfo red ---delayTime---> $delayTime" +// ) handlerTrafficLight( info.threat_info.app_id, @@ -424,19 +424,18 @@ class MogoPrivateObuManager private constructor() { // 交通参与者类型 0x0:未知 UNKNOWN | 0x1:非机动车 NON_MOTOR | 0x2:行人 PEDESTRIAN 0x3:RSU if (info != null && (info.ptc_type == 1 || info.ptc_type == 2)) { //v2i数据传输延迟 - //v2i数据传输延迟 - val hvMillTime = info.threat_info.hv_time.millisecond - val hvSecondMillTime = (info.threat_info.hv_time.second) * 1000 - val hvTime = hvMillTime + hvSecondMillTime - val currentTime = TimeUtils.getNowMills() % 60000 - val delayTime = currentTime - hvTime +// val hvMillTime = info.threat_info.hv_time.millisecond +// val hvSecondMillTime = (info.threat_info.hv_time.second) * 1000 +// val hvTime = hvMillTime + hvSecondMillTime +// val currentTime = TimeUtils.getNowMills() % 60000 +// val delayTime = currentTime - hvTime // Log.e("liyz", "onCvxPtcThreatIndInfo ---> currentTime = $currentTime ----- hvTime---> $hvTime ---hvMillTime = $hvMillTime ----hvSecondMillTime = $hvSecondMillTime ---delayTime---> $delayTime") - CallerObuListenerManager.invokeDelayTime(delayTime) - CallerLogger.d( - "$M_OBU${MogoObuConst.TAG_MOGO_OBU}", - "onCvxPtcInfoIndInfo ---delayTime---> $delayTime" - ) +// CallerObuListenerManager.invokeDelayTime(delayTime) +// CallerLogger.d( +// "$M_OBU${MogoObuConst.TAG_MOGO_OBU}", +// "onCvxPtcInfoIndInfo ---delayTime---> $delayTime" +// ) CallerLogger.d( "$M_OBU${MogoObuConst.TAG_MOGO_OBU}",