node-opcua-address-space 2.132.0 → 2.133.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.
Files changed (114) hide show
  1. package/dist/source/helpers/argument_list.d.ts +1 -6
  2. package/dist/source/helpers/argument_list.js +1 -6
  3. package/dist/source/helpers/argument_list.js.map +1 -1
  4. package/dist/source/helpers/dump_tools.d.ts +0 -4
  5. package/dist/source/helpers/dump_tools.js +0 -4
  6. package/dist/source/helpers/dump_tools.js.map +1 -1
  7. package/dist/source/interfaces/alarms_and_conditions/condition_snapshot.d.ts +4 -53
  8. package/dist/source/interfaces/state_machine/ua_shelved_state_machine_ex.d.ts +1 -1
  9. package/dist/source/loader/load_nodeset2.js +0 -3
  10. package/dist/source/loader/load_nodeset2.js.map +1 -1
  11. package/dist/source/session_context.d.ts +0 -4
  12. package/dist/source/session_context.js +0 -4
  13. package/dist/source/session_context.js.map +1 -1
  14. package/dist/src/address_space.d.ts +0 -27
  15. package/dist/src/address_space.js +0 -29
  16. package/dist/src/address_space.js.map +1 -1
  17. package/dist/src/alarms_and_conditions/condition.js +13 -12
  18. package/dist/src/alarms_and_conditions/condition.js.map +1 -1
  19. package/dist/src/alarms_and_conditions/condition_info_impl.d.ts +2 -10
  20. package/dist/src/alarms_and_conditions/condition_info_impl.js +2 -10
  21. package/dist/src/alarms_and_conditions/condition_info_impl.js.map +1 -1
  22. package/dist/src/alarms_and_conditions/condition_snapshot_impl.d.ts +132 -77
  23. package/dist/src/alarms_and_conditions/condition_snapshot_impl.js +120 -123
  24. package/dist/src/alarms_and_conditions/condition_snapshot_impl.js.map +1 -1
  25. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.d.ts +1 -10
  26. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js +1 -10
  27. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js.map +1 -1
  28. package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.d.ts +3 -15
  29. package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.js +3 -15
  30. package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.js.map +1 -1
  31. package/dist/src/alarms_and_conditions/ua_base_event_impl.d.ts +1 -7
  32. package/dist/src/alarms_and_conditions/ua_base_event_impl.js +1 -7
  33. package/dist/src/alarms_and_conditions/ua_base_event_impl.js.map +1 -1
  34. package/dist/src/alarms_and_conditions/ua_condition_impl.d.ts +0 -28
  35. package/dist/src/alarms_and_conditions/ua_condition_impl.js +0 -31
  36. package/dist/src/alarms_and_conditions/ua_condition_impl.js.map +1 -1
  37. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.d.ts +0 -1
  38. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js +0 -1
  39. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js.map +1 -1
  40. package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.d.ts +0 -28
  41. package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js +0 -28
  42. package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js.map +1 -1
  43. package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.d.ts +0 -3
  44. package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.js +0 -3
  45. package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.js.map +1 -1
  46. package/dist/src/base_node_impl.d.ts +2 -6
  47. package/dist/src/base_node_impl.js +3 -7
  48. package/dist/src/base_node_impl.js.map +1 -1
  49. package/dist/src/base_node_private.d.ts +1 -1
  50. package/dist/src/base_node_private.js +1 -1
  51. package/dist/src/event_data.d.ts +0 -3
  52. package/dist/src/event_data.js +0 -3
  53. package/dist/src/event_data.js.map +1 -1
  54. package/dist/src/extension_object_array_node.d.ts +1 -1
  55. package/dist/src/extension_object_array_node.js +1 -1
  56. package/dist/src/historical_access/address_space_historical_data_node.d.ts +0 -5
  57. package/dist/src/historical_access/address_space_historical_data_node.js +0 -5
  58. package/dist/src/historical_access/address_space_historical_data_node.js.map +1 -1
  59. package/dist/src/namespace_impl.d.ts +21 -28
  60. package/dist/src/namespace_impl.js +22 -29
  61. package/dist/src/namespace_impl.js.map +1 -1
  62. package/dist/src/reference_impl.d.ts +1 -1
  63. package/dist/src/reference_impl.js +1 -1
  64. package/dist/src/state_machine/finite_state_machine.d.ts +0 -5
  65. package/dist/src/state_machine/finite_state_machine.js +0 -8
  66. package/dist/src/state_machine/finite_state_machine.js.map +1 -1
  67. package/dist/src/state_machine/ua_shelving_state_machine_ex.d.ts +1 -1
  68. package/dist/src/state_machine/ua_shelving_state_machine_ex.js +7 -7
  69. package/dist/src/state_machine/ua_shelving_state_machine_ex.js.map +1 -1
  70. package/dist/src/state_machine/ua_two_state_variable.d.ts +0 -8
  71. package/dist/src/state_machine/ua_two_state_variable.js +0 -8
  72. package/dist/src/state_machine/ua_two_state_variable.js.map +1 -1
  73. package/dist/src/ua_object_type_impl.d.ts +1 -1
  74. package/dist/src/ua_object_type_impl.js +1 -1
  75. package/dist/src/ua_variable_impl.d.ts +4 -4
  76. package/dist/src/ua_variable_impl.js +3 -3
  77. package/dist/src/ua_variable_impl_ext_obj.js +0 -2
  78. package/dist/src/ua_variable_impl_ext_obj.js.map +1 -1
  79. package/dist/src/ua_variable_type_impl.js +1 -1
  80. package/dist/tsconfig_common.tsbuildinfo +1 -1
  81. package/distHelpers/assertHasMatchingReference.d.ts +1 -1
  82. package/distHelpers/assertHasMatchingReference.js +1 -1
  83. package/package.json +36 -36
  84. package/source/helpers/argument_list.ts +1 -6
  85. package/source/helpers/dump_tools.ts +0 -4
  86. package/source/interfaces/alarms_and_conditions/condition_snapshot.ts +4 -53
  87. package/source/interfaces/state_machine/ua_shelved_state_machine_ex.ts +1 -1
  88. package/source/loader/load_nodeset2.ts +0 -3
  89. package/source/session_context.ts +0 -4
  90. package/src/address_space.ts +0 -29
  91. package/src/alarms_and_conditions/condition.ts +13 -12
  92. package/src/alarms_and_conditions/condition_info_impl.ts +2 -10
  93. package/src/alarms_and_conditions/condition_snapshot_impl.ts +122 -125
  94. package/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.ts +1 -10
  95. package/src/alarms_and_conditions/ua_alarm_condition_impl.ts +3 -15
  96. package/src/alarms_and_conditions/ua_base_event_impl.ts +1 -7
  97. package/src/alarms_and_conditions/ua_condition_impl.ts +0 -31
  98. package/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.ts +0 -1
  99. package/src/alarms_and_conditions/ua_limit_alarm_impl.ts +0 -28
  100. package/src/alarms_and_conditions/ua_off_normal_alarm_impl.ts +0 -3
  101. package/src/base_node_impl.ts +3 -7
  102. package/src/base_node_private.ts +1 -1
  103. package/src/event_data.ts +2 -3
  104. package/src/extension_object_array_node.ts +1 -1
  105. package/src/historical_access/address_space_historical_data_node.ts +0 -5
  106. package/src/namespace_impl.ts +22 -29
  107. package/src/reference_impl.ts +1 -1
  108. package/src/state_machine/finite_state_machine.ts +0 -8
  109. package/src/state_machine/ua_shelving_state_machine_ex.ts +8 -8
  110. package/src/state_machine/ua_two_state_variable.ts +0 -8
  111. package/src/ua_object_type_impl.ts +1 -1
  112. package/src/ua_variable_impl.ts +4 -4
  113. package/src/ua_variable_impl_ext_obj.ts +0 -2
  114. package/src/ua_variable_type_impl.ts +1 -1
