node-opcua-address-space 2.55.0 → 2.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/dist/source/address_space_ts.js.map +1 -1
- package/dist/source/continuation_points/continuation_point_manager.d.ts +27 -16
- package/dist/source/continuation_points/continuation_point_manager.js +141 -48
- package/dist/source/continuation_points/continuation_point_manager.js.map +1 -1
- package/dist/source/helpers/adjust_browse_direction.js.map +1 -1
- package/dist/source/helpers/call_helpers.js.map +1 -1
- package/dist/source/helpers/check_event_clause.js.map +1 -1
- package/dist/source/helpers/coerce_enum_value.js.map +1 -1
- package/dist/source/helpers/ensure_secure_access.js +0 -13
- package/dist/source/helpers/ensure_secure_access.js.map +1 -1
- package/dist/source/helpers/resolve_opaque_on_address_space.js.map +1 -1
- package/dist/source/loader/load_nodeset2.js +29 -3
- package/dist/source/loader/load_nodeset2.js.map +1 -1
- package/dist/source/loader/namespace_post_step.js.map +1 -1
- package/dist/source/loader/register_node_promoter.js.map +1 -1
- package/dist/source/namespace_machine_state.d.ts +1 -1
- package/dist/source/pseudo_session.js +23 -24
- package/dist/source/pseudo_session.js.map +1 -1
- package/dist/source/session_context.js +2 -2
- package/dist/source/session_context.js.map +1 -1
- package/dist/source/set_namespace_meta_data.js.map +1 -1
- package/dist/src/address_space.d.ts +7 -8
- package/dist/src/address_space.js +2 -2
- package/dist/src/address_space.js.map +1 -1
- package/dist/src/address_space_private.d.ts +4 -5
- package/dist/src/alarms_and_conditions/check_where_clause.js +1 -1
- package/dist/src/alarms_and_conditions/check_where_clause.js.map +1 -1
- package/dist/src/alarms_and_conditions/condition.js.map +1 -1
- package/dist/src/alarms_and_conditions/extract_event_fields.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js +2 -1
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_base_event_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_condition_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.js.map +1 -1
- package/dist/src/base_node_impl.js.map +1 -1
- package/dist/src/data_access/add_dataItem_stuff.js.map +1 -1
- package/dist/src/data_access/check_variant_compatibility_ua_analog_item.js.map +1 -1
- package/dist/src/data_access/ua_multistate_discrete_impl.js.map +1 -1
- package/dist/src/event_data.js.map +1 -1
- package/dist/src/extension_object_array_node.js.map +1 -1
- package/dist/src/historical_access/address_space_historical_data_node.js +28 -59
- package/dist/src/historical_access/address_space_historical_data_node.js.map +1 -1
- package/dist/src/namespace_impl.d.ts +2 -2
- package/dist/src/namespace_impl.js +6 -6
- package/dist/src/namespace_impl.js.map +1 -1
- package/dist/src/nodeid_manager.js +1 -4
- package/dist/src/nodeid_manager.js.map +1 -1
- package/dist/src/nodeset_tools/nodeset_to_xml.js +1 -1
- package/dist/src/nodeset_tools/nodeset_to_xml.js.map +1 -1
- package/dist/src/nodeset_tools/typedictionary_to_xml.d.ts +1 -1
- package/dist/src/nodeset_tools/typedictionary_to_xml.js +3 -2
- package/dist/src/nodeset_tools/typedictionary_to_xml.js.map +1 -1
- package/dist/src/reference_impl.js +3 -1
- package/dist/src/reference_impl.js.map +1 -1
- package/dist/src/state_machine/finite_state_machine.js.map +1 -1
- package/dist/src/state_machine/ua_shelving_state_machine_ex.js.map +1 -1
- package/dist/src/state_machine/ua_two_state_variable.js.map +1 -1
- package/dist/src/tool_isSupertypeOf.js.map +1 -1
- package/dist/src/ua_method_impl.d.ts +3 -2
- package/dist/src/ua_method_impl.js +5 -0
- package/dist/src/ua_method_impl.js.map +1 -1
- package/dist/src/ua_object_impl.d.ts +10 -6
- package/dist/src/ua_object_impl.js +1 -1
- package/dist/src/ua_object_impl.js.map +1 -1
- package/dist/src/ua_object_type_impl.js.map +1 -1
- package/dist/src/ua_reference_type_impl.js +3 -1
- package/dist/src/ua_reference_type_impl.js.map +1 -1
- package/dist/src/ua_variable_impl.d.ts +8 -7
- package/dist/src/ua_variable_impl.js +6 -10
- package/dist/src/ua_variable_impl.js.map +1 -1
- package/dist/src/ua_variable_type_impl.js.map +1 -1
- package/dist/src/ua_view_impl.js.map +1 -1
- package/distHelpers/add_event_generator_object.js.map +1 -1
- package/distHelpers/alarms_and_conditions_demo.js.map +1 -1
- package/distHelpers/boiler_system.d.ts +1 -1
- package/distHelpers/boiler_system.js +1 -2
- package/distHelpers/boiler_system.js.map +1 -1
- package/distHelpers/create_minimalist_address_space_nodeset.js +1 -0
- package/distHelpers/create_minimalist_address_space_nodeset.js.map +1 -1
- package/distHelpers/date_utils.d.ts +3 -0
- package/distHelpers/date_utils.js +10 -0
- package/distHelpers/date_utils.js.map +1 -0
- package/distHelpers/get_mini_address_space.js.map +1 -1
- package/distHelpers/index.d.ts +2 -0
- package/distHelpers/index.js +2 -0
- package/distHelpers/index.js.map +1 -1
- package/distHelpers/mock_session.d.ts +14 -0
- package/distHelpers/mock_session.js +26 -0
- package/distHelpers/mock_session.js.map +1 -0
- package/generate.js +1 -1
- package/nodeJS.d.ts +1 -1
- package/package.json +32 -32
- package/source/address_space_ts.ts +0 -3
- package/source/continuation_points/continuation_point_manager.ts +178 -64
- package/source/helpers/adjust_browse_direction.ts +3 -3
- package/source/helpers/argument_list.ts +1 -1
- package/source/helpers/call_helpers.ts +0 -1
- package/source/helpers/check_event_clause.ts +2 -9
- package/source/helpers/coerce_enum_value.ts +3 -3
- package/source/helpers/ensure_secure_access.ts +1 -13
- package/source/helpers/resolve_opaque_on_address_space.ts +4 -1
- package/source/interfaces/alarms_and_conditions/condition_info_i.ts +13 -13
- package/source/interfaces/data_access/ua_multistate_value_discrete_ex.ts +0 -1
- package/source/interfaces/data_access/ua_y_array_item_ex.ts +4 -2
- package/source/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.ts +5 -1
- package/source/interfaces/state_machine/ua_state_machine_type.ts +2 -2
- package/source/loader/load_nodeset2.ts +39 -3
- package/source/loader/namespace_post_step.ts +1 -2
- package/source/loader/register_node_promoter.ts +4 -1
- package/source/namespace.ts +4 -6
- package/source/namespace_machine_state.ts +1 -2
- package/source/pseudo_session.ts +37 -29
- package/source/session_context.ts +2 -9
- package/source/set_namespace_meta_data.ts +21 -15
- package/source/xml_writer.ts +0 -1
- package/source_nodejs/index.ts +1 -1
- package/src/address_space.ts +17 -16
- package/src/address_space_private.ts +7 -12
- package/src/alarms_and_conditions/check_where_clause.ts +21 -22
- package/src/alarms_and_conditions/condition.ts +0 -1
- package/src/alarms_and_conditions/extract_event_fields.ts +0 -1
- package/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.ts +14 -10
- package/src/alarms_and_conditions/ua_base_event_impl.ts +11 -15
- package/src/alarms_and_conditions/ua_condition_impl.ts +35 -40
- package/src/alarms_and_conditions/ua_discrete_alarm_impl.ts +39 -33
- package/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.ts +2 -2
- package/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.ts +4 -5
- package/src/alarms_and_conditions/ua_limit_alarm_impl.ts +16 -16
- package/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.ts +8 -8
- package/src/alarms_and_conditions/ua_off_normal_alarm_impl.ts +9 -10
- package/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.ts +2 -4
- package/src/apply_condition_refresh.ts +2 -2
- package/src/base_node_impl.ts +2 -2
- package/src/data_access/add_dataItem_stuff.ts +4 -4
- package/src/data_access/check_variant_compatibility_ua_analog_item.ts +12 -15
- package/src/data_access/ua_multistate_discrete_impl.ts +6 -3
- package/src/data_access/ua_multistate_value_discrete.ts +1 -1
- package/src/event_data.ts +1 -7
- package/src/extension_object_array_node.ts +4 -10
- package/src/historical_access/address_space_historical_data_node.ts +39 -63
- package/src/namespace_impl.ts +5 -5
- package/src/namespace_private.ts +1 -1
- package/src/nodeid_manager.ts +2 -5
- package/src/nodeset_tools/nodeset_to_xml.ts +5 -5
- package/src/nodeset_tools/typedictionary_to_xml.ts +7 -5
- package/src/reference_impl.ts +4 -2
- package/src/state_machine/finite_state_machine.ts +426 -428
- package/src/state_machine/ua_shelving_state_machine_ex.ts +19 -9
- package/src/state_machine/ua_two_state_variable.ts +5 -7
- package/src/tool_isSupertypeOf.ts +2 -6
- package/src/ua_condition_type.ts +0 -1
- package/src/ua_method_impl.ts +25 -9
- package/src/ua_object_impl.ts +13 -8
- package/src/ua_object_type_impl.ts +7 -4
- package/src/ua_reference_type_impl.ts +6 -12
- package/src/ua_variable_impl.ts +11 -15
- package/src/ua_variable_type_impl.ts +2 -2
- package/src/ua_view_impl.ts +3 -6
- package/testHelpers.d.ts +1 -1
- package/test_helpers/add_event_generator_object.ts +6 -5
- package/test_helpers/alarms_and_conditions_demo.ts +9 -8
- package/test_helpers/assertHasMatchingReference.ts +43 -43
- package/test_helpers/boiler_system.ts +610 -618
- package/test_helpers/create_minimalist_address_space_nodeset.ts +13 -13
- package/test_helpers/date_utils.ts +5 -0
- package/test_helpers/dump_statemachine.ts +2 -2
- package/test_helpers/get_address_space_fixture.ts +30 -30
- package/test_helpers/get_mini_address_space.ts +42 -42
- package/test_helpers/index.ts +13 -11
- package/test_helpers/mock_session.ts +34 -0
- package/test_helpers/test_fixtures/dataType_in_separateNamespace.xml +150 -150
- package/test_helpers/test_fixtures/dataType_in_separateNamespace_basic.xml +57 -57
- package/test_helpers/test_fixtures/dataType_in_separateNamespace_mix.xml +135 -135
- package/test_helpers/test_fixtures/dataType_withEnumeration.xml +82 -82
- package/test_helpers/test_fixtures/dataType_with_isOptionSet.xml +194 -194
- package/test_helpers/test_fixtures/dataType_with_union.xml +1 -1
- package/test_helpers/test_fixtures/fixture_empty_nodeset2.xml +106 -106
- package/test_helpers/test_fixtures/fixture_simple_statemachine_nodeset2.xml +1303 -1303
- package/test_helpers/test_fixtures/fixuture_nodeset_objects_with_some_methods.xml +362 -362
- package/test_helpers/test_fixtures/issue_846.xml +3172 -3172
- package/test_helpers/test_fixtures/issue_899_variable_with_nodeid_value.xml +32 -32
- package/test_helpers/test_fixtures/mini.nodeset.withVariousVariables.xml +194 -194
- package/test_helpers/test_fixtures/minimalist_nodeset_with_models.xml +8 -8
- package/test_helpers/test_fixtures/minimalist_nodeset_with_models_more_complex.xml +16 -16
- package/test_helpers/test_fixtures/nodeset_with_analog_items.xml +45 -45
- package/dist/source/interfaces/alarms_and_conditions/ua_condition_base_i.d.ts +0 -23
- package/dist/source/interfaces/alarms_and_conditions/ua_condition_base_i.js +0 -3
- package/dist/source/interfaces/alarms_and_conditions/ua_condition_base_i.js.map +0 -1
- package/dist/source/interfaces/data_access/ua_discrete_item.d.ts +0 -6
- package/dist/source/interfaces/data_access/ua_discrete_item.js +0 -3
- package/dist/source/interfaces/data_access/ua_discrete_item.js.map +0 -1
- package/dist/source/interfaces/data_access/ua_multistate_discrete.d.ts +0 -25
- package/dist/source/interfaces/data_access/ua_multistate_discrete.js +0 -3
- package/dist/source/interfaces/data_access/ua_multistate_discrete.js.map +0 -1
- package/dist/source/interfaces/data_access/ua_multistate_value_discrete.d.ts +0 -27
- package/dist/source/interfaces/data_access/ua_multistate_value_discrete.js +0 -3
- package/dist/source/interfaces/data_access/ua_multistate_value_discrete.js.map +0 -1
- package/dist/source/interfaces/data_access/ua_two_state_discrete.d.ts +0 -17
- package/dist/source/interfaces/data_access/ua_two_state_discrete.js +0 -3
- package/dist/source/interfaces/data_access/ua_two_state_discrete.js.map +0 -1
- package/dist/source/interfaces/data_access/ua_y_array_item.d.ts +0 -19
- package/dist/source/interfaces/data_access/ua_y_array_item.js +0 -3
- package/dist/source/interfaces/data_access/ua_y_array_item.js.map +0 -1
- package/dist/source/interfaces/state_machine/exclusive_limit_state_machine.d.ts +0 -11
- package/dist/source/interfaces/state_machine/exclusive_limit_state_machine.js +0 -3
- package/dist/source/interfaces/state_machine/exclusive_limit_state_machine.js.map +0 -1
- package/dist/source/interfaces/state_machine/finite_state_machine.d.ts +0 -70
- package/dist/source/interfaces/state_machine/finite_state_machine.js +0 -3
- package/dist/source/interfaces/state_machine/finite_state_machine.js.map +0 -1
- package/dist/source/interfaces/state_machine/program_finite_state_machine.d.ts +0 -74
- package/dist/source/interfaces/state_machine/program_finite_state_machine.js +0 -3
- package/dist/source/interfaces/state_machine/program_finite_state_machine.js.map +0 -1
- package/dist/source/interfaces/state_machine/state_machine.d.ts +0 -342
- package/dist/source/interfaces/state_machine/state_machine.js +0 -3
- package/dist/source/interfaces/state_machine/state_machine.js.map +0 -1
- package/dist/source/interfaces/state_machine/ua_finite_state_variable.d.ts +0 -18
- package/dist/source/interfaces/state_machine/ua_finite_state_variable.js +0 -3
- package/dist/source/interfaces/state_machine/ua_finite_state_variable.js.map +0 -1
- package/dist/source/interfaces/state_machine/ua_state_variable.d.ts +0 -29
- package/dist/source/interfaces/state_machine/ua_state_variable.js +0 -3
- package/dist/source/interfaces/state_machine/ua_state_variable.js.map +0 -1
- package/dist/source/interfaces/state_machine/ua_two_state_variable.d.ts +0 -26
- package/dist/source/interfaces/state_machine/ua_two_state_variable.js +0 -3
- package/dist/source/interfaces/state_machine/ua_two_state_variable.js.map +0 -1
- package/dist/source/interfaces/subscription_diagnostics_variable.d.ts +0 -41
- package/dist/source/interfaces/subscription_diagnostics_variable.js +0 -3
- package/dist/source/interfaces/subscription_diagnostics_variable.js.map +0 -1
- package/dist/src/alarms_and_conditions/base_event_type.d.ts +0 -26
- package/dist/src/alarms_and_conditions/base_event_type.js +0 -41
- package/dist/src/alarms_and_conditions/base_event_type.js.map +0 -1
- package/dist/src/alarms_and_conditions/shelving_state_machine.d.ts +0 -22
- package/dist/src/alarms_and_conditions/shelving_state_machine.js +0 -241
- package/dist/src/alarms_and_conditions/shelving_state_machine.js.map +0 -1
- package/dist/src/alarms_and_conditions/trip_alarm.d.ts +0 -16
- package/dist/src/alarms_and_conditions/trip_alarm.js +0 -21
- package/dist/src/alarms_and_conditions/trip_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_base.d.ts +0 -54
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_base.js +0 -255
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_base.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_alarm_condition_base.d.ts +0 -138
- package/dist/src/alarms_and_conditions/ua_alarm_condition_base.js +0 -460
- package/dist/src/alarms_and_conditions/ua_alarm_condition_base.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm.d.ts +0 -35
- package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm.js +0 -32
- package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_condition_base.d.ts +0 -191
- package/dist/src/alarms_and_conditions/ua_condition_base.js +0 -1029
- package/dist/src/alarms_and_conditions/ua_condition_base.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_discrete_alarm.d.ts +0 -11
- package/dist/src/alarms_and_conditions/ua_discrete_alarm.js +0 -58
- package/dist/src/alarms_and_conditions/ua_discrete_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm.d.ts +0 -24
- package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm.js +0 -59
- package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm.d.ts +0 -14
- package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm.js +0 -17
- package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm.d.ts +0 -22
- package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm.js +0 -87
- package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm.d.ts +0 -6
- package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm.js +0 -11
- package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_limit_alarm.d.ts +0 -76
- package/dist/src/alarms_and_conditions/ua_limit_alarm.js +0 -237
- package/dist/src/alarms_and_conditions/ua_limit_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm.d.ts +0 -27
- package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm.js +0 -62
- package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm.d.ts +0 -49
- package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm.js +0 -176
- package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_off_normal_alarm.d.ts +0 -47
- package/dist/src/alarms_and_conditions/ua_off_normal_alarm.js +0 -151
- package/dist/src/alarms_and_conditions/ua_off_normal_alarm.js.map +0 -1
- package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm.d.ts +0 -16
- package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm.js +0 -18
- package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm.js.map +0 -1
- package/dist/src/base_node.d.ts +0 -289
- package/dist/src/base_node.js +0 -1345
- package/dist/src/base_node.js.map +0 -1
- package/dist/src/data_access/ua_analog_item.d.ts +0 -13
- package/dist/src/data_access/ua_analog_item.js +0 -37
- package/dist/src/data_access/ua_analog_item.js.map +0 -1
- package/dist/src/data_access/ua_data_item.d.ts +0 -16
- package/dist/src/data_access/ua_data_item.js +0 -66
- package/dist/src/data_access/ua_data_item.js.map +0 -1
- package/dist/src/data_access/ua_multistate_discrete.d.ts +0 -24
- package/dist/src/data_access/ua_multistate_discrete.js +0 -132
- package/dist/src/data_access/ua_multistate_discrete.js.map +0 -1
- package/dist/src/namespace.d.ts +0 -472
- package/dist/src/namespace.js +0 -1751
- package/dist/src/namespace.js.map +0 -1
- package/dist/src/reference.d.ts +0 -43
- package/dist/src/reference.js +0 -138
- package/dist/src/reference.js.map +0 -1
- package/dist/src/session_context.d.ts +0 -4
- package/dist/src/session_context.js +0 -9
- package/dist/src/session_context.js.map +0 -1
- package/dist/src/ua_data_type.d.ts +0 -83
- package/dist/src/ua_data_type.js +0 -289
- package/dist/src/ua_data_type.js.map +0 -1
- package/dist/src/ua_method.d.ts +0 -41
- package/dist/src/ua_method.js +0 -202
- package/dist/src/ua_method.js.map +0 -1
- package/dist/src/ua_object.d.ts +0 -28
- package/dist/src/ua_object.js +0 -153
- package/dist/src/ua_object.js.map +0 -1
- package/dist/src/ua_object_type.d.ts +0 -49
- package/dist/src/ua_object_type.js +0 -123
- package/dist/src/ua_object_type.js.map +0 -1
- package/dist/src/ua_reference_type.d.ts +0 -42
- package/dist/src/ua_reference_type.js +0 -138
- package/dist/src/ua_reference_type.js.map +0 -1
- package/dist/src/ua_variable.d.ts +0 -339
- package/dist/src/ua_variable.js +0 -1706
- package/dist/src/ua_variable.js.map +0 -1
- package/dist/src/ua_variable_type.d.ts +0 -57
- package/dist/src/ua_variable_type.js +0 -530
- package/dist/src/ua_variable_type.js.map +0 -1
- package/dist/src/ua_view.d.ts +0 -16
- package/dist/src/ua_view.js +0 -42
- package/dist/src/ua_view.js.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable max-statements */
|
|
1
2
|
/**
|
|
2
3
|
* @module node-opcua-address-space
|
|
3
4
|
*/
|
|
@@ -42,11 +43,10 @@ function dumpReferencesHierarchy(_addressSpace: AddressSpace) {
|
|
|
42
43
|
_dump(references, " ");
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
export function create_minimalist_address_space_nodeset(addressSpace: AddressSpace) {
|
|
46
|
-
|
|
46
|
+
export function create_minimalist_address_space_nodeset(addressSpace: AddressSpace): void {
|
|
47
47
|
const _addressSpace = addressSpace;
|
|
48
48
|
|
|
49
|
-
const namespace0 = addressSpace.registerNamespace("http://opcfoundation.org/UA/") as unknown as
|
|
49
|
+
const namespace0 = addressSpace.registerNamespace("http://opcfoundation.org/UA/") as unknown as NamespacePrivate;
|
|
50
50
|
|
|
51
51
|
assert(namespace0.index === 0);
|
|
52
52
|
|
|
@@ -140,45 +140,45 @@ export function create_minimalist_address_space_nodeset(addressSpace: AddressSpa
|
|
|
140
140
|
nodeId: resolveNodeId(ObjectTypeIds.BaseObjectType)
|
|
141
141
|
});
|
|
142
142
|
|
|
143
|
-
const baseVariableType =
|
|
143
|
+
const baseVariableType = namespace0.internalCreateNode({
|
|
144
144
|
browseName: "BaseVariableType",
|
|
145
145
|
isAbstract: true,
|
|
146
146
|
nodeClass: NodeClass.VariableType,
|
|
147
147
|
nodeId: resolveNodeId(VariableTypeIds.BaseVariableType)
|
|
148
|
-
}) as any
|
|
148
|
+
}) as any as UAVariableType;
|
|
149
149
|
|
|
150
150
|
const propertyType = namespace0.addVariableType({
|
|
151
151
|
browseName: "PropertyType",
|
|
152
152
|
subtypeOf: baseVariableType
|
|
153
153
|
});
|
|
154
154
|
|
|
155
|
-
const baseDataVariableType =
|
|
155
|
+
const baseDataVariableType = namespace0.internalCreateNode({
|
|
156
156
|
browseName: "BaseDataVariableType",
|
|
157
157
|
isAbstract: true,
|
|
158
158
|
nodeClass: NodeClass.VariableType,
|
|
159
159
|
nodeId: resolveNodeId(VariableTypeIds.BaseDataVariableType),
|
|
160
160
|
subtypeOf: baseVariableType.nodeId
|
|
161
|
-
}) as any
|
|
161
|
+
}) as any as UAVariableType;
|
|
162
162
|
|
|
163
|
-
const modellingRule_Optional =
|
|
163
|
+
const modellingRule_Optional = namespace0.internalCreateNode({
|
|
164
164
|
browseName: "Optional",
|
|
165
165
|
nodeClass: NodeClass.Object,
|
|
166
166
|
nodeId: resolveNodeId(ObjectIds.ModellingRule_Optional)
|
|
167
|
-
}) as any
|
|
167
|
+
}) as any as UAObject;
|
|
168
168
|
|
|
169
|
-
const modellingRule_Mandatory =
|
|
169
|
+
const modellingRule_Mandatory = namespace0.internalCreateNode({
|
|
170
170
|
browseName: "Mandatory",
|
|
171
171
|
nodeClass: NodeClass.Object,
|
|
172
172
|
nodeId: resolveNodeId(ObjectIds.ModellingRule_Mandatory)
|
|
173
|
-
}) as any
|
|
173
|
+
}) as any as UAObject;
|
|
174
174
|
|
|
175
175
|
// add the root folder
|
|
176
176
|
{
|
|
177
|
-
const rootFolder =
|
|
177
|
+
const rootFolder = namespace0.internalCreateNode({
|
|
178
178
|
browseName: "RootFolder",
|
|
179
179
|
nodeClass: NodeClass.Object,
|
|
180
180
|
nodeId: resolveNodeId(ObjectIds.RootFolder)
|
|
181
|
-
}) as any
|
|
181
|
+
}) as any as UAObject;
|
|
182
182
|
|
|
183
183
|
{
|
|
184
184
|
const objectsFolder = namespace0.addObject({
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { BaseNode, UAState, UAStateMachineEx, UATransition, UAObject, UATransitionEx } from "..";
|
|
22
22
|
|
|
23
|
-
export function dumpStateMachineToPlantUML(stateMachineType: UAStateMachineEx) {
|
|
23
|
+
export function dumpStateMachineToPlantUML(stateMachineType: UAStateMachineEx): void {
|
|
24
24
|
function w(str: string) {
|
|
25
25
|
console.log(str);
|
|
26
26
|
}
|
|
@@ -110,7 +110,7 @@ export function dumpStateMachineToPlantUML(stateMachineType: UAStateMachineEx) {
|
|
|
110
110
|
export function dumpStateMachineToGraphViz(
|
|
111
111
|
/*StateMachineProxy*/
|
|
112
112
|
stateMachineType: UAStateMachineEx
|
|
113
|
-
) {
|
|
113
|
+
): void {
|
|
114
114
|
function w(str: string) {
|
|
115
115
|
console.log(str);
|
|
116
116
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-address-space
|
|
3
|
-
*/
|
|
4
|
-
import * as fs from "fs";
|
|
5
|
-
import * as path from "path";
|
|
6
|
-
|
|
7
|
-
export function getAddressSpaceFixture(pathname: string) {
|
|
8
|
-
// find test_fixtures
|
|
9
|
-
|
|
10
|
-
let folder = path.join(__dirname, "./test_fixtures");
|
|
11
|
-
if (!fs.existsSync(folder)) {
|
|
12
|
-
folder = path.join(__dirname, "../test_helpers/test_fixtures");
|
|
13
|
-
if (!fs.existsSync(folder)) {
|
|
14
|
-
folder = path.join(__dirname, "../../test_helpers/test_fixtures");
|
|
15
|
-
|
|
16
|
-
// istanbul ignore next
|
|
17
|
-
if (!fs.existsSync(folder)) {
|
|
18
|
-
// tslint:disable:no-console
|
|
19
|
-
console.log(" cannot find test_fixtures folder ");
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
const filename = path.join(folder, pathname);
|
|
24
|
-
|
|
25
|
-
// istanbul ignore next
|
|
26
|
-
if (!fs.existsSync(filename)) {
|
|
27
|
-
throw new Error(" cannot find fixture with name " + pathname);
|
|
28
|
-
}
|
|
29
|
-
return filename;
|
|
30
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-address-space
|
|
3
|
+
*/
|
|
4
|
+
import * as fs from "fs";
|
|
5
|
+
import * as path from "path";
|
|
6
|
+
|
|
7
|
+
export function getAddressSpaceFixture(pathname: string): string {
|
|
8
|
+
// find test_fixtures
|
|
9
|
+
|
|
10
|
+
let folder = path.join(__dirname, "./test_fixtures");
|
|
11
|
+
if (!fs.existsSync(folder)) {
|
|
12
|
+
folder = path.join(__dirname, "../test_helpers/test_fixtures");
|
|
13
|
+
if (!fs.existsSync(folder)) {
|
|
14
|
+
folder = path.join(__dirname, "../../test_helpers/test_fixtures");
|
|
15
|
+
|
|
16
|
+
// istanbul ignore next
|
|
17
|
+
if (!fs.existsSync(folder)) {
|
|
18
|
+
// tslint:disable:no-console
|
|
19
|
+
console.log(" cannot find test_fixtures folder ");
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const filename = path.join(folder, pathname);
|
|
24
|
+
|
|
25
|
+
// istanbul ignore next
|
|
26
|
+
if (!fs.existsSync(filename)) {
|
|
27
|
+
throw new Error(" cannot find fixture with name " + pathname);
|
|
28
|
+
}
|
|
29
|
+
return filename;
|
|
30
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-address-space
|
|
3
|
-
*/
|
|
4
|
-
import { assert } from "node-opcua-assert";
|
|
5
|
-
|
|
6
|
-
import { AddressSpace } from "..";
|
|
7
|
-
import { generateAddressSpace } from "../nodeJS";
|
|
8
|
-
|
|
9
|
-
import { getAddressSpaceFixture } from "./get_address_space_fixture";
|
|
10
|
-
|
|
11
|
-
export const mini_nodeset = "mini.Node.Set2.xml";
|
|
12
|
-
export const empty_nodeset = "fixture_empty_nodeset2.xml";
|
|
13
|
-
|
|
14
|
-
export const get_mini_nodeset_filename = () => getAddressSpaceFixture(mini_nodeset);
|
|
15
|
-
export const get_empty_nodeset_filename = () => getAddressSpaceFixture(empty_nodeset);
|
|
16
|
-
|
|
17
|
-
// tslint:disable:no-var-requires
|
|
18
|
-
// tslint:disable:max-line-length
|
|
19
|
-
const thenify = require("thenify");
|
|
20
|
-
|
|
21
|
-
export function getMiniAddressSpace(callback: (err: Error | null, addressSpace?: AddressSpace) => void): void;
|
|
22
|
-
export function getMiniAddressSpace(): Promise<AddressSpace>;
|
|
23
|
-
export function getMiniAddressSpace(...args: any[]): any {
|
|
24
|
-
const callback = args[0] as (err: Error | null, addressSpace?: AddressSpace) => void;
|
|
25
|
-
|
|
26
|
-
const addressSpace = AddressSpace.create();
|
|
27
|
-
|
|
28
|
-
// register namespace 1 (our namespace);
|
|
29
|
-
const serverNamespace = addressSpace.registerNamespace("http://MYNAMESPACE");
|
|
30
|
-
assert(serverNamespace.index === 1);
|
|
31
|
-
|
|
32
|
-
generateAddressSpace(addressSpace, get_mini_nodeset_filename(), (err?: Error) => {
|
|
33
|
-
// istanbul ignore next
|
|
34
|
-
if (err) {
|
|
35
|
-
// tslint:disable:no-console
|
|
36
|
-
console.log("err =", err);
|
|
37
|
-
}
|
|
38
|
-
callback(err || null, addressSpace);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
(module.exports as any).getMiniAddressSpace = thenify.withCallback((module.exports as any).getMiniAddressSpace);
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-address-space
|
|
3
|
+
*/
|
|
4
|
+
import { assert } from "node-opcua-assert";
|
|
5
|
+
|
|
6
|
+
import { AddressSpace } from "..";
|
|
7
|
+
import { generateAddressSpace } from "../nodeJS";
|
|
8
|
+
|
|
9
|
+
import { getAddressSpaceFixture } from "./get_address_space_fixture";
|
|
10
|
+
|
|
11
|
+
export const mini_nodeset = "mini.Node.Set2.xml";
|
|
12
|
+
export const empty_nodeset = "fixture_empty_nodeset2.xml";
|
|
13
|
+
|
|
14
|
+
export const get_mini_nodeset_filename = (): string => getAddressSpaceFixture(mini_nodeset);
|
|
15
|
+
export const get_empty_nodeset_filename = (): string => getAddressSpaceFixture(empty_nodeset);
|
|
16
|
+
|
|
17
|
+
// tslint:disable:no-var-requires
|
|
18
|
+
// tslint:disable:max-line-length
|
|
19
|
+
const thenify = require("thenify");
|
|
20
|
+
|
|
21
|
+
export function getMiniAddressSpace(callback: (err: Error | null, addressSpace?: AddressSpace) => void): void;
|
|
22
|
+
export function getMiniAddressSpace(): Promise<AddressSpace>;
|
|
23
|
+
export function getMiniAddressSpace(...args: any[]): any {
|
|
24
|
+
const callback = args[0] as (err: Error | null, addressSpace?: AddressSpace) => void;
|
|
25
|
+
|
|
26
|
+
const addressSpace = AddressSpace.create();
|
|
27
|
+
|
|
28
|
+
// register namespace 1 (our namespace);
|
|
29
|
+
const serverNamespace = addressSpace.registerNamespace("http://MYNAMESPACE");
|
|
30
|
+
assert(serverNamespace.index === 1);
|
|
31
|
+
|
|
32
|
+
generateAddressSpace(addressSpace, get_mini_nodeset_filename(), (err?: Error) => {
|
|
33
|
+
// istanbul ignore next
|
|
34
|
+
if (err) {
|
|
35
|
+
// tslint:disable:no-console
|
|
36
|
+
console.log("err =", err);
|
|
37
|
+
}
|
|
38
|
+
callback(err || null, addressSpace);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
(module.exports as any).getMiniAddressSpace = thenify.withCallback((module.exports as any).getMiniAddressSpace);
|
package/test_helpers/index.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module node-opcua-address-space
|
|
3
|
-
*/
|
|
4
|
-
export * from "./add_event_generator_object";
|
|
5
|
-
export * from "./alarms_and_conditions_demo";
|
|
6
|
-
export * from "./assertHasMatchingReference";
|
|
7
|
-
export * from "./create_minimalist_address_space_nodeset";
|
|
8
|
-
export * from "./dump_statemachine";
|
|
9
|
-
export * from "./get_address_space_fixture";
|
|
10
|
-
export * from "./get_mini_address_space";
|
|
11
|
-
export * from "./boiler_system";
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-address-space
|
|
3
|
+
*/
|
|
4
|
+
export * from "./add_event_generator_object";
|
|
5
|
+
export * from "./alarms_and_conditions_demo";
|
|
6
|
+
export * from "./assertHasMatchingReference";
|
|
7
|
+
export * from "./create_minimalist_address_space_nodeset";
|
|
8
|
+
export * from "./dump_statemachine";
|
|
9
|
+
export * from "./get_address_space_fixture";
|
|
10
|
+
export * from "./get_mini_address_space";
|
|
11
|
+
export * from "./boiler_system";
|
|
12
|
+
export * from "./mock_session";
|
|
13
|
+
export * from "./date_utils";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ContinuationData, IContinuationPointInfo, IContinuationPointManager } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataValue } from "node-opcua-data-value";
|
|
3
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
4
|
+
import { ReferenceDescription } from "node-opcua-service-browse";
|
|
5
|
+
|
|
6
|
+
export class MockContinuationPointManager implements IContinuationPointManager {
|
|
7
|
+
public registerHistoryReadRaw(
|
|
8
|
+
maxElements: number,
|
|
9
|
+
dataValues: DataValue[],
|
|
10
|
+
cnt: ContinuationData
|
|
11
|
+
): IContinuationPointInfo<DataValue> {
|
|
12
|
+
throw new Error("Method not implemented.");
|
|
13
|
+
}
|
|
14
|
+
public getNextHistoryReadRaw(numValues: number, cnt: ContinuationData): IContinuationPointInfo<DataValue> {
|
|
15
|
+
throw new Error("Method not implemented.");
|
|
16
|
+
}
|
|
17
|
+
public registerReferences(
|
|
18
|
+
maxElements: number,
|
|
19
|
+
values: ReferenceDescription[],
|
|
20
|
+
cnt: ContinuationData
|
|
21
|
+
): IContinuationPointInfo<ReferenceDescription> {
|
|
22
|
+
throw new Error("Method not implemented.");
|
|
23
|
+
}
|
|
24
|
+
public getNextReferences(numValue: number, cnt: ContinuationData): IContinuationPointInfo<ReferenceDescription> {
|
|
25
|
+
throw new Error("Method not implemented.");
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export const mockSession = {
|
|
30
|
+
getSessionId() {
|
|
31
|
+
return NodeId.nullNodeId;
|
|
32
|
+
},
|
|
33
|
+
continuationPointManager: new MockContinuationPointManager()
|
|
34
|
+
};
|
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<UANodeSet xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
3
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" LastModified="2019-05-01T00:00:00Z"
|
|
4
|
-
xmlns="http://opcfoundation.org/UA/2011/03/UANodeSet.xsd">
|
|
5
|
-
<NamespaceUris>
|
|
6
|
-
<Uri>http://opcfoundation.org/UA/DI/</Uri>
|
|
7
|
-
</NamespaceUris>
|
|
8
|
-
<Models>
|
|
9
|
-
<Model ModelUri="http://opcfoundation.org/UA/DI/" Version="1.02" PublicationDate="2019-05-01T00:00:00Z">
|
|
10
|
-
<RequiredModel ModelUri="http://opcfoundation.org/UA/" Version="1.04.4" PublicationDate="2020-01-08T00:00:00Z" />
|
|
11
|
-
</Model>
|
|
12
|
-
</Models>
|
|
13
|
-
<Aliases>
|
|
14
|
-
<Alias Alias="Boolean">i=1</Alias>
|
|
15
|
-
<Alias Alias="SByte">i=2</Alias>
|
|
16
|
-
<Alias Alias="Byte">i=3</Alias>
|
|
17
|
-
<Alias Alias="Int16">i=4</Alias>
|
|
18
|
-
<Alias Alias="UInt16">i=5</Alias>
|
|
19
|
-
<Alias Alias="Int32">i=6</Alias>
|
|
20
|
-
<Alias Alias="UInt32">i=7</Alias>
|
|
21
|
-
<Alias Alias="Int64">i=8</Alias>
|
|
22
|
-
<Alias Alias="UInt64">i=9</Alias>
|
|
23
|
-
<Alias Alias="Float">i=10</Alias>
|
|
24
|
-
<Alias Alias="Double">i=11</Alias>
|
|
25
|
-
<Alias Alias="DateTime">i=13</Alias>
|
|
26
|
-
<Alias Alias="String">i=12</Alias>
|
|
27
|
-
<Alias Alias="ByteString">i=15</Alias>
|
|
28
|
-
<Alias Alias="Guid">i=14</Alias>
|
|
29
|
-
<Alias Alias="XmlElement">i=16</Alias>
|
|
30
|
-
<Alias Alias="NodeId">i=17</Alias>
|
|
31
|
-
<Alias Alias="ExpandedNodeId">i=18</Alias>
|
|
32
|
-
<Alias Alias="QualifiedName">i=20</Alias>
|
|
33
|
-
<Alias Alias="LocalizedText">i=21</Alias>
|
|
34
|
-
<Alias Alias="StatusCode">i=19</Alias>
|
|
35
|
-
<Alias Alias="Structure">i=22</Alias>
|
|
36
|
-
<Alias Alias="Number">i=26</Alias>
|
|
37
|
-
<Alias Alias="Integer">i=27</Alias>
|
|
38
|
-
<Alias Alias="UInteger">i=28</Alias>
|
|
39
|
-
<Alias Alias="HasComponent">i=47</Alias>
|
|
40
|
-
<Alias Alias="HasProperty">i=46</Alias>
|
|
41
|
-
<Alias Alias="Organizes">i=35</Alias>
|
|
42
|
-
<Alias Alias="HasEventSource">i=36</Alias>
|
|
43
|
-
<Alias Alias="HasNotifier">i=48</Alias>
|
|
44
|
-
<Alias Alias="HasSubtype">i=45</Alias>
|
|
45
|
-
<Alias Alias="HasTypeDefinition">i=40</Alias>
|
|
46
|
-
<Alias Alias="HasModellingRule">i=37</Alias>
|
|
47
|
-
<Alias Alias="HasEncoding">i=38</Alias>
|
|
48
|
-
<Alias Alias="HasDescription">i=39</Alias>
|
|
49
|
-
</Aliases>
|
|
50
|
-
<UADataType NodeId="ns=1;i=6522" BrowseName="1:FetchResultDataType" IsAbstract="true">
|
|
51
|
-
<DisplayName>FetchResultDataType</DisplayName>
|
|
52
|
-
<References>
|
|
53
|
-
<Reference ReferenceType="HasSubtype" IsForward="false">i=22</Reference>
|
|
54
|
-
</References>
|
|
55
|
-
</UADataType>
|
|
56
|
-
<UADataType NodeId="ns=1;i=6525" BrowseName="1:ParameterResultDataType">
|
|
57
|
-
<DisplayName>ParameterResultDataType</DisplayName>
|
|
58
|
-
<References>
|
|
59
|
-
<Reference ReferenceType="HasSubtype" IsForward="false">i=22</Reference>
|
|
60
|
-
</References>
|
|
61
|
-
<Definition Name="1:ParameterResultDataType">
|
|
62
|
-
<Field Name="NodePath" DataType="i=20" ValueRank="1" />
|
|
63
|
-
<Field Name="StatusCode" DataType="i=19" />
|
|
64
|
-
<Field Name="Diagnostics" DataType="i=25" />
|
|
65
|
-
</Definition>
|
|
66
|
-
</UADataType>
|
|
67
|
-
<UADataType NodeId="ns=1;i=15889" BrowseName="1:TransferResultDataDataType">
|
|
68
|
-
<DisplayName>TransferResultDataDataType</DisplayName>
|
|
69
|
-
<References>
|
|
70
|
-
<Reference ReferenceType="HasSubtype" IsForward="false">ns=1;i=6522</Reference>
|
|
71
|
-
</References>
|
|
72
|
-
<Definition Name="1:TransferResultDataDataType">
|
|
73
|
-
<Field Name="SequenceNumber" DataType="i=6" />
|
|
74
|
-
<Field Name="EndOfResults" DataType="i=1" />
|
|
75
|
-
<Field Name="ParameterDefs" DataType="ns=1;i=6525" ValueRank="1" />
|
|
76
|
-
</Definition>
|
|
77
|
-
</UADataType>
|
|
78
|
-
<!-- A -->
|
|
79
|
-
<UAObject NodeId="ns=1;i=6554" BrowseName="Default Binary" SymbolicName="DefaultBinary">
|
|
80
|
-
<DisplayName>Default Binary</DisplayName>
|
|
81
|
-
<References>
|
|
82
|
-
<Reference ReferenceType="HasEncoding" IsForward="false">ns=1;i=6525</Reference>
|
|
83
|
-
<Reference ReferenceType="HasDescription">ns=1;i=6564</Reference>
|
|
84
|
-
<Reference ReferenceType="HasTypeDefinition">i=76</Reference>
|
|
85
|
-
</References>
|
|
86
|
-
</UAObject>
|
|
87
|
-
<UAVariable NodeId="ns=1;i=6564" BrowseName="1:ParameterResultDataType" ParentNodeId="ns=1;i=6435" DataType="String">
|
|
88
|
-
<DisplayName>ParameterResultDataType</DisplayName>
|
|
89
|
-
<References>
|
|
90
|
-
<Reference ReferenceType="HasTypeDefinition">i=69</Reference>
|
|
91
|
-
<Reference ReferenceType="HasComponent" IsForward="false">ns=1;i=6435</Reference>
|
|
92
|
-
</References>
|
|
93
|
-
<Value>
|
|
94
|
-
<String xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">ParameterResultDataType</String>
|
|
95
|
-
</Value>
|
|
96
|
-
</UAVariable>
|
|
97
|
-
<!-- B-->
|
|
98
|
-
<UAObject NodeId="ns=1;i=15892" BrowseName="Default Binary" SymbolicName="DefaultBinary">
|
|
99
|
-
<DisplayName>Default Binary</DisplayName>
|
|
100
|
-
<References>
|
|
101
|
-
<Reference ReferenceType="HasEncoding" IsForward="false">ns=1;i=15889</Reference>
|
|
102
|
-
<Reference ReferenceType="HasDescription">ns=1;i=15897</Reference>
|
|
103
|
-
<Reference ReferenceType="HasTypeDefinition">i=76</Reference>
|
|
104
|
-
</References>
|
|
105
|
-
</UAObject>
|
|
106
|
-
<UAVariable NodeId="ns=1;i=15897" BrowseName="1:TransferResultDataDataType" ParentNodeId="ns=1;i=6435" DataType="String">
|
|
107
|
-
<DisplayName>TransferResultDataDataType</DisplayName>
|
|
108
|
-
<References>
|
|
109
|
-
<Reference ReferenceType="HasTypeDefinition">i=69</Reference>
|
|
110
|
-
<Reference ReferenceType="HasComponent" IsForward="false">ns=1;i=6435</Reference>
|
|
111
|
-
</References>
|
|
112
|
-
<Value>
|
|
113
|
-
<String xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">TransferResultDataDataType</String>
|
|
114
|
-
</Value>
|
|
115
|
-
</UAVariable>
|
|
116
|
-
<!-- C -->
|
|
117
|
-
<UAVariable NodeId="ns=1;i=6435" BrowseName="1:Opc.Ua.Di" SymbolicName="OpcUaDi_BinarySchema" DataType="ByteString">
|
|
118
|
-
<DisplayName>Opc.Ua.Di</DisplayName>
|
|
119
|
-
<References>
|
|
120
|
-
<Reference ReferenceType="HasProperty">ns=1;i=6437</Reference>
|
|
121
|
-
<Reference ReferenceType="HasProperty">ns=1;i=15893</Reference>
|
|
122
|
-
|
|
123
|
-
<Reference ReferenceType="HasComponent">ns=1;i=15897</Reference>
|
|
124
|
-
<Reference ReferenceType="HasComponent">ns=1;i=6564</Reference>
|
|
125
|
-
<Reference ReferenceType="HasComponent" IsForward="false">i=93</Reference>
|
|
126
|
-
<Reference ReferenceType="HasTypeDefinition">i=72</Reference>
|
|
127
|
-
</References>
|
|
128
|
-
<Value/>
|
|
129
|
-
</UAVariable>
|
|
130
|
-
<UAVariable NodeId="ns=1;i=6437" BrowseName="NamespaceUri" ParentNodeId="ns=1;i=6435" DataType="String">
|
|
131
|
-
<DisplayName>NamespaceUri</DisplayName>
|
|
132
|
-
<References>
|
|
133
|
-
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
|
|
134
|
-
<Reference ReferenceType="HasProperty" IsForward="false">ns=1;i=6435</Reference>
|
|
135
|
-
</References>
|
|
136
|
-
<Value>
|
|
137
|
-
<String xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">http://opcfoundation.org/UA/DI/</String>
|
|
138
|
-
</Value>
|
|
139
|
-
</UAVariable>
|
|
140
|
-
<UAVariable NodeId="ns=1;i=15893" BrowseName="Deprecated" ParentNodeId="ns=1;i=6435" DataType="Boolean">
|
|
141
|
-
<DisplayName>Deprecated</DisplayName>
|
|
142
|
-
<References>
|
|
143
|
-
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
|
|
144
|
-
<Reference ReferenceType="HasProperty" IsForward="false">ns=1;i=6435</Reference>
|
|
145
|
-
</References>
|
|
146
|
-
<Value>
|
|
147
|
-
<Boolean xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">true</Boolean>
|
|
148
|
-
</Value>
|
|
149
|
-
</UAVariable>
|
|
150
|
-
</UANodeSet>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<UANodeSet xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" LastModified="2019-05-01T00:00:00Z"
|
|
4
|
+
xmlns="http://opcfoundation.org/UA/2011/03/UANodeSet.xsd">
|
|
5
|
+
<NamespaceUris>
|
|
6
|
+
<Uri>http://opcfoundation.org/UA/DI/</Uri>
|
|
7
|
+
</NamespaceUris>
|
|
8
|
+
<Models>
|
|
9
|
+
<Model ModelUri="http://opcfoundation.org/UA/DI/" Version="1.02" PublicationDate="2019-05-01T00:00:00Z">
|
|
10
|
+
<RequiredModel ModelUri="http://opcfoundation.org/UA/" Version="1.04.4" PublicationDate="2020-01-08T00:00:00Z" />
|
|
11
|
+
</Model>
|
|
12
|
+
</Models>
|
|
13
|
+
<Aliases>
|
|
14
|
+
<Alias Alias="Boolean">i=1</Alias>
|
|
15
|
+
<Alias Alias="SByte">i=2</Alias>
|
|
16
|
+
<Alias Alias="Byte">i=3</Alias>
|
|
17
|
+
<Alias Alias="Int16">i=4</Alias>
|
|
18
|
+
<Alias Alias="UInt16">i=5</Alias>
|
|
19
|
+
<Alias Alias="Int32">i=6</Alias>
|
|
20
|
+
<Alias Alias="UInt32">i=7</Alias>
|
|
21
|
+
<Alias Alias="Int64">i=8</Alias>
|
|
22
|
+
<Alias Alias="UInt64">i=9</Alias>
|
|
23
|
+
<Alias Alias="Float">i=10</Alias>
|
|
24
|
+
<Alias Alias="Double">i=11</Alias>
|
|
25
|
+
<Alias Alias="DateTime">i=13</Alias>
|
|
26
|
+
<Alias Alias="String">i=12</Alias>
|
|
27
|
+
<Alias Alias="ByteString">i=15</Alias>
|
|
28
|
+
<Alias Alias="Guid">i=14</Alias>
|
|
29
|
+
<Alias Alias="XmlElement">i=16</Alias>
|
|
30
|
+
<Alias Alias="NodeId">i=17</Alias>
|
|
31
|
+
<Alias Alias="ExpandedNodeId">i=18</Alias>
|
|
32
|
+
<Alias Alias="QualifiedName">i=20</Alias>
|
|
33
|
+
<Alias Alias="LocalizedText">i=21</Alias>
|
|
34
|
+
<Alias Alias="StatusCode">i=19</Alias>
|
|
35
|
+
<Alias Alias="Structure">i=22</Alias>
|
|
36
|
+
<Alias Alias="Number">i=26</Alias>
|
|
37
|
+
<Alias Alias="Integer">i=27</Alias>
|
|
38
|
+
<Alias Alias="UInteger">i=28</Alias>
|
|
39
|
+
<Alias Alias="HasComponent">i=47</Alias>
|
|
40
|
+
<Alias Alias="HasProperty">i=46</Alias>
|
|
41
|
+
<Alias Alias="Organizes">i=35</Alias>
|
|
42
|
+
<Alias Alias="HasEventSource">i=36</Alias>
|
|
43
|
+
<Alias Alias="HasNotifier">i=48</Alias>
|
|
44
|
+
<Alias Alias="HasSubtype">i=45</Alias>
|
|
45
|
+
<Alias Alias="HasTypeDefinition">i=40</Alias>
|
|
46
|
+
<Alias Alias="HasModellingRule">i=37</Alias>
|
|
47
|
+
<Alias Alias="HasEncoding">i=38</Alias>
|
|
48
|
+
<Alias Alias="HasDescription">i=39</Alias>
|
|
49
|
+
</Aliases>
|
|
50
|
+
<UADataType NodeId="ns=1;i=6522" BrowseName="1:FetchResultDataType" IsAbstract="true">
|
|
51
|
+
<DisplayName>FetchResultDataType</DisplayName>
|
|
52
|
+
<References>
|
|
53
|
+
<Reference ReferenceType="HasSubtype" IsForward="false">i=22</Reference>
|
|
54
|
+
</References>
|
|
55
|
+
</UADataType>
|
|
56
|
+
<UADataType NodeId="ns=1;i=6525" BrowseName="1:ParameterResultDataType">
|
|
57
|
+
<DisplayName>ParameterResultDataType</DisplayName>
|
|
58
|
+
<References>
|
|
59
|
+
<Reference ReferenceType="HasSubtype" IsForward="false">i=22</Reference>
|
|
60
|
+
</References>
|
|
61
|
+
<Definition Name="1:ParameterResultDataType">
|
|
62
|
+
<Field Name="NodePath" DataType="i=20" ValueRank="1" />
|
|
63
|
+
<Field Name="StatusCode" DataType="i=19" />
|
|
64
|
+
<Field Name="Diagnostics" DataType="i=25" />
|
|
65
|
+
</Definition>
|
|
66
|
+
</UADataType>
|
|
67
|
+
<UADataType NodeId="ns=1;i=15889" BrowseName="1:TransferResultDataDataType">
|
|
68
|
+
<DisplayName>TransferResultDataDataType</DisplayName>
|
|
69
|
+
<References>
|
|
70
|
+
<Reference ReferenceType="HasSubtype" IsForward="false">ns=1;i=6522</Reference>
|
|
71
|
+
</References>
|
|
72
|
+
<Definition Name="1:TransferResultDataDataType">
|
|
73
|
+
<Field Name="SequenceNumber" DataType="i=6" />
|
|
74
|
+
<Field Name="EndOfResults" DataType="i=1" />
|
|
75
|
+
<Field Name="ParameterDefs" DataType="ns=1;i=6525" ValueRank="1" />
|
|
76
|
+
</Definition>
|
|
77
|
+
</UADataType>
|
|
78
|
+
<!-- A -->
|
|
79
|
+
<UAObject NodeId="ns=1;i=6554" BrowseName="Default Binary" SymbolicName="DefaultBinary">
|
|
80
|
+
<DisplayName>Default Binary</DisplayName>
|
|
81
|
+
<References>
|
|
82
|
+
<Reference ReferenceType="HasEncoding" IsForward="false">ns=1;i=6525</Reference>
|
|
83
|
+
<Reference ReferenceType="HasDescription">ns=1;i=6564</Reference>
|
|
84
|
+
<Reference ReferenceType="HasTypeDefinition">i=76</Reference>
|
|
85
|
+
</References>
|
|
86
|
+
</UAObject>
|
|
87
|
+
<UAVariable NodeId="ns=1;i=6564" BrowseName="1:ParameterResultDataType" ParentNodeId="ns=1;i=6435" DataType="String">
|
|
88
|
+
<DisplayName>ParameterResultDataType</DisplayName>
|
|
89
|
+
<References>
|
|
90
|
+
<Reference ReferenceType="HasTypeDefinition">i=69</Reference>
|
|
91
|
+
<Reference ReferenceType="HasComponent" IsForward="false">ns=1;i=6435</Reference>
|
|
92
|
+
</References>
|
|
93
|
+
<Value>
|
|
94
|
+
<String xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">ParameterResultDataType</String>
|
|
95
|
+
</Value>
|
|
96
|
+
</UAVariable>
|
|
97
|
+
<!-- B-->
|
|
98
|
+
<UAObject NodeId="ns=1;i=15892" BrowseName="Default Binary" SymbolicName="DefaultBinary">
|
|
99
|
+
<DisplayName>Default Binary</DisplayName>
|
|
100
|
+
<References>
|
|
101
|
+
<Reference ReferenceType="HasEncoding" IsForward="false">ns=1;i=15889</Reference>
|
|
102
|
+
<Reference ReferenceType="HasDescription">ns=1;i=15897</Reference>
|
|
103
|
+
<Reference ReferenceType="HasTypeDefinition">i=76</Reference>
|
|
104
|
+
</References>
|
|
105
|
+
</UAObject>
|
|
106
|
+
<UAVariable NodeId="ns=1;i=15897" BrowseName="1:TransferResultDataDataType" ParentNodeId="ns=1;i=6435" DataType="String">
|
|
107
|
+
<DisplayName>TransferResultDataDataType</DisplayName>
|
|
108
|
+
<References>
|
|
109
|
+
<Reference ReferenceType="HasTypeDefinition">i=69</Reference>
|
|
110
|
+
<Reference ReferenceType="HasComponent" IsForward="false">ns=1;i=6435</Reference>
|
|
111
|
+
</References>
|
|
112
|
+
<Value>
|
|
113
|
+
<String xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">TransferResultDataDataType</String>
|
|
114
|
+
</Value>
|
|
115
|
+
</UAVariable>
|
|
116
|
+
<!-- C -->
|
|
117
|
+
<UAVariable NodeId="ns=1;i=6435" BrowseName="1:Opc.Ua.Di" SymbolicName="OpcUaDi_BinarySchema" DataType="ByteString">
|
|
118
|
+
<DisplayName>Opc.Ua.Di</DisplayName>
|
|
119
|
+
<References>
|
|
120
|
+
<Reference ReferenceType="HasProperty">ns=1;i=6437</Reference>
|
|
121
|
+
<Reference ReferenceType="HasProperty">ns=1;i=15893</Reference>
|
|
122
|
+
|
|
123
|
+
<Reference ReferenceType="HasComponent">ns=1;i=15897</Reference>
|
|
124
|
+
<Reference ReferenceType="HasComponent">ns=1;i=6564</Reference>
|
|
125
|
+
<Reference ReferenceType="HasComponent" IsForward="false">i=93</Reference>
|
|
126
|
+
<Reference ReferenceType="HasTypeDefinition">i=72</Reference>
|
|
127
|
+
</References>
|
|
128
|
+
<Value/>
|
|
129
|
+
</UAVariable>
|
|
130
|
+
<UAVariable NodeId="ns=1;i=6437" BrowseName="NamespaceUri" ParentNodeId="ns=1;i=6435" DataType="String">
|
|
131
|
+
<DisplayName>NamespaceUri</DisplayName>
|
|
132
|
+
<References>
|
|
133
|
+
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
|
|
134
|
+
<Reference ReferenceType="HasProperty" IsForward="false">ns=1;i=6435</Reference>
|
|
135
|
+
</References>
|
|
136
|
+
<Value>
|
|
137
|
+
<String xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">http://opcfoundation.org/UA/DI/</String>
|
|
138
|
+
</Value>
|
|
139
|
+
</UAVariable>
|
|
140
|
+
<UAVariable NodeId="ns=1;i=15893" BrowseName="Deprecated" ParentNodeId="ns=1;i=6435" DataType="Boolean">
|
|
141
|
+
<DisplayName>Deprecated</DisplayName>
|
|
142
|
+
<References>
|
|
143
|
+
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
|
|
144
|
+
<Reference ReferenceType="HasProperty" IsForward="false">ns=1;i=6435</Reference>
|
|
145
|
+
</References>
|
|
146
|
+
<Value>
|
|
147
|
+
<Boolean xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">true</Boolean>
|
|
148
|
+
</Value>
|
|
149
|
+
</UAVariable>
|
|
150
|
+
</UANodeSet>
|