[6.6.0]接管记录

This commit is contained in:
xuxinchao
2024-08-26 17:39:57 +08:00
parent a6c11d130c
commit f5e4bd6f6a
10 changed files with 62 additions and 45 deletions

View File

@@ -15,7 +15,6 @@ import com.mogo.eagle.core.data.app.AppConfigInfo
import com.mogo.eagle.core.data.config.FunctionBuildConfig
import com.mogo.eagle.core.data.deva.bindingcar.IPCUpgradeStateInfo
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig
import com.mogo.eagle.core.data.deva.report.TakeOverRecordInfo
import com.mogo.eagle.core.data.temp.EventLogout
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotCarConfigListener
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener
@@ -23,7 +22,6 @@ import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotControlManager
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotCarConfigListenerManager
import com.mogo.eagle.core.function.call.devatools.CallerDevaToolsManager
import com.mogo.eagle.core.function.call.takeover.CallerTakeOverManager
import com.mogo.eagle.core.function.hmi.R
import com.mogo.eagle.core.function.hmi.ui.utils.KeyBoardUtil
import com.mogo.eagle.core.function.msgbox.MsgBoxConfig
@@ -137,20 +135,10 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
clickListener?.onClose(it)
}
rlKillLayout.setOnClickListener {
// killApp()
val takeOverRecordInfo = TakeOverRecordInfo(
System.currentTimeMillis(),"地址1",1,2,3,"测试路线2",
"",false
)
CallerTakeOverManager.insertRecord(context,takeOverRecordInfo)
killApp()
}
sopLayout.setOnClickListener {
// clickListener?.showSOPSettingView()
val takeOverRecordInfo = TakeOverRecordInfo(
System.currentTimeMillis(),"地址1",1,2,3,"测试路线3",
"",true
)
CallerTakeOverManager.insertRecord(context,takeOverRecordInfo)
clickListener?.showSOPSettingView()
}
//录包
CallerDevaToolsManager.initBadCase(badCaseReportLayout)