node-opcua-basic-types 2.72.1 → 2.73.0
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/dist/data_type.d.ts +31 -0
- package/dist/data_type.js +36 -0
- package/dist/data_type.js.map +1 -0
- package/dist/index.d.ts +9 -8
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/source/data_type.ts +31 -0
- package/source/index.ts +9 -8
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/***
|
|
2
|
+
* @module node-opcua-basic-types
|
|
3
|
+
*/
|
|
4
|
+
export declare enum DataType {
|
|
5
|
+
Null = 0,
|
|
6
|
+
Boolean = 1,
|
|
7
|
+
SByte = 2,
|
|
8
|
+
Byte = 3,
|
|
9
|
+
Int16 = 4,
|
|
10
|
+
UInt16 = 5,
|
|
11
|
+
Int32 = 6,
|
|
12
|
+
UInt32 = 7,
|
|
13
|
+
Int64 = 8,
|
|
14
|
+
UInt64 = 9,
|
|
15
|
+
Float = 10,
|
|
16
|
+
Double = 11,
|
|
17
|
+
String = 12,
|
|
18
|
+
DateTime = 13,
|
|
19
|
+
Guid = 14,
|
|
20
|
+
ByteString = 15,
|
|
21
|
+
XmlElement = 16,
|
|
22
|
+
NodeId = 17,
|
|
23
|
+
ExpandedNodeId = 18,
|
|
24
|
+
StatusCode = 19,
|
|
25
|
+
QualifiedName = 20,
|
|
26
|
+
LocalizedText = 21,
|
|
27
|
+
ExtensionObject = 22,
|
|
28
|
+
DataValue = 23,
|
|
29
|
+
Variant = 24,
|
|
30
|
+
DiagnosticInfo = 25
|
|
31
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataType = void 0;
|
|
4
|
+
/***
|
|
5
|
+
* @module node-opcua-basic-types
|
|
6
|
+
*/
|
|
7
|
+
var DataType;
|
|
8
|
+
(function (DataType) {
|
|
9
|
+
DataType[DataType["Null"] = 0] = "Null";
|
|
10
|
+
DataType[DataType["Boolean"] = 1] = "Boolean";
|
|
11
|
+
DataType[DataType["SByte"] = 2] = "SByte";
|
|
12
|
+
DataType[DataType["Byte"] = 3] = "Byte";
|
|
13
|
+
DataType[DataType["Int16"] = 4] = "Int16";
|
|
14
|
+
DataType[DataType["UInt16"] = 5] = "UInt16";
|
|
15
|
+
DataType[DataType["Int32"] = 6] = "Int32";
|
|
16
|
+
DataType[DataType["UInt32"] = 7] = "UInt32";
|
|
17
|
+
DataType[DataType["Int64"] = 8] = "Int64";
|
|
18
|
+
DataType[DataType["UInt64"] = 9] = "UInt64";
|
|
19
|
+
DataType[DataType["Float"] = 10] = "Float";
|
|
20
|
+
DataType[DataType["Double"] = 11] = "Double";
|
|
21
|
+
DataType[DataType["String"] = 12] = "String";
|
|
22
|
+
DataType[DataType["DateTime"] = 13] = "DateTime";
|
|
23
|
+
DataType[DataType["Guid"] = 14] = "Guid";
|
|
24
|
+
DataType[DataType["ByteString"] = 15] = "ByteString";
|
|
25
|
+
DataType[DataType["XmlElement"] = 16] = "XmlElement";
|
|
26
|
+
DataType[DataType["NodeId"] = 17] = "NodeId";
|
|
27
|
+
DataType[DataType["ExpandedNodeId"] = 18] = "ExpandedNodeId";
|
|
28
|
+
DataType[DataType["StatusCode"] = 19] = "StatusCode";
|
|
29
|
+
DataType[DataType["QualifiedName"] = 20] = "QualifiedName";
|
|
30
|
+
DataType[DataType["LocalizedText"] = 21] = "LocalizedText";
|
|
31
|
+
DataType[DataType["ExtensionObject"] = 22] = "ExtensionObject";
|
|
32
|
+
DataType[DataType["DataValue"] = 23] = "DataValue";
|
|
33
|
+
DataType[DataType["Variant"] = 24] = "Variant";
|
|
34
|
+
DataType[DataType["DiagnosticInfo"] = 25] = "DiagnosticInfo";
|
|
35
|
+
})(DataType = exports.DataType || (exports.DataType = {}));
|
|
36
|
+
//# sourceMappingURL=data_type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data_type.js","sourceRoot":"","sources":["../source/data_type.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,QA2BX;AA3BD,WAAY,QAAQ;IAChB,uCAAQ,CAAA;IACR,6CAAW,CAAA;IACX,yCAAS,CAAA;IACT,uCAAQ,CAAA;IACR,yCAAS,CAAA;IACT,2CAAU,CAAA;IACV,yCAAS,CAAA;IACT,2CAAU,CAAA;IACV,yCAAS,CAAA;IACT,2CAAU,CAAA;IACV,0CAAU,CAAA;IACV,4CAAW,CAAA;IACX,4CAAW,CAAA;IACX,gDAAa,CAAA;IACb,wCAAS,CAAA;IACT,oDAAe,CAAA;IACf,oDAAe,CAAA;IACf,4CAAW,CAAA;IACX,4DAAmB,CAAA;IACnB,oDAAe,CAAA;IACf,0DAAkB,CAAA;IAClB,0DAAkB,CAAA;IAClB,8DAAoB,CAAA;IACpB,kDAAc,CAAA;IACd,8CAAY,CAAA;IACZ,4DAAmB,CAAA;AACvB,CAAC,EA3BW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA2BnB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* @module node-opcua-basic-types
|
|
3
3
|
*/
|
|
4
4
|
/// <reference types="node" />
|
|
5
|
+
export * from "./array";
|
|
6
|
+
export * from "./attributeIds";
|
|
5
7
|
export * from "./boolean";
|
|
6
|
-
export * from "./integers";
|
|
7
|
-
export * from "./floats";
|
|
8
|
-
export * from "./string";
|
|
9
|
-
export * from "./date_time";
|
|
10
8
|
export * from "./byte_string";
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
9
|
+
export * from "./data_type";
|
|
10
|
+
export * from "./date_time";
|
|
11
|
+
export * from "./floats";
|
|
13
12
|
export * from "./guid";
|
|
14
|
-
export * from "./
|
|
13
|
+
export * from "./integers";
|
|
15
14
|
export * from "./locale_id";
|
|
16
|
-
export * from "./
|
|
15
|
+
export * from "./node_id";
|
|
17
16
|
export * from "./round_to_float";
|
|
17
|
+
export * from "./status_code";
|
|
18
|
+
export * from "./string";
|
|
18
19
|
export declare type ByteString = Buffer;
|
package/dist/index.js
CHANGED
|
@@ -17,17 +17,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
17
17
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./array"), exports);
|
|
21
|
+
__exportStar(require("./attributeIds"), exports);
|
|
20
22
|
__exportStar(require("./boolean"), exports);
|
|
21
|
-
__exportStar(require("./integers"), exports);
|
|
22
|
-
__exportStar(require("./floats"), exports);
|
|
23
|
-
__exportStar(require("./string"), exports);
|
|
24
|
-
__exportStar(require("./date_time"), exports);
|
|
25
23
|
__exportStar(require("./byte_string"), exports);
|
|
26
|
-
__exportStar(require("./
|
|
27
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./data_type"), exports);
|
|
25
|
+
__exportStar(require("./date_time"), exports);
|
|
26
|
+
__exportStar(require("./floats"), exports);
|
|
28
27
|
__exportStar(require("./guid"), exports);
|
|
29
|
-
__exportStar(require("./
|
|
28
|
+
__exportStar(require("./integers"), exports);
|
|
30
29
|
__exportStar(require("./locale_id"), exports);
|
|
31
|
-
__exportStar(require("./
|
|
30
|
+
__exportStar(require("./node_id"), exports);
|
|
32
31
|
__exportStar(require("./round_to_float"), exports);
|
|
32
|
+
__exportStar(require("./status_code"), exports);
|
|
33
|
+
__exportStar(require("./string"), exports);
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,0CAAwB;AACxB,iDAA+B;AAC/B,4CAA0B;AAC1B,gDAA8B;AAC9B,8CAA4B;AAC5B,8CAA4B;AAC5B,2CAAyB;AACzB,yCAAuB;AACvB,6CAA2B;AAC3B,8CAA4B;AAC5B,4CAA0B;AAC1B,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-basic-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.73.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -basic-types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"node-opcua-assert": "2.66.0",
|
|
15
|
-
"node-opcua-binary-stream": "2.
|
|
15
|
+
"node-opcua-binary-stream": "2.73.0",
|
|
16
16
|
"node-opcua-buffer-utils": "2.71.0",
|
|
17
|
-
"node-opcua-date-time": "2.
|
|
17
|
+
"node-opcua-date-time": "2.73.0",
|
|
18
18
|
"node-opcua-enum": "2.71.0",
|
|
19
19
|
"node-opcua-guid": "2.66.0",
|
|
20
20
|
"node-opcua-nodeid": "2.71.0",
|
|
21
|
-
"node-opcua-status-code": "2.
|
|
21
|
+
"node-opcua-status-code": "2.73.0",
|
|
22
22
|
"node-opcua-utils": "2.71.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"internet of things"
|
|
43
43
|
],
|
|
44
44
|
"homepage": "http://node-opcua.github.io/",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "b23a87c1ef777c0d8b680f45ee77e2a319feb092"
|
|
46
46
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/***
|
|
2
|
+
* @module node-opcua-basic-types
|
|
3
|
+
*/
|
|
4
|
+
export enum DataType {
|
|
5
|
+
Null = 0,
|
|
6
|
+
Boolean = 1,
|
|
7
|
+
SByte = 2, // signed Byte = Int8
|
|
8
|
+
Byte = 3, // unsigned Byte = UInt8
|
|
9
|
+
Int16 = 4,
|
|
10
|
+
UInt16 = 5,
|
|
11
|
+
Int32 = 6,
|
|
12
|
+
UInt32 = 7,
|
|
13
|
+
Int64 = 8,
|
|
14
|
+
UInt64 = 9,
|
|
15
|
+
Float = 10,
|
|
16
|
+
Double = 11,
|
|
17
|
+
String = 12,
|
|
18
|
+
DateTime = 13,
|
|
19
|
+
Guid = 14,
|
|
20
|
+
ByteString = 15,
|
|
21
|
+
XmlElement = 16,
|
|
22
|
+
NodeId = 17,
|
|
23
|
+
ExpandedNodeId = 18,
|
|
24
|
+
StatusCode = 19,
|
|
25
|
+
QualifiedName = 20,
|
|
26
|
+
LocalizedText = 21,
|
|
27
|
+
ExtensionObject = 22,
|
|
28
|
+
DataValue = 23,
|
|
29
|
+
Variant = 24,
|
|
30
|
+
DiagnosticInfo = 25
|
|
31
|
+
}
|
package/source/index.ts
CHANGED
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* @module node-opcua-basic-types
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./array";
|
|
6
|
+
export * from "./attributeIds";
|
|
5
7
|
export * from "./boolean";
|
|
6
|
-
export * from "./integers";
|
|
7
|
-
export * from "./floats";
|
|
8
|
-
export * from "./string";
|
|
9
|
-
export * from "./date_time";
|
|
10
8
|
export * from "./byte_string";
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
9
|
+
export * from "./data_type";
|
|
10
|
+
export * from "./date_time";
|
|
11
|
+
export * from "./floats";
|
|
13
12
|
export * from "./guid";
|
|
14
|
-
export * from "./
|
|
13
|
+
export * from "./integers";
|
|
15
14
|
export * from "./locale_id";
|
|
16
|
-
export * from "./
|
|
15
|
+
export * from "./node_id";
|
|
17
16
|
export * from "./round_to_float";
|
|
17
|
+
export * from "./status_code";
|
|
18
|
+
export * from "./string";
|
|
18
19
|
export type ByteString = Buffer;
|