aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2024-05-02 06:13:19 -0700
committerGitHub <noreply@github.com>2024-05-02 06:13:19 -0700
commit3f9248d602e8a35ff74cc9481cf1979961f51c5e (patch)
treecfe65893f4684956344a4da1b21a725ee9fefad8 /src
parent0173d53e967a461560302772c35bcea0251426ed (diff)
parent31c266483f0fc0507e2b5482c0b81bbc4b1f2857 (diff)
downloadtrackermap-server-3f9248d602e8a35ff74cc9481cf1979961f51c5e.tar.gz
trackermap-server-3f9248d602e8a35ff74cc9481cf1979961f51c5e.tar.bz2
trackermap-server-3f9248d602e8a35ff74cc9481cf1979961f51c5e.zip
Merge pull request #5314 from Nikutrax/patch-1
Update TrvProtocolDecoder.java
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/TrvProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java b/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
index 8b2e755b2..1187250f8 100644
--- a/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
@@ -345,7 +345,7 @@ public class TrvProtocolDecoder extends BaseProtocolDecoder {
position.set("pressureSystolic", Integer.parseInt(values[2]));
position.set("pressureDiastolic", Integer.parseInt(values[3]));
position.set("spo2", Integer.parseInt(values[4]));
- position.set("bloodSugar", Integer.parseInt(values[5]));
+ position.set("bloodSugar", Double.parseDouble(values[5]));
position.set("temperature", Double.parseDouble(values[6]));
break;
case "AP50":