增加对工控机美化模式的调用

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-02-11 16:12:06 +08:00
parent 7cb754fbdf
commit 991d68ec54
6 changed files with 61 additions and 38 deletions

View File

@@ -15,8 +15,8 @@ object CallerAutoPilotManager {
private val providerApi: IMoGoAutopilotProvider?
get() = CallerBase.getApiInstance(
IMoGoAutopilotProvider::class.java,
MogoServicePaths.PATH_AUTO_PILOT
IMoGoAutopilotProvider::class.java,
MogoServicePaths.PATH_AUTO_PILOT
)
/**
@@ -90,15 +90,23 @@ object CallerAutoPilotManager {
/**
* 设置工控机升级确认
*/
fun setIPCUpgradeAffirm(){
fun setIPCUpgradeAffirm() {
providerApi?.setIPCUpgradeAffirm()
}
/**
* 设置工控机升级取消
*/
fun setIPCUpgradeCancel(){
fun setIPCUpgradeCancel() {
providerApi?.setIPCUpgradeCancel()
}
/**
* 演示模式(美化模式)
* isEnable = true 开启
* isEnable = false 关闭
*/
fun setDemoMode(isEnable: Boolean) {
providerApi?.setDemoMode(isEnable)
}
}