-
Notifications
You must be signed in to change notification settings - Fork 4
/
LocationMessage.java
1663 lines (1341 loc) · 37.1 KB
/
LocationMessage.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package com.topflytech.lockActive.data;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
/**
* The type Location message.
*/
public class LocationMessage {
/**
* Is gps working or sleeping. when gps working ,return true, otherwise return false.
*
* @return the boolean
*/
public Boolean isGpsWorking() {
return gpsWorking;
}
/**
* Sets gps working.
*
* @param gpsWorking the gps working
*/
public void setGpsWorking(Boolean gpsWorking) {
this.gpsWorking = gpsWorking;
}
/**
* Is GPS data or LBS data. when GPS data,return true.
*
* @return the boolean
*/
public Boolean isLatlngValid() {
return latlngValid;
}
/**
* Sets latlng valid.
*
* @param latlngValid the latlng valid
*/
public void setLatlngValid(Boolean latlngValid) {
this.latlngValid = latlngValid;
}
/**
* Gets latitude.
*
* @return the latitude
*/
public Double getLatitude() {
return latitude;
}
/**
* Sets latitude.
*
* @param latitude the latitude
*/
public void setLatitude(Double latitude) {
this.latitude = latitude;
}
/**
* Gets longitude.
*
* @return the longitude
*/
public Double getLongitude() {
return longitude;
}
/**
* Sets longitude.
*
* @param longitude the longitude
*/
public void setLongitude(Double longitude) {
this.longitude = longitude;
}
/**
* Gets altitude.
*
* @return the altitude
*/
public Double getAltitude() {
return altitude;
}
/**
* Sets altitude.
*
* @param altitude the altitude
*/
public void setAltitude(Double altitude) {
this.altitude = altitude;
}
/**
* Gets relay status.When in the oil off state, return 1,otherwise return 0.
*
* @return the relay status
*/
public Integer getRelayStatus() {
return relayStatus;
}
/**
* Sets relay status.
*
* @param relayStatus the relay status
*/
public void setRelayStatus(Integer relayStatus) {
this.relayStatus = relayStatus;
}
/**
* Gets antithefted status.When in the anti-theft state, return 1,otherwire return 0.
*
* @return the antithefted status
*/
public Integer getAntitheftedStatus() {
return antitheftedStatus;
}
/**
* Sets antithefted status.
*
* @param antitheftedStatus the antithefted status
*/
public void setAntitheftedStatus(Integer antitheftedStatus) {
this.antitheftedStatus = antitheftedStatus;
}
/**
* Gets date.The message snapshot time
*
* @return the date
*/
public Date getDate() {
return date;
}
/**
* Sets date.
*
* @param date the date
*/
public void setDate(Date date) {
this.date = date;
}
/**
* Gets iop.The Digital I/O Status
*
* @return the iop
*/
public Long getIOP() {
return IOP;
}
/**
* Sets iop.
*
* @param IOP the iop
*/
public void setIOP(Long IOP) {
this.IOP = IOP;
}
/**
* The vehicle ignition state obtained from the digital I / O status.when ignition return true.
*
* @return the boolean
*/
public Boolean isIopIgnition() {
return iopIgnition;
}
/**
* Sets iop ignition.
*
* @param iopIgnition the iop ignition
*/
public void setIopIgnition(Boolean iopIgnition) {
this.iopIgnition = iopIgnition;
}
/**
* The external power supply connection status of the vehicle obtained from the digital I / O status.If connected,return true.
*
* @return the boolean
*/
public Boolean isIopPowerCutOff() {
return iopPowerCutOff;
}
/**
* Sets iop power cut off.
*
* @param iopPowerCutOff the iop power cut off
*/
public void setIopPowerCutOff(Boolean iopPowerCutOff) {
this.iopPowerCutOff = iopPowerCutOff;
}
/**
* The air conditioning status of the vehicle obtained from the digital I / O status.If opened,retrun true.
*
* @return the boolean
*/
public Boolean isIopACOn() {
return iopACOn;
}
/**
* Sets iop ac on.
*
* @param iopACOn the iop ac on
*/
public void setIopACOn(Boolean iopACOn) {
this.iopACOn = iopACOn;
}
/**
* Gets speed.The unit is km / h
*
* @return the speed
*/
public Float getSpeed() {
return speed;
}
/**
* Sets speed.
*
* @param speed the speed
*/
public void setSpeed(Float speed) {
this.speed = speed;
}
/**
* Gets the vehicle current mileage.The unit is meter.
*
* @return the mileage
*/
public Long getMileage() {
return mileage;
}
/**
* Sets mileage.
*
* @param mileage the mileage
*/
public void setMileage(Long mileage) {
this.mileage = mileage;
}
/**
* Gets the vehicle current azimuth.
*
* @return the azimuth
*/
public Integer getAzimuth() {
return azimuth;
}
/**
* Sets azimuth.
*
* @param azimuth the azimuth
*/
public void setAzimuth(Integer azimuth) {
this.azimuth = azimuth;
}
/**
* Gets address description.
*
* @return the address
*/
public String getAddress() {
return address;
}
/**
* Sets address.
*
* @param address the address
*/
public void setAddress(String address) {
this.address = address;
}
/**
* Gets analog input 1.
*
* @return the analog input 1
*/
public Float getAnalogInput1() {
return analogInput1;
}
/**
* Sets analog input 1.
*
* @param analogInput1 the analog input 1
*/
public void setAnalogInput1(Float analogInput1) {
this.analogInput1 = analogInput1;
}
/**
* Gets analog input 2.
*
* @return the analog input 2
*/
public Float getAnalogInput2() {
return analogInput2;
}
/**
* Sets analog input 2.
*
* @param analogInput2 the analog input 2
*/
public void setAnalogInput2(Float analogInput2) {
this.analogInput2 = analogInput2;
}
/**
* Gets battery charge.
*
* @return the battery charge
*/
public Integer getBatteryCharge() {
return batteryCharge;
}
/**
* Sets battery charge.
*
* @param batteryCharge the battery charge
*/
public void setBatteryCharge(Integer batteryCharge) {
this.batteryCharge = batteryCharge;
}
/**
* Gets drag threshold.
*
* @return the drag threshold
*/
public Integer getDragThreshold() {
return dragThreshold;
}
/**
* Sets drag threshold.
*
* @param dragThreshold the drag threshold
*/
public void setDragThreshold(Integer dragThreshold) {
this.dragThreshold = dragThreshold;
}
/**
* Gets external power voltage.The Old vehicle has not this value.The new one has this value.
*
* @return the external power voltage
*/
public Float getExternalPowerVoltage() {
return externalPowerVoltage;
}
/**
* Sets external power voltage.
*
* @param externalPowerVoltage the external power voltage
*/
public void setExternalPowerVoltage(Float externalPowerVoltage) {
this.externalPowerVoltage = externalPowerVoltage;
}
/**
* Gets original alarm code.Response to the device's alert message requires it.
*
* @return the original alarm code
*/
public Integer getOriginalAlarmCode() {
return originalAlarmCode;
}
/**
* Sets original alarm code.
*
* @param originalAlarmCode the original alarm code
*/
public void setOriginalAlarmCode(Integer originalAlarmCode) {
this.originalAlarmCode = originalAlarmCode;
}
/**
* Is relay waiting boolean.If engine cut fail,the vehicle maybe waiting ,if is waiting cut off engine,return true.
*
* @return the boolean
*/
public Boolean isRelayWaiting() {
return isRelayWaiting;
}
/**
* Sets is relay waiting.
*
* @param isRelayWaiting the is relay waiting
*/
public void setIsRelayWaiting(Boolean isRelayWaiting) {
this.isRelayWaiting = isRelayWaiting;
}
/**
* Gets heartbeat interval.
*
* @return the heartbeat interval
*/
public Integer getHeartbeatInterval() {
return heartbeatInterval;
}
/**
* Sets heartbeat interval.
*
* @param heartbeatInterval the heartbeat interval
*/
public void setHeartbeatInterval(Integer heartbeatInterval) {
this.heartbeatInterval = heartbeatInterval;
}
/**
* Is Gsnesor manager configured 1 boolean.
*
* @return the boolean
*/
public Boolean isManagerConfigured1() {
return isManagerConfigured1;
}
/**
* Sets is manager configured 1.
*
* @param isManagerConfigured1 the is manager configured 1
*/
public void setIsManagerConfigured1(Boolean isManagerConfigured1) {
this.isManagerConfigured1 = isManagerConfigured1;
}
/**
* Is Gsnesor manager configured 2 boolean.
*
* @return the boolean
*/
public Boolean isManagerConfigured2() {
return isManagerConfigured2;
}
/**
* Sets is manager configured 2.
*
* @param isManagerConfigured2 the is manager configured 2
*/
public void setIsManagerConfigured2(Boolean isManagerConfigured2) {
this.isManagerConfigured2 = isManagerConfigured2;
}
/**
* Is Gsnesor manager configured 3 boolean.
*
* @return the boolean
*/
public Boolean isManagerConfigured3() {
return isManagerConfigured3;
}
/**
* Sets is manager configured 3.
*
* @param isManagerConfigured3 the is manager configured 3
*/
public void setIsManagerConfigured3(Boolean isManagerConfigured3) {
this.isManagerConfigured3 = isManagerConfigured3;
}
/**
* Is Gsnesor manager configured 4 boolean.
*
* @return the boolean
*/
public Boolean isManagerConfigured4() {
return isManagerConfigured4;
}
/**
* Sets is manager configured 4.
*
* @param isManagerConfigured4 the is manager configured 4
*/
public void setIsManagerConfigured4(Boolean isManagerConfigured4) {
this.isManagerConfigured4 = isManagerConfigured4;
}
/**
* Gets sensor sensitivity.
*
* @return the sensor sensitivity
*/
public Integer getgSensorSensitivity() {
return gSensorSensitivity;
}
/**
* Sets sensor sensitivity.
*
* @param gSensorSensitivity the g sensor sensitivity
*/
public void setgSensorSensitivity(Integer gSensorSensitivity) {
this.gSensorSensitivity = gSensorSensitivity;
}
/**
* Is history data boolean.
*
* @return the boolean
*/
public Boolean isHistoryData() {
return isHistoryData;
}
/**
* Sets is history data.
*
* @param isHistoryData the is history data
*/
public void setIsHistoryData(Boolean isHistoryData) {
this.isHistoryData = isHistoryData;
}
/**
* Gets satellite number.
*
* @return the satellite number
*/
public Integer getSatelliteNumber() {
return satelliteNumber;
}
/**
* Sets satellite number.
*
* @param satelliteNumber the satellite number
*/
public void setSatelliteNumber(Integer satelliteNumber) {
this.satelliteNumber = satelliteNumber;
}
/**
* Gets over speed limit.The unit is km / h
*
* @return the over speed limit
*/
public Integer getOverSpeedLimit() {
return overSpeedLimit;
}
/**
* Sets over speed limit.
*
* @param overSpeedLimit the over speed limit
*/
public void setOverSpeedLimit(Integer overSpeedLimit) {
this.overSpeedLimit = overSpeedLimit;
}
/**
* Gets acc on upload interval.
*
* @return the sampling interval acc on
*/
public Integer getSamplingIntervalAccOn() {
return samplingIntervalAccOn;
}
/**
* Sets sampling interval acc on.
*
* @param samplingIntervalAccOn the sampling interval acc on
*/
public void setSamplingIntervalAccOn(Integer samplingIntervalAccOn) {
this.samplingIntervalAccOn = samplingIntervalAccOn;
}
/**
* Gets acc off upload interval.
*
* @return the sampling interval acc off
*/
public Integer getSamplingIntervalAccOff() {
return samplingIntervalAccOff;
}
/**
* Sets sampling interval acc off.
*
* @param samplingIntervalAccOff the sampling interval acc off
*/
public void setSamplingIntervalAccOff(Integer samplingIntervalAccOff) {
this.samplingIntervalAccOff = samplingIntervalAccOff;
}
/**
* Gets angle compensation.
*
* @return the angle compensation
*/
public Integer getAngleCompensation() {
return angleCompensation;
}
/**
* Sets angle compensation.
*
* @param angleCompensation the angle compensation
*/
public void setAngleCompensation(Integer angleCompensation) {
this.angleCompensation = angleCompensation;
}
/**
* Gets distance compensation.
*
* @return the distance compensation
*/
public Integer getDistanceCompensation() {
return distanceCompensation;
}
/**
* Sets distance compensation.
*
* @param distanceCompensation the distance compensation
*/
public void setDistanceCompensation(Integer distanceCompensation) {
this.distanceCompensation = distanceCompensation;
}
public long getAccumulatingFuelConsumption() {
return accumulatingFuelConsumption;
}
public void setAccumulatingFuelConsumption(long accumulatingFuelConsumption) {
this.accumulatingFuelConsumption = accumulatingFuelConsumption;
}
public long getInstantFuelConsumption() {
return instantFuelConsumption;
}
public void setInstantFuelConsumption(long instantFuelConsumption) {
this.instantFuelConsumption = instantFuelConsumption;
}
public int getRpm() {
return rpm;
}
public void setRpm(int rpm) {
this.rpm = rpm;
}
public int getAirInput() {
return airInput;
}
public void setAirInput(int airInput) {
this.airInput = airInput;
}
public int getAirPressure() {
return airPressure;
}
public void setAirPressure(int airPressure) {
this.airPressure = airPressure;
}
public int getCoolingFluidTemp() {
return coolingFluidTemp;
}
public void setCoolingFluidTemp(int coolingFluidTemp) {
this.coolingFluidTemp = coolingFluidTemp;
}
public int getAirInflowTemp() {
return airInflowTemp;
}
public void setAirInflowTemp(int airInflowTemp) {
this.airInflowTemp = airInflowTemp;
}
public int getEngineLoad() {
return engineLoad;
}
public void setEngineLoad(int engineLoad) {
this.engineLoad = engineLoad;
}
public int getThrottlePosition() {
return throttlePosition;
}
public void setThrottlePosition(int throttlePosition) {
this.throttlePosition = throttlePosition;
}
public int getRemainFuelRate() {
return remainFuelRate;
}
public void setRemainFuelRate(int remainFuelRate) {
this.remainFuelRate = remainFuelRate;
}
public boolean isRs232DeviceValid() {
return rs232DeviceValid;
}
public void setRs232DeviceValid(boolean rs232DeviceValid) {
this.rs232DeviceValid = rs232DeviceValid;
}
public int getNetworkSignal() {
return networkSignal;
}
public void setNetworkSignal(int networkSignal) {
this.networkSignal = networkSignal;
}
public float getAxisX() {
return axisX;
}
public void setAxisX(float axisX) {
this.axisX = axisX;
}
public float getAxisY() {
return axisY;
}
public void setAxisY(float axisY) {
this.axisY = axisY;
}
public float getAxisZ() {
return axisZ;
}
public void setAxisZ(float axisZ) {
this.axisZ = axisZ;
}
public Float getDeviceTemp() {
return deviceTemp;
}
public void setDeviceTemp(Float deviceTemp) {
this.deviceTemp = deviceTemp;
}
public Float getLightSensor() {
return lightSensor;
}
public void setLightSensor(Float lightSensor) {
this.lightSensor = lightSensor;
}
public Float getBatteryVoltage() {
return batteryVoltage;
}
public void setBatteryVoltage(Float batteryVoltage) {
this.batteryVoltage = batteryVoltage;
}
public Float getSolarVoltage() {
return solarVoltage;
}
public void setSolarVoltage(Float solarVoltage) {
this.solarVoltage = solarVoltage;
}
public Boolean isUsbCharging() {
return isUsbCharging;
}
public void setIsUsbCharging(Boolean isUsbCharging) {
this.isUsbCharging = isUsbCharging;
}
public Boolean isSolarCharging() {
return isSolarCharging;
}
public void setIsSolarCharging(Boolean isSolarCharging) {
this.isSolarCharging = isSolarCharging;
}
public String getSmartPowerSettingStatus() {
return smartPowerSettingStatus;
}
public void setSmartPowerSettingStatus(String smartPowerSettingStatus) {
this.smartPowerSettingStatus = smartPowerSettingStatus;
}
public String getSmartPowerOpenStatus() {
return smartPowerOpenStatus;
}
public void setSmartPowerOpenStatus(String smartPowerOpenStatus) {
this.smartPowerOpenStatus = smartPowerOpenStatus;
}
public int getOutput2() {
return output2;
}
public void setOutput2(int output2) {
this.output2 = output2;
}
public int getOutput3() {
return output3;
}
public void setOutput3(int output3) {
this.output3 = output3;
}
public Float getAnalogInput3() {
return analogInput3;
}
public void setAnalogInput3(Float analogInput3) {
this.analogInput3 = analogInput3;
}
public int getInput3() {
return input3;
}
public void setInput3(int input3) {
this.input3 = input3;
}
public int getInput4() {
return input4;
}
public void setInput4(int input4) {
this.input4 = input4;
}
public Boolean isSupportChangeBattery() {
return supportChangeBattery;
}
public void setSupportChangeBattery(Boolean supportChangeBattery) {
this.supportChangeBattery = supportChangeBattery;
}
public int getInput5() {
return input5;
}
public void setInput5(int input5) {
this.input5 = input5;
}
public int getInput6() {
return input6;
}
public void setInput6(int input6) {
this.input6 = input6;
}
public Float getAnalogInput4() {
return analogInput4;
}
public void setAnalogInput4(Float analogInput4) {
this.analogInput4 = analogInput4;
}
public Float getAnalogInput5() {
return analogInput5;
}
public void setAnalogInput5(Float analogInput5) {
this.analogInput5 = analogInput5;
}
public Boolean isSmartUploadSupport() {
return isSmartUploadSupport;
}
public void setIsSmartUploadSupport(Boolean isSmartUploadSupport) {
this.isSmartUploadSupport = isSmartUploadSupport;
}
public Boolean isOutput12V() {
return output12V;
}
public void setOutput12V(Boolean output12V) {
this.output12V = output12V;
}
public Boolean isOutputVout() {
return outputVout;
}
public void setOutputVout(Boolean outputVout) {
this.outputVout = outputVout;
}
public int getInput2() {
return input2;
}
public void setInput2(int input2) {
this.input2 = input2;
}
public int getInput1() {
return input1;
}
public void setInput1(int input1) {
this.input1 = input1;
}
public Integer getRlyMode() {
return rlyMode;
}
public void setRlyMode(Integer rlyMode) {
this.rlyMode = rlyMode;
}
public Integer getSmsLanguageType() {
return smsLanguageType;
}
public void setSmsLanguageType(Integer smsLanguageType) {
this.smsLanguageType = smsLanguageType;
}
public int getSpeakerStatus() {
return speakerStatus;
}
public void setSpeakerStatus(int speakerStatus) {
this.speakerStatus = speakerStatus;
}
public int getRs232PowerOf5V() {
return rs232PowerOf5V;
}