diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-29 10:38:22 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-29 10:38:22 +1300 |
commit | d9f6849507ed1dfab395d0ad6f3d058eed319d33 (patch) | |
tree | 4c02bdf0e995e16e48fac504424fce995417a87c /src/org/traccar/protocol/Pt60ProtocolDecoder.java | |
parent | 2f41a4d95b5be4804b32cac6d96c1b152d53d7ec (diff) | |
download | trackermap-server-d9f6849507ed1dfab395d0ad6f3d058eed319d33.tar.gz trackermap-server-d9f6849507ed1dfab395d0ad6f3d058eed319d33.tar.bz2 trackermap-server-d9f6849507ed1dfab395d0ad6f3d058eed319d33.zip |
Change PT60 coordinates order
Diffstat (limited to 'src/org/traccar/protocol/Pt60ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Pt60ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Pt60ProtocolDecoder.java b/src/org/traccar/protocol/Pt60ProtocolDecoder.java index 636d9e27e..75b33b3c7 100644 --- a/src/org/traccar/protocol/Pt60ProtocolDecoder.java +++ b/src/org/traccar/protocol/Pt60ProtocolDecoder.java @@ -146,8 +146,8 @@ public class Pt60ProtocolDecoder extends BaseProtocolDecoder { position.setValid(true); position.setFixTime(position.getDeviceTime()); - position.setLongitude(Double.parseDouble(values[0])); - position.setLatitude(Double.parseDouble(values[1])); + position.setLatitude(Double.parseDouble(values[0])); + position.setLongitude(Double.parseDouble(values[1])); return position; |