node-opcua-address-space 2.97.0 → 2.98.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 (428) hide show
  1. package/package.json +37 -37
  2. package/source/interfaces/alarms_and_conditions/ua_condition_ex.ts +4 -3
  3. package/src/alarms_and_conditions/ua_condition_impl.ts +14 -9
  4. package/src/base_node_private.ts +73 -28
  5. package/src/ua_variable_type_impl.ts +35 -17
  6. package/dist/source/address_space_ts.d.ts +0 -118
  7. package/dist/source/address_space_ts.js +0 -18
  8. package/dist/source/address_space_ts.js.map +0 -1
  9. package/dist/source/continuation_points/continuation_point_manager.d.ts +0 -91
  10. package/dist/source/continuation_points/continuation_point_manager.js +0 -201
  11. package/dist/source/continuation_points/continuation_point_manager.js.map +0 -1
  12. package/dist/source/helpers/adjust_browse_direction.d.ts +0 -5
  13. package/dist/source/helpers/adjust_browse_direction.js +0 -12
  14. package/dist/source/helpers/adjust_browse_direction.js.map +0 -1
  15. package/dist/source/helpers/argument_list.d.ts +0 -33
  16. package/dist/source/helpers/argument_list.js +0 -255
  17. package/dist/source/helpers/argument_list.js.map +0 -1
  18. package/dist/source/helpers/call_helpers.d.ts +0 -6
  19. package/dist/source/helpers/call_helpers.js +0 -72
  20. package/dist/source/helpers/call_helpers.js.map +0 -1
  21. package/dist/source/helpers/coerce_enum_value.d.ts +0 -6
  22. package/dist/source/helpers/coerce_enum_value.js +0 -34
  23. package/dist/source/helpers/coerce_enum_value.js.map +0 -1
  24. package/dist/source/helpers/dump_tools.d.ts +0 -14
  25. package/dist/source/helpers/dump_tools.js +0 -79
  26. package/dist/source/helpers/dump_tools.js.map +0 -1
  27. package/dist/source/helpers/ensure_secure_access.d.ts +0 -9
  28. package/dist/source/helpers/ensure_secure_access.js +0 -77
  29. package/dist/source/helpers/ensure_secure_access.js.map +0 -1
  30. package/dist/source/helpers/make_optionals_map.d.ts +0 -21
  31. package/dist/source/helpers/make_optionals_map.js +0 -30
  32. package/dist/source/helpers/make_optionals_map.js.map +0 -1
  33. package/dist/source/helpers/multiform_func.d.ts +0 -11
  34. package/dist/source/helpers/multiform_func.js +0 -76
  35. package/dist/source/helpers/multiform_func.js.map +0 -1
  36. package/dist/source/helpers/resolve_opaque_on_address_space.d.ts +0 -3
  37. package/dist/source/helpers/resolve_opaque_on_address_space.js +0 -37
  38. package/dist/source/helpers/resolve_opaque_on_address_space.js.map +0 -1
  39. package/dist/source/index.d.ts +0 -61
  40. package/dist/source/index.js +0 -90
  41. package/dist/source/index.js.map +0 -1
  42. package/dist/source/interfaces/alarms_and_conditions/condition_info_i.d.ts +0 -19
  43. package/dist/source/interfaces/alarms_and_conditions/condition_info_i.js +0 -3
  44. package/dist/source/interfaces/alarms_and_conditions/condition_info_i.js.map +0 -1
  45. package/dist/source/interfaces/alarms_and_conditions/condition_snapshot.d.ts +0 -193
  46. package/dist/source/interfaces/alarms_and_conditions/condition_snapshot.js +0 -3
  47. package/dist/source/interfaces/alarms_and_conditions/condition_snapshot.js.map +0 -1
  48. package/dist/source/interfaces/alarms_and_conditions/deviation_stuff.d.ts +0 -12
  49. package/dist/source/interfaces/alarms_and_conditions/deviation_stuff.js +0 -3
  50. package/dist/source/interfaces/alarms_and_conditions/deviation_stuff.js.map +0 -1
  51. package/dist/source/interfaces/alarms_and_conditions/install_setpoint_options.d.ts +0 -10
  52. package/dist/source/interfaces/alarms_and_conditions/install_setpoint_options.js +0 -3
  53. package/dist/source/interfaces/alarms_and_conditions/install_setpoint_options.js.map +0 -1
  54. package/dist/source/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.d.ts +0 -7
  55. package/dist/source/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.js +0 -3
  56. package/dist/source/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.js.map +0 -1
  57. package/dist/source/interfaces/alarms_and_conditions/instantiate_condition_options.d.ts +0 -7
  58. package/dist/source/interfaces/alarms_and_conditions/instantiate_condition_options.js +0 -3
  59. package/dist/source/interfaces/alarms_and_conditions/instantiate_condition_options.js.map +0 -1
  60. package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.d.ts +0 -4
  61. package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.js +0 -3
  62. package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.js.map +0 -1
  63. package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.d.ts +0 -4
  64. package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.js +0 -3
  65. package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.js.map +0 -1
  66. package/dist/source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.d.ts +0 -9
  67. package/dist/source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.js +0 -3
  68. package/dist/source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.js.map +0 -1
  69. package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.d.ts +0 -4
  70. package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.js +0 -3
  71. package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.js.map +0 -1
  72. package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.d.ts +0 -4
  73. package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.js +0 -3
  74. package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.js.map +0 -1
  75. package/dist/source/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.d.ts +0 -20
  76. package/dist/source/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.js +0 -3
  77. package/dist/source/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.js.map +0 -1
  78. package/dist/source/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.d.ts +0 -23
  79. package/dist/source/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.js +0 -3
  80. package/dist/source/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.js.map +0 -1
  81. package/dist/source/interfaces/alarms_and_conditions/ua_alarm_condition_ex.d.ts +0 -32
  82. package/dist/source/interfaces/alarms_and_conditions/ua_alarm_condition_ex.js +0 -3
  83. package/dist/source/interfaces/alarms_and_conditions/ua_alarm_condition_ex.js.map +0 -1
  84. package/dist/source/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.d.ts +0 -19
  85. package/dist/source/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.js +0 -3
  86. package/dist/source/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.js.map +0 -1
  87. package/dist/source/interfaces/alarms_and_conditions/ua_condition_ex.d.ts +0 -42
  88. package/dist/source/interfaces/alarms_and_conditions/ua_condition_ex.js +0 -3
  89. package/dist/source/interfaces/alarms_and_conditions/ua_condition_ex.js.map +0 -1
  90. package/dist/source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.d.ts +0 -7
  91. package/dist/source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.js +0 -26
  92. package/dist/source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.js.map +0 -1
  93. package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.d.ts +0 -5
  94. package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.js +0 -3
  95. package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.js.map +0 -1
  96. package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.d.ts +0 -20
  97. package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.js +0 -3
  98. package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.js.map +0 -1
  99. package/dist/source/interfaces/alarms_and_conditions/ua_limit_alarm_ex.d.ts +0 -26
  100. package/dist/source/interfaces/alarms_and_conditions/ua_limit_alarm_ex.js +0 -3
  101. package/dist/source/interfaces/alarms_and_conditions/ua_limit_alarm_ex.js.map +0 -1
  102. package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.d.ts +0 -8
  103. package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.js +0 -3
  104. package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.js.map +0 -1
  105. package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.d.ts +0 -10
  106. package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.js +0 -3
  107. package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.js.map +0 -1
  108. package/dist/source/interfaces/data_access/ua_multistate_discrete_ex.d.ts +0 -21
  109. package/dist/source/interfaces/data_access/ua_multistate_discrete_ex.js +0 -3
  110. package/dist/source/interfaces/data_access/ua_multistate_discrete_ex.js.map +0 -1
  111. package/dist/source/interfaces/data_access/ua_multistate_value_discrete_ex.d.ts +0 -24
  112. package/dist/source/interfaces/data_access/ua_multistate_value_discrete_ex.js +0 -3
  113. package/dist/source/interfaces/data_access/ua_multistate_value_discrete_ex.js.map +0 -1
  114. package/dist/source/interfaces/data_access/ua_two_state_discrete_ex.d.ts +0 -12
  115. package/dist/source/interfaces/data_access/ua_two_state_discrete_ex.js +0 -3
  116. package/dist/source/interfaces/data_access/ua_two_state_discrete_ex.js.map +0 -1
  117. package/dist/source/interfaces/data_access/ua_y_array_item_ex.d.ts +0 -8
  118. package/dist/source/interfaces/data_access/ua_y_array_item_ex.js +0 -3
  119. package/dist/source/interfaces/data_access/ua_y_array_item_ex.js.map +0 -1
  120. package/dist/source/interfaces/extension_object_constructor.d.ts +0 -10
  121. package/dist/source/interfaces/extension_object_constructor.js +0 -3
  122. package/dist/source/interfaces/extension_object_constructor.js.map +0 -1
  123. package/dist/source/interfaces/nodeset_loader_options.d.ts +0 -4
  124. package/dist/source/interfaces/nodeset_loader_options.js +0 -3
  125. package/dist/source/interfaces/nodeset_loader_options.js.map +0 -1
  126. package/dist/source/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.d.ts +0 -12
  127. package/dist/source/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.js +0 -3
  128. package/dist/source/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.js.map +0 -1
  129. package/dist/source/interfaces/state_machine/ua_finite_state_machine_type.d.ts +0 -49
  130. package/dist/source/interfaces/state_machine/ua_finite_state_machine_type.js +0 -3
  131. package/dist/source/interfaces/state_machine/ua_finite_state_machine_type.js.map +0 -1
  132. package/dist/source/interfaces/state_machine/ua_program_state_machine_type.d.ts +0 -11
  133. package/dist/source/interfaces/state_machine/ua_program_state_machine_type.js +0 -3
  134. package/dist/source/interfaces/state_machine/ua_program_state_machine_type.js.map +0 -1
  135. package/dist/source/interfaces/state_machine/ua_shelved_state_machine_ex.d.ts +0 -30
  136. package/dist/source/interfaces/state_machine/ua_shelved_state_machine_ex.js +0 -3
  137. package/dist/source/interfaces/state_machine/ua_shelved_state_machine_ex.js.map +0 -1
  138. package/dist/source/interfaces/state_machine/ua_state_machine_type.d.ts +0 -234
  139. package/dist/source/interfaces/state_machine/ua_state_machine_type.js +0 -3
  140. package/dist/source/interfaces/state_machine/ua_state_machine_type.js.map +0 -1
  141. package/dist/source/interfaces/state_machine/ua_transition_ex.d.ts +0 -6
  142. package/dist/source/interfaces/state_machine/ua_transition_ex.js +0 -3
  143. package/dist/source/interfaces/state_machine/ua_transition_ex.js.map +0 -1
  144. package/dist/source/interfaces/ua_subscription_diagnostics_variable_ex.d.ts +0 -8
  145. package/dist/source/interfaces/ua_subscription_diagnostics_variable_ex.js +0 -3
  146. package/dist/source/interfaces/ua_subscription_diagnostics_variable_ex.js.map +0 -1
  147. package/dist/source/loader/decode_xml_extension_object.d.ts +0 -6
  148. package/dist/source/loader/decode_xml_extension_object.js +0 -72
  149. package/dist/source/loader/decode_xml_extension_object.js.map +0 -1
  150. package/dist/source/loader/ensure_datatype_extracted.d.ts +0 -5
  151. package/dist/source/loader/ensure_datatype_extracted.js +0 -71
  152. package/dist/source/loader/ensure_datatype_extracted.js.map +0 -1
  153. package/dist/source/loader/generateAddressSpaceRaw.d.ts +0 -11
  154. package/dist/source/loader/generateAddressSpaceRaw.js +0 -46
  155. package/dist/source/loader/generateAddressSpaceRaw.js.map +0 -1
  156. package/dist/source/loader/load_nodeset2.d.ts +0 -17
  157. package/dist/source/loader/load_nodeset2.js +0 -1484
  158. package/dist/source/loader/load_nodeset2.js.map +0 -1
  159. package/dist/source/loader/make_semver_compatible.d.ts +0 -6
  160. package/dist/source/loader/make_semver_compatible.js +0 -26
  161. package/dist/source/loader/make_semver_compatible.js.map +0 -1
  162. package/dist/source/loader/make_xml_extension_object_parser.d.ts +0 -28
  163. package/dist/source/loader/make_xml_extension_object_parser.js +0 -327
  164. package/dist/source/loader/make_xml_extension_object_parser.js.map +0 -1
  165. package/dist/source/loader/namespace_post_step.d.ts +0 -10
  166. package/dist/source/loader/namespace_post_step.js +0 -62
  167. package/dist/source/loader/namespace_post_step.js.map +0 -1
  168. package/dist/source/loader/register_node_promoter.d.ts +0 -2
  169. package/dist/source/loader/register_node_promoter.js +0 -10
  170. package/dist/source/loader/register_node_promoter.js.map +0 -1
  171. package/dist/source/namespace.d.ts +0 -6
  172. package/dist/source/namespace.js +0 -3
  173. package/dist/source/namespace.js.map +0 -1
  174. package/dist/source/namespace_alarm_and_condition.d.ts +0 -32
  175. package/dist/source/namespace_alarm_and_condition.js +0 -3
  176. package/dist/source/namespace_alarm_and_condition.js.map +0 -1
  177. package/dist/source/namespace_data_access.d.ts +0 -42
  178. package/dist/source/namespace_data_access.js +0 -3
  179. package/dist/source/namespace_data_access.js.map +0 -1
  180. package/dist/source/namespace_machine_state.d.ts +0 -8
  181. package/dist/source/namespace_machine_state.js +0 -3
  182. package/dist/source/namespace_machine_state.js.map +0 -1
  183. package/dist/source/pseudo_session.d.ts +0 -72
  184. package/dist/source/pseudo_session.js +0 -255
  185. package/dist/source/pseudo_session.js.map +0 -1
  186. package/dist/source/session_context.d.ts +0 -111
  187. package/dist/source/session_context.js +0 -265
  188. package/dist/source/session_context.js.map +0 -1
  189. package/dist/source/set_namespace_meta_data.d.ts +0 -2
  190. package/dist/source/set_namespace_meta_data.js +0 -60
  191. package/dist/source/set_namespace_meta_data.js.map +0 -1
  192. package/dist/source/ua_root_folder.d.ts +0 -9
  193. package/dist/source/ua_root_folder.js +0 -3
  194. package/dist/source/ua_root_folder.js.map +0 -1
  195. package/dist/source/ua_two_state_variable_ex.d.ts +0 -23
  196. package/dist/source/ua_two_state_variable_ex.js +0 -3
  197. package/dist/source/ua_two_state_variable_ex.js.map +0 -1
  198. package/dist/source/xml_writer.d.ts +0 -18
  199. package/dist/source/xml_writer.js +0 -3
  200. package/dist/source/xml_writer.js.map +0 -1
  201. package/dist/src/address_space.d.ts +0 -387
  202. package/dist/src/address_space.js +0 -1386
  203. package/dist/src/address_space.js.map +0 -1
  204. package/dist/src/address_space_change_event_tools.d.ts +0 -6
  205. package/dist/src/address_space_change_event_tools.js +0 -153
  206. package/dist/src/address_space_change_event_tools.js.map +0 -1
  207. package/dist/src/address_space_private.d.ts +0 -43
  208. package/dist/src/address_space_private.js +0 -3
  209. package/dist/src/address_space_private.js.map +0 -1
  210. package/dist/src/alarms_and_conditions/condition.d.ts +0 -5
  211. package/dist/src/alarms_and_conditions/condition.js +0 -79
  212. package/dist/src/alarms_and_conditions/condition.js.map +0 -1
  213. package/dist/src/alarms_and_conditions/condition_info_impl.d.ts +0 -26
  214. package/dist/src/alarms_and_conditions/condition_info_impl.js +0 -55
  215. package/dist/src/alarms_and_conditions/condition_info_impl.js.map +0 -1
  216. package/dist/src/alarms_and_conditions/condition_snapshot_impl.d.ts +0 -222
  217. package/dist/src/alarms_and_conditions/condition_snapshot_impl.js +0 -658
  218. package/dist/src/alarms_and_conditions/condition_snapshot_impl.js.map +0 -1
  219. package/dist/src/alarms_and_conditions/deviation_alarm_helper.d.ts +0 -9
  220. package/dist/src/alarms_and_conditions/deviation_alarm_helper.js +0 -61
  221. package/dist/src/alarms_and_conditions/deviation_alarm_helper.js.map +0 -1
  222. package/dist/src/alarms_and_conditions/index.d.ts +0 -16
  223. package/dist/src/alarms_and_conditions/index.js +0 -33
  224. package/dist/src/alarms_and_conditions/index.js.map +0 -1
  225. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.d.ts +0 -44
  226. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js +0 -245
  227. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js.map +0 -1
  228. package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.d.ts +0 -93
  229. package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.js +0 -419
  230. package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.js.map +0 -1
  231. package/dist/src/alarms_and_conditions/ua_base_event_impl.d.ts +0 -26
  232. package/dist/src/alarms_and_conditions/ua_base_event_impl.js +0 -39
  233. package/dist/src/alarms_and_conditions/ua_base_event_impl.js.map +0 -1
  234. package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm_impl.d.ts +0 -44
  235. package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm_impl.js +0 -184
  236. package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm_impl.js.map +0 -1
  237. package/dist/src/alarms_and_conditions/ua_condition_impl.d.ts +0 -153
  238. package/dist/src/alarms_and_conditions/ua_condition_impl.js +0 -1029
  239. package/dist/src/alarms_and_conditions/ua_condition_impl.js.map +0 -1
  240. package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.d.ts +0 -14
  241. package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.js +0 -35
  242. package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.js.map +0 -1
  243. package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.d.ts +0 -24
  244. package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.js +0 -57
  245. package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.js.map +0 -1
  246. package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.d.ts +0 -11
  247. package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.js +0 -12
  248. package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.js.map +0 -1
  249. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.d.ts +0 -23
  250. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js +0 -87
  251. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js.map +0 -1
  252. package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.d.ts +0 -11
  253. package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.js +0 -8
  254. package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.js.map +0 -1
  255. package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.d.ts +0 -79
  256. package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js +0 -251
  257. package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js.map +0 -1
  258. package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.d.ts +0 -24
  259. package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.js +0 -51
  260. package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.js.map +0 -1
  261. package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.d.ts +0 -19
  262. package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.js +0 -163
  263. package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.js.map +0 -1
  264. package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.d.ts +0 -46
  265. package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.js +0 -166
  266. package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.js.map +0 -1
  267. package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.d.ts +0 -18
  268. package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.js +0 -18
  269. package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.js.map +0 -1
  270. package/dist/src/apply_condition_refresh.d.ts +0 -6
  271. package/dist/src/apply_condition_refresh.js +0 -28
  272. package/dist/src/apply_condition_refresh.js.map +0 -1
  273. package/dist/src/base_node_impl.d.ts +0 -284
  274. package/dist/src/base_node_impl.js +0 -1455
  275. package/dist/src/base_node_impl.js.map +0 -1
  276. package/dist/src/base_node_private.d.ts +0 -81
  277. package/dist/src/base_node_private.js +0 -804
  278. package/dist/src/base_node_private.js.map +0 -1
  279. package/dist/src/check_value_rank_compatibility.d.ts +0 -15
  280. package/dist/src/check_value_rank_compatibility.js +0 -82
  281. package/dist/src/check_value_rank_compatibility.js.map +0 -1
  282. package/dist/src/data_access/add_dataItem_stuff.d.ts +0 -11
  283. package/dist/src/data_access/add_dataItem_stuff.js +0 -62
  284. package/dist/src/data_access/add_dataItem_stuff.js.map +0 -1
  285. package/dist/src/data_access/check_variant_compatibility_ua_analog_item.d.ts +0 -1
  286. package/dist/src/data_access/check_variant_compatibility_ua_analog_item.js +0 -35
  287. package/dist/src/data_access/check_variant_compatibility_ua_analog_item.js.map +0 -1
  288. package/dist/src/data_access/ua_multistate_discrete_impl.d.ts +0 -32
  289. package/dist/src/data_access/ua_multistate_discrete_impl.js +0 -131
  290. package/dist/src/data_access/ua_multistate_discrete_impl.js.map +0 -1
  291. package/dist/src/data_access/ua_multistate_value_discrete_impl.d.ts +0 -52
  292. package/dist/src/data_access/ua_multistate_value_discrete_impl.js +0 -254
  293. package/dist/src/data_access/ua_multistate_value_discrete_impl.js.map +0 -1
  294. package/dist/src/data_access/ua_two_state_discrete_impl.d.ts +0 -25
  295. package/dist/src/data_access/ua_two_state_discrete_impl.js +0 -156
  296. package/dist/src/data_access/ua_two_state_discrete_impl.js.map +0 -1
  297. package/dist/src/event_data.d.ts +0 -34
  298. package/dist/src/event_data.js +0 -65
  299. package/dist/src/event_data.js.map +0 -1
  300. package/dist/src/extension_object_array_node.d.ts +0 -23
  301. package/dist/src/extension_object_array_node.js +0 -249
  302. package/dist/src/extension_object_array_node.js.map +0 -1
  303. package/dist/src/historical_access/address_space_historical_data_node.d.ts +0 -26
  304. package/dist/src/historical_access/address_space_historical_data_node.js +0 -653
  305. package/dist/src/historical_access/address_space_historical_data_node.js.map +0 -1
  306. package/dist/src/idx_iterator.d.ts +0 -8
  307. package/dist/src/idx_iterator.js +0 -51
  308. package/dist/src/idx_iterator.js.map +0 -1
  309. package/dist/src/index_current.d.ts +0 -46
  310. package/dist/src/index_current.js +0 -78
  311. package/dist/src/index_current.js.map +0 -1
  312. package/dist/src/namespace_impl.d.ts +0 -456
  313. package/dist/src/namespace_impl.js +0 -1763
  314. package/dist/src/namespace_impl.js.map +0 -1
  315. package/dist/src/namespace_private.d.ts +0 -23
  316. package/dist/src/namespace_private.js +0 -33
  317. package/dist/src/namespace_private.js.map +0 -1
  318. package/dist/src/nodeid_manager.d.ts +0 -37
  319. package/dist/src/nodeid_manager.js +0 -184
  320. package/dist/src/nodeid_manager.js.map +0 -1
  321. package/dist/src/nodeset_tools/adjust_namespace_array.d.ts +0 -2
  322. package/dist/src/nodeset_tools/adjust_namespace_array.js +0 -14
  323. package/dist/src/nodeset_tools/adjust_namespace_array.js.map +0 -1
  324. package/dist/src/nodeset_tools/construct_namespace_dependency.d.ts +0 -18
  325. package/dist/src/nodeset_tools/construct_namespace_dependency.js +0 -141
  326. package/dist/src/nodeset_tools/construct_namespace_dependency.js.map +0 -1
  327. package/dist/src/nodeset_tools/dump_to_bsd.d.ts +0 -2
  328. package/dist/src/nodeset_tools/dump_to_bsd.js +0 -165
  329. package/dist/src/nodeset_tools/dump_to_bsd.js.map +0 -1
  330. package/dist/src/nodeset_tools/nodeset_to_xml.d.ts +0 -10
  331. package/dist/src/nodeset_tools/nodeset_to_xml.js +0 -1288
  332. package/dist/src/nodeset_tools/nodeset_to_xml.js.map +0 -1
  333. package/dist/src/private_namespace.d.ts +0 -5
  334. package/dist/src/private_namespace.js +0 -20
  335. package/dist/src/private_namespace.js.map +0 -1
  336. package/dist/src/reference_impl.d.ts +0 -43
  337. package/dist/src/reference_impl.js +0 -140
  338. package/dist/src/reference_impl.js.map +0 -1
  339. package/dist/src/role_permissions.d.ts +0 -2
  340. package/dist/src/role_permissions.js +0 -11
  341. package/dist/src/role_permissions.js.map +0 -1
  342. package/dist/src/state_machine/finite_state_machine.d.ts +0 -81
  343. package/dist/src/state_machine/finite_state_machine.js +0 -389
  344. package/dist/src/state_machine/finite_state_machine.js.map +0 -1
  345. package/dist/src/state_machine/ua_shelving_state_machine_ex.d.ts +0 -38
  346. package/dist/src/state_machine/ua_shelving_state_machine_ex.js +0 -251
  347. package/dist/src/state_machine/ua_shelving_state_machine_ex.js.map +0 -1
  348. package/dist/src/state_machine/ua_two_state_variable.d.ts +0 -61
  349. package/dist/src/state_machine/ua_two_state_variable.js +0 -332
  350. package/dist/src/state_machine/ua_two_state_variable.js.map +0 -1
  351. package/dist/src/tool_isSubtypeOf.d.ts +0 -18
  352. package/dist/src/tool_isSubtypeOf.js +0 -125
  353. package/dist/src/tool_isSubtypeOf.js.map +0 -1
  354. package/dist/src/tool_isSupertypeOf.d.ts +0 -18
  355. package/dist/src/tool_isSupertypeOf.js +0 -125
  356. package/dist/src/tool_isSupertypeOf.js.map +0 -1
  357. package/dist/src/ua_condition_type.d.ts +0 -8
  358. package/dist/src/ua_condition_type.js +0 -3
  359. package/dist/src/ua_condition_type.js.map +0 -1
  360. package/dist/src/ua_data_type_impl.d.ts +0 -89
  361. package/dist/src/ua_data_type_impl.js +0 -369
  362. package/dist/src/ua_data_type_impl.js.map +0 -1
  363. package/dist/src/ua_method_impl.d.ts +0 -42
  364. package/dist/src/ua_method_impl.js +0 -218
  365. package/dist/src/ua_method_impl.js.map +0 -1
  366. package/dist/src/ua_object_impl.d.ts +0 -35
  367. package/dist/src/ua_object_impl.js +0 -169
  368. package/dist/src/ua_object_impl.js.map +0 -1
  369. package/dist/src/ua_object_type_impl.d.ts +0 -50
  370. package/dist/src/ua_object_type_impl.js +0 -127
  371. package/dist/src/ua_object_type_impl.js.map +0 -1
  372. package/dist/src/ua_reference_type_impl.d.ts +0 -45
  373. package/dist/src/ua_reference_type_impl.js +0 -142
  374. package/dist/src/ua_reference_type_impl.js.map +0 -1
  375. package/dist/src/ua_variable_impl.d.ts +0 -380
  376. package/dist/src/ua_variable_impl.js +0 -1739
  377. package/dist/src/ua_variable_impl.js.map +0 -1
  378. package/dist/src/ua_variable_impl_ext_obj.d.ts +0 -23
  379. package/dist/src/ua_variable_impl_ext_obj.js +0 -671
  380. package/dist/src/ua_variable_impl_ext_obj.js.map +0 -1
  381. package/dist/src/ua_variable_type_impl.d.ts +0 -74
  382. package/dist/src/ua_variable_type_impl.js +0 -582
  383. package/dist/src/ua_variable_type_impl.js.map +0 -1
  384. package/dist/src/ua_view_impl.d.ts +0 -19
  385. package/dist/src/ua_view_impl.js +0 -44
  386. package/dist/src/ua_view_impl.js.map +0 -1
  387. package/distHelpers/add_event_generator_object.d.ts +0 -3
  388. package/distHelpers/add_event_generator_object.js +0 -65
  389. package/distHelpers/add_event_generator_object.js.map +0 -1
  390. package/distHelpers/alarms_and_conditions_demo.d.ts +0 -9
  391. package/distHelpers/alarms_and_conditions_demo.js +0 -116
  392. package/distHelpers/alarms_and_conditions_demo.js.map +0 -1
  393. package/distHelpers/assertHasMatchingReference.d.ts +0 -19
  394. package/distHelpers/assertHasMatchingReference.js +0 -41
  395. package/distHelpers/assertHasMatchingReference.js.map +0 -1
  396. package/distHelpers/boiler_system.d.ts +0 -113
  397. package/distHelpers/boiler_system.js +0 -396
  398. package/distHelpers/boiler_system.js.map +0 -1
  399. package/distHelpers/create_minimalist_address_space_nodeset.d.ts +0 -5
  400. package/distHelpers/create_minimalist_address_space_nodeset.js +0 -172
  401. package/distHelpers/create_minimalist_address_space_nodeset.js.map +0 -1
  402. package/distHelpers/date_utils.d.ts +0 -3
  403. package/distHelpers/date_utils.js +0 -10
  404. package/distHelpers/date_utils.js.map +0 -1
  405. package/distHelpers/dump_statemachine.d.ts +0 -0
  406. package/distHelpers/dump_statemachine.js +0 -128
  407. package/distHelpers/dump_statemachine.js.map +0 -1
  408. package/distHelpers/get_address_space_fixture.d.ts +0 -1
  409. package/distHelpers/get_address_space_fixture.js +0 -31
  410. package/distHelpers/get_address_space_fixture.js.map +0 -1
  411. package/distHelpers/get_mini_address_space.d.ts +0 -7
  412. package/distHelpers/get_mini_address_space.js +0 -37
  413. package/distHelpers/get_mini_address_space.js.map +0 -1
  414. package/distHelpers/index.d.ts +0 -12
  415. package/distHelpers/index.js +0 -29
  416. package/distHelpers/index.js.map +0 -1
  417. package/distHelpers/mock_session.d.ts +0 -10
  418. package/distHelpers/mock_session.js +0 -26
  419. package/distHelpers/mock_session.js.map +0 -1
  420. package/distNodeJS/generate_address_space.d.ts +0 -6
  421. package/distNodeJS/generate_address_space.js +0 -53
  422. package/distNodeJS/generate_address_space.js.map +0 -1
  423. package/distNodeJS/index.d.ts +0 -1
  424. package/distNodeJS/index.js +0 -18
  425. package/distNodeJS/index.js.map +0 -1
  426. package/source/helpers/dump_tools.ts +0 -92
  427. package/src/nodeset_tools/dump_to_bsd.ts +0 -198
  428. package/test_helpers/dump_statemachine.ts +0 -155
