完成调用接口封装

This commit is contained in:
董宏宇
2021-08-04 18:12:30 +08:00
parent 4a9d18fe5a
commit c2abe34d00
18 changed files with 447 additions and 95 deletions

View File

@@ -163,6 +163,8 @@ public class MogoServicePaths {
/**
* 接口集合
*/
@Keep
@Deprecated
public static final String PATH_SERVICE_APIS = "/mogoservice/apis";
/**

View File

@@ -1,11 +1,41 @@
package com.mogo.service.warning;
package com.mogo.service.warning
import com.mogo.service.module.IMogoModuleProvider;
import com.mogo.service.module.IMogoModuleProvider
/**
* @author xiaoyuzhou
* @date 2021/8/2 7:36 下午
*/
public interface IMoGoWaringProvider extends IMogoModuleProvider {
interface IMoGoWaringProvider : IMogoModuleProvider {
/**
* 展示VR下V2X预警
*
* @param v2xType V2X类型
* @param alertMessage 提醒文本
*/
fun showWarningV2X(v2xType: Int, alertMessage: String?)
}
/**
* 展示红绿灯预警
*
* @param checkLightId 0-都是默认1-红2-黄3-绿
*/
fun showWarningTrafficLight(checkLightId: Int)
/**
* 关闭红绿灯预警
*/
fun disableWarningTrafficLight()
/**
* 展示限速预警
*
* @param limitingSpeed 限速速度
*/
fun showLimitingVelocity(limitingSpeed: Int)
/**
* 关闭限速预警
*/
fun disableLimitingVelocity()
}