@vitormnm/node-red-simple-opcua 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -409,11 +409,14 @@ class OpcUaServerConfigParser {
|
|
|
409
409
|
const normalized = typeof type === "string" ? type.trim() : "";
|
|
410
410
|
const aliases = {
|
|
411
411
|
int16: "Int16",
|
|
412
|
+
uint16: "UInt16",
|
|
412
413
|
int32: "Int32",
|
|
414
|
+
uint32: "UInt32",
|
|
413
415
|
float: "Float",
|
|
414
416
|
boolean: "Boolean",
|
|
415
417
|
string: "String",
|
|
416
|
-
bytestring: "ByteString"
|
|
418
|
+
bytestring: "ByteString",
|
|
419
|
+
localizedText: "LocalizedText",
|
|
417
420
|
};
|
|
418
421
|
const canonical = aliases[normalized.toLowerCase()] || normalized;
|
|
419
422
|
if (!DATA_TYPE_MAP[canonical]) {
|
|
@@ -37,11 +37,14 @@ const SECURITY_MODE_MAP = {
|
|
|
37
37
|
|
|
38
38
|
const DATA_TYPE_MAP = {
|
|
39
39
|
Int16: DataType.Int16,
|
|
40
|
+
UInt16: DataType.UInt16,
|
|
40
41
|
Int32: DataType.Int32,
|
|
42
|
+
UInt32: DataType.UInt32,
|
|
41
43
|
Float: DataType.Float,
|
|
42
44
|
Boolean: DataType.Boolean,
|
|
43
45
|
String: DataType.String,
|
|
44
|
-
ByteString : DataType.ByteString
|
|
46
|
+
ByteString : DataType.ByteString,
|
|
47
|
+
LocalizedText : DataType.LocalizedText
|
|
45
48
|
};
|
|
46
49
|
|
|
47
50
|
function normalizePort(port) {
|