node-opcua-data-model 2.53.0 → 2.57.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/_make_flag.d.ts +1 -1
- package/dist/_make_flag.js.map +1 -1
- package/dist/access_level.js.map +1 -1
- package/dist/access_level_ex.js +2 -2
- package/dist/access_level_ex.js.map +1 -1
- package/dist/access_restrictions.js.map +1 -1
- package/dist/attributeIds.js.map +1 -1
- package/dist/data_encoding.d.ts +1 -1
- package/dist/data_encoding.js +2 -2
- package/dist/data_encoding.js.map +1 -1
- package/dist/diagnostic_info.d.ts +2 -2
- package/dist/diagnostic_info.js.map +1 -1
- package/dist/localized_text.d.ts +3 -3
- package/dist/localized_text.js.map +1 -1
- package/dist/node_class_mask.js.map +1 -1
- package/dist/nodeclass.js.map +1 -1
- package/dist/permission_flag.js.map +1 -1
- package/dist/qualified_name.js +2 -2
- package/dist/qualified_name.js.map +1 -1
- package/dist/result_mask.js.map +1 -1
- package/dist/write_mask.js +1 -1
- package/dist/write_mask.js.map +1 -1
- package/package.json +14 -12
- package/source/BrowseDirection.ts +1 -1
- package/source/_make_flag.ts +2 -3
- package/source/access_level.ts +18 -13
- package/source/access_level_ex.ts +22 -25
- package/source/access_restrictions.ts +1 -3
- package/source/attributeIds.ts +1 -5
- package/source/data_encoding.ts +3 -3
- package/source/diagnostic_info.ts +10 -9
- package/source/localized_text.ts +4 -3
- package/source/node_class_mask.ts +8 -8
- package/source/nodeclass.ts +9 -9
- package/source/permission_flag.ts +8 -8
- package/source/qualified_name.ts +3 -3
- package/source/result_mask.ts +6 -6
- package/source/write_mask.ts +26 -26
package/dist/_make_flag.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function _make_flag(str: string | number | null, noneValue: number, T:
|
|
1
|
+
export declare function _make_flag(str: string | number | null, noneValue: number, T: Record<string | number, number | string>): number;
|
package/dist/_make_flag.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_make_flag.js","sourceRoot":"","sources":["../source/_make_flag.ts"],"names":[],"mappings":";;;AAAA,SAAgB,UAAU,CAAC,GAA2B,EAAE,SAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"_make_flag.js","sourceRoot":"","sources":["../source/_make_flag.ts"],"names":[],"mappings":";;;AAAA,SAAgB,UAAU,CAAC,GAA2B,EAAE,SAAiB,EAAE,CAA2C;IAClH,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QACzB,MAAM,KAAK,GAAG,GAAa,CAAC;QAC5B,IAAI,KAAK,KAAK,CAAC,EAAE;YACb,OAAO,SAAS,CAAC;SACpB;QACD,OAAO,KAAK,CAAC;KAChB;IAED,IAAI,UAAU,GAAG,CAAC,CAAC;IAEnB,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,IAAI,EAAE;QAC5B,UAAU,GAAG,SAAS,CAAC;KAC1B;SAAM;QACH,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC/B,UAAU,GAAG,CAAC,CAAC;QACf,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACtB,UAAU,IAAK,CAAS,CAAC,IAAI,CAAC,CAAC;SAClC;KACJ;IACD,OAAO,UAAU,CAAC;AACtB,CAAC;AArBD,gCAqBC"}
|
package/dist/access_level.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access_level.js","sourceRoot":"","sources":["../source/access_level.ts"],"names":[],"mappings":";;;AAMA,2DAAuD;AACvD,6CAA0C;
|
|
1
|
+
{"version":3,"file":"access_level.js","sourceRoot":"","sources":["../source/access_level.ts"],"names":[],"mappings":";;;AAMA,2DAAuD;AACvD,6CAA0C;AAE1C,IAAY,eAWX;AAXD,WAAY,eAAe;IACvB,mEAAkB,CAAA;IAClB,qEAAmB,CAAA;IACnB,mEAAkB,CAAA;IAClB,qEAAmB,CAAA;IACnB,0EAAqB,CAAA;IACrB,o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IACD,IAAI,eAAe,GAAG,eAAe,CAAC,cAAc,EAAE;QAClD,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KACjC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC;AAxBD,4DAwBC;AACD,4BAA4B;AAC5B,SAAgB,uBAAuB,CAAC,eAAgC;IACpE,MAAM,MAAM,GAAG,wBAAwB,CAAC,eAAe,CAAC,CAAC;IACzD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;QACrB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACvB;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC;AAND,0DAMC;AACD,SAAgB,qBAAqB,CAAC,MAAoB;IACtD,MAAM,IAAI,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;IAChC,OAAO,IAAI,CAAC;AAChB,CAAC;AAHD,sDAGC;AACD,SAAgB,qBAAqB,CAAC,KAAsB,EAAE,MAA0B;IACpF,MAAM,CAAC,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAFD,sDAEC;AAED,IAAA,sCAAiB,EAAC;IACd,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,MAAM;IAEf,YAAY,EAAE,eAAe,CAAC,WAAW,GAAG,eAAe,CAAC,YAAY;IAExE,MAAM,EAAE,mBAAmB;IAC3B,MAAM,EAAE,qBAAqB;IAC7B,MAAM,EAAE,qBAAqB;IAC7B,MAAM,EAAE,iBAAiB;CAC5B,CAAC,CAAC"}
|
package/dist/access_level_ex.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.decodeAccessLevelExFlag = exports.encodeAccessLevelExFlag = exports.accessLevelExFlagToString = exports.randomAccessLevelEx = exports.makeAccessLevelExFlag = exports.AccessLevelExFlag = void 0;
|
|
4
|
-
const access_level_1 = require("./access_level");
|
|
5
4
|
const node_opcua_factory_1 = require("node-opcua-factory");
|
|
5
|
+
const access_level_1 = require("./access_level");
|
|
6
6
|
const _make_flag_1 = require("./_make_flag");
|
|
7
7
|
/**
|
|
8
8
|
* from https://reference.opcfoundation.org/v104/Core/docs/Part3/8.58/:
|
|
@@ -64,7 +64,7 @@ function accessLevelExFlagToString(accessLevelFlag) {
|
|
|
64
64
|
}
|
|
65
65
|
exports.accessLevelExFlagToString = accessLevelExFlagToString;
|
|
66
66
|
function encodeAccessLevelExFlag(value, stream) {
|
|
67
|
-
stream.writeUInt32(value &
|
|
67
|
+
stream.writeUInt32(value & 0xfffff);
|
|
68
68
|
}
|
|
69
69
|
exports.encodeAccessLevelExFlag = encodeAccessLevelExFlag;
|
|
70
70
|
function decodeAccessLevelExFlag(stream) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access_level_ex.js","sourceRoot":"","sources":["../source/access_level_ex.ts"],"names":[],"mappings":";;;AACA,iDAA0D;AAC1D,
|
|
1
|
+
{"version":3,"file":"access_level_ex.js","sourceRoot":"","sources":["../source/access_level_ex.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AACvD,iDAA0D;AAC1D,6CAA0C;AAC1C;;;;;;;;;;;GAWG;AACH,IAAY,iBAgBX;AAhBD,WAAY,iBAAiB;IACzB,uEAAkB,CAAA;IAClB,yEAAmB,CAAA;IACnB,uEAAkB,CAAA;IAClB,yEAAmB,CAAA;IACnB,8EAAqB,CAAA;IACrB,wEAAkB,CAAA;IAClB,8EAAqB,CAAA;IACrB,iBAAiB;IAEjB,6EAAoB,CAAA;IACpB,+EAAsB,CAAA;IACtB,uFAA0B,CAAA;IAC1B,gFAAsB,CAAA;IACtB,iDAAiD;IACjD,4DAAY,CAAA;AAChB,CAAC,EAhBW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAgB5B;AAED,WAAW;AACX,2EAA2E;AAC3E,SAAgB,qBAAqB,CAAC,GAA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,IAAA,sCAAiB,EAAC;IACd,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,QAAQ;IAEjB,YAAY,EAAE,iBAAiB,CAAC,WAAW,GAAG,iBAAiB,CAAC,YAAY;IAE5E,MAAM,EAAE,qBAAqB;IAC7B,MAAM,EAAE,uBAAuB;IAC/B,MAAM,EAAE,uBAAuB;IAC/B,MAAM,EAAE,mBAAmB;CAC9B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access_restrictions.js","sourceRoot":"","sources":["../source/access_restrictions.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;
|
|
1
|
+
{"version":3,"file":"access_restrictions.js","sourceRoot":"","sources":["../source/access_restrictions.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAE1C,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAC9B,yFAAmB,CAAA;IACnB,+FAAsB,CAAA;IACtB,yFAAmB,CAAA;IACnB,6GAA6B,CAAA;IAC7B,mEAAU,CAAA;AACd,CAAC,EANW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAMjC;AAED,SAAgB,0BAA0B,CAAC,GAA2B;IAClE,OAAO,IAAA,uBAAU,EAAC,GAAG,EAAE,sBAAsB,CAAC,IAAI,EAAE,sBAAsB,CAA2B,CAAC;AAC1G,CAAC;AAFD,gEAEC;AAED,SAAgB,8BAA8B,CAAC,KAA6B;IACxE,MAAM,MAAM,GAAG,EAAE,CAAC;IAClB,IAAI,KAAK,GAAG,sBAAsB,CAAC,eAAe,EAAE;QAChD,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;KAClC;IACD,IAAI,KAAK,GAAG,sBAAsB,CAAC,kBAAkB,EAAE;QACnD,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;KACrC;IACD,IAAI,KAAK,GAAG,sBAAsB,CAAC,eAAe,EAAE;QAChD,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;KAClC;IACD,IAAI,KAAK,GAAG,sBAAsB,CAAC,yBAAyB,EAAE;QAC1D,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;KAC5C;IACD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;QACrB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACvB;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC;AAlBD,wEAkBC"}
|
package/dist/attributeIds.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributeIds.js","sourceRoot":"","sources":["../source/attributeIds.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"attributeIds.js","sourceRoot":"","sources":["../source/attributeIds.ts"],"names":[],"mappings":";;;AAAA,iEAA6F;AAApF,4HAAA,kBAAkB,OAAA;AAAE,2HAAA,iBAAiB,OAAA;AAAE,sHAAA,YAAY,OAAA"}
|
package/dist/data_encoding.d.ts
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* @module node-opcua-data-model
|
|
3
3
|
*/
|
|
4
4
|
import { QualifiedNameLike } from "./qualified_name";
|
|
5
|
-
export declare function isDataEncoding(dataEncoding:
|
|
5
|
+
export declare function isDataEncoding(dataEncoding: unknown): boolean;
|
|
6
6
|
export declare function isValidDataEncoding(dataEncoding?: string | null | QualifiedNameLike): boolean;
|
package/dist/data_encoding.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isValidDataEncoding = exports.isDataEncoding = void 0;
|
|
4
4
|
function isDataEncoding(dataEncoding) {
|
|
5
|
-
return dataEncoding && typeof dataEncoding.name === "string";
|
|
5
|
+
return !!dataEncoding && typeof dataEncoding === "object" && typeof dataEncoding.name === "string";
|
|
6
6
|
}
|
|
7
7
|
exports.isDataEncoding = isDataEncoding;
|
|
8
8
|
const validEncoding = ["DefaultBinary", "DefaultXml", "DefaultJson"];
|
|
@@ -10,7 +10,7 @@ function isValidDataEncoding(dataEncoding) {
|
|
|
10
10
|
if (!dataEncoding) {
|
|
11
11
|
return true;
|
|
12
12
|
}
|
|
13
|
-
if (
|
|
13
|
+
if (Object.prototype.hasOwnProperty.call(dataEncoding, "name")) {
|
|
14
14
|
dataEncoding = dataEncoding.name;
|
|
15
15
|
}
|
|
16
16
|
if (!dataEncoding) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data_encoding.js","sourceRoot":"","sources":["../source/data_encoding.ts"],"names":[],"mappings":";;;AAKA,SAAgB,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"data_encoding.js","sourceRoot":"","sources":["../source/data_encoding.ts"],"names":[],"mappings":";;;AAKA,SAAgB,cAAc,CAAC,YAAqB;IAChD,OAAO,CAAC,CAAC,YAAY,IAAI,OAAO,YAAY,KAAK,QAAQ,IAAI,OAAQ,YAAoB,CAAC,IAAI,KAAK,QAAQ,CAAC;AAChH,CAAC;AAFD,wCAEC;AAED,MAAM,aAAa,GAAG,CAAC,eAAe,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AACrE,SAAgB,mBAAmB,CAAC,YAAgD;IAChF,IAAI,CAAC,YAAY,EAAE;QACf,OAAO,IAAI,CAAC;KACf;IAED,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,YAAmB,EAAE,MAAM,CAAC,EAAE;QACnE,YAAY,GAAI,YAAqC,CAAC,IAAI,CAAC;KAC9D;IACD,IAAI,CAAC,YAAY,EAAE;QACf,OAAO,IAAI,CAAC;KACf;IACD,OAAO,aAAa,CAAC,OAAO,CAAC,YAAsB,CAAC,KAAK,CAAC,CAAC,CAAC;AAChE,CAAC;AAZD,kDAYC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
2
|
-
import { BaseUAObject, StructuredTypeSchema } from "node-opcua-factory";
|
|
2
|
+
import { BaseUAObject, DecodeDebugOptions, StructuredTypeSchema } from "node-opcua-factory";
|
|
3
3
|
import { StatusCode } from "node-opcua-status-code";
|
|
4
4
|
import { Int32, UAString } from "node-opcua-basic-types";
|
|
5
5
|
export declare const schemaDiagnosticInfo: StructuredTypeSchema;
|
|
@@ -23,7 +23,7 @@ export declare class DiagnosticInfo extends BaseUAObject {
|
|
|
23
23
|
constructor(options?: DiagnosticInfoOptions);
|
|
24
24
|
encode(stream: OutputBinaryStream): void;
|
|
25
25
|
decode(stream: BinaryStream): void;
|
|
26
|
-
decodeDebug(stream: BinaryStream, options:
|
|
26
|
+
decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
|
|
27
27
|
}
|
|
28
28
|
export interface DiagnosticInfoOptions {
|
|
29
29
|
symbolicId?: Int32;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnostic_info.js","sourceRoot":"","sources":["../source/diagnostic_info.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,yDAA2C;AAE3C,
|
|
1
|
+
{"version":3,"file":"diagnostic_info.js","sourceRoot":"","sources":["../source/diagnostic_info.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,yDAA2C;AAE3C,2DAO4B;AAC5B,mEAAiE;AAEjE,mEAWgC;AAChC,2DAAgG;AAEhG,+FAA+F;AAClF,QAAA,oBAAoB,GAAyB,IAAA,wCAAmB,EAAC;IAC1E,IAAI,EAAE,gBAAgB;IAEtB,QAAQ,EAAE,cAAc;IAExB,MAAM,EAAE;QACJ;YACI,IAAI,EAAE,cAAc;YAEpB,SAAS,EAAE,OAAO;YAElB,YAAY,EAAE,CAAC,CAAC;YAChB,aAAa,EAAE,8DAA8D;SAChF;QACD;YACI,IAAI,EAAE,YAAY;YAElB,SAAS,EAAE,OAAO;YAElB,YAAY,EAAE,CAAC,CAAC;YAChB,aAAa,EAAE,+EAA+E;SACjG;QACD;YACI,IAAI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,EAAC,MAAM,CAAC,CAAC;KACxD;IACD,yBAAyB;IACzB,IAAI,YAAY,GAAG,2BAA2B,CAAC,eAAe,EAAE;QAC5D,cAAc,CAAC,eAAe,GAAG,IAAA,yCAAgB,EAAC,MAAM,CAAC,CAAC;KAC7D;IACD,yBAAyB;IACzB,IAAI,YAAY,GAAG,2BAA2B,CAAC,mBAAmB,EAAE;QAChE,cAAc,CAAC,mBAAmB,GAAG,IAAI,cAAc,CAAC,EAAE,CAAC,CAAC;QAC5D,IAAI,cAAc,CAAC,mBAAmB,EAAE;YACpC,cAAc,CAAC,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;SACrD;KACJ;AACL,CAAC;AAED,MAAM,mBAAmB,GAAG,IAAI,cAAc,CAAC,EAAE,CAAC,CAAC;AAEnD,SAAgB,oBAAoB,CAAC,KAA4B,EAAE,MAA0B;IACzF,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;KACtC;SAAM;QACH,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;KACxB;AACL,CAAC;AAND,oDAMC;AAED,SAAgB,oBAAoB,CAAC,MAAoB,EAAE,MAA8B;IACrF,MAAM,KAAK,GAAG,MAAM,IAAI,IAAI,cAAc,EAAE,CAAC;IAC7C,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,KAAK,CAAC;AACjB,CAAC;AAJD,oDAIC;AAED,QAAQ;AACR,gHAAgH;AAChH,8GAA8G;AAC9G,yDAAyD;AACzD,EAAE;AACF,IAAA,kDAA6B,EAAC,cAAc,CAAC,CAAC"}
|
package/dist/localized_text.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LocaleId, UAString } from "node-opcua-basic-types";
|
|
2
2
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
3
|
-
import { BaseUAObject, StructuredTypeSchema } from "node-opcua-factory";
|
|
3
|
+
import { BaseUAObject, DecodeDebugOptions, StructuredTypeSchema } from "node-opcua-factory";
|
|
4
4
|
export declare function coerceLocalizedText(value?: null | string | LocalizedTextOptions): LocalizedText | null;
|
|
5
5
|
export interface LocalizedTextOptions {
|
|
6
6
|
locale?: LocaleId;
|
|
@@ -10,13 +10,13 @@ export declare class LocalizedText extends BaseUAObject {
|
|
|
10
10
|
static get schema(): StructuredTypeSchema;
|
|
11
11
|
get schema(): StructuredTypeSchema;
|
|
12
12
|
static possibleFields: string[];
|
|
13
|
-
static coerce(value
|
|
13
|
+
static coerce(value?: null | string | LocalizedTextOptions): LocalizedText | null;
|
|
14
14
|
locale: LocaleId;
|
|
15
15
|
text: UAString;
|
|
16
16
|
constructor(options?: LocalizedTextOptions | string | null);
|
|
17
17
|
toString(): string;
|
|
18
18
|
encode(stream: OutputBinaryStream): void;
|
|
19
|
-
decodeDebug(stream: BinaryStream, options:
|
|
19
|
+
decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
|
|
20
20
|
decode(stream: BinaryStream): void;
|
|
21
21
|
}
|
|
22
22
|
export declare type LocalizedTextLike = LocalizedTextOptions | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localized_text.js","sourceRoot":"","sources":["../source/localized_text.ts"],"names":[],"mappings":";;;AAIA,mEAAgH;AAEhH,
|
|
1
|
+
{"version":3,"file":"localized_text.js","sourceRoot":"","sources":["../source/localized_text.ts"],"names":[],"mappings":";;;AAIA,mEAAgH;AAEhH,2DAS4B;AAE5B,SAAgB,mBAAmB,CAAC,KAA4C;IAC5E,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE;QACvC,OAAO,IAAI,CAAC;KACf;IACD,IAAI,KAAK,YAAY,aAAa,EAAE;QAChC,OAAO,KAAK,CAAC;KAChB;IACD,OAAO,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC;AACpC,CAAC;AARD,kDAQC;AAED,+FAA+F;AAC/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,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;SACpB;IACL,CAAC;;AAjGL,sCAkGC;AAzFiB,4BAAc,GAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AA2FhE,mFAAmF;AACnF,IAAA,kDAA6B,EAAC,aAAa,CAAC,CAAC;AAI7C,SAAS,4BAA4B,CAAC,aAA4B;IAC9D,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,IAAI,aAAa,CAAC,MAAM,EAAE;QACtB,YAAY,IAAI,IAAI,CAAC;KACxB;IACD,IAAI,aAAa,CAAC,IAAI,EAAE;QACpB,YAAY,IAAI,IAAI,CAAC;KACxB;IACD,OAAO,YAAY,CAAC;AACxB,CAAC;AAED,MAAM,kBAAkB,GAAG,IAAI,aAAa,CAAC,EAAE,CAAC,CAAC;AAEjD,SAAgB,mBAAmB,CAAC,KAAoB,EAAE,MAA0B;IAChF,IAAI,KAAK,EAAE;QACP,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;KACxB;SAAM;QACH,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;KACrC;AACL,CAAC;AAND,kDAMC;AAED,SAAgB,mBAAmB,CAAC,MAAoB,EAAE,KAAqB;IAC3E,KAAK,GAAG,KAAK,IAAI,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;IACzC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,KAAK,CAAC;AACjB,CAAC;AAJD,kDAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node_class_mask.js","sourceRoot":"","sources":["../source/node_class_mask.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,4BAA4B;;;AAE5B,0EAA0E;AAC1E,sEAAsE;AACtE,kBAAkB;AAClB,qDAAqD;AACrD,WAAW;AACX,2DAA2D;AAC3D,wCAAwC;AAExC,IAAY,aASX;AATD,WAAY,aAAa;IACrB,
|
|
1
|
+
{"version":3,"file":"node_class_mask.js","sourceRoot":"","sources":["../source/node_class_mask.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,4BAA4B;;;AAE5B,0EAA0E;AAC1E,sEAAsE;AACtE,kBAAkB;AAClB,qDAAqD;AACrD,WAAW;AACX,2DAA2D;AAC3D,wCAAwC;AAExC,IAAY,aASX;AATD,WAAY,aAAa;IACrB,qDAAe,CAAA;IACf,yDAAiB,CAAA;IACjB,qDAAe,CAAA;IACf,6DAAmB,CAAA;IACnB,kEAAqB,CAAA;IACrB,oEAAsB,CAAA;IACtB,0DAAiB,CAAA;IACjB,mDAAa,CAAA;AACjB,CAAC,EATW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QASxB;AAMD,SAAS,kBAAkB,CAAO,IAAU,EAAE,GAAW;IACrD,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC/B,IAAI,MAAM,GAAQ,CAAC,CAAC;IACpB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACtB,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;KACxB;IACD,OAAO,MAAc,CAAC;AAC1B,CAAC;AAED,WAAW;AACX,2DAA2D;AAC3D,SAAgB,iBAAiB,CAAC,GAAW;IACzC,MAAM,SAAS,GAAG,kBAAkB,CAAgB,aAAoB,EAAE,GAAG,CAAC,CAAC;IAC/E,0BAA0B;IAC1B,IAAI,CAAC,SAAS,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,8BAA8B,GAAG,GAAG,CAAC,CAAC;KACzD;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAPD,8CAOC"}
|
package/dist/nodeclass.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeclass.js","sourceRoot":"","sources":["../source/nodeclass.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,2DAAyD;AAEzD,IAAY,SAUX;AAVD,WAAY,SAAS;IACjB,
|
|
1
|
+
{"version":3,"file":"nodeclass.js","sourceRoot":"","sources":["../source/nodeclass.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,2DAAyD;AAEzD,IAAY,SAUX;AAVD,WAAY,SAAS;IACjB,uDAAe,CAAA;IACf,6CAAU,CAAA;IACV,iDAAY,CAAA;IACZ,6CAAU,CAAA;IACV,qDAAc,CAAA;IACd,0DAAiB,CAAA;IACjB,4DAAkB,CAAA;IAClB,kDAAa,CAAA;IACb,2CAAU,CAAA,CAAC,sBAAsB;AACrC,CAAC,EAVW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAUpB;AACY,QAAA,mBAAmB,GAAG;IAC/B,IAAI,EAAE,WAAW;IAEjB,aAAa,EAAE,0CAA0C;IACzD,UAAU,EAAE,SAAS;CACxB,CAAC;AACF,IAAA,wCAAmB,EAAC,2BAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission_flag.js","sourceRoot":"","sources":["../source/permission_flag.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,6CAA0C;AAE1C;;GAEG;AAEH,6CAA6C;AAC7C,IAAY,cA2GX;AA3GD,WAAY,cAAc;IACtB,mDAAQ,CAAA;IAER;;;;OAIG;IACH,uDAAU,CAAA;IAEV;;;OAGG;IACH,iFAAuB,CAAA;IACvB;;;;;;OAMG;IACH,uEAAkB,CAAA;IAClB;;;;;OAKG;IACH,mFAAwB,CAAA;IACxB;;;;OAIG;IACH,4EAAqB,CAAA;IACrB;;;;OAIG;IACH,oDAAS,CAAA;IACT;;;;OAIG;IACH,sDAAU,CAAA;IACV;;;;OAIG;IACH,mEAAiB,CAAA;IACjB;;;;OAIG;IACH,uEAAmB,CAAA;IACnB;;;;OAIG;IACH,uEAAmB,CAAA;IACnB;;;;OAIG;IACH,wEAAoB,CAAA;IACpB;;;;OAIG;IACH,wEAAoB,CAAA;IACpB;;;;;;OAMG;IACH,sDAAW,CAAA;IACX;;;OAGG;IACH,sEAAmB,CAAA;IACnB;;;OAGG;IACH,6EAAuB,CAAA;IACvB;;;OAGG;IACH,mEAAkB,CAAA;IAClB;;;;OAIG;IACH,6DAAe,CAAA;AACnB,CAAC,EA3GW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA2GzB;AAEY,QAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"permission_flag.js","sourceRoot":"","sources":["../source/permission_flag.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,6CAA0C;AAE1C;;GAEG;AAEH,6CAA6C;AAC7C,IAAY,cA2GX;AA3GD,WAAY,cAAc;IACtB,mDAAQ,CAAA;IAER;;;;OAIG;IACH,uDAAU,CAAA;IAEV;;;OAGG;IACH,iFAAuB,CAAA;IACvB;;;;;;OAMG;IACH,uEAAkB,CAAA;IAClB;;;;;OAKG;IACH,mFAAwB,CAAA;IACxB;;;;OAIG;IACH,4EAAqB,CAAA;IACrB;;;;OAIG;IACH,oDAAS,CAAA;IACT;;;;OAIG;IACH,sDAAU,CAAA;IACV;;;;OAIG;IACH,mEAAiB,CAAA;IACjB;;;;OAIG;IACH,uEAAmB,CAAA;IACnB;;;;OAIG;IACH,uEAAmB,CAAA;IACnB;;;;OAIG;IACH,wEAAoB,CAAA;IACpB;;;;OAIG;IACH,wEAAoB,CAAA;IACpB;;;;;;OAMG;IACH,sDAAW,CAAA;IACX;;;OAGG;IACH,sEAAmB,CAAA;IACnB;;;OAGG;IACH,6EAAuB,CAAA;IACvB;;;OAGG;IACH,mEAAkB,CAAA;IAClB;;;;OAIG;IACH,6DAAe,CAAA;AACnB,CAAC,EA3GW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA2GzB;AAEY,QAAA,cAAc,GACvB,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,mBAAmB;IAClC,cAAc,CAAC,cAAc;IAC7B,cAAc,CAAC,oBAAoB;IACnC,cAAc,CAAC,gBAAgB;IAC/B,cAAc,CAAC,IAAI;IACnB,cAAc,CAAC,KAAK;IACpB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}
|
|
119
119
|
else {
|
|
120
|
-
(0, node_opcua_assert_1.assert)(
|
|
121
|
-
(0, node_opcua_assert_1.assert)(
|
|
120
|
+
(0, node_opcua_assert_1.assert)(Object.prototype.hasOwnProperty.call(value, "namespaceIndex"));
|
|
121
|
+
(0, node_opcua_assert_1.assert)(Object.prototype.hasOwnProperty.call(value, "name"));
|
|
122
122
|
return new QualifiedName(value);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualified_name.js","sourceRoot":"","sources":["../source/qualified_name.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,yDAA2C;AAC3C,2DAQ4B;AAG5B,yDAAuE;AAEvE,mEAA6H;AAEhH,QAAA,mBAAmB,GAAG,IAAA,wCAAmB,EAAC;IACnD,QAAQ,EAAE,cAAc;IACxB,IAAI,EAAE,eAAe;IAErB,MAAM,EAAE;QACJ;YACI,IAAI,EAAE,gBAAgB;YAEtB,SAAS,EAAE,QAAQ;SACtB;QACD;YACI,IAAI,EAAE,MAAM;YAEZ,SAAS,EAAE,UAAU;YAErB,YAAY,EAAE,IAAI;SACrB;KACJ;CACJ,CAAC,CAAC;AACH,2BAAmB,CAAC,MAAM,GAAG,mBAAmB,CAAC;AAOjD,MAAa,aAAc,SAAQ,iCAAY;IAU3C,YAAY,OAA8C;QACtD,KAAK,EAAE,CAAC;QACR,uBAAuB;QACvB,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,SAAS,EAAE;YAC3C,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;YACxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;YACjB,OAAO;SACV;QACD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;YAC7B,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;SAC/B;QACD,0BAA0B;QAC1B,IAAI,+BAAU,CAAC,iBAAiB,EAAE;YAC9B,MAAM,MAAM,GAAG,aAAa,C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I,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;QAC5D,OAAO,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC;KACnC;AACL,CAAC;AAZD,kDAYC;AAED,IAAA,kDAA6B,EAAC,aAAa,CAAC,CAAC;AAE7C,SAAgB,mBAAmB,CAAC,KAAoB,EAAE,MAA0B;IAChF,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACzB,CAAC;AAFD,kDAEC;AAED,SAAgB,mBAAmB,CAAC,MAAoB,EAAE,KAAqB;IAC3E,KAAK,GAAG,KAAK,IAAI,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;IACzC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,KAAK,CAAC;AACjB,CAAC;AAJD,kDAIC"}
|
package/dist/result_mask.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result_mask.js","sourceRoot":"","sources":["../source/result_mask.ts"],"names":[],"mappings":";;;AAOA,2DAAyD;AAEzD,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,6DAAoB,CAAA;IACpB,
|
|
1
|
+
{"version":3,"file":"result_mask.js","sourceRoot":"","sources":["../source/result_mask.ts"],"names":[],"mappings":";;;AAOA,2DAAyD;AAEzD,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,6DAAoB,CAAA;IACpB,qDAAgB,CAAA;IAChB,qDAAgB,CAAA;IAChB,uDAAiB,CAAA;IACjB,0DAAkB,CAAA;IAClB,gEAAqB,CAAA;AACzB,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB;AACY,QAAA,gBAAgB,GAAG;IAC5B,IAAI,EAAE,YAAY;IAElB,UAAU,EAAE,UAAU;CACzB,CAAC;AACW,QAAA,sBAAsB,GAAS,IAAA,wCAAmB,EAAC,wBAAgB,CAAC,CAAC;AAElF,oDAAoD;AACpD,WAAW;AACX,2DAA2D;AAC3D,SAAgB,cAAc,CAAC,GAAW;IACtC,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC/B,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACtB,CAAC,IAAK,UAAkB,CAAC,IAAI,CAAC,CAAC;KAClC;IACD,OAAO,CAAe,CAAC;AAC3B,CAAC;AAPD,wCAOC"}
|
package/dist/write_mask.js
CHANGED
|
@@ -32,7 +32,7 @@ var WriteMask;
|
|
|
32
32
|
WriteMask[WriteMask["DataTypeDefinition"] = 4194304] = "DataTypeDefinition";
|
|
33
33
|
WriteMask[WriteMask["RolePermissions"] = 8388608] = "RolePermissions";
|
|
34
34
|
WriteMask[WriteMask["AccessRestrictions"] = 16777216] = "AccessRestrictions";
|
|
35
|
-
WriteMask[WriteMask["AccessLevelEx"] = 33554432] = "AccessLevelEx";
|
|
35
|
+
WriteMask[WriteMask["AccessLevelEx"] = 33554432] = "AccessLevelEx"; // Indicates if the AccessLevelEx Attribute is writable.
|
|
36
36
|
// It does not apply for
|
|
37
37
|
// Variables since this is handled by the AccessLevel and UserAccessLevel
|
|
38
38
|
// Attributes for the Variable. For Variables this bit shall be set to 0.
|
package/dist/write_mask.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write_mask.js","sourceRoot":"","sources":["../source/write_mask.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4BAA4B;AAC5B,IAAY,SA+BX;AA/BD,WAAY,SAAS;IACjB,
|
|
1
|
+
{"version":3,"file":"write_mask.js","sourceRoot":"","sources":["../source/write_mask.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4BAA4B;AAC5B,IAAY,SA+BX;AA/BD,WAAY,SAAS;IACjB,uDAAoB,CAAA;IACpB,+DAAwB,CAAA;IACxB,qDAAmB,CAAA;IACnB,+DAAwB,CAAA;IACxB,kDAAiB,CAAA;IACjB,wDAAoB,CAAA;IACpB,wDAAoB,CAAA;IACpB,6DAAsB,CAAA;IACtB,uDAAmB,CAAA;IACnB,yDAAoB,CAAA;IACpB,0DAAqB,CAAA;IACrB,wDAAoB,CAAA;IACpB,kFAAiC,CAAA;IACjC,sDAAmB,CAAA;IACnB,iDAAgB,CAAA;IAChB,uDAAmB,CAAA;IACnB,mEAAyB,CAAA;IACzB,kEAAwB,CAAA;IACxB,gEAAuB,CAAA;IACvB,wDAAmB,CAAA;IACnB,yDAAmB,CAAA;IACnB,+EAA8B,CAAA;IAC9B,2EAA4B,CAAA;IAC5B,qEAAyB,CAAA;IACzB,4EAA4B,CAAA;IAC5B,kEAAuB,CAAA,CAAC,wDAAwD;IAChF,wBAAwB;IACxB,yEAAyE;IACzE,yEAAyE;IACzE,gEAAgE;AACpE,CAAC,EA/BW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QA+BpB"}
|
package/package.json
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-data-model",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.57.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -data-model",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc -b",
|
|
7
7
|
"test": "mocha",
|
|
8
|
+
"lint": "eslint source test",
|
|
9
|
+
"format": "prettier --write source test",
|
|
8
10
|
"clean": "node -e \"require('rimraf').sync('_generated_');require('rimraf').sync('dist');\"",
|
|
9
11
|
"coverage": "npx nyc node ../../node_modules/mocha/bin/mocha"
|
|
10
12
|
},
|
|
11
13
|
"main": "./dist/index.js",
|
|
12
14
|
"types": "./dist/index.d.ts",
|
|
13
15
|
"dependencies": {
|
|
14
|
-
"node-opcua-assert": "2.
|
|
15
|
-
"node-opcua-basic-types": "2.
|
|
16
|
-
"node-opcua-binary-stream": "2.
|
|
17
|
-
"node-opcua-enum": "2.
|
|
18
|
-
"node-opcua-factory": "2.
|
|
19
|
-
"node-opcua-nodeid": "2.
|
|
20
|
-
"node-opcua-status-code": "2.
|
|
21
|
-
"node-opcua-utils": "2.
|
|
16
|
+
"node-opcua-assert": "2.55.0",
|
|
17
|
+
"node-opcua-basic-types": "2.57.0",
|
|
18
|
+
"node-opcua-binary-stream": "2.55.0",
|
|
19
|
+
"node-opcua-enum": "2.55.0",
|
|
20
|
+
"node-opcua-factory": "2.57.0",
|
|
21
|
+
"node-opcua-nodeid": "2.55.0",
|
|
22
|
+
"node-opcua-status-code": "2.56.0",
|
|
23
|
+
"node-opcua-utils": "2.57.0"
|
|
22
24
|
},
|
|
23
25
|
"devDependencies": {
|
|
24
|
-
"node-opcua-packet-analyzer": "2.
|
|
26
|
+
"node-opcua-packet-analyzer": "2.57.0",
|
|
25
27
|
"should": "^13.2.3",
|
|
26
|
-
"source-map-support": "^0.5.
|
|
28
|
+
"source-map-support": "^0.5.20"
|
|
27
29
|
},
|
|
28
30
|
"author": "Etienne Rossignon",
|
|
29
31
|
"license": "MIT",
|
|
@@ -40,5 +42,5 @@
|
|
|
40
42
|
"internet of things"
|
|
41
43
|
],
|
|
42
44
|
"homepage": "http://node-opcua.github.io/",
|
|
43
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "cb6a995ab35ea6231ffca85fbd0b624fe37119d2"
|
|
44
46
|
}
|
|
@@ -26,7 +26,7 @@ export const schemaBrowseDirection = {
|
|
|
26
26
|
// }
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
export function encodeBrowseDirection(value: BrowseDirection, stream: OutputBinaryStream) {
|
|
29
|
+
export function encodeBrowseDirection(value: BrowseDirection, stream: OutputBinaryStream): void {
|
|
30
30
|
stream.writeUInt32(value);
|
|
31
31
|
}
|
|
32
32
|
|
package/source/_make_flag.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function _make_flag(str: string | number | null, noneValue: number, T:
|
|
1
|
+
export function _make_flag(str: string | number | null, noneValue: number, T: Record<string | number, number | string>): number {
|
|
2
2
|
if (typeof str === "number") {
|
|
3
3
|
const value = str as number;
|
|
4
4
|
if (value === 0) {
|
|
@@ -7,7 +7,7 @@ export function _make_flag(str: string | number | null, noneValue: number, T: an
|
|
|
7
7
|
return value;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
let accessFlag
|
|
10
|
+
let accessFlag = 0;
|
|
11
11
|
|
|
12
12
|
if (str === "" || str === null) {
|
|
13
13
|
accessFlag = noneValue;
|
|
@@ -20,4 +20,3 @@ export function _make_flag(str: string | number | null, noneValue: number, T: an
|
|
|
20
20
|
}
|
|
21
21
|
return accessFlag;
|
|
22
22
|
}
|
|
23
|
-
|
package/source/access_level.ts
CHANGED
|
@@ -7,21 +7,26 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
|
7
7
|
import { registerBasicType } from "node-opcua-factory";
|
|
8
8
|
import { _make_flag } from "./_make_flag";
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
export enum AccessLevelFlag {
|
|
12
|
-
CurrentRead = 0x01,
|
|
13
|
-
CurrentWrite = 0x02,
|
|
14
|
-
HistoryRead = 0x04,
|
|
15
|
-
HistoryWrite = 0x08,
|
|
11
|
+
CurrentRead = 0x01, // bit 0 : Indicate if the current value is readable (0 means not readable, 1 means readable).
|
|
12
|
+
CurrentWrite = 0x02, // bit 1 : Indicate if the current value is writable (0 means not writable, 1 means writable).
|
|
13
|
+
HistoryRead = 0x04, // bit 2 : Indicates if the history of the value is readable (0 means not readable, 1 means readable).
|
|
14
|
+
HistoryWrite = 0x08, // bit 3 : Indicates if the history of the value is writable (0 means not writable, 1 means writable).
|
|
16
15
|
SemanticChange = 0x10, // bit 4 : Indicates if the Variable used as Property generates SemanticChangeEvents
|
|
17
|
-
StatusWrite = 0x20,
|
|
16
|
+
StatusWrite = 0x20, // bit 5 : Indicates if the current StatusCode of the value is writable (0 means not writable, 1 means writable).
|
|
18
17
|
TimestampWrite = 0x40, // bit 6 : Indicates if the current SourceTimestamp of the value is writable (0 means not writable, 1 means writable).
|
|
19
18
|
// reserved bit 7
|
|
20
|
-
NONE = 0x800,
|
|
21
|
-
None = 0x800
|
|
19
|
+
NONE = 0x800, // Deprecated
|
|
20
|
+
None = 0x800
|
|
22
21
|
}
|
|
23
|
-
export type AccessLevelFlagString =
|
|
24
|
-
|
|
22
|
+
export type AccessLevelFlagString =
|
|
23
|
+
| "CurrentRead"
|
|
24
|
+
| "CurrentWrite"
|
|
25
|
+
| "HistoryRead"
|
|
26
|
+
| "HistoryWrite"
|
|
27
|
+
| "StatusWrite"
|
|
28
|
+
/* | "SemanticChange" */
|
|
29
|
+
| "TimestampWrite";
|
|
25
30
|
|
|
26
31
|
export function convertAccessLevelFlagToByte(accessLevel: AccessLevelFlag): number {
|
|
27
32
|
return accessLevel & 0x7f;
|
|
@@ -29,7 +34,7 @@ export function convertAccessLevelFlagToByte(accessLevel: AccessLevelFlag): numb
|
|
|
29
34
|
// @example
|
|
30
35
|
// makeAccessLevelFlag("CurrentRead | CurrentWrite").should.eql(0x03);
|
|
31
36
|
export function makeAccessLevelFlag(str: string | number | null): AccessLevelFlag {
|
|
32
|
-
return _make_flag(str,AccessLevelFlag.None, AccessLevelFlag) as AccessLevelFlag;
|
|
37
|
+
return _make_flag(str, AccessLevelFlag.None, AccessLevelFlag) as AccessLevelFlag;
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
export const coerceAccessLevelFlag = makeAccessLevelFlag;
|
|
@@ -59,7 +64,7 @@ export function _accessLevelFlagToString(accessLevelFlag: number): string[] {
|
|
|
59
64
|
}
|
|
60
65
|
if (accessLevelFlag & AccessLevelFlag.SemanticChange) {
|
|
61
66
|
retVal.push("SemanticChange");
|
|
62
|
-
}
|
|
67
|
+
}
|
|
63
68
|
return retVal;
|
|
64
69
|
}
|
|
65
70
|
// tslint:disable:no-bitwise
|
|
@@ -74,7 +79,7 @@ export function decodeAccessLevelFlag(stream: BinaryStream): AccessLevelFlag {
|
|
|
74
79
|
const code = stream.readUInt8();
|
|
75
80
|
return code;
|
|
76
81
|
}
|
|
77
|
-
export function encodeAccessLevelFlag(value: AccessLevelFlag, stream: OutputBinaryStream) {
|
|
82
|
+
export function encodeAccessLevelFlag(value: AccessLevelFlag, stream: OutputBinaryStream): void {
|
|
78
83
|
stream.writeUInt8(value & 0xff);
|
|
79
84
|
}
|
|
80
85
|
|
|
@@ -1,49 +1,47 @@
|
|
|
1
1
|
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
2
|
-
import { _accessLevelFlagToString } from "./access_level";
|
|
3
2
|
import { registerBasicType } from "node-opcua-factory";
|
|
4
|
-
import {
|
|
3
|
+
import { _accessLevelFlagToString } from "./access_level";
|
|
4
|
+
import { _make_flag } from "./_make_flag";
|
|
5
5
|
/**
|
|
6
6
|
* from https://reference.opcfoundation.org/v104/Core/docs/Part3/8.58/:
|
|
7
|
-
*
|
|
8
|
-
* This is a subtype of the UInt32 DataType with the OptionSetValues Property defined.
|
|
9
|
-
* It is used to indicate how the Value of a Variable can be accessed (read/write),
|
|
7
|
+
*
|
|
8
|
+
* This is a subtype of the UInt32 DataType with the OptionSetValues Property defined.
|
|
9
|
+
* It is used to indicate how the Value of a Variable can be accessed (read/write),
|
|
10
10
|
* if it contains current and/or historic data and its atomicity.
|
|
11
|
-
* The AccessLevelExType DataType is an extended version of the AccessLevelType DataType and
|
|
11
|
+
* The AccessLevelExType DataType is an extended version of the AccessLevelType DataType and
|
|
12
12
|
* as such contains the 8 bits of the AccessLevelType as the first 8 bits.
|
|
13
13
|
* The NonatomicRead, and NonatomicWrite Fields represent the atomicity of a Variable.
|
|
14
|
-
* In general Atomicity is expected of OPC UA read and write operations.
|
|
14
|
+
* In general Atomicity is expected of OPC UA read and write operations.
|
|
15
15
|
* These Fields are used by systems, in particular hard-realtime controllers, which can not ensure atomicity.
|
|
16
16
|
*/
|
|
17
|
-
|
|
18
|
-
CurrentRead = 0x01,
|
|
19
|
-
CurrentWrite = 0x02,
|
|
20
|
-
HistoryRead = 0x04,
|
|
21
|
-
HistoryWrite = 0x08,
|
|
17
|
+
export enum AccessLevelExFlag {
|
|
18
|
+
CurrentRead = 0x01, // bit 0 : Indicate if the current value is readable (0 means not readable, 1 means readable).
|
|
19
|
+
CurrentWrite = 0x02, // bit 1 : Indicate if the current value is writable (0 means not writable, 1 means writable).
|
|
20
|
+
HistoryRead = 0x04, // bit 2 : Indicates if the history of the value is readable (0 means not readable, 1 means readable).
|
|
21
|
+
HistoryWrite = 0x08, // bit 3 : Indicates if the history of the value is writable (0 means not writable, 1 means writable).
|
|
22
22
|
SemanticChange = 0x10, // bit 4 : Indicates if the Variable used as Property generates SemanticChangeEvents
|
|
23
|
-
StatusWrite = 0x20,
|
|
23
|
+
StatusWrite = 0x20, // bit 5 : Indicates if the current StatusCode of the value is writable (0 means not writable, 1 means writable).
|
|
24
24
|
TimestampWrite = 0x40, // bit 6 : Indicates if the current SourceTimestamp of the value is writable (0 means not writable, 1 means writable).
|
|
25
25
|
// reserved bit 7
|
|
26
26
|
|
|
27
|
-
NonatomicRead
|
|
28
|
-
NonatomicWrite
|
|
29
|
-
WriteFullArrayOnly= 0x200, // bit 10 Indicates if Write of IndexRange is supported.(0 means Write of IndexRange is supported)
|
|
30
|
-
NoSubDataTypes
|
|
27
|
+
NonatomicRead = 0x80, // bit 8 Indicates non-atomicity for Read access (0 means that atomicity is assured).
|
|
28
|
+
NonatomicWrite = 0x100, // bit 9 Indicates non-atomicity for Write access (0 means that atomicity is assured).
|
|
29
|
+
WriteFullArrayOnly = 0x200, // bit 10 Indicates if Write of IndexRange is supported.(0 means Write of IndexRange is supported)
|
|
30
|
+
NoSubDataTypes = 0x400, // bit 11
|
|
31
31
|
// Reserved for future use. Shall always be zero.
|
|
32
|
-
None = 0x800
|
|
32
|
+
None = 0x800
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
36
35
|
// @example
|
|
37
36
|
// makeAccessLevelFlag("CurrentRead | CurrentWrite").should.eql(0x03);
|
|
38
37
|
export function makeAccessLevelExFlag(str: string | number | null): AccessLevelExFlag {
|
|
39
|
-
return _make_flag(str,AccessLevelExFlag.None, AccessLevelExFlag) as AccessLevelExFlag;
|
|
38
|
+
return _make_flag(str, AccessLevelExFlag.None, AccessLevelExFlag) as AccessLevelExFlag;
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
export function randomAccessLevelEx(): AccessLevelExFlag {
|
|
43
42
|
return Math.ceil(Math.random() * 0x200);
|
|
44
43
|
}
|
|
45
44
|
|
|
46
|
-
|
|
47
45
|
export function accessLevelExFlagToString(accessLevelFlag: AccessLevelExFlag): string {
|
|
48
46
|
const retVal = _accessLevelFlagToString(accessLevelFlag);
|
|
49
47
|
|
|
@@ -66,9 +64,8 @@ export function accessLevelExFlagToString(accessLevelFlag: AccessLevelExFlag): s
|
|
|
66
64
|
return retVal.join(" | ");
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
stream.writeUInt32(value & 0xFFFFF);
|
|
67
|
+
export function encodeAccessLevelExFlag(value: AccessLevelExFlag, stream: OutputBinaryStream): void {
|
|
68
|
+
stream.writeUInt32(value & 0xfffff);
|
|
72
69
|
}
|
|
73
70
|
export function decodeAccessLevelExFlag(stream: BinaryStream): AccessLevelExFlag {
|
|
74
71
|
const code = stream.readUInt32();
|
|
@@ -85,4 +82,4 @@ registerBasicType({
|
|
|
85
82
|
decode: decodeAccessLevelExFlag,
|
|
86
83
|
encode: encodeAccessLevelExFlag,
|
|
87
84
|
random: randomAccessLevelEx
|
|
88
|
-
});
|
|
85
|
+
});
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { _make_flag } from "./_make_flag";
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
export enum AccessRestrictionsFlag {
|
|
5
4
|
SigningRequired = 1,
|
|
6
5
|
EncryptionRequired = 2,
|
|
7
6
|
SessionRequired = 4,
|
|
8
7
|
ApplyRestrictionsToBrowse = 8,
|
|
9
|
-
None = 0x0
|
|
8
|
+
None = 0x0
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
export function makeAccessRestrictionsFlag(str: string | number | null): AccessRestrictionsFlag {
|
|
@@ -31,5 +30,4 @@ export function accessRestrictionsFlagToString(flags: AccessRestrictionsFlag): s
|
|
|
31
30
|
retVal.push("None");
|
|
32
31
|
}
|
|
33
32
|
return retVal.join(" | ");
|
|
34
|
-
|
|
35
33
|
}
|
package/source/attributeIds.ts
CHANGED
package/source/data_encoding.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { QualifiedName, QualifiedNameLike, QualifiedNameOptions } from "./qualified_name";
|
|
5
5
|
|
|
6
|
-
export function isDataEncoding(dataEncoding:
|
|
7
|
-
return dataEncoding && typeof dataEncoding.name === "string";
|
|
6
|
+
export function isDataEncoding(dataEncoding: unknown): boolean {
|
|
7
|
+
return !!dataEncoding && typeof dataEncoding === "object" && typeof (dataEncoding as any).name === "string";
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
const validEncoding = ["DefaultBinary", "DefaultXml", "DefaultJson"];
|
|
@@ -13,7 +13,7 @@ export function isValidDataEncoding(dataEncoding?: string | null | QualifiedName
|
|
|
13
13
|
return true;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
if ((dataEncoding as any
|
|
16
|
+
if (Object.prototype.hasOwnProperty.call(dataEncoding as any, "name")) {
|
|
17
17
|
dataEncoding = (dataEncoding as QualifiedNameOptions).name;
|
|
18
18
|
}
|
|
19
19
|
if (!dataEncoding) {
|
|
@@ -6,6 +6,7 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
|
6
6
|
import {
|
|
7
7
|
BaseUAObject,
|
|
8
8
|
buildStructuredType,
|
|
9
|
+
DecodeDebugOptions,
|
|
9
10
|
parameters,
|
|
10
11
|
registerSpecialVariantEncoder,
|
|
11
12
|
StructuredTypeSchema
|
|
@@ -119,13 +120,13 @@ export class DiagnosticInfo extends BaseUAObject {
|
|
|
119
120
|
if (parameters.debugSchemaHelper) {
|
|
120
121
|
check_options_correctness_against_schema(this, schema, options);
|
|
121
122
|
}
|
|
122
|
-
this.symbolicId = initialize_field(schema.fields[0], options.symbolicId);
|
|
123
|
-
this.namespaceURI = initialize_field(schema.fields[1], options.namespaceURI);
|
|
124
|
-
this.locale = initialize_field(schema.fields[2], options.locale);
|
|
125
|
-
this.localizedText = initialize_field(schema.fields[3], options.localizedText);
|
|
126
|
-
this.additionalInfo = initialize_field(schema.fields[4], options.additionalInfo);
|
|
127
|
-
this.innerStatusCode = initialize_field(schema.fields[5], options.innerStatusCode);
|
|
128
|
-
this.innerDiagnosticInfo = initialize_field(schema.fields[6], options.innerDiagnosticInfo);
|
|
123
|
+
this.symbolicId = initialize_field(schema.fields[0], options.symbolicId) as Int32;
|
|
124
|
+
this.namespaceURI = initialize_field(schema.fields[1], options.namespaceURI) as Int32;
|
|
125
|
+
this.locale = initialize_field(schema.fields[2], options.locale) as Int32;
|
|
126
|
+
this.localizedText = initialize_field(schema.fields[3], options.localizedText) as Int32;
|
|
127
|
+
this.additionalInfo = initialize_field(schema.fields[4], options.additionalInfo) as UAString;
|
|
128
|
+
this.innerStatusCode = initialize_field(schema.fields[5], options.innerStatusCode) as StatusCode;
|
|
129
|
+
this.innerDiagnosticInfo = initialize_field(schema.fields[6], options.innerDiagnosticInfo) as DiagnosticInfo;
|
|
129
130
|
}
|
|
130
131
|
|
|
131
132
|
public encode(stream: OutputBinaryStream): void {
|
|
@@ -136,7 +137,7 @@ export class DiagnosticInfo extends BaseUAObject {
|
|
|
136
137
|
decode_DiagnosticInfo(this, stream);
|
|
137
138
|
}
|
|
138
139
|
|
|
139
|
-
public decodeDebug(stream: BinaryStream, options:
|
|
140
|
+
public decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void {
|
|
140
141
|
decodeDebug_DiagnosticInfo(this, stream, options);
|
|
141
142
|
}
|
|
142
143
|
}
|
|
@@ -233,7 +234,7 @@ function encode_DiagnosticInfo(diagnosticInfo: DiagnosticInfo, stream: OutputBin
|
|
|
233
234
|
}
|
|
234
235
|
}
|
|
235
236
|
|
|
236
|
-
function decodeDebug_DiagnosticInfo(diagnosticInfo: DiagnosticInfo, stream: BinaryStream, options:
|
|
237
|
+
function decodeDebug_DiagnosticInfo(diagnosticInfo: DiagnosticInfo, stream: BinaryStream, options: DecodeDebugOptions): void {
|
|
237
238
|
const tracer = options.tracer;
|
|
238
239
|
|
|
239
240
|
tracer.trace("start", options.name + "(" + "DiagnosticInfo" + ")", stream.length, stream.length);
|
package/source/localized_text.ts
CHANGED
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
BaseUAObject,
|
|
9
9
|
buildStructuredType,
|
|
10
10
|
check_options_correctness_against_schema,
|
|
11
|
+
DecodeDebugOptions,
|
|
11
12
|
initialize_field,
|
|
12
13
|
parameters,
|
|
13
14
|
registerSpecialVariantEncoder,
|
|
@@ -66,7 +67,7 @@ export class LocalizedText extends BaseUAObject {
|
|
|
66
67
|
|
|
67
68
|
public static possibleFields: string[] = ["locale", "text"];
|
|
68
69
|
|
|
69
|
-
public static coerce(value
|
|
70
|
+
public static coerce(value?: null | string | LocalizedTextOptions): LocalizedText | null {
|
|
70
71
|
return coerceLocalizedText(value);
|
|
71
72
|
}
|
|
72
73
|
|
|
@@ -99,7 +100,7 @@ export class LocalizedText extends BaseUAObject {
|
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
// OPCUA Part 6 $ 5.2.2.14 : localizedText have a special encoding
|
|
102
|
-
public encode(stream: OutputBinaryStream) {
|
|
103
|
+
public encode(stream: OutputBinaryStream): void {
|
|
103
104
|
// tslint:disable:no-bitwise
|
|
104
105
|
const encodingMask = getLocalizeText_EncodingByte(this);
|
|
105
106
|
|
|
@@ -113,7 +114,7 @@ export class LocalizedText extends BaseUAObject {
|
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
|
|
116
|
-
public decodeDebug(stream: BinaryStream, options:
|
|
117
|
+
public decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void {
|
|
117
118
|
let cursorBefore;
|
|
118
119
|
const tracer = options.tracer;
|
|
119
120
|
tracer.trace("start", options.name + "(" + "LocalizedText" + ")", stream.length, stream.length);
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
// mask.value.should.eql(1 + (1<<3));
|
|
13
13
|
|
|
14
14
|
export enum NodeClassMask {
|
|
15
|
-
Object=
|
|
16
|
-
Variable =
|
|
17
|
-
Method=
|
|
18
|
-
ObjectType=
|
|
19
|
-
VariableType=
|
|
20
|
-
ReferenceType=
|
|
21
|
-
DataType=
|
|
22
|
-
View=
|
|
15
|
+
Object = 1 << 0,
|
|
16
|
+
Variable = 1 << 1,
|
|
17
|
+
Method = 1 << 2,
|
|
18
|
+
ObjectType = 1 << 3,
|
|
19
|
+
VariableType = 1 << 4,
|
|
20
|
+
ReferenceType = 1 << 5,
|
|
21
|
+
DataType = 1 << 6,
|
|
22
|
+
View = 1 << 7
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
interface Enum {
|
package/source/nodeclass.ts
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
import { registerEnumeration } from "node-opcua-factory";
|
|
5
5
|
|
|
6
6
|
export enum NodeClass {
|
|
7
|
-
Unspecified=
|
|
8
|
-
Object=
|
|
9
|
-
Variable=
|
|
10
|
-
Method=
|
|
11
|
-
ObjectType=
|
|
12
|
-
VariableType=
|
|
13
|
-
ReferenceType=
|
|
14
|
-
DataType=
|
|
15
|
-
View=
|
|
7
|
+
Unspecified = 0, // No classes are selected.
|
|
8
|
+
Object = 1, // The node is an object.
|
|
9
|
+
Variable = 2, // The node is a variable.
|
|
10
|
+
Method = 4, // The node is a method.
|
|
11
|
+
ObjectType = 8, // The node is an object type.
|
|
12
|
+
VariableType = 16, // The node is an variable type.
|
|
13
|
+
ReferenceType = 32, // The node is a reference type.
|
|
14
|
+
DataType = 64, // The node is a data type.
|
|
15
|
+
View = 128 // The node is a view.
|
|
16
16
|
}
|
|
17
17
|
export const schemaEnumNodeClass = {
|
|
18
18
|
name: "NodeClass",
|
|
@@ -25,14 +25,14 @@ export enum PermissionFlag {
|
|
|
25
25
|
ReadRolePermissions = 2,
|
|
26
26
|
/**
|
|
27
27
|
* The Client is allowed to write to Attributes other than the Value,
|
|
28
|
-
* Historizing or RolePermissions Attribute if the WriteMask indicates that
|
|
28
|
+
* Historizing or RolePermissions Attribute if the WriteMask indicates that
|
|
29
29
|
* the Attribute is writeable.
|
|
30
30
|
* This bit affects the value of a UserWriteMask Attribute.
|
|
31
31
|
* This Permission is valid for all NodeClasses.
|
|
32
32
|
*/
|
|
33
33
|
WriteAttribute = 4,
|
|
34
34
|
/**
|
|
35
|
-
* The Client is allowed to write to the RolePermissions Attribute if the WriteMask
|
|
35
|
+
* The Client is allowed to write to the RolePermissions Attribute if the WriteMask
|
|
36
36
|
* indicates that the Attribute is writeable.
|
|
37
37
|
* This bit affects the value of the UserWriteMask Attribute.
|
|
38
38
|
* This Permission is valid for all NodeClasses.
|
|
@@ -81,14 +81,14 @@ export enum PermissionFlag {
|
|
|
81
81
|
*/
|
|
82
82
|
DeleteHistory = 1024,
|
|
83
83
|
/**
|
|
84
|
-
* A Client only receives an Event if this bit is set on the Node identified
|
|
84
|
+
* A Client only receives an Event if this bit is set on the Node identified
|
|
85
85
|
* by the EventTypeId field and on the Node identified by the SourceNode field.
|
|
86
86
|
* This Permission is only valid for EventType Nodes or SourceNodes.
|
|
87
87
|
*/
|
|
88
88
|
ReceiveEvents = 2048,
|
|
89
89
|
/**
|
|
90
|
-
* The Client is allowed to call the Method if this bit is set on the Object or
|
|
91
|
-
* ObjectType Node passed in the Call request and the Method Instance associated
|
|
90
|
+
* The Client is allowed to call the Method if this bit is set on the Object or
|
|
91
|
+
* ObjectType Node passed in the Call request and the Method Instance associated
|
|
92
92
|
* with that Object or ObjectType.
|
|
93
93
|
* This bit affects the UserExecutable Attribute when set on Method Node.
|
|
94
94
|
* This Permission is only valid for Objects, ObjectType or Methods.
|
|
@@ -101,7 +101,7 @@ export enum PermissionFlag {
|
|
|
101
101
|
AddReference = 8192,
|
|
102
102
|
/**
|
|
103
103
|
* The Client is allowed to remove references from the Node.
|
|
104
|
-
* This Permission is valid for all NodeClasses.
|
|
104
|
+
* This Permission is valid for all NodeClasses.
|
|
105
105
|
*/
|
|
106
106
|
RemoveReference = 16384,
|
|
107
107
|
/**
|
|
@@ -117,7 +117,8 @@ export enum PermissionFlag {
|
|
|
117
117
|
AddNode = 65536
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export const allPermissions =
|
|
120
|
+
export const allPermissions =
|
|
121
|
+
PermissionFlag.Browse |
|
|
121
122
|
PermissionFlag.Browse |
|
|
122
123
|
PermissionFlag.ReadRolePermissions |
|
|
123
124
|
PermissionFlag.WriteAttribute |
|
|
@@ -146,7 +147,6 @@ export function makePermissionFlag(str: string | number | null): number {
|
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
export function permissionFlagToString(permissionFlag: PermissionFlag): string {
|
|
149
|
-
|
|
150
150
|
const retVal = [];
|
|
151
151
|
for (const [key, value] of Object.entries(PermissionFlag)) {
|
|
152
152
|
const numKey = parseInt(key, 10);
|
package/source/qualified_name.ts
CHANGED
|
@@ -98,7 +98,7 @@ export class QualifiedName extends BaseUAObject {
|
|
|
98
98
|
return this.name || "<null>";
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
public isEmpty() {
|
|
101
|
+
public isEmpty(): boolean {
|
|
102
102
|
return !this.name || this.name.length === 0;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -154,8 +154,8 @@ export function coerceQualifiedName(value: null | QualifiedNameLike): QualifiedN
|
|
|
154
154
|
} else if (typeof value === "string") {
|
|
155
155
|
return stringToQualifiedName(value);
|
|
156
156
|
} else {
|
|
157
|
-
assert(
|
|
158
|
-
assert(
|
|
157
|
+
assert(Object.prototype.hasOwnProperty.call(value, "namespaceIndex"));
|
|
158
|
+
assert(Object.prototype.hasOwnProperty.call(value, "name"));
|
|
159
159
|
return new QualifiedName(value);
|
|
160
160
|
}
|
|
161
161
|
}
|
package/source/result_mask.ts
CHANGED
|
@@ -8,12 +8,12 @@ import { Enum } from "node-opcua-enum";
|
|
|
8
8
|
import { registerEnumeration } from "node-opcua-factory";
|
|
9
9
|
|
|
10
10
|
export enum ResultMask {
|
|
11
|
-
ReferenceType=
|
|
12
|
-
IsForward=
|
|
13
|
-
NodeClass=
|
|
14
|
-
BrowseName=
|
|
15
|
-
DisplayName=
|
|
16
|
-
TypeDefinition= 0x20
|
|
11
|
+
ReferenceType = 0x01,
|
|
12
|
+
IsForward = 0x02,
|
|
13
|
+
NodeClass = 0x04,
|
|
14
|
+
BrowseName = 0x08,
|
|
15
|
+
DisplayName = 0x10,
|
|
16
|
+
TypeDefinition = 0x20
|
|
17
17
|
}
|
|
18
18
|
export const schemaResultMask = {
|
|
19
19
|
name: "ResultMask",
|
package/source/write_mask.ts
CHANGED
|
@@ -4,32 +4,32 @@
|
|
|
4
4
|
|
|
5
5
|
// tslint:disable:no-bitwise
|
|
6
6
|
export enum WriteMask {
|
|
7
|
-
AccessLevel =
|
|
8
|
-
ArrayDimensions =
|
|
9
|
-
BrowseName =
|
|
10
|
-
ContainsNoLoops =
|
|
11
|
-
DataType =
|
|
12
|
-
Description =
|
|
13
|
-
DisplayName =
|
|
14
|
-
EventNotifier =
|
|
15
|
-
Executable =
|
|
16
|
-
Historizing =
|
|
17
|
-
InverseName =
|
|
18
|
-
IsAbstract =
|
|
19
|
-
MinimumSamplingInterval =
|
|
20
|
-
NodeClass =
|
|
21
|
-
NodeId =
|
|
22
|
-
Symmetric =
|
|
23
|
-
UserAccessLevel =
|
|
24
|
-
UserExecutable =
|
|
25
|
-
UserWriteMask =
|
|
26
|
-
ValueRank =
|
|
27
|
-
WriteMask =
|
|
28
|
-
ValueForVariableType =
|
|
29
|
-
DataTypeDefinition =
|
|
30
|
-
RolePermissions =
|
|
31
|
-
AccessRestrictions =
|
|
32
|
-
AccessLevelEx =
|
|
7
|
+
AccessLevel = 1 << 0, // Indicates if the AccessLevel Attribute is writable.
|
|
8
|
+
ArrayDimensions = 1 << 1, // Indicates if the ArrayDimensions Attribute is writable.
|
|
9
|
+
BrowseName = 1 << 2, // Indicates if the BrowseName Attribute is writable.
|
|
10
|
+
ContainsNoLoops = 1 << 3, // Indicates if the ContainsNoLoops Attribute is writable.
|
|
11
|
+
DataType = 1 << 4, // Indicates if the DataType Attribute is writable.
|
|
12
|
+
Description = 1 << 5, // Indicates if the Description Attribute is writable.
|
|
13
|
+
DisplayName = 1 << 6, // Indicates if the DisplayName Attribute is writable.
|
|
14
|
+
EventNotifier = 1 << 7, // Indicates if the EventNotifier Attribute is writable.
|
|
15
|
+
Executable = 1 << 8, // Indicates if the Executable Attribute is writable.
|
|
16
|
+
Historizing = 1 << 9, // Indicates if the Historizing Attribute is writable.
|
|
17
|
+
InverseName = 1 << 10, // Indicates if the InverseName Attribute is writable.
|
|
18
|
+
IsAbstract = 1 << 11, // Indicates if the IsAbstract Attribute is writable.
|
|
19
|
+
MinimumSamplingInterval = 1 << 12, // Indicates if the MinimumSamplingInterval Attribute is writable.
|
|
20
|
+
NodeClass = 1 << 13, // Indicates if the NodeClass Attribute is writable.
|
|
21
|
+
NodeId = 1 << 14, // Indicates if the NodeId Attribute is writable.
|
|
22
|
+
Symmetric = 1 << 15, // Indicates if the Symmetric Attribute is writable.
|
|
23
|
+
UserAccessLevel = 1 << 16, // Indicates if the UserAccessLevel Attribute is writable.
|
|
24
|
+
UserExecutable = 1 << 17, // Indicates if the UserExecutable Attribute is writable.
|
|
25
|
+
UserWriteMask = 1 << 18, // Indicates if the UserWriteMask Attribute is writable.
|
|
26
|
+
ValueRank = 1 << 19, // Indicates if the ValueRank Attribute is writable.
|
|
27
|
+
WriteMask = 1 << 20, // Indicates if the WriteMask Attribute is writable.
|
|
28
|
+
ValueForVariableType = 1 << 21, // Indicates if the Value Attribute is writable for a VariableType.
|
|
29
|
+
DataTypeDefinition = 1 << 22, /// Indicates if the DataTypeDefinition Attribute is writable.
|
|
30
|
+
RolePermissions = 1 << 23, // Indicates if the RolePermissions Attribute is writable.
|
|
31
|
+
AccessRestrictions = 1 << 24, // Indicates if the AccessRestrictions Attribute is writable.
|
|
32
|
+
AccessLevelEx = 1 << 25 // Indicates if the AccessLevelEx Attribute is writable.
|
|
33
33
|
// It does not apply for
|
|
34
34
|
// Variables since this is handled by the AccessLevel and UserAccessLevel
|
|
35
35
|
// Attributes for the Variable. For Variables this bit shall be set to 0.
|