[2.13.0-arch-opt] remove the check module and carcoder module
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user