diff options
Diffstat (limited to 'src/org/traccar/protocol/NoranProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/NoranProtocolDecoder.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/NoranProtocolDecoder.java b/src/org/traccar/protocol/NoranProtocolDecoder.java index b212eace9..5021f6cd4 100644 --- a/src/org/traccar/protocol/NoranProtocolDecoder.java +++ b/src/org/traccar/protocol/NoranProtocolDecoder.java @@ -91,10 +91,10 @@ public class NoranProtocolDecoder extends BaseProtocolDecoder { extendedInfo.set("alarm", buf.readUnsignedByte()); // Location - position.setSpeed((double) buf.readUnsignedByte()); - position.setCourse((double) buf.readUnsignedShort()); - position.setLongitude((double) buf.readFloat()); - position.setLatitude((double) buf.readFloat()); + position.setSpeed(buf.readUnsignedByte()); + position.setCourse(buf.readUnsignedShort()); + position.setLongitude(buf.readFloat()); + position.setLatitude(buf.readFloat()); // Time long timeValue = buf.readUnsignedInt(); |