diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-12 00:54:34 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-12 00:54:34 +1300 |
commit | 9f60706d957a183433cd61de9e422e565a1f15d4 (patch) | |
tree | 34de97ebc1936eab9315f63af3e149a4a6dbf180 /src/org/traccar/web/shared/model/Position.java | |
parent | 3eaf89d64402e16daf256174cba5985e3774aa55 (diff) | |
download | trackermap-web-9f60706d957a183433cd61de9e422e565a1f15d4.tar.gz trackermap-web-9f60706d957a183433cd61de9e422e565a1f15d4.tar.bz2 trackermap-web-9f60706d957a183433cd61de9e422e565a1f15d4.zip |
Add latest position to device
Diffstat (limited to 'src/org/traccar/web/shared/model/Position.java')
-rw-r--r-- | src/org/traccar/web/shared/model/Position.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/org/traccar/web/shared/model/Position.java b/src/org/traccar/web/shared/model/Position.java index 581c94c4..d5fa9a91 100644 --- a/src/org/traccar/web/shared/model/Position.java +++ b/src/org/traccar/web/shared/model/Position.java @@ -75,45 +75,45 @@ public class Position implements Serializable, Cloneable { return time; } - private boolean valid; + private Boolean valid; - public boolean getValid() { + public Boolean getValid() { return valid; } - private double latitude; + private Double latitude; - public double getLatitude() { + public Double getLatitude() { return latitude; } - private double longitude; + private Double longitude; - public double getLongitude() { + public Double getLongitude() { return longitude; } - private double altitude; + private Double altitude; - public double getAltitude() { + public Double getAltitude() { return altitude; } - private double speed; + private Double speed; - public double getSpeed() { + public Double getSpeed() { return speed; } - private double course; + private Double course; - public double getCourse() { + public Double getCourse() { return course; } - private double power; + private Double power; - public double getPower() { + public Double getPower() { return power; } |