From 00a6a9ed3718937b2072d5a6301b5c273d21206f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 18 Dec 2016 09:56:38 +1300 Subject: Minor styles modifications --- src/org/traccar/protocol/MeiligaoProtocolDecoder.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/org') diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java index 706655b83..74b7c0e52 100644 --- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java +++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java @@ -91,8 +91,8 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder { .number("(d+.d+),") // average fuel .number("(d+.d+),") // driving range .number("(d+.?d*),") // odometer - .number("(d+.d+),") // Single Fuel Consumption - .number("(d+.d+),") // Total Fuel Consumption + .number("(d+.d+),") // single fuel consumption + .number("(d+.d+),") // total fuel consumption .number("(d+),") // error code count .number("(d+),") // harsh acceleration count .number("(d+)") // harsh break count @@ -303,6 +303,7 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_DTCS, parser.nextInt()); position.set("harshAcelerationNo", parser.nextInt()); position.set("harshBreakerNo", parser.nextInt()); + return position; } @@ -323,6 +324,7 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder { position.set("historyHightestRPM", parser.nextInt()); position.set("totalHarshAccerleration", parser.nextInt()); position.set("totalHarshBrake", parser.nextInt()); + return position; } -- cgit v1.2.3