合并2.13.2的obu验收相关功能

This commit is contained in:
lixiaopeng
2023-01-29 17:23:41 +08:00
parent a5a8157f6d
commit b60fbb2613
26 changed files with 1577 additions and 419 deletions

View File

@@ -14,5 +14,5 @@ abstract class IViewLimitingVelocity(context: Context?, attrs: AttributeSet?, de
* 更新限速数据
* @param limitingSpeed 限速值单位km/h
*/
open fun updateLimitingSpeed(limitingSpeed: Int) {}
open fun updateLimitingSpeed(limitingSpeed: Int, limitSource: Int) {}
}

View File

@@ -140,7 +140,7 @@ interface IMoGoHmiProvider : IMoGoHmiViewProxy {
*
* @param limitingSpeed 限速速度
*/
fun showLimitingVelocity(limitingSpeed: Int)
fun showLimitingVelocity(limitingSpeed: Int, limitSpeedSource: Int)
/**
* 关闭限速预警

View File

@@ -0,0 +1,15 @@
package com.mogo.eagle.core.function.api.obu
/**
* @author lixiaopeng
* @date 2022/1/30 1028 下午
* OBU 灯态信息
*/
interface IMoGoObuTrafficLightListener {
/**
* @param light 灯的信息
*/
fun onObuTrafficLight(light: Int){}
}

View File

@@ -0,0 +1,17 @@
package com.mogo.eagle.core.function.api.obucombine
import mogo.v2x.ObuWarningEvent
/**
* obu和dc 通道打通融合
*/
interface IMoGoObuDcCombineListener {
/**
* obu透传v2i数据标牌弱势交通红绿灯限速道路危险状况
* @param obuWarningData
*/
fun onMoGoObuDcCombineData(obuWarningData: ObuWarningEvent.ObuWarningData?)
}

View File

@@ -0,0 +1,8 @@
package com.mogo.eagle.core.function.api.v2x
/**
* 限速信息
*/
interface ObuLimitingSpeedListener {
fun onObuLimitingSpeedChange(limitingSpeed: Int)
}