@@ -2,7 +2,7 @@ import { AddReferenceOpts, BaseNode } from "..";
2
2
  /**
3
3
  * asserts that the provided reference exists in the node references
4
4
  *
5
- * @method assertHasMatchingReference
5
+
6
6
  *
7
7
  * @param node
8
8
  * @param reference (Reference}
@@ -9,7 +9,7 @@ const node_opcua_nodeid_1 = require("node-opcua-nodeid");
9
9
  /**
10
10
  * asserts that the provided reference exists in the node references
11
11
  *
12
- * @method assertHasMatchingReference
12
+
13
13
  *
14
14
  * @param node
15
15
  * @param reference (Reference}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-address-space",
3
- "version": "2.132.0",
3
+ "version": "2.133.0",
4
4
  "description": "pure nodejs OPCUA SDK - module address-space",
5
5
  "main": "./dist/src/index_current.js",
6
6
  "types": "./dist/source/index.d.ts",
@@ -16,54 +16,54 @@
16
16
  "c": "mocha --version"
17
17
  },
18
18
  "dependencies": {
19
- "@types/lodash": "4.17.7",
19
+ "@types/lodash": "4.17.9",
20
20
  "@types/semver": "^7.5.8",
21
21
  "async": "^3.2.6",
22
22
  "chalk": "4.1.2",
23
23
  "dequeue": "^1.0.5",
24
24
  "lodash": "4.17.21",
25
- "node-opcua-address-space-base": "2.132.0",
25
+ "node-opcua-address-space-base": "2.133.0",
26
26
  "node-opcua-assert": "2.120.0",
27
- "node-opcua-basic-types": "2.132.0",
28
- "node-opcua-binary-stream": "2.128.0",
29
- "node-opcua-client-dynamic-extension-object": "2.132.0",
27
+ "node-opcua-basic-types": "2.133.0",
28
+ "node-opcua-binary-stream": "2.133.0",
29
+ "node-opcua-client-dynamic-extension-object": "2.133.0",
30
30
  "node-opcua-constants": "2.125.0",
31
- "node-opcua-crypto": "4.9.4",
32
- "node-opcua-data-access": "2.132.0",
33
- "node-opcua-data-model": "2.132.0",
34
- "node-opcua-data-value": "2.132.0",
35
- "node-opcua-date-time": "2.132.0",
36
- "node-opcua-debug": "2.128.0",
37
- "node-opcua-enum": "2.128.0",
38
- "node-opcua-extension-object": "2.132.0",
39
- "node-opcua-factory": "2.132.0",
40
- "node-opcua-nodeid": "2.128.0",
41
- "node-opcua-nodeset-ua": "2.132.0",
42
- "node-opcua-numeric-range": "2.132.0",
43
- "node-opcua-object-registry": "2.128.0",
44
- "node-opcua-pseudo-session": "2.132.0",
45
- "node-opcua-service-browse": "2.132.0",
46
- "node-opcua-service-call": "2.132.0",
47
- "node-opcua-service-history": "2.132.0",
48
- "node-opcua-service-translate-browse-path": "2.132.0",
49
- "node-opcua-service-write": "2.132.0",
50
- "node-opcua-status-code": "2.128.0",
51
- "node-opcua-types": "2.132.0",
52
- "node-opcua-utils": "2.128.0",
53
- "node-opcua-variant": "2.132.0",
54
- "node-opcua-xml2json": "2.128.0",
31
+ "node-opcua-crypto": "4.10.0",
32
+ "node-opcua-data-access": "2.133.0",
33
+ "node-opcua-data-model": "2.133.0",
34
+ "node-opcua-data-value": "2.133.0",
35
+ "node-opcua-date-time": "2.133.0",
36
+ "node-opcua-debug": "2.133.0",
37
+ "node-opcua-enum": "2.133.0",
38
+ "node-opcua-extension-object": "2.133.0",
39
+ "node-opcua-factory": "2.133.0",
40
+ "node-opcua-nodeid": "2.133.0",
41
+ "node-opcua-nodeset-ua": "2.133.0",
42
+ "node-opcua-numeric-range": "2.133.0",
43
+ "node-opcua-object-registry": "2.133.0",
44
+ "node-opcua-pseudo-session": "2.133.0",
45
+ "node-opcua-service-browse": "2.133.0",
46
+ "node-opcua-service-call": "2.133.0",
47
+ "node-opcua-service-history": "2.133.0",
48
+ "node-opcua-service-translate-browse-path": "2.133.0",
49
+ "node-opcua-service-write": "2.133.0",
50
+ "node-opcua-status-code": "2.133.0",
51
+ "node-opcua-types": "2.133.0",
52
+ "node-opcua-utils": "2.133.0",
53
+ "node-opcua-variant": "2.133.0",
54
+ "node-opcua-xml2json": "2.133.0",
55
55
  "semver": "^7.6.3",
56
56
  "set-prototype-of": "^1.0.0",
57
57
  "thenify": "^3.3.1",
58
58
  "xml-writer": "^1.7.0"
59
59
  },
60
60
  "devDependencies": {
61
- "node-opcua-benchmarker": "2.128.0",
62
- "node-opcua-leak-detector": "2.128.0",
61
+ "node-opcua-benchmarker": "2.133.0",
62
+ "node-opcua-leak-detector": "2.133.0",
63
63
  "node-opcua-nodesets": "2.121.0",
64
- "node-opcua-packet-analyzer": "2.132.0",
65
- "node-opcua-service-filter": "2.132.0",
66
- "node-opcua-test-fixtures": "2.132.0",
64
+ "node-opcua-packet-analyzer": "2.133.0",
65
+ "node-opcua-service-filter": "2.133.0",
66
+ "node-opcua-test-fixtures": "2.133.0",
67
67
  "source-map-support": "^0.5.21"
68
68
  },
69
69
  "author": "Etienne Rossignon",
@@ -81,7 +81,7 @@
81
81
  "internet of things"
82
82
  ],
83
83
  "homepage": "http://node-opcua.github.io/",
84
- "gitHead": "5fab0f1eac0e59abf94bab9034035aec44890456",
84
+ "gitHead": "921bb04f2e7ce3109dd051ff27a2210edf700344",
85
85
  "files": [
86
86
  "dist",
87
87
  "distHelpers",
@@ -229,12 +229,7 @@ export function isArgumentValid(addressSpace: IAddressSpace, argDefinition: Argu
229
229
  }
230
230
 
231
231
  /**
232
- * @method verifyArguments_ArgumentList
233
- * @param addressSpace
234
- * @param methodInputArguments
235
- * @param inputArguments
236
- * @return statusCode,inputArgumentResults
237
- */
232
+ */
238
233
  export function verifyArguments_ArgumentList(
239
234
  addressSpace: IAddressSpace,
240
235
  methodInputArguments: Argument[],
@@ -66,10 +66,6 @@ export function dumpBrowseDescription(node: BaseNode, _browseDescription: Browse
66
66
  }
67
67
 
68
68
  /**
69
- * @method dumpReferences
70
- * @param addressSpace {IAddressSpace}
71
- * @param references {Array<Reference>|null}
72
- * @static
73
69
  */
74
70
  export function dumpReferences(addressSpace: IAddressSpace, references: UAReference[]): void {
75
71
  assert(addressSpace);
@@ -30,52 +30,32 @@ export interface ConditionSnapshot extends EventEmitter {
30
30
  branchId: NodeId | null;
31
31
 
32
32
  /**
33
- * @method getBrandId
34
- * @return {NodeId}
35
33
  */
36
34
  getBranchId(): NodeId;
37
35
  /**
38
- * @method getEventId
39
- * @return {ByteString}
40
36
  */
41
37
  getEventId(): Buffer;
42
38
  /**
43
- * @method getRetain
44
- * @return {Boolean}
45
39
  */
46
40
  getRetain(): boolean;
47
41
  /**
48
- *
49
- * @method setRetain
50
- * @param retainFlag {Boolean}
51
42
  */
52
43
  setRetain(retainFlag: boolean): void;
53
44
 
54
45
  /**
55
- * @method renewEventId
56
- *
57
46
  */
58
47
  renewEventId(): void;
59
48
 
60
49
  /**
61
- * @method getEnabledState
62
- * @return {Boolean}
63
50
  */
64
51
  getEnabledState(): boolean;
65
52
  /**
66
- * @method setEnabledState
67
- * @param value {Boolean}
68
- * @return void
69
53
  */
70
54
  setEnabledState(value: boolean, options?: ISetStateOptions): void;
71
55
  /**
72
- * @method getEnabledStateAsString
73
- * @return {String}
74
56
  */
75
57
  getEnabledStateAsString(): string;
76
58
  /**
77
- * @method getComment
78
- * @return {LocalizedText}
79
59
  */
80
60
  getComment(): LocalizedText;
81
61
 
@@ -88,20 +68,14 @@ export interface ConditionSnapshot extends EventEmitter {
88
68
  * a Method provides as an option the ability to set a Comment, then the value of this Variable is
89
69
  * reset to null if an optional comment is not provided.
90
70
  *
91
- * @method setComment
92
- * @param txtMessage {LocalizedText}
93
71
  */
94
72
  setComment(txtMessage: LocalizedTextLike, options?: IConditionVariableTypeSetterOptions): void;
95
73
  /**
96
74
  *
97
- * @method setMessage
98
- * @param txtMessage {LocalizedText}
99
75
  */
100
76
  setMessage(txtMessage: LocalizedTextLike | LocalizedText): void;
101
77
 
102
78
  /**
103
- * @method setClientUserId
104
- * @param userIdentity {String}
105
79
  */
106
80
  setClientUserId(userIdentity: string): void;
107
81
  /*
@@ -131,13 +105,10 @@ export interface ConditionSnapshot extends EventEmitter {
131
105
 
132
106
  /**
133
107
  * set the condition quality
134
- * @method setQuality
135
- * @param quality {StatusCode}
136
108
  */
137
109
  setQuality(quality: StatusCode, options?: IConditionVariableTypeSetterOptions): void;
138
110
  /**
139
- * @method getQuality
140
- * @return {StatusCode}
111
+ *
141
112
  */
142
113
  getQuality(): StatusCode;
143
114
  /*
@@ -170,15 +141,9 @@ export interface ConditionSnapshot extends EventEmitter {
170
141
  * of 667 to 1 000, Events of medium urgency into the OPC severity range of 334 to 666 and
171
142
  * Events of low urgency into OPC severities of 1 to 333.
172
143
  */
173
- /**
174
- * @method setSeverity
175
- * @param severity {UInt16}
176
- */
177
144
  setSeverity(severity: UInt16, options?: IConditionVariableTypeSetterOptions): void;
178
145
 
179
146
  /**
180
- * @method getSeverity
181
- * @return {UInt16}
182
147
  */
183
148
  getSeverity(): UInt16;
184
149
 
@@ -189,14 +154,8 @@ export interface ConditionSnapshot extends EventEmitter {
189
154
  * supplied via the Severity Property which is inherited from the BaseEventType.
190
155
  *
191
156
  */
192
- /**
193
- * @method setLastSeverity
194
- * @param severity {UInt16}
195
- */
196
157
  setLastSeverity(severity: UInt16, options?: IConditionVariableTypeSetterOptions): void;
197
158
  /**
198
- * @method getLastSeverity
199
- * @return {UInt16}
200
159
  */
201
160
  getLastSeverity(): UInt16;
202
161
 
@@ -216,8 +175,6 @@ export interface ConditionSnapshot extends EventEmitter {
216
175
  * The ReceiveTime shall always be returned as value and the Server is not allowed to return a
217
176
  * StatusCode for the ReceiveTime indicating an error.
218
177
  *
219
- * @method setReceiveTime
220
- * @param time {Date} : UTCTime
221
178
  */
222
179
  setReceiveTime(time: UtcTime): void;
223
180
  /**
@@ -226,33 +183,27 @@ export interface ConditionSnapshot extends EventEmitter {
226
183
  * possible. It often comes from the underlying system or device. Once set, intermediate OPC UA
227
184
  * Servers shall not alter the value.
228
185
  *
229
- * @method setTime
230
- * @param time {Date}
231
186
  */
232
187
  setTime(time: Date): void;
233
188
  /**
234
189
  * LocalTime is a structure containing the Offset and the DaylightSavingInOffset flag. The Offset
235
190
  * specifies the time difference (in minutes) between the Time Property and the time at the location
236
191
  * in which the event was issued. If DaylightSavingInOffset is TRUE, then Standard/Daylight
237
- * savings time (DST) at the originating location is in effect and Offset includes the DST c orrection.
192
+ * savings time (DST) at the originating location is in effect and Offset includes the DST correction.
238
193
  * If FALSE then the Offset does not include DST correction and DST may or may not have been
239
194
  * in effect.
240
- * @method setLocalTime
241
- * @param localTime {TimeZone}
242
195
  */
243
196
  setLocalTime(localTime: TimeZoneDataType): void;
244
197
 
245
198
  // read only !
246
199
  getSourceName(): LocalizedText;
247
200
  /**
248
- * @method getSourceNode
249
- * return {NodeId}
201
+ *
250
202
  */
251
203
  getSourceNode(): NodeId;
252
204
 
253
205
  /**
254
- * @method getEventType
255
- * return {NodeId}
206
+ *
256
207
  */
257
208
  getEventType(): NodeId;
258
209
  getMessage(): LocalizedText;
@@ -7,7 +7,7 @@ import { UATransitionEx } from "./ua_transition_ex";
7
7
 
8
8
  export interface UAShelvedStateMachineHelper {
9
9
  _timer: NodeJS.Timer | null;
10
- _sheveldTime: Date;
10
+ _shelvedTime: Date;
11
11
  _unshelvedTime: Date;
12
12
  _duration: number;
13
13
  }
@@ -338,9 +338,6 @@ function makeNodeSetParserEngine(addressSpace: IAddressSpace, options: NodeSetLo
338
338
  /**
339
339
  * convert a nodeId
340
340
  *
341
- * @method convertToNodeId
342
- * @param nodeId {String|null}
343
- * @return {NodeId}
344
341
  *
345
342
  * @example
346
343
  * convertToNodeId("String") => resolve alias
@@ -320,10 +320,6 @@ export class SessionContext implements ISessionContext {
320
320
  return false;
321
321
  }
322
322
  /**
323
- * @method checkPermission
324
- * @param node
325
- * @param requestedPermission
326
- * @return {Boolean} returns true of the current user is granted the requested Permission
327
323
  */
328
324
  public checkPermission(node: BaseNode, requestedPermission: PermissionType): boolean {
329
325
  const permissions = this.getPermissions(node);
@@ -124,9 +124,6 @@ function _extract_namespace_and_browse_name_as_string(
124
124
 
125
125
  /**
126
126
  * returns true if str matches a nodeID, e.g i=123 or ns=...
127
- * @method isNodeIdString
128
- * @param str
129
- * @type {boolean}
130
127
  */
131
128
  function isNodeIdString(str: unknown): boolean {
132
129
  if (typeof str !== "string") {
@@ -200,9 +197,6 @@ export class AddressSpace implements AddressSpacePrivate {
200
197
  }
201
198
 
202
199
  /***
203
- * @method getNamespace
204
- * @param {string|number} namespace index or namespace uri.
205
- * @return {NameSpace} the namespace
206
200
  */
207
201
  public getNamespace(namespaceIndexOrName: string | number): NamespacePrivate {
208
202
  if (typeof namespaceIndexOrName === "number") {
@@ -218,7 +212,6 @@ export class AddressSpace implements AddressSpacePrivate {
218
212
  }
219
213
 
220
214
  /***
221
- * @method getDefaultNamespace
222
215
  * @return the default namespace (standard OPCUA namespace)
223
216
  */
224
217
  public getDefaultNamespace(): NamespacePrivate {
@@ -226,7 +219,6 @@ export class AddressSpace implements AddressSpacePrivate {
226
219
  }
227
220
 
228
221
  /***
229
- * @method getOwnNamespace
230
222
  *
231
223
  * objects instances managed by the server will be created in this namespace.
232
224
  *
@@ -241,8 +233,6 @@ export class AddressSpace implements AddressSpacePrivate {
241
233
  }
242
234
 
243
235
  /**
244
- * @method getNamespaceIndex
245
- * @param namespaceUri
246
236
  * @return the namespace index of a namespace given by its namespace uri
247
237
  *
248
238
  */
@@ -252,7 +242,6 @@ export class AddressSpace implements AddressSpacePrivate {
252
242
  }
253
243
 
254
244
  /**
255
- * @method registerNamespace
256
245
  *
257
246
  * register a new namespace,
258
247
  * it is OK to call registerNamespace even if namespace has already been registered;
@@ -281,7 +270,6 @@ export class AddressSpace implements AddressSpacePrivate {
281
270
  }
282
271
 
283
272
  /***
284
- * @method getNamespaceArray
285
273
  * @return {Namespace[]} the namespace array
286
274
  */
287
275
  public getNamespaceArray(): NamespacePrivate[] {
@@ -290,7 +278,6 @@ export class AddressSpace implements AddressSpacePrivate {
290
278
 
291
279
  /**
292
280
  *
293
- * @method addAlias
294
281
  * @param alias {String} the alias name
295
282
  * @param nodeId {NodeId}
296
283
  * @internal
@@ -303,7 +290,6 @@ export class AddressSpace implements AddressSpacePrivate {
303
290
 
304
291
  /**
305
292
  * find an node by node Id
306
- * @method findNode
307
293
  * @param nodeId a nodeId or a string coerce-able to nodeID, representing the object to find.
308
294
  * @return {BaseNode|null}
309
295
  */
@@ -351,7 +337,6 @@ export class AddressSpace implements AddressSpacePrivate {
351
337
 
352
338
  /**
353
339
  *
354
- * @method findObjectType
355
340
  * @param objectType {String|NodeId|QualifiedName}
356
341
  * @param [namespaceIndex=0 {Number}] an optional namespace index
357
342
  * @return {UAObjectType|null}
@@ -386,7 +371,6 @@ export class AddressSpace implements AddressSpacePrivate {
386
371
  }
387
372
 
388
373
  /**
389
- * @method findVariableType
390
374
  * @param variableType {String|NodeId}
391
375
  * @param [namespaceIndex=0 {Number}] an optional namespace index
392
376
  * @return {UAObjectType|null}
@@ -414,7 +398,6 @@ export class AddressSpace implements AddressSpacePrivate {
414
398
 
415
399
  /**
416
400
  * Find the DataType node from a NodeId or a browseName
417
- * @method findDataType
418
401
  * @param dataType {String|NodeId}
419
402
  * @param [namespaceIndex=0 {Number}] an optional namespace index
420
403
  * @return {DataType|null}
@@ -457,7 +440,6 @@ export class AddressSpace implements AddressSpacePrivate {
457
440
  }
458
441
 
459
442
  /**
460
- * @method findCorrespondingBasicDataType
461
443
  *
462
444
  * @example
463
445
  *
@@ -521,7 +503,6 @@ export class AddressSpace implements AddressSpacePrivate {
521
503
 
522
504
  /**
523
505
  * find a ReferenceType by its inverse name.
524
- * @method findReferenceTypeFromInverseName
525
506
  * @param inverseName the inverse name of the ReferenceType to find
526
507
  * @deprecated
527
508
  */
@@ -530,7 +511,6 @@ export class AddressSpace implements AddressSpacePrivate {
530
511
  }
531
512
 
532
513
  /**
533
- * @method findReferenceType
534
514
  * @param refType {String|NodeId}
535
515
  * @param [namespaceIndex=0 {Number}] an optional namespace index
536
516
  * @return {ReferenceType|null}
@@ -577,7 +557,6 @@ export class AddressSpace implements AddressSpacePrivate {
577
557
  /**
578
558
  * returns the inverse name of the referenceType.
579
559
  *
580
- * @method inverseReferenceType
581
560
  * @param referenceType {String} : the reference type name
582
561
  * @return {String} the name of the inverse reference type.
583
562
  *
@@ -604,7 +583,6 @@ export class AddressSpace implements AddressSpacePrivate {
604
583
 
605
584
  /**
606
585
  * find an EventType node in the address space
607
- * @method findEventType
608
586
  * @param eventTypeId {String|NodeId|UAObjectType} the eventType to find
609
587
  * @param namespaceIndex the namespace index of the event to find
610
588
  * @return {UAObjectType|null} the EventType found or null.
@@ -650,7 +628,6 @@ export class AddressSpace implements AddressSpacePrivate {
650
628
 
651
629
  /**
652
630
  * EventId is generated by the Server to uniquely identify a particular Event Notification.
653
- * @method generateEventId
654
631
  * @return {Variant} dataType: "ByteString"
655
632
  */
656
633
  public generateEventId(): VariantT<Buffer, DataType.ByteString> {
@@ -679,7 +656,6 @@ export class AddressSpace implements AddressSpacePrivate {
679
656
 
680
657
  /*=
681
658
  * construct a simple javascript object with all the default properties of the event
682
- * @method constructEventData
683
659
  *
684
660
  * @return result.$eventDataSource {BaseNode} the event type node
685
661
  * @return result.eventId {NodeId} the
@@ -892,7 +868,6 @@ export class AddressSpace implements AddressSpacePrivate {
892
868
  /**
893
869
  * browse some path.
894
870
  *
895
- * @method browsePath
896
871
  * @param {BrowsePath} browsePath
897
872
  * @return {BrowsePathResult}
898
873
  *
@@ -1068,7 +1043,6 @@ export class AddressSpace implements AddressSpacePrivate {
1068
1043
 
1069
1044
  /**
1070
1045
  * cleanup all resources maintained by this addressSpace.
1071
- * @method dispose
1072
1046
  */
1073
1047
  public dispose(): void {
1074
1048
  this._namespaceArray.map((namespace: NamespacePrivate) => namespace.dispose());
@@ -1081,7 +1055,6 @@ export class AddressSpace implements AddressSpacePrivate {
1081
1055
 
1082
1056
  /**
1083
1057
  * register a function that will be called when the server will perform its shut down.
1084
- * @method registerShutdownTask
1085
1058
  */
1086
1059
  public registerShutdownTask(task: ShutdownTask): void {
1087
1060
  this._shutdownTask = this._shutdownTask || [];
@@ -1182,7 +1155,6 @@ export class AddressSpace implements AddressSpacePrivate {
1182
1155
  * walk up the hierarchy of objects until a view is found
1183
1156
  * objects may belong to multiples views.
1184
1157
  * Note: this method doesn't return the main view => Server object.
1185
- * @method extractRootViews
1186
1158
  * @param node {BaseNode}
1187
1159
  * @return {BaseNode[]}
1188
1160
  */
@@ -1548,7 +1520,6 @@ function _find_by_node_id<T extends BaseNode>(addressSpace: AddressSpace, nodeId
1548
1520
 
1549
1521
  /**
1550
1522
  * return true if nodeId is a UAFolder
1551
- * @method _isFolder
1552
1523
  * @param addressSpace
1553
1524
  * @param folder
1554
1525
  * @return {Boolean}
@@ -42,19 +42,20 @@ function prepare_date(sourceTimestamp: { value: Date } | null) {
42
42
  A Condition’s EnabledState effects the generation of Event Notifications and as such results
43
43
  in the following specific behaviour:
44
44
  * When the Condition instance enters the Disabled state, the Retain Property of this
45
- Condition shall be set to FALSE by the Server to indicate to the Client that the
46
- Condition instance is currently not of interest to Clients.
45
+ Condition shall be set to FALSE by the Server to indicate to the Client that the
46
+ Condition instance is currently not of interest to Clients.
47
47
  * When the Condition instance enters the enabled state, the Condition shall be
48
- evaluated and all of its Properties updated to reflect the current values. If this
49
- evaluation causes the Retain Property to transition to TRUE for any ConditionBranch,
50
- then an Event Notification shall be generated for that ConditionBranch.
48
+ evaluated and all of its Properties updated to reflect the current values. If this
49
+ evaluation causes the Retain Property to transition to TRUE for any ConditionBranch,
50
+ then an Event Notification shall be generated for that ConditionBranch.
51
51
  * The Server may choose to continue to test for a Condition instance while it is
52
- Disabled. However, no Event Notifications will be generated while the Condition
53
- instance is disabled.
52
+ Disabled. However, no Event Notifications will be generated while the Condition
53
+ instance is disabled.
54
54
  * For any Condition that exists in the Address Space the Attributes and the following
55
- Variables will continue to have valid values even in the Disabled state; EventId, Event
56
- Type, Source Node, Source Name, Time, and EnabledState.
57
- Other properties may no longer provide current valid values.
55
+ Variables will continue to have valid values even in the Disabled state; EventId, Event
56
+ Type, Source Node, Source Name, Time, and EnabledState.
57
+ Other properties may no longer provide current valid values.
58
+
58
59
  All Variables that are no longer provided shall return a status of BadConditionDisabled.
59
60
  The Event that reports the Disabled state should report the properties as NULL or with a status
60
61
  of BadConditionDisabled.
@@ -75,9 +76,9 @@ function prepare_date(sourceTimestamp: { value: Date } | null) {
75
76
  // case, the SourceNode of this ReferenceType shall be an ObjectType or VariableType Node or
76
77
  // one of their InstanceDeclaration Nodes. The TargetNode shall be a Condition instance
77
78
  // declaration or a ConditionType. The following rules for instantiation apply:
78
- // All HasCondition References used in a Type shall exist in instances of these Types as
79
+ // * All HasCondition References used in a Type shall exist in instances of these Types as
79
80
  // well.
80
- // If the TargetNode in the Type definition is a ConditionType, the same TargetNode will
81
+ // * If the TargetNode in the Type definition is a ConditionType, the same TargetNode will
81
82
  // be referenced on the instance.
82
83
  // HasCondition References may be used solely in the instance space when they are not
83
84
  // available in Type definitions. In this case the SourceNode of this ReferenceType shall be an
@@ -9,13 +9,7 @@ import { ConditionInfo, ConditionInfoOptions } from "../../source/interfaces/ala
9
9
 
10
10
 
11
11
  /**
12
- * @class ConditionInfo
13
- * @param options {Object}
14
- * @param options.message {String|LocalizedText} the event message
15
- * @param options.severity {UInt16} severity
16
- * @param options.quality {StatusCode} quality
17
- * @param options.retain {Boolean} retain flag
18
- * @constructor
12
+ * @private
19
13
  */
20
14
  export class ConditionInfoImpl implements ConditionInfo {
21
15
  public message: LocalizedText | null = null;
@@ -46,9 +40,7 @@ export class ConditionInfoImpl implements ConditionInfo {
46
40
  }
47
41
 
48
42
  /**
49
- * @method isDifferentFrom
50
- * @param otherConditionInfo {ConditionInfo}
51
- * @return {Boolean}
43
+ *
52
44
  */
53
45
  public isDifferentFrom(otherConditionInfo: ConditionInfo): boolean {
54
46
  return (