工控机升级
工控机升级云端获取数据版本
This commit is contained in:
@@ -108,16 +108,6 @@ interface IMoGoAutopilotProvider : IMoGoFunctionServerProvider {
|
||||
*/
|
||||
fun setIPCReboot()
|
||||
|
||||
/**
|
||||
* 工控机升级确认
|
||||
*/
|
||||
fun setIPCUpgradeAffirm()
|
||||
|
||||
/**
|
||||
* 工控机升级取消
|
||||
*/
|
||||
fun setIPCUpgradeCancel()
|
||||
|
||||
/**
|
||||
* 演示模式(美化模式)
|
||||
* isEnable = true 开启
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.mogo.eagle.core.function.api.bindingcar
|
||||
|
||||
/**
|
||||
* @author XuXinChao
|
||||
* @description
|
||||
* @since: 2022/5/18
|
||||
*/
|
||||
interface IMoGoBindingCarListener {
|
||||
|
||||
fun queryContainersResponse(dockerList: List<String>)
|
||||
|
||||
}
|
||||
@@ -2,6 +2,8 @@ package com.mogo.eagle.core.function.api.bindingcar;
|
||||
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lixiaopeng
|
||||
* @description 修改车辆信息
|
||||
@@ -10,4 +12,19 @@ import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
|
||||
public interface IMoGoBindingcarProvider extends IMoGoFunctionServerProvider {
|
||||
void modifyCarInfo(BindingcarCallBack callBack);
|
||||
void getBindingcarInfo(String macAddress, String widevineIDWithMd5);
|
||||
|
||||
/**
|
||||
* 确认升级工控机docker版本
|
||||
* @param images docker列表
|
||||
* @param padSn SN
|
||||
* @param releaseId 任务ID
|
||||
*/
|
||||
void upgradeConfirm(List<String> images, String padSn, String releaseId);
|
||||
|
||||
/**
|
||||
* 获取新工控机docker版本
|
||||
* @param padSn SN
|
||||
* @param dockerVersion 当前工控机版本
|
||||
*/
|
||||
void queryContainers(String padSn,String dockerVersion);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.mogo.eagle.core.function.api.hmi.warning
|
||||
|
||||
import android.view.View
|
||||
import com.mogo.eagle.core.data.bindingcar.IPCUpgradeStateInfo
|
||||
import com.mogo.eagle.core.data.enums.WarningDirectionEnum
|
||||
import com.mogo.eagle.core.data.notice.NoticeNormalData
|
||||
import com.mogo.eagle.core.data.notice.NoticeTrafficStylePushData
|
||||
@@ -204,6 +205,16 @@ interface IMoGoWaringProvider : IMoGoHmiViewProxy {
|
||||
*/
|
||||
fun showModifyBindingcarDialog()
|
||||
|
||||
/**
|
||||
* 呈现工控机升级确认框
|
||||
*/
|
||||
fun showAdUpgradeDialog(images: List<String>,padSn: String,releaseId: String)
|
||||
|
||||
/**
|
||||
* 更新工控机下载、升级状态
|
||||
*/
|
||||
fun showAdUpgradeStatus(ipcUpgradeStateInfo: IPCUpgradeStateInfo)
|
||||
|
||||
/**
|
||||
*注册工控机升级提示圆点View的回调
|
||||
* @param 提示圆点View
|
||||
|
||||
Reference in New Issue
Block a user