调试面板

工控机上报板块增加Result和Action的中文说明
This commit is contained in:
xuxinchao
2022-04-13 17:42:18 +08:00
parent 0038196596
commit 47bda98749
5 changed files with 51 additions and 4 deletions

View File

@@ -177,4 +177,22 @@ object CallerAutoPilotManager {
fun connectSpecifiedServer(ip: String) {
providerApi?.connectSpecifiedServer(ip)
}
/**
* 获取工控机上报数据result code说明
* @param code 上报字段code
*/
fun getReportResultDesc(resultCode: String): String? {
return providerApi?.getReportResultDesc(resultCode)
}
/**
* 获取工控机上报数据action code说明
* @param code 上报字段code
*/
fun getReportActionDesc(actionCode: String): String? {
return providerApi?.getReportActionDesc(actionCode)
}
}