工控机docker重启逻辑完善和UI隐藏

完善了docker的重启逻辑,由于本期暂时不上该功能,故暂时把UI入口进行隐藏
This commit is contained in:
xuxinchao
2022-02-18 18:25:35 +08:00
parent 1e7266ec34
commit 2304b9708f
14 changed files with 272 additions and 20 deletions

View File

@@ -265,5 +265,14 @@ object CallerHmiManager : CallerBase() {
fun registerBadCaseCallback(onShow:() -> View, onHide: (() -> Unit)?) {
waringProviderApi?.registerBadCaseCallback(onShow, onHide)
}
/**
* 工控机重启返回结果
* @param code
* @param msg
*/
fun showDockerRebootResult(code: Int,msg: String){
waringProviderApi?.showDockerRebootResult(code, msg)
}
}