From 6595b5f4b32c57d8ea4f98512d39292df75a3298 Mon Sep 17 00:00:00 2001 From: drecchia Date: Fri, 15 Jul 2016 19:05:15 -0300 Subject: - Fixed tags. --- src/org/traccar/protocol/SuntechProtocolEncoder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3