mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
connect/disconnect, configurable reconnect time
This commit is contained in:
parent
edd521f2e9
commit
37733df1cf
@ -213,7 +213,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="padding-left:18px; margin-bottom:18px;">
|
<div class="form-row" style="padding-left:18px; margin-bottom:18px;">
|
||||||
<span data-i18n="serial.label.responsetimeout"></span>
|
<span data-i18n="serial.label.responsetimeout"></span>
|
||||||
<input type="text" id="node-config-input-responsetimeout" style="width:60px; height:28px;">
|
<input type="text" id="node-config-input-responsetimeout" style="width:120px; height:28px;">
|
||||||
|
<span data-i18n="serial.label.ms"></span>
|
||||||
|
</div>
|
||||||
|
<div class="form-row" style="padding-left:18px; margin-bottom:18px;">
|
||||||
|
<span data-i18n="serial.label.serialReconnectTime"></span>
|
||||||
|
<input type="number" id="node-config-input-serialReconnectTime" style="width:120px; height:28px;">
|
||||||
<span data-i18n="serial.label.ms"></span>
|
<span data-i18n="serial.label.ms"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -245,7 +250,8 @@
|
|||||||
bin: {value:"false"},
|
bin: {value:"false"},
|
||||||
out: {value:"char"},
|
out: {value:"char"},
|
||||||
addchar: {value:""},
|
addchar: {value:""},
|
||||||
responsetimeout: {value: 10000}
|
responsetimeout: {value: 10000},
|
||||||
|
serialReconnectTime: {value: 15000}
|
||||||
},
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
this.serialbaud = this.serialbaud || 57600;
|
this.serialbaud = this.serialbaud || 57600;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user