Update index.html

This commit is contained in:
Administrator 2018-11-08 10:41:31 +08:00
parent 4151bebcf4
commit 44014f6ca0

View File

@ -292,7 +292,8 @@
{name: 'deviceId' , title: _('deviceId'), type: 'text', width: '60px', sorter: 'number'}, {name: 'deviceId' , title: _('deviceId'), type: 'text', width: '60px', sorter: 'number'},
{name: 'name' , title: _('Name'), type: 'text', width: '*'}, {name: 'name' , title: _('Name'), type: 'text', width: '*'},
{name: 'description', title: _('Description'), 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: 'type' , title: _('Type'), type: 'select', width: '200px', items: typeItems, valueField: 'value', textField: 'text'},
//{name: 'len' , title: _('Length'), type: 'text', width: '50px'}, //{name: 'len' , title: _('Length'), type: 'text', width: '50px'},
//{name: 'factor' , title: _('Factor'), 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: 'room' , title: _('Room'), type: 'select', width: '100px', items: roomsItems, valueField: 'value', textField: 'text'},
//{name: 'poll' , title: _('poll'), type: 'checkbox', width: '35px'}, //{name: 'poll' , title: _('poll'), type: 'checkbox', width: '35px'},
//{name: 'wp' , title: _('WP'), type: 'checkbox', width: '35px'}, //{name: 'wp' , title: _('WP'), type: 'checkbox', width: '35px'},
{name: 'cw' , title: _('CW'), type: 'checkbox', width: '35px'},
{ type: 'control', width: '80px'} { type: 'control', width: '80px'}
]; ];
if (_id === 'modbus_disInputs' || _id === 'modbus_inputRegs') { if (_id === 'modbus_disInputs' || _id === 'modbus_inputRegs') {