工控机docker重启逻辑完善和UI隐藏
完善了docker的重启逻辑,由于本期暂时不上该功能,故暂时把UI入口进行隐藏
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user