From 0f89d735262cf67dcaeb8bcec054a01d6b902493 Mon Sep 17 00:00:00 2001 From: Klaus Landsdorf Date: Tue, 16 Oct 2018 18:59:44 +0200 Subject: [PATCH] feat: new option to to get some delay on server close feat: new tab limits in server --- src/locales/en-US/opcua-iiot-server.json | 3 +- src/opcua-iiot-server.html | 61 ++++++++++++----------- src/opcua-iiot-server.js | 2 +- test/e2e/opcua-iiot-connector-e2e.test.js | 2 +- test/e2e/opcua-iiot-listener-e2e.test.js | 2 +- 5 files changed, 37 insertions(+), 33 deletions(-) diff --git a/src/locales/en-US/opcua-iiot-server.json b/src/locales/en-US/opcua-iiot-server.json index 9281dc3f..79622de5 100644 --- a/src/locales/en-US/opcua-iiot-server.json +++ b/src/locales/en-US/opcua-iiot-server.json @@ -34,7 +34,8 @@ "users": "Users & Sets", "settings": "Settings", "security": "Security", - "discovery": "Discovery" + "discovery": "Discovery", + "limits": "Limits" } } } diff --git a/src/opcua-iiot-server.html b/src/opcua-iiot-server.html index efad89bf..c889ec0d 100644 --- a/src/opcua-iiot-server.html +++ b/src/opcua-iiot-server.html @@ -35,7 +35,7 @@ capabilitiesForMDNS: {value: ''}, maxNodesPerRead: {value: 1000, validate:function(v) { return ((v === '') || (RED.validators.number(v) && (v > 0) && (v <= 100000))) }}, maxNodesPerBrowse: {value: 2000, validate:function(v) { return ((v === '') || (RED.validators.number(v) && (v > 0) && (v <= 200000))) }}, - delayToClose: {value: 500, validate:function(v) { return ((v === '') || (RED.validators.number(v) && (v >= 100) && (v <= 15000))) }} + delayToClose: {value: 100, validate:function(v) { return ((v === '') || (RED.validators.number(v) && (v >= 100) && (v <= 15000))) }} }, inputs: 1, outputs: 1, @@ -66,6 +66,11 @@ label: this._("opcua-iiot-contrib.tabs-label.settings") }) + tabs.addTab({ + id: "opcuaiiot-server-tab-limits", + label: this._("opcua-iiot-contrib.tabs-label.limits") + }) + tabs.addTab({ id: "opcuaiiot-server-tab-security", label: this._("opcua-iiot-contrib.tabs-label.security") @@ -327,10 +332,6 @@ }) }) - if (node.asoDemo === null || typeof node.asoDemo === 'undefined') { - asoDemo = true - } - // console.log('well done editsave ...') } }) @@ -352,33 +353,13 @@
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - + +

- - + +
@@ -407,6 +388,28 @@
+