aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-08-27 23:45:17 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-08-27 23:45:17 -0700
commit27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de (patch)
tree4599b7b83a9fd83b8fe0f1cb6afbf4f5fbc24dda /src/main/java/org/traccar/model
parent6c3c6c5ead98e38b152685dd3528c0f70cdcac50 (diff)
downloadtrackermap-server-27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de.tar.gz
trackermap-server-27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de.tar.bz2
trackermap-server-27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de.zip
Add device inactivity event
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r--src/main/java/org/traccar/model/Event.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Event.java b/src/main/java/org/traccar/model/Event.java
index ee7fcc679..5eee2a0a0 100644
--- a/src/main/java/org/traccar/model/Event.java
+++ b/src/main/java/org/traccar/model/Event.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 - 2017 Anton Tananaev (anton@traccar.org)
+ * Copyright 2016 - 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.
@@ -40,6 +40,7 @@ public class Event extends Message {
public static final String TYPE_DEVICE_ONLINE = "deviceOnline";
public static final String TYPE_DEVICE_UNKNOWN = "deviceUnknown";
public static final String TYPE_DEVICE_OFFLINE = "deviceOffline";
+ public static final String TYPE_DEVICE_INACTIVE = "deviceInactive";
public static final String TYPE_DEVICE_MOVING = "deviceMoving";
public static final String TYPE_DEVICE_STOPPED = "deviceStopped";