[dev_arch_opt_3.0] 添加obu 的versionName
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.mogo.eagle.core.function.call.obu
|
||||
|
||||
import com.mogo.eagle.core.function.api.obu.IMoGoObuInfoListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
|
||||
/**
|
||||
* 一些obu的信息,用于排查obu硬件问题
|
||||
*
|
||||
*/
|
||||
object CallerObuInfoListenerManager : CallerBase<IMoGoObuInfoListener>() {
|
||||
|
||||
fun invokeObuVersionName(obuVersionName: String) {
|
||||
M_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.onGetObuVersionName(obuVersionName)
|
||||
}
|
||||
}
|
||||
|
||||
fun invokeObuDeviceId(obuDeviceId: String) {
|
||||
M_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.onObuDeviceId(obuDeviceId)
|
||||
}
|
||||
}
|
||||
|
||||
// fun invokeQueryContainersResponse(dockerList: List<String>) {
|
||||
// M_LISTENERS.forEach {
|
||||
// val listener = it.value
|
||||
// //TODO
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user