aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Device.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-09 10:47:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-09 10:47:43 +1300
commit9ec7166889b9b0492a18a338e6dc5352743209b8 (patch)
tree455782947763d7d6e4828276b8b7843222356ef3 /src/org/traccar/model/Device.java
parentf727af19cb994517ca3685239e506ff6beeaaa76 (diff)
downloadtrackermap-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.java4
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() {