From 44014f6ca0f97a13d528d4c16fe31c77dabc1fbc Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 8 Nov 2018 10:41:31 +0800 Subject: [PATCH] Update index.html --- admin/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/index.html b/admin/index.html index 9aedfcb..ef7fb4a 100644 --- a/admin/index.html +++ b/admin/index.html @@ -292,7 +292,8 @@ {name: 'deviceId' , title: _('deviceId'), type: 'text', width: '60px', sorter: 'number'}, {name: 'name' , title: _('Name'), type: 'text', width: '*'}, {name: 'description', title: _('Description'), type: 'text', width: '*'}, - {name: 'unit' , title: _('Unit'), type: 'text', width: '50px'}, + {name: 'value', title: _('Value'), type: 'text', width: '*'}, + //{name: 'unit' , title: _('Unit'), type: 'text', width: '50px'}, {name: 'type' , title: _('Type'), type: 'select', width: '200px', items: typeItems, valueField: 'value', textField: 'text'}, //{name: 'len' , title: _('Length'), type: 'text', width: '50px'}, //{name: 'factor' , title: _('Factor'), type: 'text', width: '50px'}, @@ -301,7 +302,6 @@ {name: 'room' , title: _('Room'), type: 'select', width: '100px', items: roomsItems, valueField: 'value', textField: 'text'}, //{name: 'poll' , title: _('poll'), type: 'checkbox', width: '35px'}, //{name: 'wp' , title: _('WP'), type: 'checkbox', width: '35px'}, - {name: 'cw' , title: _('CW'), type: 'checkbox', width: '35px'}, { type: 'control', width: '80px'} ]; if (_id === 'modbus_disInputs' || _id === 'modbus_inputRegs') {