diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-03 19:06:11 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-03 19:06:11 -0700 |
commit | 04e50e512f59983f330ac866793ff9da41ac4fce (patch) | |
tree | f1ecb8af051fa4b0ce22f52bc171e82bcd1182c6 /modern/src/common/attributes | |
parent | c76053a1c40328a3ae734ea0390d45c2f52283b5 (diff) | |
download | trackermap-web-04e50e512f59983f330ac866793ff9da41ac4fce.tar.gz trackermap-web-04e50e512f59983f330ac866793ff9da41ac4fce.tar.bz2 trackermap-web-04e50e512f59983f330ac866793ff9da41ac4fce.zip |
Implement refuel events
Diffstat (limited to 'modern/src/common/attributes')
-rw-r--r-- | modern/src/common/attributes/useCommonDeviceAttributes.js | 8 |
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', |