aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authordrecchia <danilo@deltatecnologia.com>2016-07-15 19:05:15 -0300
committerdrecchia <danilo@deltatecnologia.com>2016-07-15 19:05:15 -0300
commit6595b5f4b32c57d8ea4f98512d39292df75a3298 (patch)
tree6003975de73b1225e389fa1377c81311abe3faf5 /src/org/traccar
parent47156de7455533806b1ba34a872837625c8ccb1a (diff)
downloadtrackermap-server-6595b5f4b32c57d8ea4f98512d39292df75a3298.tar.gz
trackermap-server-6595b5f4b32c57d8ea4f98512d39292df75a3298.tar.bz2
trackermap-server-6595b5f4b32c57d8ea4f98512d39292df75a3298.zip
- Fixed tags.
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/SuntechProtocolEncoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolEncoder.java b/src/org/traccar/protocol/SuntechProtocolEncoder.java
index 5f6835e92..000583759 100644
--- a/src/org/traccar/protocol/SuntechProtocolEncoder.java
+++ b/src/org/traccar/protocol/SuntechProtocolEncoder.java
@@ -34,9 +34,10 @@ public class SuntechProtocolEncoder extends StringProtocolEncoder {
if (command.getAttributes().get(Command.KEY_DATA).equals("1")) {
return formatCommand(command, "SA200CMD;{%s};02;Enable{%s}\r",
Command.KEY_UNIQUE_ID, Command.KEY_INDEX);
- } else
+ } else {
return formatCommand(command, "SA200CMD;{%s};02;Disable{%s}\r",
Command.KEY_UNIQUE_ID, Command.KEY_INDEX);
+ }
}
case Command.TYPE_ENGINE_STOP:
return formatCommand(command, "SA200CMD;{%s};02;Enable1\r", Command.KEY_UNIQUE_ID);