下沉数据项

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-09-23 19:07:35 +08:00
parent 2bd78dfa93
commit 13dc01c0b7
3 changed files with 18 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ import com.mogo.map.marker.IMogoMarker
import com.mogo.map.marker.MogoMarkerOptions
import com.mogo.module.common.MogoApisHandler
import com.mogo.module.common.constants.DataTypes
import com.mogo.module.common.drawer.bean.TrafficData
import com.mogo.eagle.core.data.traffic.TrafficData
import com.mogo.eagle.core.data.enums.TrafficTypeEnum
import com.mogo.utils.WorkThreadHandler
import com.mogo.utils.logger.Logger

View File

@@ -1,77 +0,0 @@
package com.mogo.module.common.drawer.bean;
import com.mogo.eagle.core.data.enums.TrafficTypeEnum;
/**
* @author xiaoyuzhou
* @date 2021/8/17 8:41 下午
* 交通元素数据,
*/
public class TrafficData {
/**
* 交通元素类型, 车、人、摩托、大巴车、卡车、自行车
*/
public TrafficTypeEnum type;
/**
* 识别物体唯一标识
*/
public String uuid;
/**
* 识别物体的纬度
*/
public double lat;
/**
* 识别物体的经度
*/
public double lon;
/**
* 车头朝向
*/
public double heading;
/**
* 系统时间
*/
public long systemTime;
/**
* 定位卫星时间
*/
public long satelliteTime;
/**
* 海拔
*/
public double alt;
/**
* 速度
*/
public double speed;
/**
* 莫顿码
*/
public long mortonCode;
/**
* 实际距离
* 使用distanceX和distanceY计算
*/
public double distance;
/**
* 危险等级
* range(0..3)
* 0x00: 保留
* 0x01: 模型原始颜色
* 0x02: 通知 -- 黄
* 0x03: 警告 -- 红
*/
public int threatLevel;
}