From f3e168f082bc4142d0651ead2f493e8952e72014 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 27 Aug 2020 23:45:17 -0700 Subject: Add device inactivity event --- web/app/store/DeviceAttributes.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'web/app/store') diff --git a/web/app/store/DeviceAttributes.js b/web/app/store/DeviceAttributes.js index c7a4abef..45ae6e3d 100644 --- a/web/app/store/DeviceAttributes.js +++ b/web/app/store/DeviceAttributes.js @@ -36,5 +36,17 @@ Ext.define('Traccar.store.DeviceAttributes', { name: Strings.sharedTimezone, valueType: 'string', dataType: 'timezone' + }, { + key: 'deviceInactivityStart', + name: Strings.attributeDeviceInactivityStart, + valueType: 'number', + allowDecimals: false, + minValue: 1 + }, { + key: 'deviceInactivityPeriod', + name: Strings.attributeDeviceInactivityPeriod, + valueType: 'number', + allowDecimals: false, + minValue: 1 }] }); -- cgit v1.2.3