aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-12 22:58:02 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-09-12 22:58:02 -0700
commitab70f326d1ea09a20f2b5835d7de9d7ff6a5b220 (patch)
treeef12403a116baa7b6da1e0c2ce834af08e8695a2
parentd4bbb39025acc534453b8df7444f8d1b761c669e (diff)
downloadtraccar-server-ab70f326d1ea09a20f2b5835d7de9d7ff6a5b220.tar.gz
traccar-server-ab70f326d1ea09a20f2b5835d7de9d7ff6a5b220.tar.bz2
traccar-server-ab70f326d1ea09a20f2b5835d7de9d7ff6a5b220.zip
Add alarm dismiss command
-rw-r--r--src/main/java/org/traccar/model/Command.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Command.java b/src/main/java/org/traccar/model/Command.java
index abe538a10..099fb152d 100644
--- a/src/main/java/org/traccar/model/Command.java
+++ b/src/main/java/org/traccar/model/Command.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.org)
+ * Copyright 2015 - 2020 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,7 @@ public class Command extends Message implements Cloneable {
public static final String TYPE_ENGINE_RESUME = "engineResume";
public static final String TYPE_ALARM_ARM = "alarmArm";
public static final String TYPE_ALARM_DISARM = "alarmDisarm";
+ public static final String TYPE_ALARM_DISMISS = "alarmDismiss";
public static final String TYPE_SET_TIMEZONE = "setTimezone";
public static final String TYPE_REQUEST_PHOTO = "requestPhoto";
public static final String TYPE_POWER_OFF = "powerOff";