add camera live

This commit is contained in:
lixiaopeng
2020-12-13 15:26:24 +08:00
parent b00c3c9725
commit 25dcae01cd
32 changed files with 1292 additions and 8 deletions

View File

@@ -36,6 +36,7 @@ class MogoSnapshotSetData implements Parcelable {
// 自车速度 本地添加
public double curSpeed = 0.0;
@Override
public String toString() {
return "MogoSnapshotSetData{" +
@@ -43,7 +44,9 @@ class MogoSnapshotSetData implements Parcelable {
", time=" + time +
", expire=" + expire +
", allList=" + allList +
", trafficLight=" + trafficLight +
", nearList=" + nearList +
", camera=" + camera +
", curSpeed=" + curSpeed +
'}';
}
@@ -87,6 +90,14 @@ class MogoSnapshotSetData implements Parcelable {
this.trafficLight = trafficLight;
}
public CloudRoadData getCamera() {
return camera;
}
public void setCamera(CloudRoadData camera) {
this.camera = camera;
}
public List< CloudRoadData > getNearList() {
return nearList;
}
@@ -111,6 +122,7 @@ class MogoSnapshotSetData implements Parcelable {
dest.writeTypedList( this.allList );
dest.writeTypedList( this.nearList );
dest.writeParcelable( this.trafficLight, flags );
dest.writeParcelable( this.camera, flags );
dest.writeDouble( this.curSpeed );
}
@@ -121,6 +133,7 @@ class MogoSnapshotSetData implements Parcelable {
this.allList = in.createTypedArrayList( CloudRoadData.CREATOR );
this.nearList = in.createTypedArrayList( CloudRoadData.CREATOR );
this.trafficLight = in.readParcelable( CloudRoadData.class.getClassLoader() );
this.camera = in.readParcelable( CloudRoadData.class.getClassLoader() );
this.curSpeed = in.readDouble();
}