[6.10.0]硬件初始化时机更改

This commit is contained in:
xuxinchao
2025-02-14 16:44:02 +08:00
parent 58c5d8a049
commit d179624eed
7 changed files with 58 additions and 7 deletions

View File

@@ -88,6 +88,18 @@ object CallerDataCenterBizListener : CallerBase<IDataCenterBizListener>() {
}
}
fun invokeProductChange(){
M_LISTENERS.forEach{
it.value.invokeProductChange()
}
}
fun invokeVehicleChange(){
M_LISTENERS.forEach{
it.value.invokeVehicleChange()
}
}
fun isLoginStatus(): Boolean {
return isLoginStatus.get()
}

View File

@@ -48,4 +48,14 @@ object CallerDataCenterBizManager: IOchFunctionCallNotify {
dataCenterBizProviderApi?.notifyLoginStatus(isLogin)
}
//业务模式发生变化
override fun onProductChange() {
dataCenterBizProviderApi?.onProductChange()
}
//车型发生变化
override fun onVehicleChange() {
dataCenterBizProviderApi?.onVehicleChange()
}
}

View File

@@ -131,11 +131,13 @@ object CallerEagleBaseFunctionCall4OchManager : IEagleBaseFunctionCall4Och {
CallerDataCenterBizManager.notifyOrderRemoval()
}
//业务模式发生变化
override fun onOchProductChange() {
CallerDataCenterBizManager.onProductChange()
}
//车型发生变化
override fun onOchVehicleChange() {
CallerDataCenterBizManager.onVehicleChange()
}
}