aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-25 19:02:31 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-25 19:02:31 +1200
commit7185a24a275dd9f17b364480d4a3641c2cc05bc8 (patch)
treeeb5356cd32068528df32fbab9225bc88bb02308e /src/org/traccar/model
parent0f04b2a8355cb25071d4f01c2e2abc2858636c36 (diff)
downloadtrackermap-server-7185a24a275dd9f17b364480d4a3641c2cc05bc8.tar.gz
trackermap-server-7185a24a275dd9f17b364480d4a3641c2cc05bc8.tar.bz2
trackermap-server-7185a24a275dd9f17b364480d4a3641c2cc05bc8.zip
Finish watch commands implementation
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Command.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/traccar/model/Command.java b/src/org/traccar/model/Command.java
index bb3f2186e..4525b3cde 100644
--- a/src/org/traccar/model/Command.java
+++ b/src/org/traccar/model/Command.java
@@ -35,6 +35,7 @@ public class Command extends Extensible {
public static final String TYPE_SOS_NUMBER = "sosNumber";
public static final String TYPE_SILENCE_TIME = "silenceTime";
public static final String TYPE_SET_PHONEBOOK = "setPhonebook";
+ public static final String TYPE_VOICE_MESSAGE = "voiceMessage";
public static final String TYPE_ALARM_GEOFENCE = "movementAlarm";
public static final String TYPE_ALARM_BATTERY = "alarmBattery";
@@ -49,5 +50,9 @@ public class Command extends Extensible {
public static final String KEY_RADIUS = "radius";
public static final String KEY_PHONE_NUMBER = "phoneNumber";
public static final String KEY_MESSAGE = "message";
+ public static final String KEY_ENABLE = "enable";
+ public static final String KEY_DATA = "data";
+ public static final String KEY_INDEX = "index";
+ public static final String KEY_PHONE = "phone";
}