From 788a499b346724d753798597fb18f8aef17e1588 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 18 May 2017 10:01:49 +0500 Subject: Implement known position attributes --- web/app/store/DeviceAttributes.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'web/app/store/DeviceAttributes.js') diff --git a/web/app/store/DeviceAttributes.js b/web/app/store/DeviceAttributes.js index 8f476d4..220f9a5 100644 --- a/web/app/store/DeviceAttributes.js +++ b/web/app/store/DeviceAttributes.js @@ -23,33 +23,33 @@ Ext.define('Traccar.store.DeviceAttributes', { 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: 'web.reportColor', name: Strings.attributeWebReportColor, - type: 'color' + valueType: 'color' }, { key: 'devicePassword', name: Strings.attributeDevicePassword, - type: 'string' + valueType: 'string' }, { key: 'processing.copyAttributes', name: Strings.attributeProcessingCopyAttributes, - type: 'string' + valueType: 'string' }] }); -- cgit v1.2.3