[add] 首页监听车辆监控状态,修改检测入口预警标识的显示状态
This commit is contained in:
@@ -3,11 +3,28 @@ package com.mogo.service.check;
|
||||
import android.content.Context;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.map.check.IMogoCheckListener;
|
||||
import com.mogo.service.datamanager.IMogoDataChangedListener;
|
||||
|
||||
/**
|
||||
* 检测接口
|
||||
*/
|
||||
public interface ICheckProvider extends IProvider {
|
||||
/**
|
||||
* 注册车辆监控变化监听
|
||||
*
|
||||
* @param module 监听模块
|
||||
* @param listener
|
||||
*/
|
||||
void registerVehicleMonitoringListener(String module, IMogoCheckListener listener);
|
||||
|
||||
/**
|
||||
* 注销车辆监控变化监听
|
||||
*
|
||||
* @param module
|
||||
*/
|
||||
void unregisterListener(String module, IMogoCheckListener listener);
|
||||
|
||||
/**
|
||||
* 启动检测模块
|
||||
*/
|
||||
@@ -21,7 +38,11 @@ public interface ICheckProvider extends IProvider {
|
||||
/**
|
||||
* 指标监测
|
||||
*/
|
||||
void checkMonitor(Context context);
|
||||
boolean checkMonitor(Context context);
|
||||
|
||||
/**
|
||||
* 根据监测指标修改主页检测按钮
|
||||
*/
|
||||
void updateMonitoringStatus(String module, boolean hasError);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.mogo.service.module;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.map.check.IMogoCheckListener;
|
||||
import com.mogo.map.listener.IMogoMapListener;
|
||||
import com.mogo.map.location.IMogoLocationListener;
|
||||
import com.mogo.map.marker.IMogoMarkerClickListener;
|
||||
|
||||
Reference in New Issue
Block a user