diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-09 10:47:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-09 10:47:43 +1300 |
commit | 9ec7166889b9b0492a18a338e6dc5352743209b8 (patch) | |
tree | 455782947763d7d6e4828276b8b7843222356ef3 /src/org/traccar/model/Device.java | |
parent | f727af19cb994517ca3685239e506ff6beeaaa76 (diff) | |
download | trackermap-server-9ec7166889b9b0492a18a338e6dc5352743209b8.tar.gz trackermap-server-9ec7166889b9b0492a18a338e6dc5352743209b8.tar.bz2 trackermap-server-9ec7166889b9b0492a18a338e6dc5352743209b8.zip |
Add initial code for device status
Diffstat (limited to 'src/org/traccar/model/Device.java')
-rw-r--r-- | src/org/traccar/model/Device.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java index 698505983..fd62cc691 100644 --- a/src/org/traccar/model/Device.java +++ b/src/org/traccar/model/Device.java @@ -54,6 +54,10 @@ public class Device implements Factory { this.uniqueId = uniqueId; } + public static final String STATUS_UNKNOWN = "unknown"; + public static final String STATUS_ONLINE = "online"; + public static final String STATUS_OFFLINE = "offline"; + private String status; public String getStatus() { |