[6.3.0]一键停服

This commit is contained in:
xuxinchao
2024-03-06 19:24:47 +08:00
parent 0c11577ca0
commit 29913b6eee
20 changed files with 816 additions and 96 deletions

View File

@@ -128,6 +128,46 @@ interface IDevaToolsProvider : IProvider {
*/
fun showBadCaseManagerView(context: Context)
/**
* 启动调用SSM停服命令超时检测
*/
fun startCommandWaitCountDown()
/**
* 停止调用SSM停服命令超时检测
*/
fun stopCommandWaitCountDown()
/**
* 开始车辆下电等待倒计时
*/
fun startPowerDownCountDown()
/**
* 结束车辆下电等待倒计时
*/
fun stopPowerDownCountDown()
/**
* 状态按钮变更倒计时
*/
fun statusChangeCountDown(isSuccess: Boolean)
/**
* 结束状态按钮变更倒计时
*/
fun stopStatusCountDown()
/**
* 设置停服状态
*/
fun setPowerOffStatus(status: Int)
/**
* 获取停服状态
*/
fun getPowerOffStatus(): Int
/**
* 工控机异常上报列表
*/

View File

@@ -0,0 +1,25 @@
package com.mogo.eagle.core.function.api.devatools
interface IPowerOffListener {
/**
* 调用SSM停服命令超时
*/
fun commandTimeout()
/**
* 车辆下电等待倒计时
*/
fun powerDownTick(second: Int)
/**
* 车辆下电等待倒计时结束
*/
fun powerDownFinish()
/**
* 状态按钮变更通知
*/
fun statusChange(isSuccess: Boolean)
}