diff options
author | Jed <Jed@192.168.1.100> | 2014-09-08 19:14:20 +0800 |
---|---|---|
committer | Jed <Jed@192.168.1.100> | 2014-09-08 19:14:20 +0800 |
commit | 6a26740a4e74b2a627ad2de4b764a0c7dfdf6ca2 (patch) | |
tree | fa42ea40d2330d5ff0ba2acc2d1657655accf4b8 /src/org/traccar/model/Device.java | |
parent | 9bad8efca5f64b60d5525b3858f42ac6cd6be272 (diff) | |
download | trackermap-server-6a26740a4e74b2a627ad2de4b764a0c7dfdf6ca2.tar.gz trackermap-server-6a26740a4e74b2a627ad2de4b764a0c7dfdf6ca2.tar.bz2 trackermap-server-6a26740a4e74b2a627ad2de4b764a0c7dfdf6ca2.zip |
Updated TrackerEventHandler to only trigger UpdateLatestPosition on the last record processed and pass the position object to the function
Added database property to Device class
Updated DatabaseDataManager to allow the use of placeholder _database_ in queries
Diffstat (limited to 'src/org/traccar/model/Device.java')
-rw-r--r-- | src/org/traccar/model/Device.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java index 1276216fc..8c8c74e28 100644 --- a/src/org/traccar/model/Device.java +++ b/src/org/traccar/model/Device.java @@ -72,4 +72,17 @@ public class Device { this.uniqueId = uniqueId; } + /** + * Database (for multi-database systems) + */ + private String database; + + public String getDatabase() { + return database; + } + + public void setDatabase(String database) { + this.database = database; + } + } |