aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-11-10 08:29:10 -0800
committerAnton Tananaev <anton@traccar.org>2022-11-10 08:29:10 -0800
commitd9d990b492896d7e42a503c002de7715f6d12a30 (patch)
tree1c6df48167b05cf57900367a7b59de9d2787f8cf
parentd0df0c2e33034efee4a3a0705c92b09dbed5e291 (diff)
downloadtrackermap-server-d9d990b492896d7e42a503c002de7715f6d12a30.tar.gz
trackermap-server-d9d990b492896d7e42a503c002de7715f6d12a30.tar.bz2
trackermap-server-d9d990b492896d7e42a503c002de7715f6d12a30.zip
Add comment
-rw-r--r--src/main/java/org/traccar/WebDataHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/WebDataHandler.java b/src/main/java/org/traccar/WebDataHandler.java
index 9b26c8875..2d2e3dc8f 100644
--- a/src/main/java/org/traccar/WebDataHandler.java
+++ b/src/main/java/org/traccar/WebDataHandler.java
@@ -126,6 +126,7 @@ public class WebDataHandler extends BaseDataHandler {
return s.toString();
}
+ // OpenGTS status code
private String calculateStatus(Position position) {
if (position.hasAttribute(Position.KEY_ALARM)) {
return "0xF841"; // STATUS_PANIC_ON