diff options
author | nativbarak <nativ@globekeeper.com> | 2018-05-01 16:27:03 +0300 |
---|---|---|
committer | nativbarak <nativ@globekeeper.com> | 2018-05-01 16:27:03 +0300 |
commit | 1b2bcab081d4e0a856a20cf1de3264047fcfccc1 (patch) | |
tree | ff9f2d4b9d651ed341980b06ed65ec0cdb62705c /src/org/traccar/protocol | |
parent | db7c4984ecb2dda40b27bd99cd17372207d2ef3a (diff) | |
download | trackermap-server-1b2bcab081d4e0a856a20cf1de3264047fcfccc1.tar.gz trackermap-server-1b2bcab081d4e0a856a20cf1de3264047fcfccc1.tar.bz2 trackermap-server-1b2bcab081d4e0a856a20cf1de3264047fcfccc1.zip |
Fixed typo and change azimuth to setCourse
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/AustinNbProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |