diff options
author | Abyss777 <abyss@fox5.ru> | 2017-05-18 10:01:49 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-05-18 16:18:26 +0500 |
commit | 788a499b346724d753798597fb18f8aef17e1588 (patch) | |
tree | 07a29a92434aba956697360d6ef867ca1a328060 /web/app/store/GroupAttributes.js | |
parent | 31187bc2a3ae41ab553a6472b7592895e3641fe8 (diff) | |
download | etbsa-traccar-web-788a499b346724d753798597fb18f8aef17e1588.tar.gz etbsa-traccar-web-788a499b346724d753798597fb18f8aef17e1588.tar.bz2 etbsa-traccar-web-788a499b346724d753798597fb18f8aef17e1588.zip |
Implement known position attributes
Diffstat (limited to 'web/app/store/GroupAttributes.js')
-rw-r--r-- | web/app/store/GroupAttributes.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/web/app/store/GroupAttributes.js b/web/app/store/GroupAttributes.js index 9550724..2a2765f 100644 --- a/web/app/store/GroupAttributes.js +++ b/web/app/store/GroupAttributes.js @@ -23,25 +23,25 @@ Ext.define('Traccar.store.GroupAttributes', { data: [{ key: 'speedLimit', name: Strings.attributeSpeedLimit, - type: 'number', - convert: 'speed' + valueType: 'number', + dataType: 'speed' }, { key: 'report.ignoreOdometer', name: Strings.attributeReportIgnoreOdometer, - type: 'boolean' + valueType: 'boolean' }, { key: 'maintenance.start', name: Strings.attributeMaintenanceStart, - type: 'number', - convert: 'distance' + valueType: 'number', + dataType: 'distance' }, { key: 'maintenance.interval', name: Strings.attributeMaintenanceInterval, - type: 'number', - convert: 'distance' + valueType: 'number', + dataType: 'distance' }, { key: 'processing.copyAttributes', name: Strings.attributeProcessingCopyAttributes, - type: 'string' + valueType: 'string' }] }); |