[6.10.0]车型状态变更初始化判断修改

This commit is contained in:
xuxinchao
2025-02-14 17:22:29 +08:00
parent d179624eed
commit 7468f7d4c0
2 changed files with 13 additions and 2 deletions

View File

@@ -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()
}

View File

@@ -485,7 +485,7 @@ class DiskCopyView @JvmOverloads constructor(
pbDiskCopyProgress.progress = copyProgress
//拷贝状态控件显示当前拷贝进度
copyStatus = 2
notifyCopyStatusDisplay(copyStatus)
notifyCopyStatusDisplay(copyStatus,copyProgress)
}
//拷贝剩余时间
Logger.i(TAG,"拷贝剩余时间="+diskCopy.freeTime)