|
|
@ -56,45 +56,29 @@ public class DeviceLocation implements Serializable {
|
|
|
|
@ApiModelProperty(name = "updatedTime", value = "Update time of the device.", required = true)
|
|
|
|
@ApiModelProperty(name = "updatedTime", value = "Update time of the device.", required = true)
|
|
|
|
private Date updatedTime;
|
|
|
|
private Date updatedTime;
|
|
|
|
@ApiModelProperty(name = "altitude", value = "Device altitude.", required = true)
|
|
|
|
@ApiModelProperty(name = "altitude", value = "Device altitude.", required = true)
|
|
|
|
private Double altitude;
|
|
|
|
private double altitude;
|
|
|
|
@ApiModelProperty(name = "speed", value = "Device speed.", required = true)
|
|
|
|
@ApiModelProperty(name = "speed", value = "Device speed.", required = true)
|
|
|
|
private Float speed;
|
|
|
|
private float speed;
|
|
|
|
@ApiModelProperty(name = "bearing", value = "Device bearing.", required = true)
|
|
|
|
@ApiModelProperty(name = "bearing", value = "Device bearing.", required = true)
|
|
|
|
private Float bearing;
|
|
|
|
private float bearing;
|
|
|
|
@ApiModelProperty(name = "distance", value = "Device distance.", required = true)
|
|
|
|
@ApiModelProperty(name = "distance", value = "Device distance.", required = true)
|
|
|
|
private Double distance;
|
|
|
|
private double distance;
|
|
|
|
|
|
|
|
|
|
|
|
public Double getDistance() {
|
|
|
|
public double getAltitude() { return altitude; }
|
|
|
|
return distance;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setDistance(Double distance) {
|
|
|
|
public void setAltitude(double altitude) { this.altitude = altitude; }
|
|
|
|
this.distance = distance;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Double getAltitude() {
|
|
|
|
public float getSpeed() { return speed; }
|
|
|
|
return altitude;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Float getSpeed() {
|
|
|
|
public void setSpeed(float speed) { this.speed = speed; }
|
|
|
|
return speed;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setSpeed(Float speed) {
|
|
|
|
public float getBearing() { return bearing; }
|
|
|
|
this.speed = speed;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Float getBearing() {
|
|
|
|
public void setBearing(float bearing) { this.bearing = bearing; }
|
|
|
|
return bearing;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setBearing(Float bearing) {
|
|
|
|
public double getDistance() { return distance; }
|
|
|
|
this.bearing = bearing;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setAltitude(Double altitude) {
|
|
|
|
public void setDistance(double distance) { this.distance = distance; }
|
|
|
|
this.altitude = altitude;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getDeviceId() {
|
|
|
|
public int getDeviceId() {
|
|
|
|
return deviceId;
|
|
|
|
return deviceId;
|
|
|
|