extends field of CloudRoadData

This commit is contained in:
zhongchao
2021-02-22 18:10:11 +08:00
parent 37a9141751
commit 219c258b21
2 changed files with 20 additions and 9 deletions

View File

@@ -30,20 +30,20 @@ PASSWORD=xintai2018
RELEASE=true
# AI CLOUD 云平台
# 工具类
MOGO_UTILS_VERSION=1.0.31-SNAPSHOT
MOGO_UTILS_VERSION=1.0.32-SNAPSHOT
# 网络请求
MOGO_NETWORK_VERSION=1.0.31-SNAPSHOT
MOGO_NETWORK_VERSION=1.0.32-SNAPSHOT
# 网络DNS
MOGO_HTTPDNS_VERSION=1.0.31-SNAPSHOT
MOGO_HTTPDNS_VERSION=1.0.32-SNAPSHOT
# 鉴权
MOGO_PASSPORT_VERSION=1.0.31-SNAPSHOT
MOGO_PASSPORT_VERSION=1.0.32-SNAPSHOT
# 常链接
MOGO_SOCKET_VERSION=1.0.31-SNAPSHOT
MOGO_SOCKET_VERSION=1.0.32-SNAPSHOT
# 数据采集
MOGO_REALTIME_VERSION=1.0.31-SNAPSHOT
MOGO_REALTIME_VERSION=1.0.32-SNAPSHOT
# 探路,道路事件发布,获取
MOGO_TANLU_VERSION=1.0.31-SNAPSHOT
MOGO_TANLU_VERSION=1.0.32-SNAPSHOT
# 直播推流
MOGO_LIVE_VERSION=1.0.31-SNAPSHOT
MOGO_LIVE_VERSION=1.0.32-SNAPSHOT
# 直播拉流
MOGO_TRAFFICLIVE_VERSION=1.0.31-SNAPSHOT
MOGO_TRAFFICLIVE_VERSION=1.0.32-SNAPSHOT

View File

@@ -32,6 +32,7 @@ public class CloudRoadData implements Parcelable {
private double heading;
private long systemTime;
private long satelliteTime;
/**
* 红绿灯状态 1红 2绿 3黄
@@ -166,6 +167,14 @@ public class CloudRoadData implements Parcelable {
this.fromType = fromType;
}
public long getSatelliteTime() {
return satelliteTime;
}
public void setSatelliteTime( long satelliteTime ) {
this.satelliteTime = satelliteTime;
}
public CloudRoadData() {
}
@@ -185,6 +194,7 @@ public class CloudRoadData implements Parcelable {
dest.writeDouble( this.speed );
dest.writeDouble( this.heading );
dest.writeLong( this.systemTime );
dest.writeLong( this.satelliteTime );
dest.writeInt( this.lightStatus );
dest.writeInt( this.lightLeftTime );
dest.writeString( this.rtmpUrl );
@@ -202,6 +212,7 @@ public class CloudRoadData implements Parcelable {
this.speed = in.readDouble();
this.heading = in.readDouble();
this.systemTime = in.readLong();
this.satelliteTime = in.readLong();
this.lightStatus = in.readInt();
this.lightLeftTime = in.readInt();
this.rtmpUrl = in.readString();