add toString
This commit is contained in:
@@ -246,4 +246,24 @@ public class CloudRoadData implements Parcelable {
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CloudRoadData{" +
|
||||
"type=" + type +
|
||||
", fromType=" + fromType +
|
||||
", lat=" + lat +
|
||||
", lon=" + lon +
|
||||
", uuid='" + uuid + '\'' +
|
||||
", sn='" + sn + '\'' +
|
||||
", speed=" + speed +
|
||||
", heading=" + heading +
|
||||
", systemTime=" + systemTime +
|
||||
", satelliteTime=" + satelliteTime +
|
||||
", lightStatus=" + lightStatus +
|
||||
", lightLeftTime=" + lightLeftTime +
|
||||
", rtmpUrl='" + rtmpUrl + '\'' +
|
||||
", distance=" + distance +
|
||||
", coordinates=" + coordinates +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,4 +60,14 @@ public class FrequencyData {
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "FrequencyData{" +
|
||||
"unit=" + unit +
|
||||
", collectionInterval=" + collectionInterval +
|
||||
", reportStartTime=" + reportStartTime +
|
||||
", type=" + type +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user