From 47a5886d953ca511c425a0226ff0084696dc6a9e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 8 Oct 2016 16:34:52 +1300 Subject: Add coordinates format for user and server --- schema/changelog-3.8.xml | 7 +++++++ src/org/traccar/model/Server.java | 10 ++++++++++ src/org/traccar/model/User.java | 10 ++++++++++ 3 files changed, 27 insertions(+) diff --git a/schema/changelog-3.8.xml b/schema/changelog-3.8.xml index e7aa1ad58..bc11d99ce 100644 --- a/schema/changelog-3.8.xml +++ b/schema/changelog-3.8.xml @@ -74,5 +74,12 @@ + + + + + + + diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java index 0cd23865f..9a1552110 100644 --- a/src/org/traccar/model/Server.java +++ b/src/org/traccar/model/Server.java @@ -137,4 +137,14 @@ public class Server extends Extensible { this.forceSettings = forceSettings; } + private String coordinatesFormat; + + public String getCoordinatesFormat() { + return coordinatesFormat; + } + + public void setCoordinatesFormat(String coordinatesFormat) { + this.coordinatesFormat = coordinatesFormat; + } + } diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index aa73cfcff..63aa3e641 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -130,6 +130,16 @@ public class User extends Extensible { this.twelveHourFormat = twelveHourFormat; } + private String coordinatesFormat; + + public String getCoordinatesFormat() { + return coordinatesFormat; + } + + public void setCoordinatesFormat(String coordinatesFormat) { + this.coordinatesFormat = coordinatesFormat; + } + private String password; public String getPassword() { -- cgit v1.2.3