[2.13.0-arch-opt] remove the check module and carcoder module

This commit is contained in:
zhongchao
2022-12-29 18:46:00 +08:00
parent 4cf6a0c5d8
commit e82dc525a3
102 changed files with 5 additions and 3685 deletions

View File

@@ -1,62 +0,0 @@
package com.mogo.eagle.core.function.call.check;
import android.content.Context;
import com.mogo.eagle.core.data.constants.MogoServicePaths;
import com.mogo.eagle.core.function.api.check.ICheckProvider;
import com.mogo.eagle.core.function.api.check.IMogoCheckListener;
import com.mogo.eagle.core.function.call.base.CallerBase;
/**
* @author xiaoyuzhou
* @date 2021/9/17 8:26 下午
* <p>
* HMI 调用者管理这里对外及其他模块提供功能的调用用啥写啥不要过度设计不允许直接将Provider暴露出去
*/
public class CallerCheckManager extends CallerBase {
private static ICheckProvider getCheckProvider() {
return getApiInstance(ICheckProvider.class, MogoServicePaths.PATH_CHECK);
}
/**
* 注册车辆监控变化监听
*
* @param module 监听模块
* @param listener 回调监听对象
*/
public static void registerVehicleMonitoringListener(String module, IMogoCheckListener listener) {
getCheckProvider().registerVehicleMonitoringListener(module, listener);
}
/**
* 注销车辆监控变化监听
*
* @param module
*/
public static void unregisterListener(String module) {
getCheckProvider().unregisterListener(module);
}
/**
* 启动检测模块
*/
public static void startCheckActivity(Context context) {
getCheckProvider().startCheckActivity(context);
}
/**
* 根据监测指标修改主页检测按钮
*/
public static void updateMonitoringStatus(String module, Integer state) {
getCheckProvider().updateMonitoringStatus(module, state);
}
/**
* 指标监测
*/
public static void checkMonitor(Context context) {
getCheckProvider().checkMonitor(context);
}
}