aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useCommonDeviceAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-03 19:06:11 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-03 19:06:11 -0700
commit04e50e512f59983f330ac866793ff9da41ac4fce (patch)
treef1ecb8af051fa4b0ce22f52bc171e82bcd1182c6 /modern/src/common/attributes/useCommonDeviceAttributes.js
parentc76053a1c40328a3ae734ea0390d45c2f52283b5 (diff)
downloadtrackermap-web-04e50e512f59983f330ac866793ff9da41ac4fce.tar.gz
trackermap-web-04e50e512f59983f330ac866793ff9da41ac4fce.tar.bz2
trackermap-web-04e50e512f59983f330ac866793ff9da41ac4fce.zip
Implement refuel events
Diffstat (limited to 'modern/src/common/attributes/useCommonDeviceAttributes.js')
-rw-r--r--modern/src/common/attributes/useCommonDeviceAttributes.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useCommonDeviceAttributes.js b/modern/src/common/attributes/useCommonDeviceAttributes.js
index 8a4d886c..f9214818 100644
--- a/modern/src/common/attributes/useCommonDeviceAttributes.js
+++ b/modern/src/common/attributes/useCommonDeviceAttributes.js
@@ -6,6 +6,14 @@ export default (t) => useMemo(() => ({
type: 'number',
subtype: 'speed',
},
+ fuelDropThreshold: {
+ name: t('attributeFuelDropThreshold'),
+ type: 'number',
+ },
+ fuelIncreaseThreshold: {
+ name: t('attributeFuelIncreaseThreshold'),
+ type: 'number',
+ },
'report.ignoreOdometer': {
name: t('attributeReportIgnoreOdometer'),
type: 'boolean',