From aeec65527f1ee7b792882cdfec545ed3f730e54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Wed, 26 Sep 2018 09:40:31 +0800 Subject: [PATCH] Update index_m.html --- admin/index_m.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/admin/index_m.html b/admin/index_m.html index ee2f995..e41c3e4 100644 --- a/admin/index_m.html +++ b/admin/index_m.html @@ -46,6 +46,18 @@ $.each($('.modbus-grid'), function () { var _id = $(this).attr('id'); + + var typeItems = [ + {value: '', text: ''}, + {value: 'uint16be', text: 'Unsigned 16 bit (Big Endian)'}, + {value: 'uint16le', text: 'Unsigned 16 bit (Little Endian)'}, + {value: 'doublele', text: 'Double (Little Endian)'}, + {value: 'string', text: 'String (Zero-end)'}, + {value: 'stringle', text: 'String (Little Endian, Zero-end)'}, + {value: 'ieee754', text: 'IEEE-754'} + ]; + + var fields = [ {name: '_address' , title: _('Address'), type: 'text', width: '110px', sorter: 'number'}, {name: 'deviceId' , title: _('deviceId'), type: 'text', width: '60px', sorter: 'number'},