diff options
author | James <jamejo@gmail.com> | 2020-08-22 15:37:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 15:37:14 -0400 |
commit | 195102fc9138ec7b2ad89735ee27bc2be203070d (patch) | |
tree | bc8d1d9c3383a70de39b139bcb32f2494e530ec4 /src | |
parent | b90a8dc10826bc0fecc6833e44fd25433fc31081 (diff) | |
download | traccar-server-195102fc9138ec7b2ad89735ee27bc2be203070d.tar.gz traccar-server-195102fc9138ec7b2ad89735ee27bc2be203070d.tar.bz2 traccar-server-195102fc9138ec7b2ad89735ee27bc2be203070d.zip |
Add event power on
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/MictrackProtocolDecoder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/MictrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MictrackProtocolDecoder.java index ec4f97919..5ea9f148c 100644 --- a/src/main/java/org/traccar/protocol/MictrackProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/MictrackProtocolDecoder.java @@ -66,6 +66,8 @@ public class MictrackProtocolDecoder extends BaseProtocolDecoder { private String decodeAlarm(int event) { switch (event) { + case 0: + return Position.ALARM_POWER_ON; case 5: return Position.ALARM_SOS; case 8: |