aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-06-29 21:29:48 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-06-29 21:29:48 -0700
commit0527e6817084a1c907ddb41ff9bb3c6e67a3dabd (patch)
tree8ef3ee4ca54f8199c3c07f537c261f376eb138c5 /src/test
parent5b7722bd3fd6f7782eadd4b1afc518fdba28e8d3 (diff)
downloadtrackermap-server-0527e6817084a1c907ddb41ff9bb3c6e67a3dabd.tar.gz
trackermap-server-0527e6817084a1c907ddb41ff9bb3c6e67a3dabd.tar.bz2
trackermap-server-0527e6817084a1c907ddb41ff9bb3c6e67a3dabd.zip
Support fuel sensor data
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
index cb5df63e6..ac46b6356 100644
--- a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -58,6 +58,10 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null);
+ verifyAttribute(decoder, text(
+ "ST300UEX;109003241;08;1026;20190425;17:36:04;04402;+04.722553;-074.052583;000.020;000.00;10;1;0;12.04;010000;51;CabAVL\"CabMensaje,0,58.5,-1.0,,,FinMensaje\"FinAVL\r\n;B1;0000000000;4.1;1"),
+ "fuel1", 58.5);
+
verifyPosition(decoder, text(
"ST600UEX;008728327;20;520;20190218;10:56:51;0bf1a893;334;20;2f19;18;+20.514195;-100.743597;000.015;000.00;9;1;3720808;12.89;000000;44;t_0=0D;N_0=0551.0;t_1=14;N_1=039F.0;Q_D=0B\r\n;9E;010440;4.1;1"));