Keepalive su nodo tcp

This commit is contained in:
2020-04-16 19:00:35 +02:00
parent 2ea5fe3063
commit 0f8107d137
2 changed files with 13 additions and 6 deletions
+10 -4
View File
@@ -40,18 +40,22 @@
</select>
<span data-i18n="tcpin.label.payload"></span>
</div>
<div class="form-row">
<label><i class="fa fa-clock-o"></i> <span>Keepalive</span></label>
<input type="text" id="node-input-keepalive" style="text-align:end; width:200px !important">
</div>
<div id="node-row-newline" class="form-row hidden" style="padding-left:110px;">
<span data-i18n="tcpin.label.delimited"></span> <input type="text" id="node-input-newline" style="width:110px;">
</div>
<div class="form-row">
<label for="node-input-topic"><i class="fa fa-tasks"></i> <span data-i18n="common.label.topic"></span></label>
<input type="text" id="node-input-topic" data-i18n="[placeholder]common.label.topic">
<label for="node-input-topic"><i class="fa fa-tasks"></i> Topic</label>
<input type="text" id="node-input-topic" placeholder="topic">
</div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
<label for="node-input-name"><i class="fa fa-tag"></i> <span>Name</span></label>
<input type="text" id="node-input-name" placeholder="name">
</div>
</script>
@@ -67,6 +71,7 @@
datamode: { value: "stream" },
datatype: { value: "buffer" },
newline: { value: "" },
keepalive: { value: "120000" },
topic: { value: "" },
base64: {/*deprecated*/ value: false, required: true }
},
@@ -103,6 +108,7 @@
$("#node-input-server").change(updateOptions);
$("#node-input-datatype").change(updateOptions);
$("#node-input-datamode").change(updateOptions);
$("#node-input-keepalive").spinner({ min: 1 });
}
});
</script>