diff --git a/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/lookaround/MoGoLookAroundProviderImpl.kt b/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/lookaround/MoGoLookAroundProviderImpl.kt index 89ea5f8921..2ff36f568f 100644 --- a/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/lookaround/MoGoLookAroundProviderImpl.kt +++ b/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/lookaround/MoGoLookAroundProviderImpl.kt @@ -6,9 +6,11 @@ import android.util.* import androidx.core.util.Pools import com.mogo.eagle.core.data.config.* import com.mogo.eagle.core.function.api.autopilot.* +import com.mogo.eagle.core.function.api.datacenter.IDataCenterBizListener import com.mogo.eagle.core.function.api.lookaround.* import com.mogo.eagle.core.function.api.lookaround.data.* import com.mogo.eagle.core.function.call.autopilot.* +import com.mogo.eagle.core.function.call.datacenter.CallerDataCenterBizListener import com.mogo.eagle.core.utilcode.mogo.* import com.zhjt.mogo.adas.data.* import com.zhjt.mogo.adas.data.bean.* @@ -20,7 +22,8 @@ import mogo.telematics.pad.MessagePad.Header import mogo.telematics.pad.MessagePad.SetParamReq import java.util.concurrent.atomic.AtomicInteger -internal class MoGoLookAroundProviderImpl: IMoGoLookAroundProvider, IMoGoBackCameraVideoListener, IMoGoRoboBusJinlvM1StitchedVideoListener, IMoGoGetParamResponseListener { +internal class MoGoLookAroundProviderImpl: IMoGoLookAroundProvider, IMoGoBackCameraVideoListener, IMoGoRoboBusJinlvM1StitchedVideoListener, IMoGoGetParamResponseListener, + IDataCenterBizListener { companion object { private const val TAG = "MoGoLookAroundProvider" @@ -60,6 +63,14 @@ internal class MoGoLookAroundProviderImpl: IMoGoLookAroundProvider, IMoGoBackCam CallerBackCameraVideoListenerManager.addListener(TAG, this) CallerRoboBusJinlvM1StitchedVideoListenerManager.addListener(TAG, this) CallerAutopilotGetParamResponseDispatcher.addListener(TAG, this) + CallerDataCenterBizListener.addListener(TAG,this) + } + + /** + * 车型发生变化回调 + */ + override fun invokeVehicleChange() { + super.invokeVehicleChange() if (AppIdentityModeUtils.isM1(FunctionBuildConfig.appIdentityMode)) { sendReqForParamPeriod() } diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/diskcopy/DiskCopyView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/diskcopy/DiskCopyView.kt index da6298a66f..7289f3f02b 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/diskcopy/DiskCopyView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/diskcopy/DiskCopyView.kt @@ -485,7 +485,7 @@ class DiskCopyView @JvmOverloads constructor( pbDiskCopyProgress.progress = copyProgress //拷贝状态控件显示当前拷贝进度 copyStatus = 2 - notifyCopyStatusDisplay(copyStatus) + notifyCopyStatusDisplay(copyStatus,copyProgress) } //拷贝剩余时间 Logger.i(TAG,"拷贝剩余时间="+diskCopy.freeTime)