Update index.html

This commit is contained in:
Administrator 2018-11-08 10:48:07 +08:00
parent 6934206d18
commit b59301965f

View File

@ -24,6 +24,7 @@
<script type="text/javascript">
var onChange = null;
var activePage = '';
var offsets = {
disInputs: 10001,
coils: 1,
@ -711,12 +712,13 @@
settings.params = settings.params || {};
var data = {
yz: settings.yz || [],
disInputs: settings.disInputs || [],
coils: settings.coils || [],
inputRegs: settings.inputRegs || [],
holdingRegs: settings.holdingRegs || [],
//添加自定义数据类型
yz: settings.yz || [],
dz: settings.dz || [],
power: settings.power || [],
video: settings.video || [],
params: {
bind: settings.params.bind || '192.168.0.1',
port: settings.params.port || 502,