opcua-webapi-ts 1.1.28 → 1.2.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.
@@ -48,7 +48,7 @@ class UaReferenceTypeDictionary {
48
48
  return;
49
49
  // Read child type
50
50
  let nodeIdsToBrowse = [];
51
- let nodeReader = new UaNodeReader_1.UaNodeReader(this._client, false, false, false, common_1.UaNodeId.from(common_1.ReferenceTypeIds.Aggregates), false, false, false, false, false);
51
+ let nodeReader = new UaNodeReader_1.UaNodeReader(this._client, false, false, false, common_1.UaNodeId.from(common_1.ReferenceTypeIds.HasProperty), false, false, false, false, false);
52
52
  let nodes = yield nodeReader.readByReferences(referencesToRead);
53
53
  for (let node of nodes) {
54
54
  if (opcua_webapi_1.NodeClass.ReferenceType != node.nodeClass)
@@ -25,7 +25,9 @@ class UaReferenceType extends _1.UaDefinitionNode {
25
25
  name: this._browseName,
26
26
  displayName: this._displayName.text,
27
27
  description: (this._description) ? this._description.text : undefined,
28
- isAbstract: this._isAbstract
28
+ isAbstract: this._isAbstract,
29
+ inverseName: this.inverseName.text,
30
+ symmetric: this.symmetric
29
31
  };
30
32
  return ret;
31
33
  }
@@ -48,7 +48,7 @@ class UaReferenceTypeDictionary {
48
48
  return;
49
49
  // Read child type
50
50
  let nodeIdsToBrowse = [];
51
- let nodeReader = new UaNodeReader_1.UaNodeReader(this._client, false, false, false, common_1.UaNodeId.from(common_1.ReferenceTypeIds.Aggregates), false, false, false, false, false);
51
+ let nodeReader = new UaNodeReader_1.UaNodeReader(this._client, false, false, false, common_1.UaNodeId.from(common_1.ReferenceTypeIds.HasProperty), false, false, false, false, false);
52
52
  let nodes = yield nodeReader.readByReferences(referencesToRead);
53
53
  for (let node of nodes) {
54
54
  if (opcua_webapi_1.NodeClass.ReferenceType != node.nodeClass)
@@ -25,7 +25,9 @@ class UaReferenceType extends _1.UaDefinitionNode {
25
25
  name: this._browseName,
26
26
  displayName: this._displayName.text,
27
27
  description: (this._description) ? this._description.text : undefined,
28
- isAbstract: this._isAbstract
28
+ isAbstract: this._isAbstract,
29
+ inverseName: this.inverseName.text,
30
+ symmetric: this.symmetric
29
31
  };
30
32
  return ret;
31
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opcua-webapi-ts",
3
- "version": "1.1.28",
3
+ "version": "1.2.0",
4
4
  "description": "Provides OPC UA WebAPI wrapper and client based on opcua-webapi-typescript",
5
5
  "author": "DingYan",
6
6
  "license": "MIT",