From 1b2bcab081d4e0a856a20cf1de3264047fcfccc1 Mon Sep 17 00:00:00 2001 From: nativbarak Date: Tue, 1 May 2018 16:27:03 +0300 Subject: Fixed typo and change azimuth to setCourse --- src/org/traccar/protocol/AustinNbProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar') diff --git a/src/org/traccar/protocol/AustinNbProtocolDecoder.java b/src/org/traccar/protocol/AustinNbProtocolDecoder.java index f13c68e34..c8f4baf78 100644 --- a/src/org/traccar/protocol/AustinNbProtocolDecoder.java +++ b/src/org/traccar/protocol/AustinNbProtocolDecoder.java @@ -68,11 +68,11 @@ public class AustinNbProtocolDecoder extends BaseProtocolDecoder { position.setValid(true); position.setLatitude(Double.parseDouble(parser.next().replace(',', '.'))); position.setLongitude(Double.parseDouble(parser.next().replace(',', '.'))); - position.set("azimuth", parser.nextInt()); + position.setCourse(parser.nextInt()); position.set("angle", parser.nextInt()); position.set("range", parser.nextInt()); position.set("outOfRange", parser.nextInt()); - position.set("currier", parser.next()); + position.set("carrier", parser.next()); return position; } -- cgit v1.2.3