aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authordrecchia <danilo@deltatecnologia.com>2016-07-13 10:41:29 -0300
committerdrecchia <danilo@deltatecnologia.com>2016-07-13 10:41:29 -0300
commit80bbc136baf6a91b967732fdae4238f827b9bf19 (patch)
treeadb083b8d8f9cce55efa7dbe436849c551a64df7 /src/org
parentfee6c4709866248e26f63db2fd265deac7edde99 (diff)
downloadtraccar-server-80bbc136baf6a91b967732fdae4238f827b9bf19.tar.gz
traccar-server-80bbc136baf6a91b967732fdae4238f827b9bf19.tar.bz2
traccar-server-80bbc136baf6a91b967732fdae4238f827b9bf19.zip
- Fixed pull request issues
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/SuntechProtocol.java2
-rw-r--r--src/org/traccar/protocol/SuntechProtocolEncoder.java5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocol.java b/src/org/traccar/protocol/SuntechProtocol.java
index 35d72673c..a604a07fd 100644
--- a/src/org/traccar/protocol/SuntechProtocol.java
+++ b/src/org/traccar/protocol/SuntechProtocol.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2015-2016 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/org/traccar/protocol/SuntechProtocolEncoder.java b/src/org/traccar/protocol/SuntechProtocolEncoder.java
index 86c07c7d2..aaf4ac50e 100644
--- a/src/org/traccar/protocol/SuntechProtocolEncoder.java
+++ b/src/org/traccar/protocol/SuntechProtocolEncoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2015-2016 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,8 @@ public class SuntechProtocolEncoder extends StringProtocolEncoder {
case Command.TYPE_POSITION_SINGLE:
return formatCommand(command, "SA200GTR;{%s};02;\r", Command.KEY_UNIQUE_ID);
case Command.TYPE_OUTPUT_CONTROL:
- return formatCommand(command, "SA200CMD;{%s};0{%s};Enable{%s}\r", Command.KEY_UNIQUE_ID, Command.KEY_DATA, Command.KEY_DATA);
+ return formatCommand(command, "SA200CMD;{%s};0{%s};Enable{%s}\r",
+ Command.KEY_UNIQUE_ID, Command.KEY_DATA, Command.KEY_DATA);
case Command.TYPE_ENGINE_STOP:
return formatCommand(command, "SA200CMD;{%s};02;Enable1\r", Command.KEY_UNIQUE_ID);
case Command.TYPE_ENGINE_RESUME: