Update index.html

This commit is contained in:
钟进 2018-11-08 01:44:38 +08:00
parent b78cc2cc24
commit f38109d406

View File

@ -276,36 +276,9 @@
];
var typeItems = [
{value: '', text: ''},
{value: 'uint16be', text: 'Unsigned 16 bit (Big Endian)'},
{value: 'uint16le', text: 'Unsigned 16 bit (Little Endian)'},
{value: 'int16be', text: 'Signed 16 bit (Big Endian)'},
{value: 'int16le', text: 'Signed 16 bit (Little Endian)'},
{value: 'uint32be', text: 'Unsigned 32 bit (Big Endian)'},
{value: 'uint32le', text: 'Unsigned 32 bit (Little Endian)'},
{value: 'uint32sw', text: 'Unsigned 32 bit (Big Endian Word Swap)'},
{value: 'uint32sb', text: 'Unsigned 32 bit (Big Endian Byte Swap)'},
{value: 'int32be', text: 'Signed 32 bit (Big Endian)'},
{value: 'int32le', text: 'Signed 32 bit (Little Endian)'},
{value: 'int32sw', text: 'Signed 32 bit (Big Endian Word Swap)'},
{value: 'int32sb', text: 'Signed 32 bit (Big Endian Byte Swap)'},
{value: 'uint64be', text: 'Unsigned 64 bit (Big Endian)'},
{value: 'uint64le', text: 'Unsigned 64 bit (Little Endian)'},
{value: 'uint8be', text: 'Unsigned 8 bit (Big Endian)'},
{value: 'uint8le', text: 'Unsigned 8 bit (Little Endian)'},
{value: 'int8be', text: 'Signed 8 bit (Big Endian)'},
{value: 'int8le', text: 'Signed 8 bit (Little Endian)'},
// {value: 'int64be', text: 'Signed 64 bit (Big Endian)'},
// {value: 'int64le', text: 'Signed 64 bit (Little Endian)'},
{value: 'floatbe', text: 'Float (Big Endian)'},
{value: 'floatle', text: 'Float (Little Endian)'},
{value: 'floatsw', text: 'Float (Big Endian Word Swap)'},
{value: 'floatsb', text: 'Float (Big Endian Byte Swap)'},
{value: 'doublebe', text: 'Double (Big 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'}
{value: 'string', text: 'string'},
{value: 'number', text: 'number'},
{value: 'boolean', text: 'boolean'}
];
var roomsItems = [{value: '', text: ''}];
@ -738,6 +711,8 @@
settings.params = settings.params || {};
var data = {
yz: settings.yz || [],
disInputs: settings.disInputs || [],
coils: settings.coils || [],
inputRegs: settings.inputRegs || [],