架构升级增加目录结构

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-09-16 15:42:53 +08:00
parent 58a2576375
commit 390fa9a2c2
39 changed files with 342 additions and 47 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mogo.mogo.module.data">
</manifest>

View File

@@ -0,0 +1,51 @@
package com.mogo.module.data.enums
/**
*@author xiaoyuzhou
*@date 2021/9/10 8:48 下午
*/
enum class WarningDirectionEnum(
var direction: Int,
var desc: String,
) {
ALERT_WARNING_NON(
0,
"关闭红色边框预警"
),
ALERT_WARNING_TOP(
1,
"正前方"
),
ALERT_WARNING_RIGHT(
2,
"正右边"
),
ALERT_WARNING_BOTTOM(
3,
"正后方"
),
ALERT_WARNING_LEFT(
4,
"正左方"
),
ALERT_WARNING_TOP_RIGHT(
5,
"右前方"
),
ALERT_WARNING_BOTTOM_RIGHT(
6,
"右后方"
),
ALERT_WARNING_BOTTOM_LEFT(
7,
"左后方"
),
ALERT_WARNING_TOP_LEFT(
8,
"左前方"
),
ALERT_WARNING_ALL(
9,
"周边"
)
}

View File

@@ -0,0 +1,44 @@
package com.mogo.module.data.model
/**
*@author xiaoyuzhou
*@date 2021/9/14 3:51 下午
*/
class V2XThreatIndInfo {
// /**
// * RV temperary vehicle ID
// */
// private val vehicle_id: String? = null
// /**
// * V2V threat status 0: update 1: add 2: delete
// * range(0..2)
// * [com.zhidao.support.obu.constants.ObuConstants.STATUS]
// */
// private val status = 0
//
// /**
// * RV threat information 目前判断RV方向使用的是 ext_info 中的 target_classification 变量
// */
// private val threat_info: V2vThreat? = null
//
// /**
// * 目前判断RV方向使用的是 ext_info 中的 target_classification 变量
// * The extension information of V2V threat
// */
// private val ext_info: V2vThreatExt? = null
//
// /**
// * RV basic information
// */
// private val basic_info: MovingObjectInfo? = null
// /**
// * Wgs84坐标系线性经纬度轨迹列表
// */
// private val locus_list: List<com.mogo.map.MogoLatLng>? = null
//
// /**
// * 高德坐标系Gcj线性经纬度轨迹列表
// */
// private val gd_locus_list: List<com.mogo.map.MogoLatLng>? = null
}