Update index.html
This commit is contained in:
parent
6934206d18
commit
b59301965f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user