From c14eda96bc3d7ebbd36f325d648087fdf4ae6572 Mon Sep 17 00:00:00 2001 From: Alexander Menk Date: Tue, 20 Dec 2016 08:41:59 +0100 Subject: #2702Implement setHearts for watch Protocol Using this function you can display a certain amount of hearts on the watch. Nothing more, nothing less. --- web/app/view/CommandDialog.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'web/app/view/CommandDialog.js') diff --git a/web/app/view/CommandDialog.js b/web/app/view/CommandDialog.js index cb6fed2..1450dc2 100644 --- a/web/app/view/CommandDialog.js +++ b/web/app/view/CommandDialog.js @@ -103,6 +103,19 @@ Ext.define('Traccar.view.CommandDialog', { step: 0.5, maxValue: +14 }] + }, { + xtype: 'fieldcontainer', + reference: 'paramSetHearts', + name: 'attributes', + hidden: true, + + items: [{ + xtype: 'numberfield', + fieldLabel: Strings.commandHearts, + name: 'hearts', + minValue: 0, + maxValue: 99 + }] }, { xtype: 'textfield', reference: 'paramCustom', -- cgit v1.2.3