@fatehan/tsrp 1.0.17 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fatehan/areas/area.js +1 -1
- package/dist/fatehan/google/protobuf/timestamp.d.ts +1 -1
- package/dist/fatehan/google/protobuf/timestamp.js +1 -1
- package/dist/fatehan/models/fusion.js +1 -1
- package/dist/fatehan/models/models.js +1 -1
- package/dist/fatehan/models/operation.js +1 -1
- package/dist/fatehan/notifies/notify.js +5 -5
- package/dist/fatehan/packets/dataModel.d.ts +98 -0
- package/dist/fatehan/packets/dataModel.d.ts.map +1 -1
- package/dist/fatehan/packets/dataModel.js +1782 -181
- package/dist/fatehan/packets/messages.d.ts +32 -0
- package/dist/fatehan/packets/messages.d.ts.map +1 -1
- package/dist/fatehan/packets/messages.js +517 -4
- package/dist/fatehan/reports/report.js +1 -1
- package/dist/fatehan/trips/trip.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.7.0
|
|
5
|
-
// protoc
|
|
5
|
+
// protoc v6.31.1
|
|
6
6
|
// source: packets/dataModel.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.JTT808MediaRetrieval0802_Item = exports.JTT808MediaRetrieval0802 = exports.DeviceStatus = exports.Task_AlertIdNumberEntry = exports.Task = exports.DeviceData = exports.FusionDevice = exports.OdysseyDevice = exports.Client = exports.ConcoxRecording0x8d = exports.ConcoxLikeR31 = exports.Jtt808SignalingDataMessage1212 = void 0;
|
|
8
|
+
exports.Jtt10780x0001Answer = exports.Jtt808SignalingDataMessage1210_Attachment = exports.Jtt808SignalingDataMessage1210 = exports.Jtt808SignalingDataMessage1211 = exports.AdditionalInformation = exports.ReplyTeltonika = exports.ReplyConcox_Item = exports.ReplyConcox = exports.Stream = exports.Packet = exports.Authorize = exports.Data = exports.Log = exports.Compact_AlertValuesEntry = exports.Compact = exports.ADAS = exports.CanAdaptersElements_LcCan = exports.CanAdaptersElements_Cisf = exports.CanAdaptersElements_Usf = exports.CanAdaptersElements_Asf = exports.CanAdaptersElements_Isf = exports.CanAdaptersElements_Csf = exports.CanAdaptersElements_Ssf = exports.CanAdaptersElements = exports.BleSensorsIoElements = exports.ObdOemElements = exports.FmsElement = exports.ObdElements = exports.EventualIoElements = exports.IoElement_MSP500 = exports.IoElement_Driver = exports.IoElement_Ble = exports.IoElement_Eye = exports.IoElement_LLS = exports.IoElement_DallasTemperature = exports.IoElement = exports.OdysseyDevice_TripType = exports.OdysseyDevice_ObjectType = exports.AdditionalInformation_Key = exports.Packet_AnswerType = exports.Packet_CustomPacketType = exports.Packet_Type = exports.ADAS_DeviationType = exports.ADAS_RoadSignType = exports.EventualIoElements_ZoneEvent = exports.FileFormat = exports.FileType = exports.Protocol = exports.Alert = exports.protobufPackage = void 0;
|
|
9
|
+
exports.JTT808MediaRetrieval0802_Item = exports.JTT808MediaRetrieval0802 = exports.DeviceStatus = exports.Task_AlertIdNumberEntry = exports.Task = exports.DeviceData = exports.FusionDevice = exports.OdysseyDevice = exports.Client = exports.ConcoxRecording0x8d = exports.ConcoxLikeR31 = exports.Jtt808SignalingDataMessage1212 = exports.Jtt1078EventMediaDataUpload = exports.Jtt1078EventMediaInfoUpload = void 0;
|
|
10
10
|
exports.alertFromJSON = alertFromJSON;
|
|
11
11
|
exports.alertToJSON = alertToJSON;
|
|
12
12
|
exports.protocolFromJSON = protocolFromJSON;
|
|
@@ -2011,6 +2011,35 @@ function createBaseIoElement() {
|
|
|
2011
2011
|
realtime: undefined,
|
|
2012
2012
|
positioning: undefined,
|
|
2013
2013
|
adminPhoneNumber: undefined,
|
|
2014
|
+
fuelCounter: undefined,
|
|
2015
|
+
impulseFrequency1: undefined,
|
|
2016
|
+
impulseCounter1: undefined,
|
|
2017
|
+
impulseRpm1: undefined,
|
|
2018
|
+
impulseFrequency2: undefined,
|
|
2019
|
+
impulseCounter2: undefined,
|
|
2020
|
+
impulseRpm2: undefined,
|
|
2021
|
+
impulseFrequency3: undefined,
|
|
2022
|
+
impulseCounter3: undefined,
|
|
2023
|
+
impulseRpm3: undefined,
|
|
2024
|
+
impulseFrequency4: undefined,
|
|
2025
|
+
impulseCounter4: undefined,
|
|
2026
|
+
impulseRpm4: undefined,
|
|
2027
|
+
numberOfData: undefined,
|
|
2028
|
+
rfidCom2: undefined,
|
|
2029
|
+
imsi: undefined,
|
|
2030
|
+
ultrasonicFuelLevel1: undefined,
|
|
2031
|
+
ultrasonicFuelLevel2: undefined,
|
|
2032
|
+
ultrasonicSoftwareStatus1: undefined,
|
|
2033
|
+
ultrasonicSoftwareStatus2: undefined,
|
|
2034
|
+
oneWireHumidity1: undefined,
|
|
2035
|
+
oneWireHumidity2: undefined,
|
|
2036
|
+
oneWireHumidity3: undefined,
|
|
2037
|
+
oneWireHumidity4: undefined,
|
|
2038
|
+
oneWireHumidity5: undefined,
|
|
2039
|
+
oneWireHumidity6: undefined,
|
|
2040
|
+
imei: undefined,
|
|
2041
|
+
noSimCounter: undefined,
|
|
2042
|
+
connectivityQuality: undefined,
|
|
2014
2043
|
};
|
|
2015
2044
|
}
|
|
2016
2045
|
exports.IoElement = {
|
|
@@ -2240,6 +2269,93 @@ exports.IoElement = {
|
|
|
2240
2269
|
if (message.adminPhoneNumber !== undefined) {
|
|
2241
2270
|
writer.uint32(600).uint64(message.adminPhoneNumber);
|
|
2242
2271
|
}
|
|
2272
|
+
if (message.fuelCounter !== undefined) {
|
|
2273
|
+
writer.uint32(608).uint32(message.fuelCounter);
|
|
2274
|
+
}
|
|
2275
|
+
if (message.impulseFrequency1 !== undefined) {
|
|
2276
|
+
writer.uint32(616).uint32(message.impulseFrequency1);
|
|
2277
|
+
}
|
|
2278
|
+
if (message.impulseCounter1 !== undefined) {
|
|
2279
|
+
writer.uint32(624).uint32(message.impulseCounter1);
|
|
2280
|
+
}
|
|
2281
|
+
if (message.impulseRpm1 !== undefined) {
|
|
2282
|
+
writer.uint32(632).uint32(message.impulseRpm1);
|
|
2283
|
+
}
|
|
2284
|
+
if (message.impulseFrequency2 !== undefined) {
|
|
2285
|
+
writer.uint32(640).uint32(message.impulseFrequency2);
|
|
2286
|
+
}
|
|
2287
|
+
if (message.impulseCounter2 !== undefined) {
|
|
2288
|
+
writer.uint32(648).uint32(message.impulseCounter2);
|
|
2289
|
+
}
|
|
2290
|
+
if (message.impulseRpm2 !== undefined) {
|
|
2291
|
+
writer.uint32(656).uint32(message.impulseRpm2);
|
|
2292
|
+
}
|
|
2293
|
+
if (message.impulseFrequency3 !== undefined) {
|
|
2294
|
+
writer.uint32(664).uint32(message.impulseFrequency3);
|
|
2295
|
+
}
|
|
2296
|
+
if (message.impulseCounter3 !== undefined) {
|
|
2297
|
+
writer.uint32(672).uint32(message.impulseCounter3);
|
|
2298
|
+
}
|
|
2299
|
+
if (message.impulseRpm3 !== undefined) {
|
|
2300
|
+
writer.uint32(680).uint32(message.impulseRpm3);
|
|
2301
|
+
}
|
|
2302
|
+
if (message.impulseFrequency4 !== undefined) {
|
|
2303
|
+
writer.uint32(688).uint32(message.impulseFrequency4);
|
|
2304
|
+
}
|
|
2305
|
+
if (message.impulseCounter4 !== undefined) {
|
|
2306
|
+
writer.uint32(696).uint32(message.impulseCounter4);
|
|
2307
|
+
}
|
|
2308
|
+
if (message.impulseRpm4 !== undefined) {
|
|
2309
|
+
writer.uint32(704).uint32(message.impulseRpm4);
|
|
2310
|
+
}
|
|
2311
|
+
if (message.numberOfData !== undefined) {
|
|
2312
|
+
writer.uint32(712).uint32(message.numberOfData);
|
|
2313
|
+
}
|
|
2314
|
+
if (message.rfidCom2 !== undefined) {
|
|
2315
|
+
writer.uint32(720).uint64(message.rfidCom2);
|
|
2316
|
+
}
|
|
2317
|
+
if (message.imsi !== undefined) {
|
|
2318
|
+
writer.uint32(728).uint64(message.imsi);
|
|
2319
|
+
}
|
|
2320
|
+
if (message.ultrasonicFuelLevel1 !== undefined) {
|
|
2321
|
+
writer.uint32(736).sint32(message.ultrasonicFuelLevel1);
|
|
2322
|
+
}
|
|
2323
|
+
if (message.ultrasonicFuelLevel2 !== undefined) {
|
|
2324
|
+
writer.uint32(744).sint32(message.ultrasonicFuelLevel2);
|
|
2325
|
+
}
|
|
2326
|
+
if (message.ultrasonicSoftwareStatus1 !== undefined) {
|
|
2327
|
+
writer.uint32(752).uint32(message.ultrasonicSoftwareStatus1);
|
|
2328
|
+
}
|
|
2329
|
+
if (message.ultrasonicSoftwareStatus2 !== undefined) {
|
|
2330
|
+
writer.uint32(760).uint32(message.ultrasonicSoftwareStatus2);
|
|
2331
|
+
}
|
|
2332
|
+
if (message.oneWireHumidity1 !== undefined) {
|
|
2333
|
+
writer.uint32(768).uint32(message.oneWireHumidity1);
|
|
2334
|
+
}
|
|
2335
|
+
if (message.oneWireHumidity2 !== undefined) {
|
|
2336
|
+
writer.uint32(776).uint32(message.oneWireHumidity2);
|
|
2337
|
+
}
|
|
2338
|
+
if (message.oneWireHumidity3 !== undefined) {
|
|
2339
|
+
writer.uint32(784).uint32(message.oneWireHumidity3);
|
|
2340
|
+
}
|
|
2341
|
+
if (message.oneWireHumidity4 !== undefined) {
|
|
2342
|
+
writer.uint32(792).uint32(message.oneWireHumidity4);
|
|
2343
|
+
}
|
|
2344
|
+
if (message.oneWireHumidity5 !== undefined) {
|
|
2345
|
+
writer.uint32(800).uint32(message.oneWireHumidity5);
|
|
2346
|
+
}
|
|
2347
|
+
if (message.oneWireHumidity6 !== undefined) {
|
|
2348
|
+
writer.uint32(808).uint32(message.oneWireHumidity6);
|
|
2349
|
+
}
|
|
2350
|
+
if (message.imei !== undefined) {
|
|
2351
|
+
writer.uint32(816).uint64(message.imei);
|
|
2352
|
+
}
|
|
2353
|
+
if (message.noSimCounter !== undefined) {
|
|
2354
|
+
writer.uint32(824).uint32(message.noSimCounter);
|
|
2355
|
+
}
|
|
2356
|
+
if (message.connectivityQuality !== undefined) {
|
|
2357
|
+
writer.uint32(832).uint32(message.connectivityQuality);
|
|
2358
|
+
}
|
|
2243
2359
|
return writer;
|
|
2244
2360
|
},
|
|
2245
2361
|
decode(input, length) {
|
|
@@ -2774,6 +2890,209 @@ exports.IoElement = {
|
|
|
2774
2890
|
message.adminPhoneNumber = longToNumber(reader.uint64());
|
|
2775
2891
|
continue;
|
|
2776
2892
|
}
|
|
2893
|
+
case 76: {
|
|
2894
|
+
if (tag !== 608) {
|
|
2895
|
+
break;
|
|
2896
|
+
}
|
|
2897
|
+
message.fuelCounter = reader.uint32();
|
|
2898
|
+
continue;
|
|
2899
|
+
}
|
|
2900
|
+
case 77: {
|
|
2901
|
+
if (tag !== 616) {
|
|
2902
|
+
break;
|
|
2903
|
+
}
|
|
2904
|
+
message.impulseFrequency1 = reader.uint32();
|
|
2905
|
+
continue;
|
|
2906
|
+
}
|
|
2907
|
+
case 78: {
|
|
2908
|
+
if (tag !== 624) {
|
|
2909
|
+
break;
|
|
2910
|
+
}
|
|
2911
|
+
message.impulseCounter1 = reader.uint32();
|
|
2912
|
+
continue;
|
|
2913
|
+
}
|
|
2914
|
+
case 79: {
|
|
2915
|
+
if (tag !== 632) {
|
|
2916
|
+
break;
|
|
2917
|
+
}
|
|
2918
|
+
message.impulseRpm1 = reader.uint32();
|
|
2919
|
+
continue;
|
|
2920
|
+
}
|
|
2921
|
+
case 80: {
|
|
2922
|
+
if (tag !== 640) {
|
|
2923
|
+
break;
|
|
2924
|
+
}
|
|
2925
|
+
message.impulseFrequency2 = reader.uint32();
|
|
2926
|
+
continue;
|
|
2927
|
+
}
|
|
2928
|
+
case 81: {
|
|
2929
|
+
if (tag !== 648) {
|
|
2930
|
+
break;
|
|
2931
|
+
}
|
|
2932
|
+
message.impulseCounter2 = reader.uint32();
|
|
2933
|
+
continue;
|
|
2934
|
+
}
|
|
2935
|
+
case 82: {
|
|
2936
|
+
if (tag !== 656) {
|
|
2937
|
+
break;
|
|
2938
|
+
}
|
|
2939
|
+
message.impulseRpm2 = reader.uint32();
|
|
2940
|
+
continue;
|
|
2941
|
+
}
|
|
2942
|
+
case 83: {
|
|
2943
|
+
if (tag !== 664) {
|
|
2944
|
+
break;
|
|
2945
|
+
}
|
|
2946
|
+
message.impulseFrequency3 = reader.uint32();
|
|
2947
|
+
continue;
|
|
2948
|
+
}
|
|
2949
|
+
case 84: {
|
|
2950
|
+
if (tag !== 672) {
|
|
2951
|
+
break;
|
|
2952
|
+
}
|
|
2953
|
+
message.impulseCounter3 = reader.uint32();
|
|
2954
|
+
continue;
|
|
2955
|
+
}
|
|
2956
|
+
case 85: {
|
|
2957
|
+
if (tag !== 680) {
|
|
2958
|
+
break;
|
|
2959
|
+
}
|
|
2960
|
+
message.impulseRpm3 = reader.uint32();
|
|
2961
|
+
continue;
|
|
2962
|
+
}
|
|
2963
|
+
case 86: {
|
|
2964
|
+
if (tag !== 688) {
|
|
2965
|
+
break;
|
|
2966
|
+
}
|
|
2967
|
+
message.impulseFrequency4 = reader.uint32();
|
|
2968
|
+
continue;
|
|
2969
|
+
}
|
|
2970
|
+
case 87: {
|
|
2971
|
+
if (tag !== 696) {
|
|
2972
|
+
break;
|
|
2973
|
+
}
|
|
2974
|
+
message.impulseCounter4 = reader.uint32();
|
|
2975
|
+
continue;
|
|
2976
|
+
}
|
|
2977
|
+
case 88: {
|
|
2978
|
+
if (tag !== 704) {
|
|
2979
|
+
break;
|
|
2980
|
+
}
|
|
2981
|
+
message.impulseRpm4 = reader.uint32();
|
|
2982
|
+
continue;
|
|
2983
|
+
}
|
|
2984
|
+
case 89: {
|
|
2985
|
+
if (tag !== 712) {
|
|
2986
|
+
break;
|
|
2987
|
+
}
|
|
2988
|
+
message.numberOfData = reader.uint32();
|
|
2989
|
+
continue;
|
|
2990
|
+
}
|
|
2991
|
+
case 90: {
|
|
2992
|
+
if (tag !== 720) {
|
|
2993
|
+
break;
|
|
2994
|
+
}
|
|
2995
|
+
message.rfidCom2 = longToNumber(reader.uint64());
|
|
2996
|
+
continue;
|
|
2997
|
+
}
|
|
2998
|
+
case 91: {
|
|
2999
|
+
if (tag !== 728) {
|
|
3000
|
+
break;
|
|
3001
|
+
}
|
|
3002
|
+
message.imsi = longToNumber(reader.uint64());
|
|
3003
|
+
continue;
|
|
3004
|
+
}
|
|
3005
|
+
case 92: {
|
|
3006
|
+
if (tag !== 736) {
|
|
3007
|
+
break;
|
|
3008
|
+
}
|
|
3009
|
+
message.ultrasonicFuelLevel1 = reader.sint32();
|
|
3010
|
+
continue;
|
|
3011
|
+
}
|
|
3012
|
+
case 93: {
|
|
3013
|
+
if (tag !== 744) {
|
|
3014
|
+
break;
|
|
3015
|
+
}
|
|
3016
|
+
message.ultrasonicFuelLevel2 = reader.sint32();
|
|
3017
|
+
continue;
|
|
3018
|
+
}
|
|
3019
|
+
case 94: {
|
|
3020
|
+
if (tag !== 752) {
|
|
3021
|
+
break;
|
|
3022
|
+
}
|
|
3023
|
+
message.ultrasonicSoftwareStatus1 = reader.uint32();
|
|
3024
|
+
continue;
|
|
3025
|
+
}
|
|
3026
|
+
case 95: {
|
|
3027
|
+
if (tag !== 760) {
|
|
3028
|
+
break;
|
|
3029
|
+
}
|
|
3030
|
+
message.ultrasonicSoftwareStatus2 = reader.uint32();
|
|
3031
|
+
continue;
|
|
3032
|
+
}
|
|
3033
|
+
case 96: {
|
|
3034
|
+
if (tag !== 768) {
|
|
3035
|
+
break;
|
|
3036
|
+
}
|
|
3037
|
+
message.oneWireHumidity1 = reader.uint32();
|
|
3038
|
+
continue;
|
|
3039
|
+
}
|
|
3040
|
+
case 97: {
|
|
3041
|
+
if (tag !== 776) {
|
|
3042
|
+
break;
|
|
3043
|
+
}
|
|
3044
|
+
message.oneWireHumidity2 = reader.uint32();
|
|
3045
|
+
continue;
|
|
3046
|
+
}
|
|
3047
|
+
case 98: {
|
|
3048
|
+
if (tag !== 784) {
|
|
3049
|
+
break;
|
|
3050
|
+
}
|
|
3051
|
+
message.oneWireHumidity3 = reader.uint32();
|
|
3052
|
+
continue;
|
|
3053
|
+
}
|
|
3054
|
+
case 99: {
|
|
3055
|
+
if (tag !== 792) {
|
|
3056
|
+
break;
|
|
3057
|
+
}
|
|
3058
|
+
message.oneWireHumidity4 = reader.uint32();
|
|
3059
|
+
continue;
|
|
3060
|
+
}
|
|
3061
|
+
case 100: {
|
|
3062
|
+
if (tag !== 800) {
|
|
3063
|
+
break;
|
|
3064
|
+
}
|
|
3065
|
+
message.oneWireHumidity5 = reader.uint32();
|
|
3066
|
+
continue;
|
|
3067
|
+
}
|
|
3068
|
+
case 101: {
|
|
3069
|
+
if (tag !== 808) {
|
|
3070
|
+
break;
|
|
3071
|
+
}
|
|
3072
|
+
message.oneWireHumidity6 = reader.uint32();
|
|
3073
|
+
continue;
|
|
3074
|
+
}
|
|
3075
|
+
case 102: {
|
|
3076
|
+
if (tag !== 816) {
|
|
3077
|
+
break;
|
|
3078
|
+
}
|
|
3079
|
+
message.imei = longToNumber(reader.uint64());
|
|
3080
|
+
continue;
|
|
3081
|
+
}
|
|
3082
|
+
case 103: {
|
|
3083
|
+
if (tag !== 824) {
|
|
3084
|
+
break;
|
|
3085
|
+
}
|
|
3086
|
+
message.noSimCounter = reader.uint32();
|
|
3087
|
+
continue;
|
|
3088
|
+
}
|
|
3089
|
+
case 104: {
|
|
3090
|
+
if (tag !== 832) {
|
|
3091
|
+
break;
|
|
3092
|
+
}
|
|
3093
|
+
message.connectivityQuality = reader.uint32();
|
|
3094
|
+
continue;
|
|
3095
|
+
}
|
|
2777
3096
|
}
|
|
2778
3097
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2779
3098
|
break;
|
|
@@ -2865,6 +3184,45 @@ exports.IoElement = {
|
|
|
2865
3184
|
realtime: isSet(object.realtime) ? globalThis.Boolean(object.realtime) : undefined,
|
|
2866
3185
|
positioning: isSet(object.positioning) ? globalThis.Boolean(object.positioning) : undefined,
|
|
2867
3186
|
adminPhoneNumber: isSet(object.admin_phone_number) ? globalThis.Number(object.admin_phone_number) : undefined,
|
|
3187
|
+
fuelCounter: isSet(object.fuel_counter) ? globalThis.Number(object.fuel_counter) : undefined,
|
|
3188
|
+
impulseFrequency1: isSet(object.impulse_frequency1) ? globalThis.Number(object.impulse_frequency1) : undefined,
|
|
3189
|
+
impulseCounter1: isSet(object.impulse_counter1) ? globalThis.Number(object.impulse_counter1) : undefined,
|
|
3190
|
+
impulseRpm1: isSet(object.impulse_rpm1) ? globalThis.Number(object.impulse_rpm1) : undefined,
|
|
3191
|
+
impulseFrequency2: isSet(object.impulse_frequency2) ? globalThis.Number(object.impulse_frequency2) : undefined,
|
|
3192
|
+
impulseCounter2: isSet(object.impulse_counter2) ? globalThis.Number(object.impulse_counter2) : undefined,
|
|
3193
|
+
impulseRpm2: isSet(object.impulse_rpm2) ? globalThis.Number(object.impulse_rpm2) : undefined,
|
|
3194
|
+
impulseFrequency3: isSet(object.impulse_frequency3) ? globalThis.Number(object.impulse_frequency3) : undefined,
|
|
3195
|
+
impulseCounter3: isSet(object.impulse_counter3) ? globalThis.Number(object.impulse_counter3) : undefined,
|
|
3196
|
+
impulseRpm3: isSet(object.impulse_rpm3) ? globalThis.Number(object.impulse_rpm3) : undefined,
|
|
3197
|
+
impulseFrequency4: isSet(object.impulse_frequency4) ? globalThis.Number(object.impulse_frequency4) : undefined,
|
|
3198
|
+
impulseCounter4: isSet(object.impulse_counter4) ? globalThis.Number(object.impulse_counter4) : undefined,
|
|
3199
|
+
impulseRpm4: isSet(object.impulse_rpm4) ? globalThis.Number(object.impulse_rpm4) : undefined,
|
|
3200
|
+
numberOfData: isSet(object.number_of_data) ? globalThis.Number(object.number_of_data) : undefined,
|
|
3201
|
+
rfidCom2: isSet(object.rfid_com_2) ? globalThis.Number(object.rfid_com_2) : undefined,
|
|
3202
|
+
imsi: isSet(object.imsi) ? globalThis.Number(object.imsi) : undefined,
|
|
3203
|
+
ultrasonicFuelLevel1: isSet(object.ultrasonic_fuel_level_1)
|
|
3204
|
+
? globalThis.Number(object.ultrasonic_fuel_level_1)
|
|
3205
|
+
: undefined,
|
|
3206
|
+
ultrasonicFuelLevel2: isSet(object.ultrasonic_fuel_level_2)
|
|
3207
|
+
? globalThis.Number(object.ultrasonic_fuel_level_2)
|
|
3208
|
+
: undefined,
|
|
3209
|
+
ultrasonicSoftwareStatus1: isSet(object.ultrasonic_software_status_1)
|
|
3210
|
+
? globalThis.Number(object.ultrasonic_software_status_1)
|
|
3211
|
+
: undefined,
|
|
3212
|
+
ultrasonicSoftwareStatus2: isSet(object.ultrasonic_software_status_2)
|
|
3213
|
+
? globalThis.Number(object.ultrasonic_software_status_2)
|
|
3214
|
+
: undefined,
|
|
3215
|
+
oneWireHumidity1: isSet(object.one_wire_humidity_1) ? globalThis.Number(object.one_wire_humidity_1) : undefined,
|
|
3216
|
+
oneWireHumidity2: isSet(object.one_wire_humidity_2) ? globalThis.Number(object.one_wire_humidity_2) : undefined,
|
|
3217
|
+
oneWireHumidity3: isSet(object.one_wire_humidity_3) ? globalThis.Number(object.one_wire_humidity_3) : undefined,
|
|
3218
|
+
oneWireHumidity4: isSet(object.one_wire_humidity_4) ? globalThis.Number(object.one_wire_humidity_4) : undefined,
|
|
3219
|
+
oneWireHumidity5: isSet(object.one_wire_humidity_5) ? globalThis.Number(object.one_wire_humidity_5) : undefined,
|
|
3220
|
+
oneWireHumidity6: isSet(object.one_wire_humidity_6) ? globalThis.Number(object.one_wire_humidity_6) : undefined,
|
|
3221
|
+
imei: isSet(object.imei) ? globalThis.Number(object.imei) : undefined,
|
|
3222
|
+
noSimCounter: isSet(object.no_sim_counter) ? globalThis.Number(object.no_sim_counter) : undefined,
|
|
3223
|
+
connectivityQuality: isSet(object.connectivity_quality)
|
|
3224
|
+
? globalThis.Number(object.connectivity_quality)
|
|
3225
|
+
: undefined,
|
|
2868
3226
|
};
|
|
2869
3227
|
},
|
|
2870
3228
|
toJSON(message) {
|
|
@@ -3094,13 +3452,100 @@ exports.IoElement = {
|
|
|
3094
3452
|
if (message.adminPhoneNumber !== undefined) {
|
|
3095
3453
|
obj.admin_phone_number = Math.round(message.adminPhoneNumber);
|
|
3096
3454
|
}
|
|
3455
|
+
if (message.fuelCounter !== undefined) {
|
|
3456
|
+
obj.fuel_counter = Math.round(message.fuelCounter);
|
|
3457
|
+
}
|
|
3458
|
+
if (message.impulseFrequency1 !== undefined) {
|
|
3459
|
+
obj.impulse_frequency1 = Math.round(message.impulseFrequency1);
|
|
3460
|
+
}
|
|
3461
|
+
if (message.impulseCounter1 !== undefined) {
|
|
3462
|
+
obj.impulse_counter1 = Math.round(message.impulseCounter1);
|
|
3463
|
+
}
|
|
3464
|
+
if (message.impulseRpm1 !== undefined) {
|
|
3465
|
+
obj.impulse_rpm1 = Math.round(message.impulseRpm1);
|
|
3466
|
+
}
|
|
3467
|
+
if (message.impulseFrequency2 !== undefined) {
|
|
3468
|
+
obj.impulse_frequency2 = Math.round(message.impulseFrequency2);
|
|
3469
|
+
}
|
|
3470
|
+
if (message.impulseCounter2 !== undefined) {
|
|
3471
|
+
obj.impulse_counter2 = Math.round(message.impulseCounter2);
|
|
3472
|
+
}
|
|
3473
|
+
if (message.impulseRpm2 !== undefined) {
|
|
3474
|
+
obj.impulse_rpm2 = Math.round(message.impulseRpm2);
|
|
3475
|
+
}
|
|
3476
|
+
if (message.impulseFrequency3 !== undefined) {
|
|
3477
|
+
obj.impulse_frequency3 = Math.round(message.impulseFrequency3);
|
|
3478
|
+
}
|
|
3479
|
+
if (message.impulseCounter3 !== undefined) {
|
|
3480
|
+
obj.impulse_counter3 = Math.round(message.impulseCounter3);
|
|
3481
|
+
}
|
|
3482
|
+
if (message.impulseRpm3 !== undefined) {
|
|
3483
|
+
obj.impulse_rpm3 = Math.round(message.impulseRpm3);
|
|
3484
|
+
}
|
|
3485
|
+
if (message.impulseFrequency4 !== undefined) {
|
|
3486
|
+
obj.impulse_frequency4 = Math.round(message.impulseFrequency4);
|
|
3487
|
+
}
|
|
3488
|
+
if (message.impulseCounter4 !== undefined) {
|
|
3489
|
+
obj.impulse_counter4 = Math.round(message.impulseCounter4);
|
|
3490
|
+
}
|
|
3491
|
+
if (message.impulseRpm4 !== undefined) {
|
|
3492
|
+
obj.impulse_rpm4 = Math.round(message.impulseRpm4);
|
|
3493
|
+
}
|
|
3494
|
+
if (message.numberOfData !== undefined) {
|
|
3495
|
+
obj.number_of_data = Math.round(message.numberOfData);
|
|
3496
|
+
}
|
|
3497
|
+
if (message.rfidCom2 !== undefined) {
|
|
3498
|
+
obj.rfid_com_2 = Math.round(message.rfidCom2);
|
|
3499
|
+
}
|
|
3500
|
+
if (message.imsi !== undefined) {
|
|
3501
|
+
obj.imsi = Math.round(message.imsi);
|
|
3502
|
+
}
|
|
3503
|
+
if (message.ultrasonicFuelLevel1 !== undefined) {
|
|
3504
|
+
obj.ultrasonic_fuel_level_1 = Math.round(message.ultrasonicFuelLevel1);
|
|
3505
|
+
}
|
|
3506
|
+
if (message.ultrasonicFuelLevel2 !== undefined) {
|
|
3507
|
+
obj.ultrasonic_fuel_level_2 = Math.round(message.ultrasonicFuelLevel2);
|
|
3508
|
+
}
|
|
3509
|
+
if (message.ultrasonicSoftwareStatus1 !== undefined) {
|
|
3510
|
+
obj.ultrasonic_software_status_1 = Math.round(message.ultrasonicSoftwareStatus1);
|
|
3511
|
+
}
|
|
3512
|
+
if (message.ultrasonicSoftwareStatus2 !== undefined) {
|
|
3513
|
+
obj.ultrasonic_software_status_2 = Math.round(message.ultrasonicSoftwareStatus2);
|
|
3514
|
+
}
|
|
3515
|
+
if (message.oneWireHumidity1 !== undefined) {
|
|
3516
|
+
obj.one_wire_humidity_1 = Math.round(message.oneWireHumidity1);
|
|
3517
|
+
}
|
|
3518
|
+
if (message.oneWireHumidity2 !== undefined) {
|
|
3519
|
+
obj.one_wire_humidity_2 = Math.round(message.oneWireHumidity2);
|
|
3520
|
+
}
|
|
3521
|
+
if (message.oneWireHumidity3 !== undefined) {
|
|
3522
|
+
obj.one_wire_humidity_3 = Math.round(message.oneWireHumidity3);
|
|
3523
|
+
}
|
|
3524
|
+
if (message.oneWireHumidity4 !== undefined) {
|
|
3525
|
+
obj.one_wire_humidity_4 = Math.round(message.oneWireHumidity4);
|
|
3526
|
+
}
|
|
3527
|
+
if (message.oneWireHumidity5 !== undefined) {
|
|
3528
|
+
obj.one_wire_humidity_5 = Math.round(message.oneWireHumidity5);
|
|
3529
|
+
}
|
|
3530
|
+
if (message.oneWireHumidity6 !== undefined) {
|
|
3531
|
+
obj.one_wire_humidity_6 = Math.round(message.oneWireHumidity6);
|
|
3532
|
+
}
|
|
3533
|
+
if (message.imei !== undefined) {
|
|
3534
|
+
obj.imei = Math.round(message.imei);
|
|
3535
|
+
}
|
|
3536
|
+
if (message.noSimCounter !== undefined) {
|
|
3537
|
+
obj.no_sim_counter = Math.round(message.noSimCounter);
|
|
3538
|
+
}
|
|
3539
|
+
if (message.connectivityQuality !== undefined) {
|
|
3540
|
+
obj.connectivity_quality = Math.round(message.connectivityQuality);
|
|
3541
|
+
}
|
|
3097
3542
|
return obj;
|
|
3098
3543
|
},
|
|
3099
3544
|
create(base) {
|
|
3100
3545
|
return exports.IoElement.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3101
3546
|
},
|
|
3102
3547
|
fromPartial(object) {
|
|
3103
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _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;
|
|
3548
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _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;
|
|
3104
3549
|
const message = createBaseIoElement();
|
|
3105
3550
|
message.gsm = (_a = object.gsm) !== null && _a !== void 0 ? _a : undefined;
|
|
3106
3551
|
message.sleepMode = (_b = object.sleepMode) !== null && _b !== void 0 ? _b : undefined;
|
|
@@ -3183,6 +3628,35 @@ exports.IoElement = {
|
|
|
3183
3628
|
message.realtime = (_42 = object.realtime) !== null && _42 !== void 0 ? _42 : undefined;
|
|
3184
3629
|
message.positioning = (_43 = object.positioning) !== null && _43 !== void 0 ? _43 : undefined;
|
|
3185
3630
|
message.adminPhoneNumber = (_44 = object.adminPhoneNumber) !== null && _44 !== void 0 ? _44 : undefined;
|
|
3631
|
+
message.fuelCounter = (_45 = object.fuelCounter) !== null && _45 !== void 0 ? _45 : undefined;
|
|
3632
|
+
message.impulseFrequency1 = (_46 = object.impulseFrequency1) !== null && _46 !== void 0 ? _46 : undefined;
|
|
3633
|
+
message.impulseCounter1 = (_47 = object.impulseCounter1) !== null && _47 !== void 0 ? _47 : undefined;
|
|
3634
|
+
message.impulseRpm1 = (_48 = object.impulseRpm1) !== null && _48 !== void 0 ? _48 : undefined;
|
|
3635
|
+
message.impulseFrequency2 = (_49 = object.impulseFrequency2) !== null && _49 !== void 0 ? _49 : undefined;
|
|
3636
|
+
message.impulseCounter2 = (_50 = object.impulseCounter2) !== null && _50 !== void 0 ? _50 : undefined;
|
|
3637
|
+
message.impulseRpm2 = (_51 = object.impulseRpm2) !== null && _51 !== void 0 ? _51 : undefined;
|
|
3638
|
+
message.impulseFrequency3 = (_52 = object.impulseFrequency3) !== null && _52 !== void 0 ? _52 : undefined;
|
|
3639
|
+
message.impulseCounter3 = (_53 = object.impulseCounter3) !== null && _53 !== void 0 ? _53 : undefined;
|
|
3640
|
+
message.impulseRpm3 = (_54 = object.impulseRpm3) !== null && _54 !== void 0 ? _54 : undefined;
|
|
3641
|
+
message.impulseFrequency4 = (_55 = object.impulseFrequency4) !== null && _55 !== void 0 ? _55 : undefined;
|
|
3642
|
+
message.impulseCounter4 = (_56 = object.impulseCounter4) !== null && _56 !== void 0 ? _56 : undefined;
|
|
3643
|
+
message.impulseRpm4 = (_57 = object.impulseRpm4) !== null && _57 !== void 0 ? _57 : undefined;
|
|
3644
|
+
message.numberOfData = (_58 = object.numberOfData) !== null && _58 !== void 0 ? _58 : undefined;
|
|
3645
|
+
message.rfidCom2 = (_59 = object.rfidCom2) !== null && _59 !== void 0 ? _59 : undefined;
|
|
3646
|
+
message.imsi = (_60 = object.imsi) !== null && _60 !== void 0 ? _60 : undefined;
|
|
3647
|
+
message.ultrasonicFuelLevel1 = (_61 = object.ultrasonicFuelLevel1) !== null && _61 !== void 0 ? _61 : undefined;
|
|
3648
|
+
message.ultrasonicFuelLevel2 = (_62 = object.ultrasonicFuelLevel2) !== null && _62 !== void 0 ? _62 : undefined;
|
|
3649
|
+
message.ultrasonicSoftwareStatus1 = (_63 = object.ultrasonicSoftwareStatus1) !== null && _63 !== void 0 ? _63 : undefined;
|
|
3650
|
+
message.ultrasonicSoftwareStatus2 = (_64 = object.ultrasonicSoftwareStatus2) !== null && _64 !== void 0 ? _64 : undefined;
|
|
3651
|
+
message.oneWireHumidity1 = (_65 = object.oneWireHumidity1) !== null && _65 !== void 0 ? _65 : undefined;
|
|
3652
|
+
message.oneWireHumidity2 = (_66 = object.oneWireHumidity2) !== null && _66 !== void 0 ? _66 : undefined;
|
|
3653
|
+
message.oneWireHumidity3 = (_67 = object.oneWireHumidity3) !== null && _67 !== void 0 ? _67 : undefined;
|
|
3654
|
+
message.oneWireHumidity4 = (_68 = object.oneWireHumidity4) !== null && _68 !== void 0 ? _68 : undefined;
|
|
3655
|
+
message.oneWireHumidity5 = (_69 = object.oneWireHumidity5) !== null && _69 !== void 0 ? _69 : undefined;
|
|
3656
|
+
message.oneWireHumidity6 = (_70 = object.oneWireHumidity6) !== null && _70 !== void 0 ? _70 : undefined;
|
|
3657
|
+
message.imei = (_71 = object.imei) !== null && _71 !== void 0 ? _71 : undefined;
|
|
3658
|
+
message.noSimCounter = (_72 = object.noSimCounter) !== null && _72 !== void 0 ? _72 : undefined;
|
|
3659
|
+
message.connectivityQuality = (_73 = object.connectivityQuality) !== null && _73 !== void 0 ? _73 : undefined;
|
|
3186
3660
|
return message;
|
|
3187
3661
|
},
|
|
3188
3662
|
};
|
|
@@ -3196,6 +3670,10 @@ function createBaseIoElement_DallasTemperature() {
|
|
|
3196
3670
|
dallasTemperatureId2: undefined,
|
|
3197
3671
|
dallasTemperatureId3: undefined,
|
|
3198
3672
|
dallasTemperatureId4: undefined,
|
|
3673
|
+
dallasTemperature5: undefined,
|
|
3674
|
+
dallasTemperature6: undefined,
|
|
3675
|
+
dallasTemperatureId5: undefined,
|
|
3676
|
+
dallasTemperatureId6: undefined,
|
|
3199
3677
|
};
|
|
3200
3678
|
}
|
|
3201
3679
|
exports.IoElement_DallasTemperature = {
|
|
@@ -3224,6 +3702,18 @@ exports.IoElement_DallasTemperature = {
|
|
|
3224
3702
|
if (message.dallasTemperatureId4 !== undefined) {
|
|
3225
3703
|
writer.uint32(64).uint64(message.dallasTemperatureId4);
|
|
3226
3704
|
}
|
|
3705
|
+
if (message.dallasTemperature5 !== undefined) {
|
|
3706
|
+
writer.uint32(72).int32(message.dallasTemperature5);
|
|
3707
|
+
}
|
|
3708
|
+
if (message.dallasTemperature6 !== undefined) {
|
|
3709
|
+
writer.uint32(80).int32(message.dallasTemperature6);
|
|
3710
|
+
}
|
|
3711
|
+
if (message.dallasTemperatureId5 !== undefined) {
|
|
3712
|
+
writer.uint32(88).uint64(message.dallasTemperatureId5);
|
|
3713
|
+
}
|
|
3714
|
+
if (message.dallasTemperatureId6 !== undefined) {
|
|
3715
|
+
writer.uint32(96).uint64(message.dallasTemperatureId6);
|
|
3716
|
+
}
|
|
3227
3717
|
return writer;
|
|
3228
3718
|
},
|
|
3229
3719
|
decode(input, length) {
|
|
@@ -3289,6 +3779,34 @@ exports.IoElement_DallasTemperature = {
|
|
|
3289
3779
|
message.dallasTemperatureId4 = longToNumber(reader.uint64());
|
|
3290
3780
|
continue;
|
|
3291
3781
|
}
|
|
3782
|
+
case 9: {
|
|
3783
|
+
if (tag !== 72) {
|
|
3784
|
+
break;
|
|
3785
|
+
}
|
|
3786
|
+
message.dallasTemperature5 = reader.int32();
|
|
3787
|
+
continue;
|
|
3788
|
+
}
|
|
3789
|
+
case 10: {
|
|
3790
|
+
if (tag !== 80) {
|
|
3791
|
+
break;
|
|
3792
|
+
}
|
|
3793
|
+
message.dallasTemperature6 = reader.int32();
|
|
3794
|
+
continue;
|
|
3795
|
+
}
|
|
3796
|
+
case 11: {
|
|
3797
|
+
if (tag !== 88) {
|
|
3798
|
+
break;
|
|
3799
|
+
}
|
|
3800
|
+
message.dallasTemperatureId5 = longToNumber(reader.uint64());
|
|
3801
|
+
continue;
|
|
3802
|
+
}
|
|
3803
|
+
case 12: {
|
|
3804
|
+
if (tag !== 96) {
|
|
3805
|
+
break;
|
|
3806
|
+
}
|
|
3807
|
+
message.dallasTemperatureId6 = longToNumber(reader.uint64());
|
|
3808
|
+
continue;
|
|
3809
|
+
}
|
|
3292
3810
|
}
|
|
3293
3811
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3294
3812
|
break;
|
|
@@ -3323,7 +3841,19 @@ exports.IoElement_DallasTemperature = {
|
|
|
3323
3841
|
dallasTemperatureId4: isSet(object.dallas_temperature_id_4)
|
|
3324
3842
|
? globalThis.Number(object.dallas_temperature_id_4)
|
|
3325
3843
|
: undefined,
|
|
3326
|
-
|
|
3844
|
+
dallasTemperature5: isSet(object.dallas_temperature_5)
|
|
3845
|
+
? globalThis.Number(object.dallas_temperature_5)
|
|
3846
|
+
: undefined,
|
|
3847
|
+
dallasTemperature6: isSet(object.dallas_temperature_6)
|
|
3848
|
+
? globalThis.Number(object.dallas_temperature_6)
|
|
3849
|
+
: undefined,
|
|
3850
|
+
dallasTemperatureId5: isSet(object.dallas_temperature_id_5)
|
|
3851
|
+
? globalThis.Number(object.dallas_temperature_id_5)
|
|
3852
|
+
: undefined,
|
|
3853
|
+
dallasTemperatureId6: isSet(object.dallas_temperature_id_6)
|
|
3854
|
+
? globalThis.Number(object.dallas_temperature_id_6)
|
|
3855
|
+
: undefined,
|
|
3856
|
+
};
|
|
3327
3857
|
},
|
|
3328
3858
|
toJSON(message) {
|
|
3329
3859
|
const obj = {};
|
|
@@ -3351,13 +3881,25 @@ exports.IoElement_DallasTemperature = {
|
|
|
3351
3881
|
if (message.dallasTemperatureId4 !== undefined) {
|
|
3352
3882
|
obj.dallas_temperature_id_4 = Math.round(message.dallasTemperatureId4);
|
|
3353
3883
|
}
|
|
3884
|
+
if (message.dallasTemperature5 !== undefined) {
|
|
3885
|
+
obj.dallas_temperature_5 = Math.round(message.dallasTemperature5);
|
|
3886
|
+
}
|
|
3887
|
+
if (message.dallasTemperature6 !== undefined) {
|
|
3888
|
+
obj.dallas_temperature_6 = Math.round(message.dallasTemperature6);
|
|
3889
|
+
}
|
|
3890
|
+
if (message.dallasTemperatureId5 !== undefined) {
|
|
3891
|
+
obj.dallas_temperature_id_5 = Math.round(message.dallasTemperatureId5);
|
|
3892
|
+
}
|
|
3893
|
+
if (message.dallasTemperatureId6 !== undefined) {
|
|
3894
|
+
obj.dallas_temperature_id_6 = Math.round(message.dallasTemperatureId6);
|
|
3895
|
+
}
|
|
3354
3896
|
return obj;
|
|
3355
3897
|
},
|
|
3356
3898
|
create(base) {
|
|
3357
3899
|
return exports.IoElement_DallasTemperature.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3358
3900
|
},
|
|
3359
3901
|
fromPartial(object) {
|
|
3360
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3902
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
3361
3903
|
const message = createBaseIoElement_DallasTemperature();
|
|
3362
3904
|
message.dallasTemperature1 = (_a = object.dallasTemperature1) !== null && _a !== void 0 ? _a : undefined;
|
|
3363
3905
|
message.dallasTemperature2 = (_b = object.dallasTemperature2) !== null && _b !== void 0 ? _b : undefined;
|
|
@@ -3367,6 +3909,10 @@ exports.IoElement_DallasTemperature = {
|
|
|
3367
3909
|
message.dallasTemperatureId2 = (_f = object.dallasTemperatureId2) !== null && _f !== void 0 ? _f : undefined;
|
|
3368
3910
|
message.dallasTemperatureId3 = (_g = object.dallasTemperatureId3) !== null && _g !== void 0 ? _g : undefined;
|
|
3369
3911
|
message.dallasTemperatureId4 = (_h = object.dallasTemperatureId4) !== null && _h !== void 0 ? _h : undefined;
|
|
3912
|
+
message.dallasTemperature5 = (_j = object.dallasTemperature5) !== null && _j !== void 0 ? _j : undefined;
|
|
3913
|
+
message.dallasTemperature6 = (_k = object.dallasTemperature6) !== null && _k !== void 0 ? _k : undefined;
|
|
3914
|
+
message.dallasTemperatureId5 = (_l = object.dallasTemperatureId5) !== null && _l !== void 0 ? _l : undefined;
|
|
3915
|
+
message.dallasTemperatureId6 = (_m = object.dallasTemperatureId6) !== null && _m !== void 0 ? _m : undefined;
|
|
3370
3916
|
return message;
|
|
3371
3917
|
},
|
|
3372
3918
|
};
|
|
@@ -4848,6 +5394,7 @@ function createBaseEventualIoElements() {
|
|
|
4848
5394
|
crashTraceData: undefined,
|
|
4849
5395
|
bloodAlcoholContent: undefined,
|
|
4850
5396
|
autoGeoFence: undefined,
|
|
5397
|
+
iccId3: undefined,
|
|
4851
5398
|
};
|
|
4852
5399
|
}
|
|
4853
5400
|
exports.EventualIoElements = {
|
|
@@ -5068,6 +5615,9 @@ exports.EventualIoElements = {
|
|
|
5068
5615
|
if (message.autoGeoFence !== undefined) {
|
|
5069
5616
|
writer.uint32(576).bool(message.autoGeoFence);
|
|
5070
5617
|
}
|
|
5618
|
+
if (message.iccId3 !== undefined) {
|
|
5619
|
+
writer.uint32(584).uint64(message.iccId3);
|
|
5620
|
+
}
|
|
5071
5621
|
return writer;
|
|
5072
5622
|
},
|
|
5073
5623
|
decode(input, length) {
|
|
@@ -5581,6 +6131,13 @@ exports.EventualIoElements = {
|
|
|
5581
6131
|
message.autoGeoFence = reader.bool();
|
|
5582
6132
|
continue;
|
|
5583
6133
|
}
|
|
6134
|
+
case 73: {
|
|
6135
|
+
if (tag !== 584) {
|
|
6136
|
+
break;
|
|
6137
|
+
}
|
|
6138
|
+
message.iccId3 = longToNumber(reader.uint64());
|
|
6139
|
+
continue;
|
|
6140
|
+
}
|
|
5584
6141
|
}
|
|
5585
6142
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5586
6143
|
break;
|
|
@@ -5769,6 +6326,7 @@ exports.EventualIoElements = {
|
|
|
5769
6326
|
? globalThis.Number(object.blood_alcohol_content)
|
|
5770
6327
|
: undefined,
|
|
5771
6328
|
autoGeoFence: isSet(object.auto_geo_fence) ? globalThis.Boolean(object.auto_geo_fence) : undefined,
|
|
6329
|
+
iccId3: isSet(object.icc_id_3) ? globalThis.Number(object.icc_id_3) : undefined,
|
|
5772
6330
|
};
|
|
5773
6331
|
},
|
|
5774
6332
|
toJSON(message) {
|
|
@@ -5989,13 +6547,16 @@ exports.EventualIoElements = {
|
|
|
5989
6547
|
if (message.autoGeoFence !== undefined) {
|
|
5990
6548
|
obj.auto_geo_fence = message.autoGeoFence;
|
|
5991
6549
|
}
|
|
6550
|
+
if (message.iccId3 !== undefined) {
|
|
6551
|
+
obj.icc_id_3 = Math.round(message.iccId3);
|
|
6552
|
+
}
|
|
5992
6553
|
return obj;
|
|
5993
6554
|
},
|
|
5994
6555
|
create(base) {
|
|
5995
6556
|
return exports.EventualIoElements.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
5996
6557
|
},
|
|
5997
6558
|
fromPartial(object) {
|
|
5998
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _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;
|
|
6559
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _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;
|
|
5999
6560
|
const message = createBaseEventualIoElements();
|
|
6000
6561
|
message.geoFenceZone01 = (_a = object.geoFenceZone01) !== null && _a !== void 0 ? _a : undefined;
|
|
6001
6562
|
message.geoFenceZone02 = (_b = object.geoFenceZone02) !== null && _b !== void 0 ? _b : undefined;
|
|
@@ -6069,6 +6630,7 @@ exports.EventualIoElements = {
|
|
|
6069
6630
|
message.crashTraceData = (_45 = object.crashTraceData) !== null && _45 !== void 0 ? _45 : undefined;
|
|
6070
6631
|
message.bloodAlcoholContent = (_46 = object.bloodAlcoholContent) !== null && _46 !== void 0 ? _46 : undefined;
|
|
6071
6632
|
message.autoGeoFence = (_47 = object.autoGeoFence) !== null && _47 !== void 0 ? _47 : undefined;
|
|
6633
|
+
message.iccId3 = (_48 = object.iccId3) !== null && _48 !== void 0 ? _48 : undefined;
|
|
6072
6634
|
return message;
|
|
6073
6635
|
},
|
|
6074
6636
|
};
|
|
@@ -6602,235 +7164,1187 @@ exports.ObdElements = {
|
|
|
6602
7164
|
controlModuleVoltage: isSet(object.control_module_voltage)
|
|
6603
7165
|
? globalThis.Number(object.control_module_voltage)
|
|
6604
7166
|
: undefined,
|
|
6605
|
-
absoluteLoadValue: isSet(object.absolute_load_value) ? globalThis.Number(object.absolute_load_value) : undefined,
|
|
6606
|
-
fuelType: isSet(object.fuel_type) ? globalThis.Number(object.fuel_type) : undefined,
|
|
7167
|
+
absoluteLoadValue: isSet(object.absolute_load_value) ? globalThis.Number(object.absolute_load_value) : undefined,
|
|
7168
|
+
fuelType: isSet(object.fuel_type) ? globalThis.Number(object.fuel_type) : undefined,
|
|
7169
|
+
ambientAirTemperature: isSet(object.ambient_air_temperature)
|
|
7170
|
+
? globalThis.Number(object.ambient_air_temperature)
|
|
7171
|
+
: undefined,
|
|
7172
|
+
timeRunWithMilOn: isSet(object.time_run_with_mil_on) ? globalThis.Number(object.time_run_with_mil_on) : undefined,
|
|
7173
|
+
timeSinceCodesCleared: isSet(object.time_since_codes_cleared)
|
|
7174
|
+
? globalThis.Number(object.time_since_codes_cleared)
|
|
7175
|
+
: undefined,
|
|
7176
|
+
absoluteFuelRailPressure: isSet(object.absolute_fuel_rail_pressure)
|
|
7177
|
+
? globalThis.Number(object.absolute_fuel_rail_pressure)
|
|
7178
|
+
: undefined,
|
|
7179
|
+
hybridBatteryPackLife: isSet(object.hybrid_battery_pack_life)
|
|
7180
|
+
? globalThis.Number(object.hybrid_battery_pack_life)
|
|
7181
|
+
: undefined,
|
|
7182
|
+
engineOilTemperature: isSet(object.engine_oil_temperature)
|
|
7183
|
+
? globalThis.Number(object.engine_oil_temperature)
|
|
7184
|
+
: undefined,
|
|
7185
|
+
fuelInjectionTiming: isSet(object.fuel_injection_timing)
|
|
7186
|
+
? globalThis.Number(object.fuel_injection_timing)
|
|
7187
|
+
: undefined,
|
|
7188
|
+
throttlePositionGroup: isSet(object.throttle_position_group)
|
|
7189
|
+
? globalThis.Number(object.throttle_position_group)
|
|
7190
|
+
: undefined,
|
|
7191
|
+
commandedEquivalenceR: isSet(object.commanded_equivalence_r)
|
|
7192
|
+
? globalThis.Number(object.commanded_equivalence_r)
|
|
7193
|
+
: undefined,
|
|
7194
|
+
intakeMap2Bytes: isSet(object.intake_map_2_bytes) ? globalThis.Number(object.intake_map_2_bytes) : undefined,
|
|
7195
|
+
hybridSystemVoltage: isSet(object.hybrid_system_voltage)
|
|
7196
|
+
? globalThis.Number(object.hybrid_system_voltage)
|
|
7197
|
+
: undefined,
|
|
7198
|
+
hybridSystemCurrent: isSet(object.hybrid_system_current)
|
|
7199
|
+
? globalThis.Number(object.hybrid_system_current)
|
|
7200
|
+
: undefined,
|
|
7201
|
+
faultCodes: isSet(object.fault_codes) ? globalThis.String(object.fault_codes) : undefined,
|
|
7202
|
+
ecuBreakSwitch: isSet(object.ecu_break_switch) ? globalThis.Boolean(object.ecu_break_switch) : undefined,
|
|
7203
|
+
coolantTemperature: isSet(object.coolant_temperature) ? globalThis.Number(object.coolant_temperature) : undefined,
|
|
7204
|
+
numberOfDtc: isSet(object.number_of_dtc) ? globalThis.Number(object.number_of_dtc) : undefined,
|
|
7205
|
+
engineLoad: isSet(object.engine_load) ? globalThis.Number(object.engine_load) : undefined,
|
|
7206
|
+
engineRpm: isSet(object.engine_rpm) ? globalThis.Number(object.engine_rpm) : undefined,
|
|
7207
|
+
fuelLevel: isSet(object.fuel_level) ? globalThis.Number(object.fuel_level) : undefined,
|
|
7208
|
+
fuelRate: isSet(object.fuel_rate) ? globalThis.Number(object.fuel_rate) : undefined,
|
|
7209
|
+
tirePressure: isSet(object.tire_pressure) ? globalThis.Number(object.tire_pressure) : undefined,
|
|
7210
|
+
analog: isSet(object.analog) ? globalThis.Number(object.analog) : undefined,
|
|
7211
|
+
oil: isSet(object.oil) ? globalThis.Number(object.oil) : undefined,
|
|
7212
|
+
};
|
|
7213
|
+
},
|
|
7214
|
+
toJSON(message) {
|
|
7215
|
+
const obj = {};
|
|
7216
|
+
if (message.vin !== undefined) {
|
|
7217
|
+
obj.vin = message.vin;
|
|
7218
|
+
}
|
|
7219
|
+
if (message.shortFuelTrim !== undefined) {
|
|
7220
|
+
obj.short_fuel_trim = Math.round(message.shortFuelTrim);
|
|
7221
|
+
}
|
|
7222
|
+
if (message.fuelPressure !== undefined) {
|
|
7223
|
+
obj.fuel_pressure = Math.round(message.fuelPressure);
|
|
7224
|
+
}
|
|
7225
|
+
if (message.intakeMap !== undefined) {
|
|
7226
|
+
obj.intake_map = Math.round(message.intakeMap);
|
|
7227
|
+
}
|
|
7228
|
+
if (message.vehicleSpeed !== undefined) {
|
|
7229
|
+
obj.vehicle_speed = Math.round(message.vehicleSpeed);
|
|
7230
|
+
}
|
|
7231
|
+
if (message.timingAdvance !== undefined) {
|
|
7232
|
+
obj.timing_advance = Math.round(message.timingAdvance);
|
|
7233
|
+
}
|
|
7234
|
+
if (message.intakeAirTemperature !== undefined) {
|
|
7235
|
+
obj.intake_air_temperature = Math.round(message.intakeAirTemperature);
|
|
7236
|
+
}
|
|
7237
|
+
if (message.maf !== undefined) {
|
|
7238
|
+
obj.maf = Math.round(message.maf);
|
|
7239
|
+
}
|
|
7240
|
+
if (message.throttlePosition !== undefined) {
|
|
7241
|
+
obj.throttle_position = Math.round(message.throttlePosition);
|
|
7242
|
+
}
|
|
7243
|
+
if (message.runtimeSinceEngineStart !== undefined) {
|
|
7244
|
+
obj.runtime_since_engine_start = Math.round(message.runtimeSinceEngineStart);
|
|
7245
|
+
}
|
|
7246
|
+
if (message.distanceTraveledMilOn !== undefined) {
|
|
7247
|
+
obj.distance_traveled_mil_on = Math.round(message.distanceTraveledMilOn);
|
|
7248
|
+
}
|
|
7249
|
+
if (message.relativeFuelRailPressure !== undefined) {
|
|
7250
|
+
obj.relative_fuel_rail_pressure = Math.round(message.relativeFuelRailPressure);
|
|
7251
|
+
}
|
|
7252
|
+
if (message.directFuelRailPressure !== undefined) {
|
|
7253
|
+
obj.direct_fuel_rail_pressure = Math.round(message.directFuelRailPressure);
|
|
7254
|
+
}
|
|
7255
|
+
if (message.commandedEgr !== undefined) {
|
|
7256
|
+
obj.commanded_egr = Math.round(message.commandedEgr);
|
|
7257
|
+
}
|
|
7258
|
+
if (message.egrError !== undefined) {
|
|
7259
|
+
obj.egr_error = Math.round(message.egrError);
|
|
7260
|
+
}
|
|
7261
|
+
if (message.distanceSinceCodesClear !== undefined) {
|
|
7262
|
+
obj.distance_since_codes_clear = Math.round(message.distanceSinceCodesClear);
|
|
7263
|
+
}
|
|
7264
|
+
if (message.barometricPressure !== undefined) {
|
|
7265
|
+
obj.barometric_pressure = Math.round(message.barometricPressure);
|
|
7266
|
+
}
|
|
7267
|
+
if (message.controlModuleVoltage !== undefined) {
|
|
7268
|
+
obj.control_module_voltage = Math.round(message.controlModuleVoltage);
|
|
7269
|
+
}
|
|
7270
|
+
if (message.absoluteLoadValue !== undefined) {
|
|
7271
|
+
obj.absolute_load_value = Math.round(message.absoluteLoadValue);
|
|
7272
|
+
}
|
|
7273
|
+
if (message.fuelType !== undefined) {
|
|
7274
|
+
obj.fuel_type = Math.round(message.fuelType);
|
|
7275
|
+
}
|
|
7276
|
+
if (message.ambientAirTemperature !== undefined) {
|
|
7277
|
+
obj.ambient_air_temperature = Math.round(message.ambientAirTemperature);
|
|
7278
|
+
}
|
|
7279
|
+
if (message.timeRunWithMilOn !== undefined) {
|
|
7280
|
+
obj.time_run_with_mil_on = Math.round(message.timeRunWithMilOn);
|
|
7281
|
+
}
|
|
7282
|
+
if (message.timeSinceCodesCleared !== undefined) {
|
|
7283
|
+
obj.time_since_codes_cleared = Math.round(message.timeSinceCodesCleared);
|
|
7284
|
+
}
|
|
7285
|
+
if (message.absoluteFuelRailPressure !== undefined) {
|
|
7286
|
+
obj.absolute_fuel_rail_pressure = Math.round(message.absoluteFuelRailPressure);
|
|
7287
|
+
}
|
|
7288
|
+
if (message.hybridBatteryPackLife !== undefined) {
|
|
7289
|
+
obj.hybrid_battery_pack_life = Math.round(message.hybridBatteryPackLife);
|
|
7290
|
+
}
|
|
7291
|
+
if (message.engineOilTemperature !== undefined) {
|
|
7292
|
+
obj.engine_oil_temperature = Math.round(message.engineOilTemperature);
|
|
7293
|
+
}
|
|
7294
|
+
if (message.fuelInjectionTiming !== undefined) {
|
|
7295
|
+
obj.fuel_injection_timing = Math.round(message.fuelInjectionTiming);
|
|
7296
|
+
}
|
|
7297
|
+
if (message.throttlePositionGroup !== undefined) {
|
|
7298
|
+
obj.throttle_position_group = Math.round(message.throttlePositionGroup);
|
|
7299
|
+
}
|
|
7300
|
+
if (message.commandedEquivalenceR !== undefined) {
|
|
7301
|
+
obj.commanded_equivalence_r = Math.round(message.commandedEquivalenceR);
|
|
7302
|
+
}
|
|
7303
|
+
if (message.intakeMap2Bytes !== undefined) {
|
|
7304
|
+
obj.intake_map_2_bytes = Math.round(message.intakeMap2Bytes);
|
|
7305
|
+
}
|
|
7306
|
+
if (message.hybridSystemVoltage !== undefined) {
|
|
7307
|
+
obj.hybrid_system_voltage = Math.round(message.hybridSystemVoltage);
|
|
7308
|
+
}
|
|
7309
|
+
if (message.hybridSystemCurrent !== undefined) {
|
|
7310
|
+
obj.hybrid_system_current = Math.round(message.hybridSystemCurrent);
|
|
7311
|
+
}
|
|
7312
|
+
if (message.faultCodes !== undefined) {
|
|
7313
|
+
obj.fault_codes = message.faultCodes;
|
|
7314
|
+
}
|
|
7315
|
+
if (message.ecuBreakSwitch !== undefined) {
|
|
7316
|
+
obj.ecu_break_switch = message.ecuBreakSwitch;
|
|
7317
|
+
}
|
|
7318
|
+
if (message.coolantTemperature !== undefined) {
|
|
7319
|
+
obj.coolant_temperature = Math.round(message.coolantTemperature);
|
|
7320
|
+
}
|
|
7321
|
+
if (message.numberOfDtc !== undefined) {
|
|
7322
|
+
obj.number_of_dtc = Math.round(message.numberOfDtc);
|
|
7323
|
+
}
|
|
7324
|
+
if (message.engineLoad !== undefined) {
|
|
7325
|
+
obj.engine_load = Math.round(message.engineLoad);
|
|
7326
|
+
}
|
|
7327
|
+
if (message.engineRpm !== undefined) {
|
|
7328
|
+
obj.engine_rpm = Math.round(message.engineRpm);
|
|
7329
|
+
}
|
|
7330
|
+
if (message.fuelLevel !== undefined) {
|
|
7331
|
+
obj.fuel_level = Math.round(message.fuelLevel);
|
|
7332
|
+
}
|
|
7333
|
+
if (message.fuelRate !== undefined) {
|
|
7334
|
+
obj.fuel_rate = Math.round(message.fuelRate);
|
|
7335
|
+
}
|
|
7336
|
+
if (message.tirePressure !== undefined) {
|
|
7337
|
+
obj.tire_pressure = Math.round(message.tirePressure);
|
|
7338
|
+
}
|
|
7339
|
+
if (message.analog !== undefined) {
|
|
7340
|
+
obj.analog = Math.round(message.analog);
|
|
7341
|
+
}
|
|
7342
|
+
if (message.oil !== undefined) {
|
|
7343
|
+
obj.oil = Math.round(message.oil);
|
|
7344
|
+
}
|
|
7345
|
+
return obj;
|
|
7346
|
+
},
|
|
7347
|
+
create(base) {
|
|
7348
|
+
return exports.ObdElements.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
7349
|
+
},
|
|
7350
|
+
fromPartial(object) {
|
|
7351
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18;
|
|
7352
|
+
const message = createBaseObdElements();
|
|
7353
|
+
message.vin = (_a = object.vin) !== null && _a !== void 0 ? _a : undefined;
|
|
7354
|
+
message.shortFuelTrim = (_b = object.shortFuelTrim) !== null && _b !== void 0 ? _b : undefined;
|
|
7355
|
+
message.fuelPressure = (_c = object.fuelPressure) !== null && _c !== void 0 ? _c : undefined;
|
|
7356
|
+
message.intakeMap = (_d = object.intakeMap) !== null && _d !== void 0 ? _d : undefined;
|
|
7357
|
+
message.vehicleSpeed = (_e = object.vehicleSpeed) !== null && _e !== void 0 ? _e : undefined;
|
|
7358
|
+
message.timingAdvance = (_f = object.timingAdvance) !== null && _f !== void 0 ? _f : undefined;
|
|
7359
|
+
message.intakeAirTemperature = (_g = object.intakeAirTemperature) !== null && _g !== void 0 ? _g : undefined;
|
|
7360
|
+
message.maf = (_h = object.maf) !== null && _h !== void 0 ? _h : undefined;
|
|
7361
|
+
message.throttlePosition = (_j = object.throttlePosition) !== null && _j !== void 0 ? _j : undefined;
|
|
7362
|
+
message.runtimeSinceEngineStart = (_k = object.runtimeSinceEngineStart) !== null && _k !== void 0 ? _k : undefined;
|
|
7363
|
+
message.distanceTraveledMilOn = (_l = object.distanceTraveledMilOn) !== null && _l !== void 0 ? _l : undefined;
|
|
7364
|
+
message.relativeFuelRailPressure = (_m = object.relativeFuelRailPressure) !== null && _m !== void 0 ? _m : undefined;
|
|
7365
|
+
message.directFuelRailPressure = (_o = object.directFuelRailPressure) !== null && _o !== void 0 ? _o : undefined;
|
|
7366
|
+
message.commandedEgr = (_p = object.commandedEgr) !== null && _p !== void 0 ? _p : undefined;
|
|
7367
|
+
message.egrError = (_q = object.egrError) !== null && _q !== void 0 ? _q : undefined;
|
|
7368
|
+
message.distanceSinceCodesClear = (_r = object.distanceSinceCodesClear) !== null && _r !== void 0 ? _r : undefined;
|
|
7369
|
+
message.barometricPressure = (_s = object.barometricPressure) !== null && _s !== void 0 ? _s : undefined;
|
|
7370
|
+
message.controlModuleVoltage = (_t = object.controlModuleVoltage) !== null && _t !== void 0 ? _t : undefined;
|
|
7371
|
+
message.absoluteLoadValue = (_u = object.absoluteLoadValue) !== null && _u !== void 0 ? _u : undefined;
|
|
7372
|
+
message.fuelType = (_v = object.fuelType) !== null && _v !== void 0 ? _v : undefined;
|
|
7373
|
+
message.ambientAirTemperature = (_w = object.ambientAirTemperature) !== null && _w !== void 0 ? _w : undefined;
|
|
7374
|
+
message.timeRunWithMilOn = (_x = object.timeRunWithMilOn) !== null && _x !== void 0 ? _x : undefined;
|
|
7375
|
+
message.timeSinceCodesCleared = (_y = object.timeSinceCodesCleared) !== null && _y !== void 0 ? _y : undefined;
|
|
7376
|
+
message.absoluteFuelRailPressure = (_z = object.absoluteFuelRailPressure) !== null && _z !== void 0 ? _z : undefined;
|
|
7377
|
+
message.hybridBatteryPackLife = (_0 = object.hybridBatteryPackLife) !== null && _0 !== void 0 ? _0 : undefined;
|
|
7378
|
+
message.engineOilTemperature = (_1 = object.engineOilTemperature) !== null && _1 !== void 0 ? _1 : undefined;
|
|
7379
|
+
message.fuelInjectionTiming = (_2 = object.fuelInjectionTiming) !== null && _2 !== void 0 ? _2 : undefined;
|
|
7380
|
+
message.throttlePositionGroup = (_3 = object.throttlePositionGroup) !== null && _3 !== void 0 ? _3 : undefined;
|
|
7381
|
+
message.commandedEquivalenceR = (_4 = object.commandedEquivalenceR) !== null && _4 !== void 0 ? _4 : undefined;
|
|
7382
|
+
message.intakeMap2Bytes = (_5 = object.intakeMap2Bytes) !== null && _5 !== void 0 ? _5 : undefined;
|
|
7383
|
+
message.hybridSystemVoltage = (_6 = object.hybridSystemVoltage) !== null && _6 !== void 0 ? _6 : undefined;
|
|
7384
|
+
message.hybridSystemCurrent = (_7 = object.hybridSystemCurrent) !== null && _7 !== void 0 ? _7 : undefined;
|
|
7385
|
+
message.faultCodes = (_8 = object.faultCodes) !== null && _8 !== void 0 ? _8 : undefined;
|
|
7386
|
+
message.ecuBreakSwitch = (_9 = object.ecuBreakSwitch) !== null && _9 !== void 0 ? _9 : undefined;
|
|
7387
|
+
message.coolantTemperature = (_10 = object.coolantTemperature) !== null && _10 !== void 0 ? _10 : undefined;
|
|
7388
|
+
message.numberOfDtc = (_11 = object.numberOfDtc) !== null && _11 !== void 0 ? _11 : undefined;
|
|
7389
|
+
message.engineLoad = (_12 = object.engineLoad) !== null && _12 !== void 0 ? _12 : undefined;
|
|
7390
|
+
message.engineRpm = (_13 = object.engineRpm) !== null && _13 !== void 0 ? _13 : undefined;
|
|
7391
|
+
message.fuelLevel = (_14 = object.fuelLevel) !== null && _14 !== void 0 ? _14 : undefined;
|
|
7392
|
+
message.fuelRate = (_15 = object.fuelRate) !== null && _15 !== void 0 ? _15 : undefined;
|
|
7393
|
+
message.tirePressure = (_16 = object.tirePressure) !== null && _16 !== void 0 ? _16 : undefined;
|
|
7394
|
+
message.analog = (_17 = object.analog) !== null && _17 !== void 0 ? _17 : undefined;
|
|
7395
|
+
message.oil = (_18 = object.oil) !== null && _18 !== void 0 ? _18 : undefined;
|
|
7396
|
+
return message;
|
|
7397
|
+
},
|
|
7398
|
+
};
|
|
7399
|
+
function createBaseFmsElement() {
|
|
7400
|
+
return {
|
|
7401
|
+
brakeSwitch: undefined,
|
|
7402
|
+
wheelBasedSpeed: undefined,
|
|
7403
|
+
cruiseControlActive: undefined,
|
|
7404
|
+
clutchSwitch: undefined,
|
|
7405
|
+
ptoState: undefined,
|
|
7406
|
+
accelerationPedalPosition: undefined,
|
|
7407
|
+
engineCurrentLoad: undefined,
|
|
7408
|
+
engineTotalFuelUsed: undefined,
|
|
7409
|
+
fuelLevelPercentage: undefined,
|
|
7410
|
+
engineSpeed: undefined,
|
|
7411
|
+
axleWeight1: undefined,
|
|
7412
|
+
axleWeight2: undefined,
|
|
7413
|
+
axleWeight3: undefined,
|
|
7414
|
+
axleWeight4: undefined,
|
|
7415
|
+
axleWeight5: undefined,
|
|
7416
|
+
axleWeight6: undefined,
|
|
7417
|
+
axleWeight7: undefined,
|
|
7418
|
+
axleWeight8: undefined,
|
|
7419
|
+
axleWeight9: undefined,
|
|
7420
|
+
axleWeight10: undefined,
|
|
7421
|
+
axleWeight11: undefined,
|
|
7422
|
+
axleWeight12: undefined,
|
|
7423
|
+
axleWeight13: undefined,
|
|
7424
|
+
axleWeight14: undefined,
|
|
7425
|
+
axleWeight15: undefined,
|
|
7426
|
+
engineTotalHoursOfOperation: undefined,
|
|
7427
|
+
softwareVersionSupported: undefined,
|
|
7428
|
+
diagnosticSupported: undefined,
|
|
7429
|
+
requestsSupported: undefined,
|
|
7430
|
+
serverDistance: undefined,
|
|
7431
|
+
directionIndication: undefined,
|
|
7432
|
+
tachographPerformance: undefined,
|
|
7433
|
+
handlingInfo: undefined,
|
|
7434
|
+
systemEvent: undefined,
|
|
7435
|
+
engineCoolantTemperature: undefined,
|
|
7436
|
+
ambientAirTemperature: undefined,
|
|
7437
|
+
fuelRate: undefined,
|
|
7438
|
+
instantaneousFuelEconomy: undefined,
|
|
7439
|
+
ptoDriveEngagement: undefined,
|
|
7440
|
+
highResolutionEngineTotalFuelUsed: undefined,
|
|
7441
|
+
grossCombinationVehicleWeight: undefined,
|
|
7442
|
+
adBlueStatus: undefined,
|
|
7443
|
+
brakePedalPosition: undefined,
|
|
7444
|
+
fuelLevel2: undefined,
|
|
7445
|
+
milIndicator: undefined,
|
|
7446
|
+
tellTale0: undefined,
|
|
7447
|
+
tellTale1: undefined,
|
|
7448
|
+
tellTale2: undefined,
|
|
7449
|
+
tellTale3: undefined,
|
|
7450
|
+
tellTale4: undefined,
|
|
7451
|
+
adBlueLevel: undefined,
|
|
7452
|
+
dtcDm1: undefined,
|
|
7453
|
+
dtcTimeDm1: undefined,
|
|
7454
|
+
dtcDm2: undefined,
|
|
7455
|
+
dtcTimeDm2: undefined,
|
|
7456
|
+
};
|
|
7457
|
+
}
|
|
7458
|
+
exports.FmsElement = {
|
|
7459
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7460
|
+
if (message.brakeSwitch !== undefined) {
|
|
7461
|
+
writer.uint32(8).bool(message.brakeSwitch);
|
|
7462
|
+
}
|
|
7463
|
+
if (message.wheelBasedSpeed !== undefined) {
|
|
7464
|
+
writer.uint32(16).uint32(message.wheelBasedSpeed);
|
|
7465
|
+
}
|
|
7466
|
+
if (message.cruiseControlActive !== undefined) {
|
|
7467
|
+
writer.uint32(24).bool(message.cruiseControlActive);
|
|
7468
|
+
}
|
|
7469
|
+
if (message.clutchSwitch !== undefined) {
|
|
7470
|
+
writer.uint32(32).bool(message.clutchSwitch);
|
|
7471
|
+
}
|
|
7472
|
+
if (message.ptoState !== undefined) {
|
|
7473
|
+
writer.uint32(40).bool(message.ptoState);
|
|
7474
|
+
}
|
|
7475
|
+
if (message.accelerationPedalPosition !== undefined) {
|
|
7476
|
+
writer.uint32(48).uint32(message.accelerationPedalPosition);
|
|
7477
|
+
}
|
|
7478
|
+
if (message.engineCurrentLoad !== undefined) {
|
|
7479
|
+
writer.uint32(56).uint32(message.engineCurrentLoad);
|
|
7480
|
+
}
|
|
7481
|
+
if (message.engineTotalFuelUsed !== undefined) {
|
|
7482
|
+
writer.uint32(64).uint32(message.engineTotalFuelUsed);
|
|
7483
|
+
}
|
|
7484
|
+
if (message.fuelLevelPercentage !== undefined) {
|
|
7485
|
+
writer.uint32(72).uint32(message.fuelLevelPercentage);
|
|
7486
|
+
}
|
|
7487
|
+
if (message.engineSpeed !== undefined) {
|
|
7488
|
+
writer.uint32(80).uint32(message.engineSpeed);
|
|
7489
|
+
}
|
|
7490
|
+
if (message.axleWeight1 !== undefined) {
|
|
7491
|
+
writer.uint32(88).uint32(message.axleWeight1);
|
|
7492
|
+
}
|
|
7493
|
+
if (message.axleWeight2 !== undefined) {
|
|
7494
|
+
writer.uint32(96).uint32(message.axleWeight2);
|
|
7495
|
+
}
|
|
7496
|
+
if (message.axleWeight3 !== undefined) {
|
|
7497
|
+
writer.uint32(104).uint32(message.axleWeight3);
|
|
7498
|
+
}
|
|
7499
|
+
if (message.axleWeight4 !== undefined) {
|
|
7500
|
+
writer.uint32(112).uint32(message.axleWeight4);
|
|
7501
|
+
}
|
|
7502
|
+
if (message.axleWeight5 !== undefined) {
|
|
7503
|
+
writer.uint32(120).uint32(message.axleWeight5);
|
|
7504
|
+
}
|
|
7505
|
+
if (message.axleWeight6 !== undefined) {
|
|
7506
|
+
writer.uint32(128).uint32(message.axleWeight6);
|
|
7507
|
+
}
|
|
7508
|
+
if (message.axleWeight7 !== undefined) {
|
|
7509
|
+
writer.uint32(136).uint32(message.axleWeight7);
|
|
7510
|
+
}
|
|
7511
|
+
if (message.axleWeight8 !== undefined) {
|
|
7512
|
+
writer.uint32(144).uint32(message.axleWeight8);
|
|
7513
|
+
}
|
|
7514
|
+
if (message.axleWeight9 !== undefined) {
|
|
7515
|
+
writer.uint32(152).uint32(message.axleWeight9);
|
|
7516
|
+
}
|
|
7517
|
+
if (message.axleWeight10 !== undefined) {
|
|
7518
|
+
writer.uint32(160).uint32(message.axleWeight10);
|
|
7519
|
+
}
|
|
7520
|
+
if (message.axleWeight11 !== undefined) {
|
|
7521
|
+
writer.uint32(168).uint32(message.axleWeight11);
|
|
7522
|
+
}
|
|
7523
|
+
if (message.axleWeight12 !== undefined) {
|
|
7524
|
+
writer.uint32(176).uint32(message.axleWeight12);
|
|
7525
|
+
}
|
|
7526
|
+
if (message.axleWeight13 !== undefined) {
|
|
7527
|
+
writer.uint32(184).uint32(message.axleWeight13);
|
|
7528
|
+
}
|
|
7529
|
+
if (message.axleWeight14 !== undefined) {
|
|
7530
|
+
writer.uint32(192).uint32(message.axleWeight14);
|
|
7531
|
+
}
|
|
7532
|
+
if (message.axleWeight15 !== undefined) {
|
|
7533
|
+
writer.uint32(200).uint32(message.axleWeight15);
|
|
7534
|
+
}
|
|
7535
|
+
if (message.engineTotalHoursOfOperation !== undefined) {
|
|
7536
|
+
writer.uint32(208).uint32(message.engineTotalHoursOfOperation);
|
|
7537
|
+
}
|
|
7538
|
+
if (message.softwareVersionSupported !== undefined) {
|
|
7539
|
+
writer.uint32(216).uint32(message.softwareVersionSupported);
|
|
7540
|
+
}
|
|
7541
|
+
if (message.diagnosticSupported !== undefined) {
|
|
7542
|
+
writer.uint32(224).uint32(message.diagnosticSupported);
|
|
7543
|
+
}
|
|
7544
|
+
if (message.requestsSupported !== undefined) {
|
|
7545
|
+
writer.uint32(232).uint32(message.requestsSupported);
|
|
7546
|
+
}
|
|
7547
|
+
if (message.serverDistance !== undefined) {
|
|
7548
|
+
writer.uint32(240).sint32(message.serverDistance);
|
|
7549
|
+
}
|
|
7550
|
+
if (message.directionIndication !== undefined) {
|
|
7551
|
+
writer.uint32(248).uint32(message.directionIndication);
|
|
7552
|
+
}
|
|
7553
|
+
if (message.tachographPerformance !== undefined) {
|
|
7554
|
+
writer.uint32(256).uint32(message.tachographPerformance);
|
|
7555
|
+
}
|
|
7556
|
+
if (message.handlingInfo !== undefined) {
|
|
7557
|
+
writer.uint32(264).uint32(message.handlingInfo);
|
|
7558
|
+
}
|
|
7559
|
+
if (message.systemEvent !== undefined) {
|
|
7560
|
+
writer.uint32(272).uint32(message.systemEvent);
|
|
7561
|
+
}
|
|
7562
|
+
if (message.engineCoolantTemperature !== undefined) {
|
|
7563
|
+
writer.uint32(280).sint32(message.engineCoolantTemperature);
|
|
7564
|
+
}
|
|
7565
|
+
if (message.ambientAirTemperature !== undefined) {
|
|
7566
|
+
writer.uint32(288).sint32(message.ambientAirTemperature);
|
|
7567
|
+
}
|
|
7568
|
+
if (message.fuelRate !== undefined) {
|
|
7569
|
+
writer.uint32(296).uint32(message.fuelRate);
|
|
7570
|
+
}
|
|
7571
|
+
if (message.instantaneousFuelEconomy !== undefined) {
|
|
7572
|
+
writer.uint32(304).uint32(message.instantaneousFuelEconomy);
|
|
7573
|
+
}
|
|
7574
|
+
if (message.ptoDriveEngagement !== undefined) {
|
|
7575
|
+
writer.uint32(312).uint32(message.ptoDriveEngagement);
|
|
7576
|
+
}
|
|
7577
|
+
if (message.highResolutionEngineTotalFuelUsed !== undefined) {
|
|
7578
|
+
writer.uint32(320).uint32(message.highResolutionEngineTotalFuelUsed);
|
|
7579
|
+
}
|
|
7580
|
+
if (message.grossCombinationVehicleWeight !== undefined) {
|
|
7581
|
+
writer.uint32(328).uint32(message.grossCombinationVehicleWeight);
|
|
7582
|
+
}
|
|
7583
|
+
if (message.adBlueStatus !== undefined) {
|
|
7584
|
+
writer.uint32(336).uint32(message.adBlueStatus);
|
|
7585
|
+
}
|
|
7586
|
+
if (message.brakePedalPosition !== undefined) {
|
|
7587
|
+
writer.uint32(344).uint32(message.brakePedalPosition);
|
|
7588
|
+
}
|
|
7589
|
+
if (message.fuelLevel2 !== undefined) {
|
|
7590
|
+
writer.uint32(352).uint32(message.fuelLevel2);
|
|
7591
|
+
}
|
|
7592
|
+
if (message.milIndicator !== undefined) {
|
|
7593
|
+
writer.uint32(360).uint32(message.milIndicator);
|
|
7594
|
+
}
|
|
7595
|
+
if (message.tellTale0 !== undefined) {
|
|
7596
|
+
writer.uint32(370).bytes(message.tellTale0);
|
|
7597
|
+
}
|
|
7598
|
+
if (message.tellTale1 !== undefined) {
|
|
7599
|
+
writer.uint32(378).bytes(message.tellTale1);
|
|
7600
|
+
}
|
|
7601
|
+
if (message.tellTale2 !== undefined) {
|
|
7602
|
+
writer.uint32(386).bytes(message.tellTale2);
|
|
7603
|
+
}
|
|
7604
|
+
if (message.tellTale3 !== undefined) {
|
|
7605
|
+
writer.uint32(394).bytes(message.tellTale3);
|
|
7606
|
+
}
|
|
7607
|
+
if (message.tellTale4 !== undefined) {
|
|
7608
|
+
writer.uint32(402).bytes(message.tellTale4);
|
|
7609
|
+
}
|
|
7610
|
+
if (message.adBlueLevel !== undefined) {
|
|
7611
|
+
writer.uint32(408).uint32(message.adBlueLevel);
|
|
7612
|
+
}
|
|
7613
|
+
if (message.dtcDm1 !== undefined) {
|
|
7614
|
+
writer.uint32(416).uint32(message.dtcDm1);
|
|
7615
|
+
}
|
|
7616
|
+
if (message.dtcTimeDm1 !== undefined) {
|
|
7617
|
+
writer.uint32(424).uint32(message.dtcTimeDm1);
|
|
7618
|
+
}
|
|
7619
|
+
if (message.dtcDm2 !== undefined) {
|
|
7620
|
+
writer.uint32(432).uint32(message.dtcDm2);
|
|
7621
|
+
}
|
|
7622
|
+
if (message.dtcTimeDm2 !== undefined) {
|
|
7623
|
+
writer.uint32(440).uint32(message.dtcTimeDm2);
|
|
7624
|
+
}
|
|
7625
|
+
return writer;
|
|
7626
|
+
},
|
|
7627
|
+
decode(input, length) {
|
|
7628
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7629
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7630
|
+
const message = createBaseFmsElement();
|
|
7631
|
+
while (reader.pos < end) {
|
|
7632
|
+
const tag = reader.uint32();
|
|
7633
|
+
switch (tag >>> 3) {
|
|
7634
|
+
case 1: {
|
|
7635
|
+
if (tag !== 8) {
|
|
7636
|
+
break;
|
|
7637
|
+
}
|
|
7638
|
+
message.brakeSwitch = reader.bool();
|
|
7639
|
+
continue;
|
|
7640
|
+
}
|
|
7641
|
+
case 2: {
|
|
7642
|
+
if (tag !== 16) {
|
|
7643
|
+
break;
|
|
7644
|
+
}
|
|
7645
|
+
message.wheelBasedSpeed = reader.uint32();
|
|
7646
|
+
continue;
|
|
7647
|
+
}
|
|
7648
|
+
case 3: {
|
|
7649
|
+
if (tag !== 24) {
|
|
7650
|
+
break;
|
|
7651
|
+
}
|
|
7652
|
+
message.cruiseControlActive = reader.bool();
|
|
7653
|
+
continue;
|
|
7654
|
+
}
|
|
7655
|
+
case 4: {
|
|
7656
|
+
if (tag !== 32) {
|
|
7657
|
+
break;
|
|
7658
|
+
}
|
|
7659
|
+
message.clutchSwitch = reader.bool();
|
|
7660
|
+
continue;
|
|
7661
|
+
}
|
|
7662
|
+
case 5: {
|
|
7663
|
+
if (tag !== 40) {
|
|
7664
|
+
break;
|
|
7665
|
+
}
|
|
7666
|
+
message.ptoState = reader.bool();
|
|
7667
|
+
continue;
|
|
7668
|
+
}
|
|
7669
|
+
case 6: {
|
|
7670
|
+
if (tag !== 48) {
|
|
7671
|
+
break;
|
|
7672
|
+
}
|
|
7673
|
+
message.accelerationPedalPosition = reader.uint32();
|
|
7674
|
+
continue;
|
|
7675
|
+
}
|
|
7676
|
+
case 7: {
|
|
7677
|
+
if (tag !== 56) {
|
|
7678
|
+
break;
|
|
7679
|
+
}
|
|
7680
|
+
message.engineCurrentLoad = reader.uint32();
|
|
7681
|
+
continue;
|
|
7682
|
+
}
|
|
7683
|
+
case 8: {
|
|
7684
|
+
if (tag !== 64) {
|
|
7685
|
+
break;
|
|
7686
|
+
}
|
|
7687
|
+
message.engineTotalFuelUsed = reader.uint32();
|
|
7688
|
+
continue;
|
|
7689
|
+
}
|
|
7690
|
+
case 9: {
|
|
7691
|
+
if (tag !== 72) {
|
|
7692
|
+
break;
|
|
7693
|
+
}
|
|
7694
|
+
message.fuelLevelPercentage = reader.uint32();
|
|
7695
|
+
continue;
|
|
7696
|
+
}
|
|
7697
|
+
case 10: {
|
|
7698
|
+
if (tag !== 80) {
|
|
7699
|
+
break;
|
|
7700
|
+
}
|
|
7701
|
+
message.engineSpeed = reader.uint32();
|
|
7702
|
+
continue;
|
|
7703
|
+
}
|
|
7704
|
+
case 11: {
|
|
7705
|
+
if (tag !== 88) {
|
|
7706
|
+
break;
|
|
7707
|
+
}
|
|
7708
|
+
message.axleWeight1 = reader.uint32();
|
|
7709
|
+
continue;
|
|
7710
|
+
}
|
|
7711
|
+
case 12: {
|
|
7712
|
+
if (tag !== 96) {
|
|
7713
|
+
break;
|
|
7714
|
+
}
|
|
7715
|
+
message.axleWeight2 = reader.uint32();
|
|
7716
|
+
continue;
|
|
7717
|
+
}
|
|
7718
|
+
case 13: {
|
|
7719
|
+
if (tag !== 104) {
|
|
7720
|
+
break;
|
|
7721
|
+
}
|
|
7722
|
+
message.axleWeight3 = reader.uint32();
|
|
7723
|
+
continue;
|
|
7724
|
+
}
|
|
7725
|
+
case 14: {
|
|
7726
|
+
if (tag !== 112) {
|
|
7727
|
+
break;
|
|
7728
|
+
}
|
|
7729
|
+
message.axleWeight4 = reader.uint32();
|
|
7730
|
+
continue;
|
|
7731
|
+
}
|
|
7732
|
+
case 15: {
|
|
7733
|
+
if (tag !== 120) {
|
|
7734
|
+
break;
|
|
7735
|
+
}
|
|
7736
|
+
message.axleWeight5 = reader.uint32();
|
|
7737
|
+
continue;
|
|
7738
|
+
}
|
|
7739
|
+
case 16: {
|
|
7740
|
+
if (tag !== 128) {
|
|
7741
|
+
break;
|
|
7742
|
+
}
|
|
7743
|
+
message.axleWeight6 = reader.uint32();
|
|
7744
|
+
continue;
|
|
7745
|
+
}
|
|
7746
|
+
case 17: {
|
|
7747
|
+
if (tag !== 136) {
|
|
7748
|
+
break;
|
|
7749
|
+
}
|
|
7750
|
+
message.axleWeight7 = reader.uint32();
|
|
7751
|
+
continue;
|
|
7752
|
+
}
|
|
7753
|
+
case 18: {
|
|
7754
|
+
if (tag !== 144) {
|
|
7755
|
+
break;
|
|
7756
|
+
}
|
|
7757
|
+
message.axleWeight8 = reader.uint32();
|
|
7758
|
+
continue;
|
|
7759
|
+
}
|
|
7760
|
+
case 19: {
|
|
7761
|
+
if (tag !== 152) {
|
|
7762
|
+
break;
|
|
7763
|
+
}
|
|
7764
|
+
message.axleWeight9 = reader.uint32();
|
|
7765
|
+
continue;
|
|
7766
|
+
}
|
|
7767
|
+
case 20: {
|
|
7768
|
+
if (tag !== 160) {
|
|
7769
|
+
break;
|
|
7770
|
+
}
|
|
7771
|
+
message.axleWeight10 = reader.uint32();
|
|
7772
|
+
continue;
|
|
7773
|
+
}
|
|
7774
|
+
case 21: {
|
|
7775
|
+
if (tag !== 168) {
|
|
7776
|
+
break;
|
|
7777
|
+
}
|
|
7778
|
+
message.axleWeight11 = reader.uint32();
|
|
7779
|
+
continue;
|
|
7780
|
+
}
|
|
7781
|
+
case 22: {
|
|
7782
|
+
if (tag !== 176) {
|
|
7783
|
+
break;
|
|
7784
|
+
}
|
|
7785
|
+
message.axleWeight12 = reader.uint32();
|
|
7786
|
+
continue;
|
|
7787
|
+
}
|
|
7788
|
+
case 23: {
|
|
7789
|
+
if (tag !== 184) {
|
|
7790
|
+
break;
|
|
7791
|
+
}
|
|
7792
|
+
message.axleWeight13 = reader.uint32();
|
|
7793
|
+
continue;
|
|
7794
|
+
}
|
|
7795
|
+
case 24: {
|
|
7796
|
+
if (tag !== 192) {
|
|
7797
|
+
break;
|
|
7798
|
+
}
|
|
7799
|
+
message.axleWeight14 = reader.uint32();
|
|
7800
|
+
continue;
|
|
7801
|
+
}
|
|
7802
|
+
case 25: {
|
|
7803
|
+
if (tag !== 200) {
|
|
7804
|
+
break;
|
|
7805
|
+
}
|
|
7806
|
+
message.axleWeight15 = reader.uint32();
|
|
7807
|
+
continue;
|
|
7808
|
+
}
|
|
7809
|
+
case 26: {
|
|
7810
|
+
if (tag !== 208) {
|
|
7811
|
+
break;
|
|
7812
|
+
}
|
|
7813
|
+
message.engineTotalHoursOfOperation = reader.uint32();
|
|
7814
|
+
continue;
|
|
7815
|
+
}
|
|
7816
|
+
case 27: {
|
|
7817
|
+
if (tag !== 216) {
|
|
7818
|
+
break;
|
|
7819
|
+
}
|
|
7820
|
+
message.softwareVersionSupported = reader.uint32();
|
|
7821
|
+
continue;
|
|
7822
|
+
}
|
|
7823
|
+
case 28: {
|
|
7824
|
+
if (tag !== 224) {
|
|
7825
|
+
break;
|
|
7826
|
+
}
|
|
7827
|
+
message.diagnosticSupported = reader.uint32();
|
|
7828
|
+
continue;
|
|
7829
|
+
}
|
|
7830
|
+
case 29: {
|
|
7831
|
+
if (tag !== 232) {
|
|
7832
|
+
break;
|
|
7833
|
+
}
|
|
7834
|
+
message.requestsSupported = reader.uint32();
|
|
7835
|
+
continue;
|
|
7836
|
+
}
|
|
7837
|
+
case 30: {
|
|
7838
|
+
if (tag !== 240) {
|
|
7839
|
+
break;
|
|
7840
|
+
}
|
|
7841
|
+
message.serverDistance = reader.sint32();
|
|
7842
|
+
continue;
|
|
7843
|
+
}
|
|
7844
|
+
case 31: {
|
|
7845
|
+
if (tag !== 248) {
|
|
7846
|
+
break;
|
|
7847
|
+
}
|
|
7848
|
+
message.directionIndication = reader.uint32();
|
|
7849
|
+
continue;
|
|
7850
|
+
}
|
|
7851
|
+
case 32: {
|
|
7852
|
+
if (tag !== 256) {
|
|
7853
|
+
break;
|
|
7854
|
+
}
|
|
7855
|
+
message.tachographPerformance = reader.uint32();
|
|
7856
|
+
continue;
|
|
7857
|
+
}
|
|
7858
|
+
case 33: {
|
|
7859
|
+
if (tag !== 264) {
|
|
7860
|
+
break;
|
|
7861
|
+
}
|
|
7862
|
+
message.handlingInfo = reader.uint32();
|
|
7863
|
+
continue;
|
|
7864
|
+
}
|
|
7865
|
+
case 34: {
|
|
7866
|
+
if (tag !== 272) {
|
|
7867
|
+
break;
|
|
7868
|
+
}
|
|
7869
|
+
message.systemEvent = reader.uint32();
|
|
7870
|
+
continue;
|
|
7871
|
+
}
|
|
7872
|
+
case 35: {
|
|
7873
|
+
if (tag !== 280) {
|
|
7874
|
+
break;
|
|
7875
|
+
}
|
|
7876
|
+
message.engineCoolantTemperature = reader.sint32();
|
|
7877
|
+
continue;
|
|
7878
|
+
}
|
|
7879
|
+
case 36: {
|
|
7880
|
+
if (tag !== 288) {
|
|
7881
|
+
break;
|
|
7882
|
+
}
|
|
7883
|
+
message.ambientAirTemperature = reader.sint32();
|
|
7884
|
+
continue;
|
|
7885
|
+
}
|
|
7886
|
+
case 37: {
|
|
7887
|
+
if (tag !== 296) {
|
|
7888
|
+
break;
|
|
7889
|
+
}
|
|
7890
|
+
message.fuelRate = reader.uint32();
|
|
7891
|
+
continue;
|
|
7892
|
+
}
|
|
7893
|
+
case 38: {
|
|
7894
|
+
if (tag !== 304) {
|
|
7895
|
+
break;
|
|
7896
|
+
}
|
|
7897
|
+
message.instantaneousFuelEconomy = reader.uint32();
|
|
7898
|
+
continue;
|
|
7899
|
+
}
|
|
7900
|
+
case 39: {
|
|
7901
|
+
if (tag !== 312) {
|
|
7902
|
+
break;
|
|
7903
|
+
}
|
|
7904
|
+
message.ptoDriveEngagement = reader.uint32();
|
|
7905
|
+
continue;
|
|
7906
|
+
}
|
|
7907
|
+
case 40: {
|
|
7908
|
+
if (tag !== 320) {
|
|
7909
|
+
break;
|
|
7910
|
+
}
|
|
7911
|
+
message.highResolutionEngineTotalFuelUsed = reader.uint32();
|
|
7912
|
+
continue;
|
|
7913
|
+
}
|
|
7914
|
+
case 41: {
|
|
7915
|
+
if (tag !== 328) {
|
|
7916
|
+
break;
|
|
7917
|
+
}
|
|
7918
|
+
message.grossCombinationVehicleWeight = reader.uint32();
|
|
7919
|
+
continue;
|
|
7920
|
+
}
|
|
7921
|
+
case 42: {
|
|
7922
|
+
if (tag !== 336) {
|
|
7923
|
+
break;
|
|
7924
|
+
}
|
|
7925
|
+
message.adBlueStatus = reader.uint32();
|
|
7926
|
+
continue;
|
|
7927
|
+
}
|
|
7928
|
+
case 43: {
|
|
7929
|
+
if (tag !== 344) {
|
|
7930
|
+
break;
|
|
7931
|
+
}
|
|
7932
|
+
message.brakePedalPosition = reader.uint32();
|
|
7933
|
+
continue;
|
|
7934
|
+
}
|
|
7935
|
+
case 44: {
|
|
7936
|
+
if (tag !== 352) {
|
|
7937
|
+
break;
|
|
7938
|
+
}
|
|
7939
|
+
message.fuelLevel2 = reader.uint32();
|
|
7940
|
+
continue;
|
|
7941
|
+
}
|
|
7942
|
+
case 45: {
|
|
7943
|
+
if (tag !== 360) {
|
|
7944
|
+
break;
|
|
7945
|
+
}
|
|
7946
|
+
message.milIndicator = reader.uint32();
|
|
7947
|
+
continue;
|
|
7948
|
+
}
|
|
7949
|
+
case 46: {
|
|
7950
|
+
if (tag !== 370) {
|
|
7951
|
+
break;
|
|
7952
|
+
}
|
|
7953
|
+
message.tellTale0 = reader.bytes();
|
|
7954
|
+
continue;
|
|
7955
|
+
}
|
|
7956
|
+
case 47: {
|
|
7957
|
+
if (tag !== 378) {
|
|
7958
|
+
break;
|
|
7959
|
+
}
|
|
7960
|
+
message.tellTale1 = reader.bytes();
|
|
7961
|
+
continue;
|
|
7962
|
+
}
|
|
7963
|
+
case 48: {
|
|
7964
|
+
if (tag !== 386) {
|
|
7965
|
+
break;
|
|
7966
|
+
}
|
|
7967
|
+
message.tellTale2 = reader.bytes();
|
|
7968
|
+
continue;
|
|
7969
|
+
}
|
|
7970
|
+
case 49: {
|
|
7971
|
+
if (tag !== 394) {
|
|
7972
|
+
break;
|
|
7973
|
+
}
|
|
7974
|
+
message.tellTale3 = reader.bytes();
|
|
7975
|
+
continue;
|
|
7976
|
+
}
|
|
7977
|
+
case 50: {
|
|
7978
|
+
if (tag !== 402) {
|
|
7979
|
+
break;
|
|
7980
|
+
}
|
|
7981
|
+
message.tellTale4 = reader.bytes();
|
|
7982
|
+
continue;
|
|
7983
|
+
}
|
|
7984
|
+
case 51: {
|
|
7985
|
+
if (tag !== 408) {
|
|
7986
|
+
break;
|
|
7987
|
+
}
|
|
7988
|
+
message.adBlueLevel = reader.uint32();
|
|
7989
|
+
continue;
|
|
7990
|
+
}
|
|
7991
|
+
case 52: {
|
|
7992
|
+
if (tag !== 416) {
|
|
7993
|
+
break;
|
|
7994
|
+
}
|
|
7995
|
+
message.dtcDm1 = reader.uint32();
|
|
7996
|
+
continue;
|
|
7997
|
+
}
|
|
7998
|
+
case 53: {
|
|
7999
|
+
if (tag !== 424) {
|
|
8000
|
+
break;
|
|
8001
|
+
}
|
|
8002
|
+
message.dtcTimeDm1 = reader.uint32();
|
|
8003
|
+
continue;
|
|
8004
|
+
}
|
|
8005
|
+
case 54: {
|
|
8006
|
+
if (tag !== 432) {
|
|
8007
|
+
break;
|
|
8008
|
+
}
|
|
8009
|
+
message.dtcDm2 = reader.uint32();
|
|
8010
|
+
continue;
|
|
8011
|
+
}
|
|
8012
|
+
case 55: {
|
|
8013
|
+
if (tag !== 440) {
|
|
8014
|
+
break;
|
|
8015
|
+
}
|
|
8016
|
+
message.dtcTimeDm2 = reader.uint32();
|
|
8017
|
+
continue;
|
|
8018
|
+
}
|
|
8019
|
+
}
|
|
8020
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8021
|
+
break;
|
|
8022
|
+
}
|
|
8023
|
+
reader.skip(tag & 7);
|
|
8024
|
+
}
|
|
8025
|
+
return message;
|
|
8026
|
+
},
|
|
8027
|
+
fromJSON(object) {
|
|
8028
|
+
return {
|
|
8029
|
+
brakeSwitch: isSet(object.brake_switch) ? globalThis.Boolean(object.brake_switch) : undefined,
|
|
8030
|
+
wheelBasedSpeed: isSet(object.wheel_based_speed) ? globalThis.Number(object.wheel_based_speed) : undefined,
|
|
8031
|
+
cruiseControlActive: isSet(object.cruise_control_active)
|
|
8032
|
+
? globalThis.Boolean(object.cruise_control_active)
|
|
8033
|
+
: undefined,
|
|
8034
|
+
clutchSwitch: isSet(object.clutch_switch) ? globalThis.Boolean(object.clutch_switch) : undefined,
|
|
8035
|
+
ptoState: isSet(object.pto_state) ? globalThis.Boolean(object.pto_state) : undefined,
|
|
8036
|
+
accelerationPedalPosition: isSet(object.acceleration_pedal_position)
|
|
8037
|
+
? globalThis.Number(object.acceleration_pedal_position)
|
|
8038
|
+
: undefined,
|
|
8039
|
+
engineCurrentLoad: isSet(object.engine_current_load) ? globalThis.Number(object.engine_current_load) : undefined,
|
|
8040
|
+
engineTotalFuelUsed: isSet(object.engine_total_fuel_used)
|
|
8041
|
+
? globalThis.Number(object.engine_total_fuel_used)
|
|
8042
|
+
: undefined,
|
|
8043
|
+
fuelLevelPercentage: isSet(object.fuel_level_percentage)
|
|
8044
|
+
? globalThis.Number(object.fuel_level_percentage)
|
|
8045
|
+
: undefined,
|
|
8046
|
+
engineSpeed: isSet(object.engine_speed) ? globalThis.Number(object.engine_speed) : undefined,
|
|
8047
|
+
axleWeight1: isSet(object.axle_weight_1) ? globalThis.Number(object.axle_weight_1) : undefined,
|
|
8048
|
+
axleWeight2: isSet(object.axle_weight_2) ? globalThis.Number(object.axle_weight_2) : undefined,
|
|
8049
|
+
axleWeight3: isSet(object.axle_weight_3) ? globalThis.Number(object.axle_weight_3) : undefined,
|
|
8050
|
+
axleWeight4: isSet(object.axle_weight_4) ? globalThis.Number(object.axle_weight_4) : undefined,
|
|
8051
|
+
axleWeight5: isSet(object.axle_weight_5) ? globalThis.Number(object.axle_weight_5) : undefined,
|
|
8052
|
+
axleWeight6: isSet(object.axle_weight_6) ? globalThis.Number(object.axle_weight_6) : undefined,
|
|
8053
|
+
axleWeight7: isSet(object.axle_weight_7) ? globalThis.Number(object.axle_weight_7) : undefined,
|
|
8054
|
+
axleWeight8: isSet(object.axle_weight_8) ? globalThis.Number(object.axle_weight_8) : undefined,
|
|
8055
|
+
axleWeight9: isSet(object.axle_weight_9) ? globalThis.Number(object.axle_weight_9) : undefined,
|
|
8056
|
+
axleWeight10: isSet(object.axle_weight_10) ? globalThis.Number(object.axle_weight_10) : undefined,
|
|
8057
|
+
axleWeight11: isSet(object.axle_weight_11) ? globalThis.Number(object.axle_weight_11) : undefined,
|
|
8058
|
+
axleWeight12: isSet(object.axle_weight_12) ? globalThis.Number(object.axle_weight_12) : undefined,
|
|
8059
|
+
axleWeight13: isSet(object.axle_weight_13) ? globalThis.Number(object.axle_weight_13) : undefined,
|
|
8060
|
+
axleWeight14: isSet(object.axle_weight_14) ? globalThis.Number(object.axle_weight_14) : undefined,
|
|
8061
|
+
axleWeight15: isSet(object.axle_weight_15) ? globalThis.Number(object.axle_weight_15) : undefined,
|
|
8062
|
+
engineTotalHoursOfOperation: isSet(object.engine_total_hours_of_operation)
|
|
8063
|
+
? globalThis.Number(object.engine_total_hours_of_operation)
|
|
8064
|
+
: undefined,
|
|
8065
|
+
softwareVersionSupported: isSet(object.software_version_supported)
|
|
8066
|
+
? globalThis.Number(object.software_version_supported)
|
|
8067
|
+
: undefined,
|
|
8068
|
+
diagnosticSupported: isSet(object.diagnostic_supported)
|
|
8069
|
+
? globalThis.Number(object.diagnostic_supported)
|
|
8070
|
+
: undefined,
|
|
8071
|
+
requestsSupported: isSet(object.requests_supported) ? globalThis.Number(object.requests_supported) : undefined,
|
|
8072
|
+
serverDistance: isSet(object.server_distance) ? globalThis.Number(object.server_distance) : undefined,
|
|
8073
|
+
directionIndication: isSet(object.direction_indication)
|
|
8074
|
+
? globalThis.Number(object.direction_indication)
|
|
8075
|
+
: undefined,
|
|
8076
|
+
tachographPerformance: isSet(object.tachograph_performance)
|
|
8077
|
+
? globalThis.Number(object.tachograph_performance)
|
|
8078
|
+
: undefined,
|
|
8079
|
+
handlingInfo: isSet(object.handling_info) ? globalThis.Number(object.handling_info) : undefined,
|
|
8080
|
+
systemEvent: isSet(object.system_event) ? globalThis.Number(object.system_event) : undefined,
|
|
8081
|
+
engineCoolantTemperature: isSet(object.engine_coolant_temperature)
|
|
8082
|
+
? globalThis.Number(object.engine_coolant_temperature)
|
|
8083
|
+
: undefined,
|
|
6607
8084
|
ambientAirTemperature: isSet(object.ambient_air_temperature)
|
|
6608
8085
|
? globalThis.Number(object.ambient_air_temperature)
|
|
6609
8086
|
: undefined,
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
? globalThis.Number(object.
|
|
6613
|
-
: undefined,
|
|
6614
|
-
absoluteFuelRailPressure: isSet(object.absolute_fuel_rail_pressure)
|
|
6615
|
-
? globalThis.Number(object.absolute_fuel_rail_pressure)
|
|
6616
|
-
: undefined,
|
|
6617
|
-
hybridBatteryPackLife: isSet(object.hybrid_battery_pack_life)
|
|
6618
|
-
? globalThis.Number(object.hybrid_battery_pack_life)
|
|
6619
|
-
: undefined,
|
|
6620
|
-
engineOilTemperature: isSet(object.engine_oil_temperature)
|
|
6621
|
-
? globalThis.Number(object.engine_oil_temperature)
|
|
6622
|
-
: undefined,
|
|
6623
|
-
fuelInjectionTiming: isSet(object.fuel_injection_timing)
|
|
6624
|
-
? globalThis.Number(object.fuel_injection_timing)
|
|
8087
|
+
fuelRate: isSet(object.fuel_rate) ? globalThis.Number(object.fuel_rate) : undefined,
|
|
8088
|
+
instantaneousFuelEconomy: isSet(object.instantaneous_fuel_economy)
|
|
8089
|
+
? globalThis.Number(object.instantaneous_fuel_economy)
|
|
6625
8090
|
: undefined,
|
|
6626
|
-
|
|
6627
|
-
? globalThis.Number(object.
|
|
8091
|
+
ptoDriveEngagement: isSet(object.pto_drive_engagement)
|
|
8092
|
+
? globalThis.Number(object.pto_drive_engagement)
|
|
6628
8093
|
: undefined,
|
|
6629
|
-
|
|
6630
|
-
? globalThis.Number(object.
|
|
8094
|
+
highResolutionEngineTotalFuelUsed: isSet(object.high_resolution_engine_total_fuel_used)
|
|
8095
|
+
? globalThis.Number(object.high_resolution_engine_total_fuel_used)
|
|
6631
8096
|
: undefined,
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
? globalThis.Number(object.hybrid_system_voltage)
|
|
8097
|
+
grossCombinationVehicleWeight: isSet(object.gross_combination_vehicle_weight)
|
|
8098
|
+
? globalThis.Number(object.gross_combination_vehicle_weight)
|
|
6635
8099
|
: undefined,
|
|
6636
|
-
|
|
6637
|
-
|
|
8100
|
+
adBlueStatus: isSet(object.ad_blue_status) ? globalThis.Number(object.ad_blue_status) : undefined,
|
|
8101
|
+
brakePedalPosition: isSet(object.brake_pedal_position)
|
|
8102
|
+
? globalThis.Number(object.brake_pedal_position)
|
|
6638
8103
|
: undefined,
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
8104
|
+
fuelLevel2: isSet(object.fuel_level_2) ? globalThis.Number(object.fuel_level_2) : undefined,
|
|
8105
|
+
milIndicator: isSet(object.mil_indicator) ? globalThis.Number(object.mil_indicator) : undefined,
|
|
8106
|
+
tellTale0: isSet(object.tell_tale_0) ? bytesFromBase64(object.tell_tale_0) : undefined,
|
|
8107
|
+
tellTale1: isSet(object.tell_tale_1) ? bytesFromBase64(object.tell_tale_1) : undefined,
|
|
8108
|
+
tellTale2: isSet(object.tell_tale_2) ? bytesFromBase64(object.tell_tale_2) : undefined,
|
|
8109
|
+
tellTale3: isSet(object.tell_tale_3) ? bytesFromBase64(object.tell_tale_3) : undefined,
|
|
8110
|
+
tellTale4: isSet(object.tell_tale_4) ? bytesFromBase64(object.tell_tale_4) : undefined,
|
|
8111
|
+
adBlueLevel: isSet(object.ad_blue_level) ? globalThis.Number(object.ad_blue_level) : undefined,
|
|
8112
|
+
dtcDm1: isSet(object.dtc_dm_1) ? globalThis.Number(object.dtc_dm_1) : undefined,
|
|
8113
|
+
dtcTimeDm1: isSet(object.dtc_time_dm_1) ? globalThis.Number(object.dtc_time_dm_1) : undefined,
|
|
8114
|
+
dtcDm2: isSet(object.dtc_dm_2) ? globalThis.Number(object.dtc_dm_2) : undefined,
|
|
8115
|
+
dtcTimeDm2: isSet(object.dtc_time_dm_2) ? globalThis.Number(object.dtc_time_dm_2) : undefined,
|
|
6650
8116
|
};
|
|
6651
8117
|
},
|
|
6652
8118
|
toJSON(message) {
|
|
6653
8119
|
const obj = {};
|
|
6654
|
-
if (message.
|
|
6655
|
-
obj.
|
|
8120
|
+
if (message.brakeSwitch !== undefined) {
|
|
8121
|
+
obj.brake_switch = message.brakeSwitch;
|
|
6656
8122
|
}
|
|
6657
|
-
if (message.
|
|
6658
|
-
obj.
|
|
8123
|
+
if (message.wheelBasedSpeed !== undefined) {
|
|
8124
|
+
obj.wheel_based_speed = Math.round(message.wheelBasedSpeed);
|
|
6659
8125
|
}
|
|
6660
|
-
if (message.
|
|
6661
|
-
obj.
|
|
8126
|
+
if (message.cruiseControlActive !== undefined) {
|
|
8127
|
+
obj.cruise_control_active = message.cruiseControlActive;
|
|
6662
8128
|
}
|
|
6663
|
-
if (message.
|
|
6664
|
-
obj.
|
|
8129
|
+
if (message.clutchSwitch !== undefined) {
|
|
8130
|
+
obj.clutch_switch = message.clutchSwitch;
|
|
6665
8131
|
}
|
|
6666
|
-
if (message.
|
|
6667
|
-
obj.
|
|
8132
|
+
if (message.ptoState !== undefined) {
|
|
8133
|
+
obj.pto_state = message.ptoState;
|
|
6668
8134
|
}
|
|
6669
|
-
if (message.
|
|
6670
|
-
obj.
|
|
8135
|
+
if (message.accelerationPedalPosition !== undefined) {
|
|
8136
|
+
obj.acceleration_pedal_position = Math.round(message.accelerationPedalPosition);
|
|
6671
8137
|
}
|
|
6672
|
-
if (message.
|
|
6673
|
-
obj.
|
|
8138
|
+
if (message.engineCurrentLoad !== undefined) {
|
|
8139
|
+
obj.engine_current_load = Math.round(message.engineCurrentLoad);
|
|
6674
8140
|
}
|
|
6675
|
-
if (message.
|
|
6676
|
-
obj.
|
|
8141
|
+
if (message.engineTotalFuelUsed !== undefined) {
|
|
8142
|
+
obj.engine_total_fuel_used = Math.round(message.engineTotalFuelUsed);
|
|
6677
8143
|
}
|
|
6678
|
-
if (message.
|
|
6679
|
-
obj.
|
|
8144
|
+
if (message.fuelLevelPercentage !== undefined) {
|
|
8145
|
+
obj.fuel_level_percentage = Math.round(message.fuelLevelPercentage);
|
|
6680
8146
|
}
|
|
6681
|
-
if (message.
|
|
6682
|
-
obj.
|
|
8147
|
+
if (message.engineSpeed !== undefined) {
|
|
8148
|
+
obj.engine_speed = Math.round(message.engineSpeed);
|
|
6683
8149
|
}
|
|
6684
|
-
if (message.
|
|
6685
|
-
obj.
|
|
8150
|
+
if (message.axleWeight1 !== undefined) {
|
|
8151
|
+
obj.axle_weight_1 = Math.round(message.axleWeight1);
|
|
6686
8152
|
}
|
|
6687
|
-
if (message.
|
|
6688
|
-
obj.
|
|
8153
|
+
if (message.axleWeight2 !== undefined) {
|
|
8154
|
+
obj.axle_weight_2 = Math.round(message.axleWeight2);
|
|
6689
8155
|
}
|
|
6690
|
-
if (message.
|
|
6691
|
-
obj.
|
|
8156
|
+
if (message.axleWeight3 !== undefined) {
|
|
8157
|
+
obj.axle_weight_3 = Math.round(message.axleWeight3);
|
|
6692
8158
|
}
|
|
6693
|
-
if (message.
|
|
6694
|
-
obj.
|
|
8159
|
+
if (message.axleWeight4 !== undefined) {
|
|
8160
|
+
obj.axle_weight_4 = Math.round(message.axleWeight4);
|
|
6695
8161
|
}
|
|
6696
|
-
if (message.
|
|
6697
|
-
obj.
|
|
8162
|
+
if (message.axleWeight5 !== undefined) {
|
|
8163
|
+
obj.axle_weight_5 = Math.round(message.axleWeight5);
|
|
6698
8164
|
}
|
|
6699
|
-
if (message.
|
|
6700
|
-
obj.
|
|
8165
|
+
if (message.axleWeight6 !== undefined) {
|
|
8166
|
+
obj.axle_weight_6 = Math.round(message.axleWeight6);
|
|
6701
8167
|
}
|
|
6702
|
-
if (message.
|
|
6703
|
-
obj.
|
|
8168
|
+
if (message.axleWeight7 !== undefined) {
|
|
8169
|
+
obj.axle_weight_7 = Math.round(message.axleWeight7);
|
|
6704
8170
|
}
|
|
6705
|
-
if (message.
|
|
6706
|
-
obj.
|
|
8171
|
+
if (message.axleWeight8 !== undefined) {
|
|
8172
|
+
obj.axle_weight_8 = Math.round(message.axleWeight8);
|
|
6707
8173
|
}
|
|
6708
|
-
if (message.
|
|
6709
|
-
obj.
|
|
8174
|
+
if (message.axleWeight9 !== undefined) {
|
|
8175
|
+
obj.axle_weight_9 = Math.round(message.axleWeight9);
|
|
6710
8176
|
}
|
|
6711
|
-
if (message.
|
|
6712
|
-
obj.
|
|
8177
|
+
if (message.axleWeight10 !== undefined) {
|
|
8178
|
+
obj.axle_weight_10 = Math.round(message.axleWeight10);
|
|
6713
8179
|
}
|
|
6714
|
-
if (message.
|
|
6715
|
-
obj.
|
|
8180
|
+
if (message.axleWeight11 !== undefined) {
|
|
8181
|
+
obj.axle_weight_11 = Math.round(message.axleWeight11);
|
|
6716
8182
|
}
|
|
6717
|
-
if (message.
|
|
6718
|
-
obj.
|
|
8183
|
+
if (message.axleWeight12 !== undefined) {
|
|
8184
|
+
obj.axle_weight_12 = Math.round(message.axleWeight12);
|
|
6719
8185
|
}
|
|
6720
|
-
if (message.
|
|
6721
|
-
obj.
|
|
8186
|
+
if (message.axleWeight13 !== undefined) {
|
|
8187
|
+
obj.axle_weight_13 = Math.round(message.axleWeight13);
|
|
6722
8188
|
}
|
|
6723
|
-
if (message.
|
|
6724
|
-
obj.
|
|
8189
|
+
if (message.axleWeight14 !== undefined) {
|
|
8190
|
+
obj.axle_weight_14 = Math.round(message.axleWeight14);
|
|
6725
8191
|
}
|
|
6726
|
-
if (message.
|
|
6727
|
-
obj.
|
|
8192
|
+
if (message.axleWeight15 !== undefined) {
|
|
8193
|
+
obj.axle_weight_15 = Math.round(message.axleWeight15);
|
|
6728
8194
|
}
|
|
6729
|
-
if (message.
|
|
6730
|
-
obj.
|
|
8195
|
+
if (message.engineTotalHoursOfOperation !== undefined) {
|
|
8196
|
+
obj.engine_total_hours_of_operation = Math.round(message.engineTotalHoursOfOperation);
|
|
6731
8197
|
}
|
|
6732
|
-
if (message.
|
|
6733
|
-
obj.
|
|
8198
|
+
if (message.softwareVersionSupported !== undefined) {
|
|
8199
|
+
obj.software_version_supported = Math.round(message.softwareVersionSupported);
|
|
6734
8200
|
}
|
|
6735
|
-
if (message.
|
|
6736
|
-
obj.
|
|
8201
|
+
if (message.diagnosticSupported !== undefined) {
|
|
8202
|
+
obj.diagnostic_supported = Math.round(message.diagnosticSupported);
|
|
6737
8203
|
}
|
|
6738
|
-
if (message.
|
|
6739
|
-
obj.
|
|
8204
|
+
if (message.requestsSupported !== undefined) {
|
|
8205
|
+
obj.requests_supported = Math.round(message.requestsSupported);
|
|
6740
8206
|
}
|
|
6741
|
-
if (message.
|
|
6742
|
-
obj.
|
|
8207
|
+
if (message.serverDistance !== undefined) {
|
|
8208
|
+
obj.server_distance = Math.round(message.serverDistance);
|
|
6743
8209
|
}
|
|
6744
|
-
if (message.
|
|
6745
|
-
obj.
|
|
8210
|
+
if (message.directionIndication !== undefined) {
|
|
8211
|
+
obj.direction_indication = Math.round(message.directionIndication);
|
|
6746
8212
|
}
|
|
6747
|
-
if (message.
|
|
6748
|
-
obj.
|
|
8213
|
+
if (message.tachographPerformance !== undefined) {
|
|
8214
|
+
obj.tachograph_performance = Math.round(message.tachographPerformance);
|
|
6749
8215
|
}
|
|
6750
|
-
if (message.
|
|
6751
|
-
obj.
|
|
8216
|
+
if (message.handlingInfo !== undefined) {
|
|
8217
|
+
obj.handling_info = Math.round(message.handlingInfo);
|
|
6752
8218
|
}
|
|
6753
|
-
if (message.
|
|
6754
|
-
obj.
|
|
8219
|
+
if (message.systemEvent !== undefined) {
|
|
8220
|
+
obj.system_event = Math.round(message.systemEvent);
|
|
6755
8221
|
}
|
|
6756
|
-
if (message.
|
|
6757
|
-
obj.
|
|
8222
|
+
if (message.engineCoolantTemperature !== undefined) {
|
|
8223
|
+
obj.engine_coolant_temperature = Math.round(message.engineCoolantTemperature);
|
|
6758
8224
|
}
|
|
6759
|
-
if (message.
|
|
6760
|
-
obj.
|
|
8225
|
+
if (message.ambientAirTemperature !== undefined) {
|
|
8226
|
+
obj.ambient_air_temperature = Math.round(message.ambientAirTemperature);
|
|
6761
8227
|
}
|
|
6762
|
-
if (message.
|
|
6763
|
-
obj.
|
|
8228
|
+
if (message.fuelRate !== undefined) {
|
|
8229
|
+
obj.fuel_rate = Math.round(message.fuelRate);
|
|
6764
8230
|
}
|
|
6765
|
-
if (message.
|
|
6766
|
-
obj.
|
|
8231
|
+
if (message.instantaneousFuelEconomy !== undefined) {
|
|
8232
|
+
obj.instantaneous_fuel_economy = Math.round(message.instantaneousFuelEconomy);
|
|
6767
8233
|
}
|
|
6768
|
-
if (message.
|
|
6769
|
-
obj.
|
|
8234
|
+
if (message.ptoDriveEngagement !== undefined) {
|
|
8235
|
+
obj.pto_drive_engagement = Math.round(message.ptoDriveEngagement);
|
|
6770
8236
|
}
|
|
6771
|
-
if (message.
|
|
6772
|
-
obj.
|
|
8237
|
+
if (message.highResolutionEngineTotalFuelUsed !== undefined) {
|
|
8238
|
+
obj.high_resolution_engine_total_fuel_used = Math.round(message.highResolutionEngineTotalFuelUsed);
|
|
6773
8239
|
}
|
|
6774
|
-
if (message.
|
|
6775
|
-
obj.
|
|
8240
|
+
if (message.grossCombinationVehicleWeight !== undefined) {
|
|
8241
|
+
obj.gross_combination_vehicle_weight = Math.round(message.grossCombinationVehicleWeight);
|
|
6776
8242
|
}
|
|
6777
|
-
if (message.
|
|
6778
|
-
obj.
|
|
8243
|
+
if (message.adBlueStatus !== undefined) {
|
|
8244
|
+
obj.ad_blue_status = Math.round(message.adBlueStatus);
|
|
6779
8245
|
}
|
|
6780
|
-
if (message.
|
|
6781
|
-
obj.
|
|
8246
|
+
if (message.brakePedalPosition !== undefined) {
|
|
8247
|
+
obj.brake_pedal_position = Math.round(message.brakePedalPosition);
|
|
8248
|
+
}
|
|
8249
|
+
if (message.fuelLevel2 !== undefined) {
|
|
8250
|
+
obj.fuel_level_2 = Math.round(message.fuelLevel2);
|
|
8251
|
+
}
|
|
8252
|
+
if (message.milIndicator !== undefined) {
|
|
8253
|
+
obj.mil_indicator = Math.round(message.milIndicator);
|
|
8254
|
+
}
|
|
8255
|
+
if (message.tellTale0 !== undefined) {
|
|
8256
|
+
obj.tell_tale_0 = base64FromBytes(message.tellTale0);
|
|
8257
|
+
}
|
|
8258
|
+
if (message.tellTale1 !== undefined) {
|
|
8259
|
+
obj.tell_tale_1 = base64FromBytes(message.tellTale1);
|
|
8260
|
+
}
|
|
8261
|
+
if (message.tellTale2 !== undefined) {
|
|
8262
|
+
obj.tell_tale_2 = base64FromBytes(message.tellTale2);
|
|
8263
|
+
}
|
|
8264
|
+
if (message.tellTale3 !== undefined) {
|
|
8265
|
+
obj.tell_tale_3 = base64FromBytes(message.tellTale3);
|
|
8266
|
+
}
|
|
8267
|
+
if (message.tellTale4 !== undefined) {
|
|
8268
|
+
obj.tell_tale_4 = base64FromBytes(message.tellTale4);
|
|
8269
|
+
}
|
|
8270
|
+
if (message.adBlueLevel !== undefined) {
|
|
8271
|
+
obj.ad_blue_level = Math.round(message.adBlueLevel);
|
|
8272
|
+
}
|
|
8273
|
+
if (message.dtcDm1 !== undefined) {
|
|
8274
|
+
obj.dtc_dm_1 = Math.round(message.dtcDm1);
|
|
8275
|
+
}
|
|
8276
|
+
if (message.dtcTimeDm1 !== undefined) {
|
|
8277
|
+
obj.dtc_time_dm_1 = Math.round(message.dtcTimeDm1);
|
|
8278
|
+
}
|
|
8279
|
+
if (message.dtcDm2 !== undefined) {
|
|
8280
|
+
obj.dtc_dm_2 = Math.round(message.dtcDm2);
|
|
8281
|
+
}
|
|
8282
|
+
if (message.dtcTimeDm2 !== undefined) {
|
|
8283
|
+
obj.dtc_time_dm_2 = Math.round(message.dtcTimeDm2);
|
|
6782
8284
|
}
|
|
6783
8285
|
return obj;
|
|
6784
8286
|
},
|
|
6785
8287
|
create(base) {
|
|
6786
|
-
return exports.
|
|
8288
|
+
return exports.FmsElement.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
6787
8289
|
},
|
|
6788
8290
|
fromPartial(object) {
|
|
6789
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18;
|
|
6790
|
-
const message =
|
|
6791
|
-
message.
|
|
6792
|
-
message.
|
|
6793
|
-
message.
|
|
6794
|
-
message.
|
|
6795
|
-
message.
|
|
6796
|
-
message.
|
|
6797
|
-
message.
|
|
6798
|
-
message.
|
|
6799
|
-
message.
|
|
6800
|
-
message.
|
|
6801
|
-
message.
|
|
6802
|
-
message.
|
|
6803
|
-
message.
|
|
6804
|
-
message.
|
|
6805
|
-
message.
|
|
6806
|
-
message.
|
|
6807
|
-
message.
|
|
6808
|
-
message.
|
|
6809
|
-
message.
|
|
6810
|
-
message.
|
|
6811
|
-
message.
|
|
6812
|
-
message.
|
|
6813
|
-
message.
|
|
6814
|
-
message.
|
|
6815
|
-
message.
|
|
6816
|
-
message.
|
|
6817
|
-
message.
|
|
6818
|
-
message.
|
|
6819
|
-
message.
|
|
6820
|
-
message.
|
|
6821
|
-
message.
|
|
6822
|
-
message.
|
|
6823
|
-
message.
|
|
6824
|
-
message.
|
|
6825
|
-
message.
|
|
6826
|
-
message.
|
|
6827
|
-
message.
|
|
6828
|
-
message.
|
|
6829
|
-
message.
|
|
6830
|
-
message.
|
|
6831
|
-
message.
|
|
6832
|
-
message.
|
|
6833
|
-
message.
|
|
8291
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _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;
|
|
8292
|
+
const message = createBaseFmsElement();
|
|
8293
|
+
message.brakeSwitch = (_a = object.brakeSwitch) !== null && _a !== void 0 ? _a : undefined;
|
|
8294
|
+
message.wheelBasedSpeed = (_b = object.wheelBasedSpeed) !== null && _b !== void 0 ? _b : undefined;
|
|
8295
|
+
message.cruiseControlActive = (_c = object.cruiseControlActive) !== null && _c !== void 0 ? _c : undefined;
|
|
8296
|
+
message.clutchSwitch = (_d = object.clutchSwitch) !== null && _d !== void 0 ? _d : undefined;
|
|
8297
|
+
message.ptoState = (_e = object.ptoState) !== null && _e !== void 0 ? _e : undefined;
|
|
8298
|
+
message.accelerationPedalPosition = (_f = object.accelerationPedalPosition) !== null && _f !== void 0 ? _f : undefined;
|
|
8299
|
+
message.engineCurrentLoad = (_g = object.engineCurrentLoad) !== null && _g !== void 0 ? _g : undefined;
|
|
8300
|
+
message.engineTotalFuelUsed = (_h = object.engineTotalFuelUsed) !== null && _h !== void 0 ? _h : undefined;
|
|
8301
|
+
message.fuelLevelPercentage = (_j = object.fuelLevelPercentage) !== null && _j !== void 0 ? _j : undefined;
|
|
8302
|
+
message.engineSpeed = (_k = object.engineSpeed) !== null && _k !== void 0 ? _k : undefined;
|
|
8303
|
+
message.axleWeight1 = (_l = object.axleWeight1) !== null && _l !== void 0 ? _l : undefined;
|
|
8304
|
+
message.axleWeight2 = (_m = object.axleWeight2) !== null && _m !== void 0 ? _m : undefined;
|
|
8305
|
+
message.axleWeight3 = (_o = object.axleWeight3) !== null && _o !== void 0 ? _o : undefined;
|
|
8306
|
+
message.axleWeight4 = (_p = object.axleWeight4) !== null && _p !== void 0 ? _p : undefined;
|
|
8307
|
+
message.axleWeight5 = (_q = object.axleWeight5) !== null && _q !== void 0 ? _q : undefined;
|
|
8308
|
+
message.axleWeight6 = (_r = object.axleWeight6) !== null && _r !== void 0 ? _r : undefined;
|
|
8309
|
+
message.axleWeight7 = (_s = object.axleWeight7) !== null && _s !== void 0 ? _s : undefined;
|
|
8310
|
+
message.axleWeight8 = (_t = object.axleWeight8) !== null && _t !== void 0 ? _t : undefined;
|
|
8311
|
+
message.axleWeight9 = (_u = object.axleWeight9) !== null && _u !== void 0 ? _u : undefined;
|
|
8312
|
+
message.axleWeight10 = (_v = object.axleWeight10) !== null && _v !== void 0 ? _v : undefined;
|
|
8313
|
+
message.axleWeight11 = (_w = object.axleWeight11) !== null && _w !== void 0 ? _w : undefined;
|
|
8314
|
+
message.axleWeight12 = (_x = object.axleWeight12) !== null && _x !== void 0 ? _x : undefined;
|
|
8315
|
+
message.axleWeight13 = (_y = object.axleWeight13) !== null && _y !== void 0 ? _y : undefined;
|
|
8316
|
+
message.axleWeight14 = (_z = object.axleWeight14) !== null && _z !== void 0 ? _z : undefined;
|
|
8317
|
+
message.axleWeight15 = (_0 = object.axleWeight15) !== null && _0 !== void 0 ? _0 : undefined;
|
|
8318
|
+
message.engineTotalHoursOfOperation = (_1 = object.engineTotalHoursOfOperation) !== null && _1 !== void 0 ? _1 : undefined;
|
|
8319
|
+
message.softwareVersionSupported = (_2 = object.softwareVersionSupported) !== null && _2 !== void 0 ? _2 : undefined;
|
|
8320
|
+
message.diagnosticSupported = (_3 = object.diagnosticSupported) !== null && _3 !== void 0 ? _3 : undefined;
|
|
8321
|
+
message.requestsSupported = (_4 = object.requestsSupported) !== null && _4 !== void 0 ? _4 : undefined;
|
|
8322
|
+
message.serverDistance = (_5 = object.serverDistance) !== null && _5 !== void 0 ? _5 : undefined;
|
|
8323
|
+
message.directionIndication = (_6 = object.directionIndication) !== null && _6 !== void 0 ? _6 : undefined;
|
|
8324
|
+
message.tachographPerformance = (_7 = object.tachographPerformance) !== null && _7 !== void 0 ? _7 : undefined;
|
|
8325
|
+
message.handlingInfo = (_8 = object.handlingInfo) !== null && _8 !== void 0 ? _8 : undefined;
|
|
8326
|
+
message.systemEvent = (_9 = object.systemEvent) !== null && _9 !== void 0 ? _9 : undefined;
|
|
8327
|
+
message.engineCoolantTemperature = (_10 = object.engineCoolantTemperature) !== null && _10 !== void 0 ? _10 : undefined;
|
|
8328
|
+
message.ambientAirTemperature = (_11 = object.ambientAirTemperature) !== null && _11 !== void 0 ? _11 : undefined;
|
|
8329
|
+
message.fuelRate = (_12 = object.fuelRate) !== null && _12 !== void 0 ? _12 : undefined;
|
|
8330
|
+
message.instantaneousFuelEconomy = (_13 = object.instantaneousFuelEconomy) !== null && _13 !== void 0 ? _13 : undefined;
|
|
8331
|
+
message.ptoDriveEngagement = (_14 = object.ptoDriveEngagement) !== null && _14 !== void 0 ? _14 : undefined;
|
|
8332
|
+
message.highResolutionEngineTotalFuelUsed = (_15 = object.highResolutionEngineTotalFuelUsed) !== null && _15 !== void 0 ? _15 : undefined;
|
|
8333
|
+
message.grossCombinationVehicleWeight = (_16 = object.grossCombinationVehicleWeight) !== null && _16 !== void 0 ? _16 : undefined;
|
|
8334
|
+
message.adBlueStatus = (_17 = object.adBlueStatus) !== null && _17 !== void 0 ? _17 : undefined;
|
|
8335
|
+
message.brakePedalPosition = (_18 = object.brakePedalPosition) !== null && _18 !== void 0 ? _18 : undefined;
|
|
8336
|
+
message.fuelLevel2 = (_19 = object.fuelLevel2) !== null && _19 !== void 0 ? _19 : undefined;
|
|
8337
|
+
message.milIndicator = (_20 = object.milIndicator) !== null && _20 !== void 0 ? _20 : undefined;
|
|
8338
|
+
message.tellTale0 = (_21 = object.tellTale0) !== null && _21 !== void 0 ? _21 : undefined;
|
|
8339
|
+
message.tellTale1 = (_22 = object.tellTale1) !== null && _22 !== void 0 ? _22 : undefined;
|
|
8340
|
+
message.tellTale2 = (_23 = object.tellTale2) !== null && _23 !== void 0 ? _23 : undefined;
|
|
8341
|
+
message.tellTale3 = (_24 = object.tellTale3) !== null && _24 !== void 0 ? _24 : undefined;
|
|
8342
|
+
message.tellTale4 = (_25 = object.tellTale4) !== null && _25 !== void 0 ? _25 : undefined;
|
|
8343
|
+
message.adBlueLevel = (_26 = object.adBlueLevel) !== null && _26 !== void 0 ? _26 : undefined;
|
|
8344
|
+
message.dtcDm1 = (_27 = object.dtcDm1) !== null && _27 !== void 0 ? _27 : undefined;
|
|
8345
|
+
message.dtcTimeDm1 = (_28 = object.dtcTimeDm1) !== null && _28 !== void 0 ? _28 : undefined;
|
|
8346
|
+
message.dtcDm2 = (_29 = object.dtcDm2) !== null && _29 !== void 0 ? _29 : undefined;
|
|
8347
|
+
message.dtcTimeDm2 = (_30 = object.dtcTimeDm2) !== null && _30 !== void 0 ? _30 : undefined;
|
|
6834
8348
|
return message;
|
|
6835
8349
|
},
|
|
6836
8350
|
};
|
|
@@ -7945,6 +9459,7 @@ function createBaseCanAdaptersElements() {
|
|
|
7945
9459
|
cutBaleCount: undefined,
|
|
7946
9460
|
baleSlices: undefined,
|
|
7947
9461
|
lvCan: undefined,
|
|
9462
|
+
fuelLevelPercent: undefined,
|
|
7948
9463
|
};
|
|
7949
9464
|
}
|
|
7950
9465
|
exports.CanAdaptersElements = {
|
|
@@ -8312,6 +9827,9 @@ exports.CanAdaptersElements = {
|
|
|
8312
9827
|
if (message.lvCan !== undefined) {
|
|
8313
9828
|
exports.CanAdaptersElements_LcCan.encode(message.lvCan, writer.uint32(978).fork()).join();
|
|
8314
9829
|
}
|
|
9830
|
+
if (message.fuelLevelPercent !== undefined) {
|
|
9831
|
+
writer.uint32(984).uint32(message.fuelLevelPercent);
|
|
9832
|
+
}
|
|
8315
9833
|
return writer;
|
|
8316
9834
|
},
|
|
8317
9835
|
decode(input, length) {
|
|
@@ -9168,6 +10686,13 @@ exports.CanAdaptersElements = {
|
|
|
9168
10686
|
message.lvCan = exports.CanAdaptersElements_LcCan.decode(reader, reader.uint32());
|
|
9169
10687
|
continue;
|
|
9170
10688
|
}
|
|
10689
|
+
case 123: {
|
|
10690
|
+
if (tag !== 984) {
|
|
10691
|
+
break;
|
|
10692
|
+
}
|
|
10693
|
+
message.fuelLevelPercent = reader.uint32();
|
|
10694
|
+
continue;
|
|
10695
|
+
}
|
|
9171
10696
|
}
|
|
9172
10697
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9173
10698
|
break;
|
|
@@ -9401,6 +10926,7 @@ exports.CanAdaptersElements = {
|
|
|
9401
10926
|
cutBaleCount: isSet(object.cut_bale_count) ? globalThis.Number(object.cut_bale_count) : undefined,
|
|
9402
10927
|
baleSlices: isSet(object.bale_slices) ? globalThis.Number(object.bale_slices) : undefined,
|
|
9403
10928
|
lvCan: isSet(object.lv_can) ? exports.CanAdaptersElements_LcCan.fromJSON(object.lv_can) : undefined,
|
|
10929
|
+
fuelLevelPercent: isSet(object.fuel_level_percent) ? globalThis.Number(object.fuel_level_percent) : undefined,
|
|
9404
10930
|
};
|
|
9405
10931
|
},
|
|
9406
10932
|
toJSON(message) {
|
|
@@ -9768,13 +11294,16 @@ exports.CanAdaptersElements = {
|
|
|
9768
11294
|
if (message.lvCan !== undefined) {
|
|
9769
11295
|
obj.lv_can = exports.CanAdaptersElements_LcCan.toJSON(message.lvCan);
|
|
9770
11296
|
}
|
|
11297
|
+
if (message.fuelLevelPercent !== undefined) {
|
|
11298
|
+
obj.fuel_level_percent = Math.round(message.fuelLevelPercent);
|
|
11299
|
+
}
|
|
9771
11300
|
return obj;
|
|
9772
11301
|
},
|
|
9773
11302
|
create(base) {
|
|
9774
11303
|
return exports.CanAdaptersElements.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
9775
11304
|
},
|
|
9776
11305
|
fromPartial(object) {
|
|
9777
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _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;
|
|
11306
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _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;
|
|
9778
11307
|
const message = createBaseCanAdaptersElements();
|
|
9779
11308
|
message.vehicleSpeed = (_a = object.vehicleSpeed) !== null && _a !== void 0 ? _a : undefined;
|
|
9780
11309
|
message.acceleratorPedalPosition = (_b = object.acceleratorPedalPosition) !== null && _b !== void 0 ? _b : undefined;
|
|
@@ -9911,6 +11440,7 @@ exports.CanAdaptersElements = {
|
|
|
9911
11440
|
message.lvCan = (object.lvCan !== undefined && object.lvCan !== null)
|
|
9912
11441
|
? exports.CanAdaptersElements_LcCan.fromPartial(object.lvCan)
|
|
9913
11442
|
: undefined;
|
|
11443
|
+
message.fuelLevelPercent = (_90 = object.fuelLevelPercent) !== null && _90 !== void 0 ? _90 : undefined;
|
|
9914
11444
|
return message;
|
|
9915
11445
|
},
|
|
9916
11446
|
};
|
|
@@ -14061,6 +15591,7 @@ function createBaseCompact() {
|
|
|
14061
15591
|
alerts: [],
|
|
14062
15592
|
alertValues: {},
|
|
14063
15593
|
adas: undefined,
|
|
15594
|
+
fms: undefined,
|
|
14064
15595
|
};
|
|
14065
15596
|
}
|
|
14066
15597
|
exports.Compact = {
|
|
@@ -14094,6 +15625,9 @@ exports.Compact = {
|
|
|
14094
15625
|
if (message.adas !== undefined) {
|
|
14095
15626
|
exports.ADAS.encode(message.adas, writer.uint32(74).fork()).join();
|
|
14096
15627
|
}
|
|
15628
|
+
if (message.fms !== undefined) {
|
|
15629
|
+
exports.FmsElement.encode(message.fms, writer.uint32(82).fork()).join();
|
|
15630
|
+
}
|
|
14097
15631
|
return writer;
|
|
14098
15632
|
},
|
|
14099
15633
|
decode(input, length) {
|
|
@@ -14176,6 +15710,13 @@ exports.Compact = {
|
|
|
14176
15710
|
message.adas = exports.ADAS.decode(reader, reader.uint32());
|
|
14177
15711
|
continue;
|
|
14178
15712
|
}
|
|
15713
|
+
case 10: {
|
|
15714
|
+
if (tag !== 82) {
|
|
15715
|
+
break;
|
|
15716
|
+
}
|
|
15717
|
+
message.fms = exports.FmsElement.decode(reader, reader.uint32());
|
|
15718
|
+
continue;
|
|
15719
|
+
}
|
|
14179
15720
|
}
|
|
14180
15721
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14181
15722
|
break;
|
|
@@ -14206,6 +15747,7 @@ exports.Compact = {
|
|
|
14206
15747
|
}, {})
|
|
14207
15748
|
: {},
|
|
14208
15749
|
adas: isSet(object.adas) ? exports.ADAS.fromJSON(object.adas) : undefined,
|
|
15750
|
+
fms: isSet(object.fms) ? exports.FmsElement.fromJSON(object.fms) : undefined,
|
|
14209
15751
|
};
|
|
14210
15752
|
},
|
|
14211
15753
|
toJSON(message) {
|
|
@@ -14244,6 +15786,9 @@ exports.Compact = {
|
|
|
14244
15786
|
if (message.adas !== undefined) {
|
|
14245
15787
|
obj.adas = exports.ADAS.toJSON(message.adas);
|
|
14246
15788
|
}
|
|
15789
|
+
if (message.fms !== undefined) {
|
|
15790
|
+
obj.fms = exports.FmsElement.toJSON(message.fms);
|
|
15791
|
+
}
|
|
14247
15792
|
return obj;
|
|
14248
15793
|
},
|
|
14249
15794
|
create(base) {
|
|
@@ -14278,6 +15823,7 @@ exports.Compact = {
|
|
|
14278
15823
|
return acc;
|
|
14279
15824
|
}, {});
|
|
14280
15825
|
message.adas = (object.adas !== undefined && object.adas !== null) ? exports.ADAS.fromPartial(object.adas) : undefined;
|
|
15826
|
+
message.fms = (object.fms !== undefined && object.fms !== null) ? exports.FmsElement.fromPartial(object.fms) : undefined;
|
|
14281
15827
|
return message;
|
|
14282
15828
|
},
|
|
14283
15829
|
};
|
|
@@ -15079,9 +16625,64 @@ exports.Stream = {
|
|
|
15079
16625
|
},
|
|
15080
16626
|
};
|
|
15081
16627
|
function createBaseReplyConcox() {
|
|
15082
|
-
return {
|
|
16628
|
+
return { items: [] };
|
|
15083
16629
|
}
|
|
15084
16630
|
exports.ReplyConcox = {
|
|
16631
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
16632
|
+
for (const v of message.items) {
|
|
16633
|
+
exports.ReplyConcox_Item.encode(v, writer.uint32(10).fork()).join();
|
|
16634
|
+
}
|
|
16635
|
+
return writer;
|
|
16636
|
+
},
|
|
16637
|
+
decode(input, length) {
|
|
16638
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16639
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
16640
|
+
const message = createBaseReplyConcox();
|
|
16641
|
+
while (reader.pos < end) {
|
|
16642
|
+
const tag = reader.uint32();
|
|
16643
|
+
switch (tag >>> 3) {
|
|
16644
|
+
case 1: {
|
|
16645
|
+
if (tag !== 10) {
|
|
16646
|
+
break;
|
|
16647
|
+
}
|
|
16648
|
+
message.items.push(exports.ReplyConcox_Item.decode(reader, reader.uint32()));
|
|
16649
|
+
continue;
|
|
16650
|
+
}
|
|
16651
|
+
}
|
|
16652
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
16653
|
+
break;
|
|
16654
|
+
}
|
|
16655
|
+
reader.skip(tag & 7);
|
|
16656
|
+
}
|
|
16657
|
+
return message;
|
|
16658
|
+
},
|
|
16659
|
+
fromJSON(object) {
|
|
16660
|
+
return {
|
|
16661
|
+
items: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.items) ? object.items.map((e) => exports.ReplyConcox_Item.fromJSON(e)) : [],
|
|
16662
|
+
};
|
|
16663
|
+
},
|
|
16664
|
+
toJSON(message) {
|
|
16665
|
+
var _a;
|
|
16666
|
+
const obj = {};
|
|
16667
|
+
if ((_a = message.items) === null || _a === void 0 ? void 0 : _a.length) {
|
|
16668
|
+
obj.items = message.items.map((e) => exports.ReplyConcox_Item.toJSON(e));
|
|
16669
|
+
}
|
|
16670
|
+
return obj;
|
|
16671
|
+
},
|
|
16672
|
+
create(base) {
|
|
16673
|
+
return exports.ReplyConcox.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
16674
|
+
},
|
|
16675
|
+
fromPartial(object) {
|
|
16676
|
+
var _a;
|
|
16677
|
+
const message = createBaseReplyConcox();
|
|
16678
|
+
message.items = ((_a = object.items) === null || _a === void 0 ? void 0 : _a.map((e) => exports.ReplyConcox_Item.fromPartial(e))) || [];
|
|
16679
|
+
return message;
|
|
16680
|
+
},
|
|
16681
|
+
};
|
|
16682
|
+
function createBaseReplyConcox_Item() {
|
|
16683
|
+
return { serverFlagBit: 0, content: "" };
|
|
16684
|
+
}
|
|
16685
|
+
exports.ReplyConcox_Item = {
|
|
15085
16686
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
15086
16687
|
if (message.serverFlagBit !== 0) {
|
|
15087
16688
|
writer.uint32(8).uint32(message.serverFlagBit);
|
|
@@ -15094,7 +16695,7 @@ exports.ReplyConcox = {
|
|
|
15094
16695
|
decode(input, length) {
|
|
15095
16696
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15096
16697
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
15097
|
-
const message =
|
|
16698
|
+
const message = createBaseReplyConcox_Item();
|
|
15098
16699
|
while (reader.pos < end) {
|
|
15099
16700
|
const tag = reader.uint32();
|
|
15100
16701
|
switch (tag >>> 3) {
|
|
@@ -15137,11 +16738,11 @@ exports.ReplyConcox = {
|
|
|
15137
16738
|
return obj;
|
|
15138
16739
|
},
|
|
15139
16740
|
create(base) {
|
|
15140
|
-
return exports.
|
|
16741
|
+
return exports.ReplyConcox_Item.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
15141
16742
|
},
|
|
15142
16743
|
fromPartial(object) {
|
|
15143
16744
|
var _a, _b;
|
|
15144
|
-
const message =
|
|
16745
|
+
const message = createBaseReplyConcox_Item();
|
|
15145
16746
|
message.serverFlagBit = (_a = object.serverFlagBit) !== null && _a !== void 0 ? _a : 0;
|
|
15146
16747
|
message.content = (_b = object.content) !== null && _b !== void 0 ? _b : "";
|
|
15147
16748
|
return message;
|