[6.6.0]数据闭环接口

This commit is contained in:
xuxinchao
2024-08-21 17:36:20 +08:00
parent cbe8c27e4c
commit 051f1ecf62
15 changed files with 271 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ import com.alibaba.android.arouter.facade.template.IProvider
import com.mogo.eagle.core.data.EnvConfig
import com.mogo.eagle.core.data.deva.bindingcar.ModifyBindingcarInfo
import com.mogo.eagle.core.data.deva.chain.ChainLogParam
import com.mogo.eagle.core.data.deva.report.PadAddProblemReq
import com.mogo.eagle.core.data.deva.report.WorkOrderReportInfo
import com.mogo.eagle.core.data.deva.scene.SceneModule
import com.mogo.eagle.core.data.deva.scene.SceneTAG
@@ -256,6 +257,16 @@ interface IDevaToolsProvider : IProvider {
*/
fun workOrderReport(workOrderReportInfo: WorkOrderReportInfo)
/**
* 上报故障到运营平台
*/
fun problemPadAdd(padAddProblemReq: PadAddProblemReq)
/**
* 获取报障、接管、一键上报配置
*/
fun getCategories(tenantId: Long, level: Int, parentId: Int)
/**
* 查询app是否有更新
*/

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.function.api.devatools
import com.mogo.eagle.core.data.deva.report.CategoryInfo
import com.mogo.eagle.core.data.deva.scene.SceneModule
/**
@@ -55,6 +56,14 @@ interface IMoGoDevaToolsListener {
fun workOrderReportError(){}
fun problemPadAddSuccess(){}
fun problemPadAddError(){}
fun getCategoriesSuccess(list: List<CategoryInfo>){}
fun getCategoriesError(msg: String){}
fun mofangStatus(status:Boolean){
}