aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authornativbarak <nativ@globekeeper.com>2018-05-01 16:27:03 +0300
committernativbarak <nativ@globekeeper.com>2018-05-01 16:27:03 +0300
commit1b2bcab081d4e0a856a20cf1de3264047fcfccc1 (patch)
treeff9f2d4b9d651ed341980b06ed65ec0cdb62705c /src/org/traccar
parentdb7c4984ecb2dda40b27bd99cd17372207d2ef3a (diff)
downloadtraccar-server-1b2bcab081d4e0a856a20cf1de3264047fcfccc1.tar.gz
traccar-server-1b2bcab081d4e0a856a20cf1de3264047fcfccc1.tar.bz2
traccar-server-1b2bcab081d4e0a856a20cf1de3264047fcfccc1.zip
Fixed typo and change azimuth to setCourse
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/AustinNbProtocolDecoder.java4
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;
}