aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-05 07:53:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-05 06:53:44 +1300
commit006c4969075ab8c41910c1fc5d8171a9b85e7bfa (patch)
tree8fa892a8b1fa833cdc9757af647f0b3d0599e321
parentf5d4c86c15ad0403ae213fe0ce964bce5afdb0c4 (diff)
downloadtraccar-server-006c4969075ab8c41910c1fc5d8171a9b85e7bfa.tar.gz
traccar-server-006c4969075ab8c41910c1fc5d8171a9b85e7bfa.tar.bz2
traccar-server-006c4969075ab8c41910c1fc5d8171a9b85e7bfa.zip
Fix typos in Meiligao decoder
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
index fe179418d..9f05bfa6b 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -104,8 +104,8 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
.number("(d+.d+),") // total idling time
.number("(d+),") // average hot start time
.number("(d+),") // average speed
- .number("(d+),") // history hightest speed
- .number("(d+),") // history hightest rpm
+ .number("(d+),") // history highest speed
+ .number("(d+),") // history highest rpm
.number("(d+),") // total harsh acceleration
.number("(d+)") // total harsh break n0
.compile();
@@ -320,8 +320,8 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
position.set("totalIdlingTime", parser.nextDouble());
position.set("averageHotStartTime", parser.nextInt());
position.set("averageSpeed", parser.nextInt());
- position.set("historyHightestSpeed", parser.nextInt());
- position.set("historyHightestRPM", parser.nextInt());
+ position.set("historyHighestSpeed", parser.nextInt());
+ position.set("historyHighestRpm", parser.nextInt());
position.set("totalHarshAccerleration", parser.nextInt());
position.set("totalHarshBrake", parser.nextInt());