[6.6.0]数据闭环

This commit is contained in:
xuxinchao
2024-08-23 19:02:29 +08:00
parent 4f45b71284
commit 025f743ff5
12 changed files with 115 additions and 18 deletions

View File

@@ -14,6 +14,7 @@ import com.mogo.commons.env.ProjectUtils
import com.mogo.eagle.core.data.app.AppConfigInfo
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
@@ -21,6 +22,7 @@ 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
@@ -133,10 +135,20 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
clickListener?.onClose(it)
}
rlKillLayout.setOnClickListener {
killApp()
// killApp()
val takeOverRecordInfo = TakeOverRecordInfo(
System.currentTimeMillis(),"地址1",1,2,3,"测试路线2",
"",false
)
CallerTakeOverManager.insertRecord(context,takeOverRecordInfo)
}
sopLayout.setOnClickListener {
clickListener?.showSOPSettingView()
// clickListener?.showSOPSettingView()
val takeOverRecordInfo = TakeOverRecordInfo(
System.currentTimeMillis(),"地址1",1,2,3,"测试路线3",
"",true
)
CallerTakeOverManager.insertRecord(context,takeOverRecordInfo)
}
//录包
CallerDevaToolsManager.initBadCase(badCaseReportLayout)