add toString

This commit is contained in:
zhongchao
2021-03-04 19:47:29 +08:00
parent cc14d97160
commit e258f2d707
5 changed files with 34 additions and 3 deletions

View File

@@ -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 +
'}';
}
}

View File

@@ -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 +
'}';
}
}