Update index.html
This commit is contained in:
parent
6934206d18
commit
b59301965f
@ -24,6 +24,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var onChange = null;
|
var onChange = null;
|
||||||
var activePage = '';
|
var activePage = '';
|
||||||
|
|
||||||
var offsets = {
|
var offsets = {
|
||||||
disInputs: 10001,
|
disInputs: 10001,
|
||||||
coils: 1,
|
coils: 1,
|
||||||
@ -711,12 +712,13 @@
|
|||||||
settings.params = settings.params || {};
|
settings.params = settings.params || {};
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
yz: settings.yz || [],
|
|
||||||
|
|
||||||
disInputs: settings.disInputs || [],
|
//添加自定义数据类型
|
||||||
coils: settings.coils || [],
|
yz: settings.yz || [],
|
||||||
inputRegs: settings.inputRegs || [],
|
dz: settings.dz || [],
|
||||||
holdingRegs: settings.holdingRegs || [],
|
power: settings.power || [],
|
||||||
|
video: settings.video || [],
|
||||||
|
|
||||||
params: {
|
params: {
|
||||||
bind: settings.params.bind || '192.168.0.1',
|
bind: settings.params.bind || '192.168.0.1',
|
||||||
port: settings.params.port || 502,
|
port: settings.params.port || 502,
|
||||||
|
Loading…
Reference in New Issue
Block a user