@@ -1,234 +0,0 @@
1
- /**
2
- * @module node-opcua-address-space
3
- */
4
- import { DateTime, UInt32 } from "node-opcua-basic-types";
5
- import { LocalizedText } from "node-opcua-data-model";
6
- import { DataType } from "node-opcua-variant";
7
- import { UAProperty, InstantiateObjectOptions, UAObject, UAObjectType, UAReferenceType, UAVariableTypeT } from "node-opcua-address-space-base";
8
- import { UAInitialState, UAInitialState_Base, UAState, UAState_Base, UAStateMachine_Base, UATransition_Base, UATransitionEvent_Base } from "node-opcua-nodeset-ua";
9
- import { UATransitionEx } from "./ua_transition_ex";
10
- export type UtcTime = DateTime;
11
- export interface NonHierarchicalReferences extends UAReferenceType {
12
- }
13
- export interface UAStateVariableType extends UAVariableTypeT<LocalizedText, DataType.LocalizedText> {
14
- isAbstract: false;
15
- }
16
- export interface StateB {
17
- stateNumber: UAProperty<UInt32, DataType.UInt32>;
18
- }
19
- export interface UAStateType extends UAState_Base, UAObjectType {
20
- }
21
- export interface UATransitionType extends UATransition_Base, UAObjectType {
22
- }
23
- /**
24
- * Initial State Type
25
- *
26
- * The InitialStateType is a subtype of the StateType and is formally defined in Table B.8.
27
- * An Object of the InitialStateType represents the State that a FiniteStateMachine enters
28
- * when it is activated.
29
- *
30
- * Each FiniteStateMachine can have at most one State of type InitialStateType, but
31
- * a FiniteStateMachine does not have to have a State of this type.
32
- *
33
- * A SubStateMachine goes into its initial state whenever the parent state is entered. However, a
34
- * state machine may define a transition that goes directly to a state of the SubStateMachine. In
35
- * this case the SubStateMachine goes into that State instead of the initial State. The two
36
- * scenarios are illustrated in Figure B.4. The transition from State5 to State6 causes the
37
- * SubStateMachine to go into the initial State (State7), however, the transition from State4 to
38
- * State8 causes the parent machine to go to State6 and the SubStateMachine will go to State8.
39
- *
40
- * If no initial state for a SubStateMachine exists and the State having the SubStateMachine is
41
- * entered directly, then the State of the SubStateMachine is server-specific.
42
- */
43
- export interface UAInitialStateType extends UAInitialState_Base, UAStateType {
44
- }
45
- /**
46
- * ToState Reference Type
47
- *
48
- * The ToState ReferenceType is a concrete ReferenceType and can be used directly. It is a
49
- * subtype of NonHierarchicalReferences.
50
- *
51
- * The semantic of this ReferenceType is to point form a Transition to the ending State the
52
- * Transition connects.
53
- *
54
- * The SourceNode of this ReferenceType shall be an Object of the ObjectType TransitionType or
55
- * one of its subtypes. The TargetNode of this ReferenceType shall be an Object of the ObjectType
56
- * StateType or one of its subtypes.
57
- *
58
- * References of this ReferenceType may be only exposed uni-directional. Sometimes this is
59
- * required, for example, if a Transition points to a State of a sub-machine.
60
- */
61
- export interface ToStateReferenceType extends NonHierarchicalReferences {
62
- }
63
- /**
64
- *
65
- * FromState Reference Type
66
- *
67
- * The FromState ReferenceType is a concrete ReferenceType and can be used directly. It is a
68
- * subtype of NonHierarchicalReferences.
69
- *
70
- * The semantic of this ReferenceType is to point form a Transition to the starting State the
71
- * Transition connects.
72
- *
73
- * The SourceNode of this ReferenceType shall be an Object of the ObjectType TransitionType or
74
- * one of its subtypes. The TargetNode of this ReferenceType shall be an Object of the ObjectType
75
- * StateType or one of its subtypes.
76
- */
77
- export interface FromStateReferenceType extends NonHierarchicalReferences {
78
- }
79
- /**
80
- * HasCause
81
- * The HasCause ReferenceType is a concrete ReferenceType and can be used directly. It is a
82
- * subtype of NonHierarchicalReferences.
83
- *
84
- * The semantic of this ReferenceType is to point form a Transition to something that causes the
85
- * Transition. In this annex we only define Methods as Causes. However, the ReferenceType is
86
- * not restricted to point to Methods. The referenced Methods can, but do not have to point to a
87
- * Method of the StateMachineType. For example, it is allowed to point to a server-wide restart
88
- * Method leading the state machine to go into its initial state.
89
- *
90
- * The SourceNode of this ReferenceType shall be an Object of the ObjectType TransitionType or
91
- * one of its subtypes. The TargetNode can be of any NodeClass
92
- */
93
- export interface HasCauseReferenceType extends NonHierarchicalReferences {
94
- }
95
- /**
96
- * HasEffect ReferenceType
97
- *
98
- * The HasEffect ReferenceType is a concrete ReferenceType and can be used directly. It is a
99
- * subtype of NonHierarchicalReferences.
100
- * The semantic of this ReferenceType is to point form a Transition to something that will be
101
- * effected when the Transition is triggered. In this annex we only define EventTypes as Effects.
102
- *
103
- * However, the ReferenceType is not restricted to point to EventTypes.
104
- *
105
- * The SourceNode of this ReferenceType shall be an Object of the ObjectType TransitionType or
106
- * one of its subtypes. The TargetNode can be of any NodeClass.
107
- */
108
- export interface HasEffectReferenceType extends NonHierarchicalReferences {
109
- }
110
- /**
111
- * The HasSubStateMachine ReferenceType is a concrete ReferenceType and can be used
112
- * directly. It is a subtype of NonHierarchicalReferences.
113
- *
114
- * The semantic of this ReferenceType is to point from a State to an instance of
115
- * StateMachineType which represents the sub-states for the State.
116
- *
117
- * The SourceNode of this ReferenceType shall be an Object of the ObjectType StateType.
118
- *
119
- * The TargetNode shall be an Object of the ObjectType StateMachineType or one of its subtypes.
120
- *
121
- * Each Object can be the TargetNode of at most one HasSubStateMachine Reference.
122
- *
123
- * The SourceNode (the state) and the TargetNode (the SubStateMachine) shall belong to the
124
- * same StateMachine, that is, both shall be referenced from the same Object of type
125
- * StateMachineType using a HasComponent Reference or a subtype of HasComponent.
126
- */
127
- export interface HasSubStateMachine extends NonHierarchicalReferences {
128
- }
129
- /**
130
- * The TransitionEventType is a subtype of the BaseEventType. It can be used to generate an
131
- * Event identifying that a Transition of a StateMachine was triggered.
132
- *
133
- * The TransitionEventType inherits the Properties of the BaseEventType.
134
- *
135
- * The inherited Property SourceNode shall be filled with the NodeId of the StateMachine instance
136
- * where the Transition occurs. If the Transition occurs in a SubStateMachine, then the NodeId of
137
- * the SubStateMachine has to be used. If the Transition occurs between a StateMachine and a
138
- * SubStateMachine, then the NodeId of the StateMachine has to be used, independent of the
139
- * direction of the Transition.
140
- */
141
- export interface UATransitionEventType extends UATransitionEvent_Base, UAObjectType {
142
- }
143
- export type TransitionSelector = (transitions: UATransitionEx[], fromState: UAState, toState: UAState) => UATransitionEx | null;
144
- /**
145
- * State Machine type
146
- *
147
- * StateMachines produce Events which may include the current state of a StateMachine. In that
148
- * case Servers shall provide all the optional Properties of the StateVariableType in the Event,
149
- * even if they are not provided on the instances in the address space.
150
- */
151
- /**
152
- * StateMachineType
153
- *
154
- * The StateMachineType is the base ObjectType for all StateMachineTypes. It defines a single
155
- * Variable which represents the current state of the machine.
156
- * An instance of this ObjectType shall generate an Event whenever a significant state change occurs.
157
- * The Server decides which state changes are significant. Servers shall use the GeneratesEvent
158
- * ReferenceType to indicate which Event(s) could be produced by the StateMachine.
159
- *
160
- * Subtypes may add Methods which affect the state of the machine. The Executable Attribute is
161
- * used to indicate whether the Method is valid given the current state of the machine. The
162
- * generation of AuditEvents for Methods is defined in Part 4. A StateMachine may not be active.
163
- *
164
- * In this case, the CurrentState and LastTransition Variables shall have a status equal to
165
- * BadStateNotActive (see Table B.17).
166
- *
167
- * Subtypes may add components which are instances of StateMachineTypes. These components
168
- * are considered to be sub-states of the StateMachine. SubStateMachines are only active when
169
- * the parent machine is in an appropriate state.
170
- * Events produced by SubStateMachines may be suppressed by the parent machine. In some
171
- * cases, the parent machine will produce a single Event that reflects changes in multiple
172
- * SubStateMachines
173
- */
174
- export interface UAStateMachineHelper {
175
- readonly initialState: UAInitialState | null;
176
- readonly states: UAState[];
177
- readonly transitions: UATransitionEx[];
178
- currentStateNode: UAState | null;
179
- /**
180
- * return all state nodes associated with this state machine
181
- */
182
- getStates(): UAState[];
183
- /**
184
- * return all state to state transition node associated with this state machine
185
- */
186
- getTransitions(): UATransitionEx[];
187
- /**
188
- * return the state Node by Name
189
- * @param name
190
- */
191
- getStateByName(name: string): UAState | null;
192
- /**
193
- * returns true if there is a valid transition from currentStateNode to toStateNode
194
- * @param toStateNode
195
- */
196
- isValidTransition(toStateNode: UAState | string, predicate?: TransitionSelector): boolean;
197
- /**
198
- * try to find the valid transition between fromState Node to toState Node
199
- * @param fromStateNode
200
- * @param toStateNode
201
- */
202
- findTransitionNode(fromStateNode: UAState, toStateNode: UAState, predicate?: TransitionSelector): UATransitionEx | null;
203
- /**
204
- * return the current state as string
205
- */
206
- getCurrentState(): string | null;
207
- /**
208
- * change the current state
209
- *
210
- * note:
211
- * - a transition from currentState to toState node must exists
212
- * - a TransitionEventType event will be raised
213
- * @param toStateNode
214
- */
215
- setState(toStateNode: UAState | string | null, predicate?: TransitionSelector): void;
216
- }
217
- export interface UAStateMachineEx extends UAObject, UAStateMachineHelper, UAStateMachine_Base {
218
- }
219
- export interface UAStateMachineTypeHelper extends UAObjectType {
220
- /**
221
- * return all state nodes associated with this state machine
222
- */
223
- getStates(): UAState[];
224
- /**
225
- * return all state to state transition node associated with this state machine
226
- */
227
- getTransitions(): UATransitionEx[];
228
- getStateByName(name: string): UAState | null;
229
- }
230
- export interface UAStateMachineType extends UAObjectType, UAStateMachineTypeHelper, UAStateMachine_Base {
231
- instantiate(options: InstantiateObjectOptions): UAStateMachineEx;
232
- }
233
- export declare function promoteToStateMachineType(node: UAObjectType): UAStateMachineType;
234
- export declare function promoteToStateMachine(node: UAObject): UAStateMachineEx;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ua_state_machine_type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ua_state_machine_type.js","sourceRoot":"","sources":["../../../../source/interfaces/state_machine/ua_state_machine_type.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { BaseNode } from "node-opcua-address-space-base";
2
- import { UATransition } from "node-opcua-nodeset-ua";
3
- export interface UATransitionEx extends UATransition {
4
- get toStateNode(): BaseNode | null;
5
- get fromStateNode(): BaseNode | null;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ua_transition_ex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ua_transition_ex.js","sourceRoot":"","sources":["../../../../source/interfaces/state_machine/ua_transition_ex.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- /**
2
- * @module node-opcua-address-space
3
- */
4
- import { SubscriptionDiagnosticsDataType } from "node-opcua-types";
5
- import { DTSubscriptionDiagnostics, UASubscriptionDiagnostics } from "node-opcua-nodeset-ua";
6
- export interface UASubscriptionDiagnosticsVariableEx extends UASubscriptionDiagnostics<DTSubscriptionDiagnostics> {
7
- $extensionObject: SubscriptionDiagnosticsDataType;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ua_subscription_diagnostics_variable_ex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ua_subscription_diagnostics_variable_ex.js","sourceRoot":"","sources":["../../../source/interfaces/ua_subscription_diagnostics_variable_ex.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { IAddressSpace } from "node-opcua-address-space-base";
2
- import { ExtensionObject } from "node-opcua-extension-object";
3
- import { NodeId } from "node-opcua-nodeid";
4
- import { DefinitionMap2 } from "./make_xml_extension_object_parser";
5
- export declare function makeDefinitionMap(addressSpace: IAddressSpace): DefinitionMap2;
6
- export declare function decodeXmlExtensionObject(addressSpace: IAddressSpace, encodingNodeId: NodeId, xmlBody: string): ExtensionObject | null;
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.decodeXmlExtensionObject = exports.makeDefinitionMap = void 0;
4
- const node_opcua_debug_1 = require("node-opcua-debug");
5
- const node_opcua_types_1 = require("node-opcua-types");
6
- const node_opcua_xml2json_1 = require("node-opcua-xml2json");
7
- const make_xml_extension_object_parser_1 = require("./make_xml_extension_object_parser");
8
- const doDebug = (0, node_opcua_debug_1.checkDebugFlag)(__filename);
9
- const debugLog = (0, node_opcua_debug_1.make_debugLog)(__filename);
10
- const errorLog = (0, node_opcua_debug_1.make_errorLog)(__filename);
11
- function encodingNodeIdToDataTypeNode(addressSpace, encodingNodeId) {
12
- const encodingNode = addressSpace.findNode(encodingNodeId);
13
- // istanbul ignore next
14
- if (!encodingNode) {
15
- throw new Error("findDataTypeNode: Cannot find encoding NodeId" + encodingNodeId.toString());
16
- }
17
- // xx console.log("encodingNode", encodingNode.toString());
18
- const refs = encodingNode.findReferences("HasEncoding", false);
19
- const dataTypes = refs.map((ref) => addressSpace.findNode(ref.nodeId)).filter((obj) => obj !== null);
20
- // istanbul ignore next
21
- if (dataTypes.length !== 1) {
22
- throw new Error("Internal Error");
23
- }
24
- const dataTypeNode = dataTypes[0];
25
- return dataTypeNode;
26
- }
27
- function makeDefinitionMap(addressSpace) {
28
- return {
29
- findDefinition(dataTypeNodeId) {
30
- const dataTypeNode = addressSpace.findDataType(dataTypeNodeId);
31
- if (!dataTypeNode) {
32
- throw new Error("findDefinition: cannot find dataType " + dataTypeNodeId.toString());
33
- }
34
- if (dataTypeNode.nodeClass !== node_opcua_types_1.NodeClass.DataType) {
35
- throw new Error("Expecting a DataType node here");
36
- }
37
- const name = dataTypeNode.browseName.name || "";
38
- // console.log("yy)=", dataTypeNode.toString());
39
- if (dataTypeNode.isStructure()) {
40
- const definition = dataTypeNode.getStructureDefinition();
41
- return { name, definition };
42
- }
43
- else if (dataTypeNode.isEnumeration()) {
44
- const definition = dataTypeNode.getEnumDefinition();
45
- return { name, definition };
46
- }
47
- else {
48
- const dataType = dataTypeNode.getBasicDataType();
49
- return { name, definition: { dataType } };
50
- }
51
- }
52
- };
53
- }
54
- exports.makeDefinitionMap = makeDefinitionMap;
55
- function decodeXmlExtensionObject(addressSpace, encodingNodeId, xmlBody) {
56
- const definitionMap = makeDefinitionMap(addressSpace);
57
- const dataType = encodingNodeIdToDataTypeNode(addressSpace, encodingNodeId);
58
- // const { name, definition } = definitionMap.findDefinition(dataType.nodeId);
59
- // const hasOptionalFields = definition.fields!.some((field) => field.isOptional);
60
- const reader = (0, make_xml_extension_object_parser_1.makeXmlExtensionObjectReader)(dataType.nodeId, definitionMap, {});
61
- const parser2 = new node_opcua_xml2json_1.Xml2Json(reader);
62
- const pojo = parser2.parseStringSync(xmlBody);
63
- const userDefinedExtensionObject = addressSpace.constructExtensionObject(dataType, pojo);
64
- // istanbul ignore next
65
- if (doDebug) {
66
- debugLog("userDefinedExtensionObject", userDefinedExtensionObject.toString());
67
- }
68
- //
69
- return userDefinedExtensionObject;
70
- }
71
- exports.decodeXmlExtensionObject = decodeXmlExtensionObject;
72
- //# sourceMappingURL=decode_xml_extension_object.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode_xml_extension_object.js","sourceRoot":"","sources":["../../../source/loader/decode_xml_extension_object.ts"],"names":[],"mappings":"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"}
@@ -1,5 +0,0 @@
1
- import { IAddressSpace } from "node-opcua-address-space-base";
2
- import { ExtraDataTypeManager } from "node-opcua-client-dynamic-extension-object";
3
- import { CallbackT } from "node-opcua-status-code";
4
- export declare function ensureDatatypeExtracted(addressSpace: IAddressSpace): Promise<ExtraDataTypeManager>;
5
- export declare function ensureDatatypeExtractedWithCallback(addressSpace: IAddressSpace, callback: CallbackT<ExtraDataTypeManager>): void;
@@ -1,71 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ensureDatatypeExtractedWithCallback = exports.ensureDatatypeExtracted = void 0;
13
- const node_opcua_client_dynamic_extension_object_1 = require("node-opcua-client-dynamic-extension-object");
14
- const node_opcua_debug_1 = require("node-opcua-debug");
15
- const node_opcua_factory_1 = require("node-opcua-factory");
16
- const pseudo_session_1 = require("../pseudo_session");
17
- const debugLog = (0, node_opcua_debug_1.make_debugLog)(__filename);
18
- function fixDefinition103(addressSpace, namespaceArray, dataTypeManager) {
19
- // fix datatype _getDefinition();
20
- for (let namespaceIndex = 1; namespaceIndex < namespaceArray.length; namespaceIndex++) {
21
- const df = dataTypeManager.getDataTypeFactory(namespaceIndex);
22
- for (const s of df.getStructureIterator()) {
23
- const dataType = addressSpace.findDataType(s.schema.dataTypeNodeId);
24
- if (!s.constructor) {
25
- continue;
26
- }
27
- if (!dataType) {
28
- continue;
29
- }
30
- if (dataType.$partialDefinition && dataType.$partialDefinition.length) {
31
- continue;
32
- }
33
- // debugLog(" Explorartion", dataType.browseName.toString());
34
- if (!dataType.$partialDefinition || (dataType.$partialDefinition.length === 0 && s.schema.fields.length > 0)) {
35
- const sd = (0, node_opcua_client_dynamic_extension_object_1.convertStructureTypeSchemaToStructureDefinition)(s.schema);
36
- dataType.$partialDefinition = sd.fields || undefined;
37
- }
38
- }
39
- }
40
- }
41
- function ensureDatatypeExtracted(addressSpace) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- const addressSpacePriv = addressSpace;
44
- if (!addressSpacePriv.$$extraDataTypeManager) {
45
- const dataTypeManager = new node_opcua_client_dynamic_extension_object_1.ExtraDataTypeManager();
46
- const namespaceArray = addressSpace.getNamespaceArray().map((n) => n.namespaceUri);
47
- debugLog("INamespace Array = ", namespaceArray.join("\n "));
48
- dataTypeManager.setNamespaceArray(namespaceArray);
49
- addressSpacePriv.$$extraDataTypeManager = dataTypeManager;
50
- for (let namespaceIndex = 1; namespaceIndex < namespaceArray.length; namespaceIndex++) {
51
- const dataTypeFactory1 = new node_opcua_factory_1.DataTypeFactory([(0, node_opcua_factory_1.getStandardDataTypeFactory)()]);
52
- dataTypeManager.registerDataTypeFactory(namespaceIndex, dataTypeFactory1);
53
- }
54
- // inject simple types
55
- // now extract structure and enumeration from old form
56
- const session = new pseudo_session_1.PseudoSession(addressSpace);
57
- yield (0, node_opcua_client_dynamic_extension_object_1.populateDataTypeManager)(session, dataTypeManager);
58
- // turn old <=103 structure to have valid DataTypeDefinition
59
- fixDefinition103(addressSpace, namespaceArray, dataTypeManager);
60
- }
61
- return addressSpacePriv.$$extraDataTypeManager;
62
- });
63
- }
64
- exports.ensureDatatypeExtracted = ensureDatatypeExtracted;
65
- function ensureDatatypeExtractedWithCallback(addressSpace, callback) {
66
- ensureDatatypeExtracted(addressSpace)
67
- .then((result) => callback(null, result))
68
- .catch((err) => callback(err));
69
- }
70
- exports.ensureDatatypeExtractedWithCallback = ensureDatatypeExtractedWithCallback;
71
- //# sourceMappingURL=ensure_datatype_extracted.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ensure_datatype_extracted.js","sourceRoot":"","sources":["../../../source/loader/ensure_datatype_extracted.ts"],"names":[],"mappings":"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"}
@@ -1,11 +0,0 @@
1
- import { CallbackT } from "node-opcua-status-code";
2
- import { IAddressSpace } from "node-opcua-address-space-base";
3
- import { NodeSetLoaderOptions } from "../interfaces/nodeset_loader_options";
4
- /**
5
- * @param addressSpace the addressSpace to populate
6
- * @xmlFiles: a lis of xml files
7
- * @param xmlLoader - a helper function to return the content of the xml file
8
- */
9
- export declare function generateAddressSpaceRaw(addressSpace: IAddressSpace, xmlFiles: string | string[], xmlLoader: (nodeset2xmlUri: string) => Promise<string>, options: NodeSetLoaderOptions): Promise<void>;
10
- export type XmlLoaderFunc = (nodeset2xmlUri: string, callback: CallbackT<string>) => void;
11
- export type XmlLoaderAsyncFunc = (nodeset2xmlUri: string) => Promise<string>;
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.generateAddressSpaceRaw = void 0;
13
- const node_opcua_debug_1 = require("node-opcua-debug");
14
- const adjust_namespace_array_1 = require("../../src/nodeset_tools/adjust_namespace_array");
15
- const load_nodeset2_1 = require("./load_nodeset2");
16
- const doDebug = (0, node_opcua_debug_1.checkDebugFlag)(__filename);
17
- const debugLog = (0, node_opcua_debug_1.make_debugLog)(__filename);
18
- const errorLog = (0, node_opcua_debug_1.make_errorLog)(__filename);
19
- /**
20
- * @param addressSpace the addressSpace to populate
21
- * @xmlFiles: a lis of xml files
22
- * @param xmlLoader - a helper function to return the content of the xml file
23
- */
24
- function generateAddressSpaceRaw(addressSpace, xmlFiles, xmlLoader, options) {
25
- return __awaiter(this, void 0, void 0, function* () {
26
- const nodesetLoader = new load_nodeset2_1.NodeSetLoader(addressSpace, options);
27
- if (!Array.isArray(xmlFiles)) {
28
- xmlFiles = [xmlFiles];
29
- }
30
- for (let index = 0; index < xmlFiles.length; index++) {
31
- const xmlData = yield xmlLoader(xmlFiles[index]);
32
- try {
33
- yield nodesetLoader.addNodeSetAsync(xmlData);
34
- }
35
- catch (err) {
36
- errorLog("generateAddressSpace: Loading xml file ", xmlFiles[index], " failed with error ", err.message);
37
- throw err;
38
- }
39
- }
40
- yield nodesetLoader.terminateAsync();
41
- (0, adjust_namespace_array_1.adjustNamespaceArray)(addressSpace);
42
- // however process them in series
43
- });
44
- }
45
- exports.generateAddressSpaceRaw = generateAddressSpaceRaw;
46
- //# sourceMappingURL=generateAddressSpaceRaw.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generateAddressSpaceRaw.js","sourceRoot":"","sources":["../../../source/loader/generateAddressSpaceRaw.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAgF;AAIhF,2FAAsF;AAEtF,mDAAgD;AAEhD,MAAM,OAAO,GAAG,IAAA,iCAAc,EAAC,UAAU,CAAC,CAAC;AAC3C,MAAM,QAAQ,GAAG,IAAA,gCAAa,EAAC,UAAU,CAAC,CAAC;AAC3C,MAAM,QAAQ,GAAG,IAAA,gCAAa,EAAC,UAAU,CAAC,CAAC;AAE3C;;;;GAIG;AACH,SAAsB,uBAAuB,CACzC,YAA2B,EAC3B,QAA2B,EAC3B,SAAsD,EACtD,OAA6B;;QAE7B,MAAM,aAAa,GAAG,IAAI,6BAAa,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QAE/D,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;YAC1B,QAAQ,GAAG,CAAC,QAAQ,CAAC,CAAC;SACzB;QACD,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;YAClD,MAAM,OAAO,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;YACjD,IAAI;gBACA,MAAM,aAAa,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;aAChD;YAAC,OAAO,GAAG,EAAE;gBACV,QAAQ,CAAC,0CAA0C,EAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,qBAAqB,EAAG,GAAa,CAAC,OAAO,CAAC,CAAC;gBACrH,MAAM,GAAG,CAAC;aACb;SACJ;QACD,MAAM,aAAa,CAAC,cAAc,EAAE,CAAC;QACrC,IAAA,6CAAoB,EAAC,YAAY,CAAC,CAAC;QACnC,iCAAiC;IACrC,CAAC;CAAA;AAvBD,0DAuBC"}
@@ -1,17 +0,0 @@
1
- import { IAddressSpace } from "node-opcua-address-space-base";
2
- import { ErrorCallback } from "node-opcua-status-code";
3
- import { SimpleCallback } from "node-opcua-xml2json";
4
- import { NodeSetLoaderOptions } from "../interfaces/nodeset_loader_options";
5
- export interface NodeSet2ParserEngine {
6
- addNodeSet: (xmlData: string, callback1: SimpleCallback) => void;
7
- terminate: (callback: SimpleCallback) => void;
8
- }
9
- export declare class NodeSetLoader {
10
- private options?;
11
- _s: NodeSet2ParserEngine;
12
- constructor(addressSpace: IAddressSpace, options?: NodeSetLoaderOptions | undefined);
13
- addNodeSet(xmlData: string, callback: ErrorCallback): void;
14
- addNodeSetAsync(xmlData: string): Promise<void>;
15
- terminate(callback: ErrorCallback): void;
16
- terminateAsync(): Promise<void>;
17
- }