node-opcua-address-space 2.170.1 → 2.173.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/source/address_space_ts.d.ts +13 -13
- package/dist/source/address_space_ts.js +4 -0
- package/dist/source/address_space_ts.js.map +1 -1
- package/dist/source/continuation_points/continuation_point_manager.d.ts +6 -3
- package/dist/source/continuation_points/continuation_point_manager.js +4 -4
- package/dist/source/continuation_points/continuation_point_manager.js.map +1 -1
- package/dist/source/helpers/adjust_browse_direction.d.ts +1 -1
- package/dist/source/helpers/argument_list.d.ts +13 -11
- package/dist/source/helpers/argument_list.js +24 -15
- package/dist/source/helpers/argument_list.js.map +1 -1
- package/dist/source/helpers/call_helpers.d.ts +6 -3
- package/dist/source/helpers/call_helpers.js +5 -6
- package/dist/source/helpers/call_helpers.js.map +1 -1
- package/dist/source/helpers/coerce_enum_value.d.ts +2 -2
- package/dist/source/helpers/coerce_enum_value.js +2 -2
- package/dist/source/helpers/coerce_enum_value.js.map +1 -1
- package/dist/source/helpers/dump_tools.d.ts +3 -3
- package/dist/source/helpers/dump_tools.js +2 -2
- package/dist/source/helpers/dump_tools.js.map +1 -1
- package/dist/source/helpers/ensure_secure_access.d.ts +1 -1
- package/dist/source/helpers/ensure_secure_access.js +1 -1
- package/dist/source/helpers/ensure_secure_access.js.map +1 -1
- package/dist/source/helpers/make_optionals_map.js +0 -5
- package/dist/source/helpers/make_optionals_map.js.map +1 -1
- package/dist/source/helpers/multiform_func.d.ts +1 -1
- package/dist/source/helpers/resolve_opaque_on_address_space.d.ts +1 -1
- package/dist/source/helpers/resolve_opaque_on_address_space.js +1 -1
- package/dist/source/helpers/resolve_opaque_on_address_space.js.map +1 -1
- package/dist/source/index.d.ts +38 -38
- package/dist/source/index.js +53 -54
- package/dist/source/index.js.map +1 -1
- package/dist/source/interfaces/alarms_and_conditions/condition_info_i.d.ts +3 -3
- package/dist/source/interfaces/alarms_and_conditions/condition_snapshot.d.ts +11 -11
- package/dist/source/interfaces/alarms_and_conditions/deviation_stuff.d.ts +6 -6
- package/dist/source/interfaces/alarms_and_conditions/install_setpoint_options.d.ts +3 -3
- package/dist/source/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.d.ts +4 -4
- package/dist/source/interfaces/alarms_and_conditions/instantiate_condition_options.d.ts +2 -2
- package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.d.ts +2 -2
- package/dist/source/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.d.ts +2 -2
- package/dist/source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.d.ts +4 -3
- package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.d.ts +2 -2
- package/dist/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.d.ts +2 -2
- package/dist/source/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.d.ts +3 -3
- package/dist/source/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.d.ts +10 -13
- package/dist/source/interfaces/alarms_and_conditions/ua_alarm_condition_ex.d.ts +11 -11
- package/dist/source/interfaces/alarms_and_conditions/ua_base_event_ex.d.ts +11 -0
- package/dist/source/interfaces/alarms_and_conditions/ua_base_event_ex.js +3 -0
- package/dist/source/interfaces/alarms_and_conditions/ua_base_event_ex.js.map +1 -0
- package/dist/source/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.d.ts +5 -5
- package/dist/source/interfaces/alarms_and_conditions/ua_condition_ex.d.ts +21 -29
- package/dist/source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.d.ts +3 -7
- package/dist/source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.js +0 -23
- package/dist/source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.js.map +1 -1
- package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.d.ts +3 -3
- package/dist/source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.d.ts +8 -10
- package/dist/source/interfaces/alarms_and_conditions/ua_limit_alarm_ex.d.ts +4 -6
- package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.d.ts +5 -5
- package/dist/source/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.d.ts +3 -3
- package/dist/source/interfaces/data_access/ua_multistate_discrete_ex.d.ts +7 -7
- package/dist/source/interfaces/data_access/ua_multistate_value_discrete_ex.d.ts +5 -8
- package/dist/source/interfaces/data_access/ua_two_state_discrete_ex.d.ts +5 -5
- package/dist/source/interfaces/data_access/ua_y_array_item_ex.d.ts +3 -3
- package/dist/source/interfaces/extension_object_constructor.d.ts +3 -3
- package/dist/source/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.d.ts +3 -3
- package/dist/source/interfaces/state_machine/ua_finite_state_machine_type.d.ts +2 -2
- package/dist/source/interfaces/state_machine/ua_program_state_machine_type.d.ts +3 -3
- package/dist/source/interfaces/state_machine/ua_shelved_state_machine_ex.d.ts +6 -6
- package/dist/source/interfaces/state_machine/ua_state_machine_type.d.ts +7 -6
- package/dist/source/interfaces/state_machine/ua_state_machine_type.js +4 -0
- package/dist/source/interfaces/state_machine/ua_state_machine_type.js.map +1 -1
- package/dist/source/interfaces/state_machine/ua_transition_ex.d.ts +2 -2
- package/dist/source/interfaces/ua_subscription_diagnostics_variable_ex.d.ts +2 -2
- package/dist/source/interfaces/ua_subscription_diagnostics_variable_ex.js +3 -0
- package/dist/source/interfaces/ua_subscription_diagnostics_variable_ex.js.map +1 -1
- package/dist/source/loader/decode_xml_extension_object.d.ts +4 -4
- package/dist/source/loader/decode_xml_extension_object.js +3 -3
- package/dist/source/loader/decode_xml_extension_object.js.map +1 -1
- package/dist/source/loader/ensure_datatype_extracted.d.ts +2 -2
- package/dist/source/loader/ensure_datatype_extracted.js +5 -5
- package/dist/source/loader/ensure_datatype_extracted.js.map +1 -1
- package/dist/source/loader/generateAddressSpaceRaw.d.ts +3 -3
- package/dist/source/loader/generateAddressSpaceRaw.js +6 -6
- package/dist/source/loader/generateAddressSpaceRaw.js.map +1 -1
- package/dist/source/loader/load_nodeset2.js.map +1 -1
- package/dist/source/loader/make_xml_extension_object_parser.d.ts +2 -2
- package/dist/source/loader/make_xml_extension_object_parser.js +19 -19
- package/dist/source/loader/make_xml_extension_object_parser.js.map +1 -1
- package/dist/source/loader/namespace_post_step.d.ts +1 -1
- package/dist/source/loader/namespace_post_step.js.map +1 -1
- package/dist/source/loader/parsers/extension_object_parser.d.ts +4 -4
- package/dist/source/loader/parsers/extension_object_parser.js +22 -23
- package/dist/source/loader/parsers/extension_object_parser.js.map +1 -1
- package/dist/source/loader/parsers/localized_text_parser.d.ts +2 -2
- package/dist/source/loader/parsers/localized_text_parser.js.map +1 -1
- package/dist/source/loader/parsers/nodeid_parser.d.ts +1 -1
- package/dist/source/loader/parsers/nodeid_parser.js.map +1 -1
- package/dist/source/loader/parsers/qualified_name_parser.d.ts +3 -3
- package/dist/source/loader/parsers/qualified_name_parser.js.map +1 -1
- package/dist/source/loader/parsers/variant_parser.d.ts +5 -5
- package/dist/source/loader/parsers/variant_parser.js +13 -13
- package/dist/source/loader/parsers/variant_parser.js.map +1 -1
- package/dist/source/loader/register_node_promoter.d.ts +1 -1
- package/dist/source/loader/register_node_promoter.js.map +1 -1
- package/dist/source/namespace.d.ts +4 -4
- package/dist/source/namespace_alarm_and_condition.d.ts +22 -21
- package/dist/source/namespace_data_access.d.ts +11 -11
- package/dist/source/namespace_machine_state.d.ts +4 -4
- package/dist/source/pseudo_session.d.ts +8 -5
- package/dist/source/pseudo_session.js +28 -28
- package/dist/source/pseudo_session.js.map +1 -1
- package/dist/source/session_context.js +1 -1
- package/dist/source/session_context.js.map +1 -1
- package/dist/source/set_namespace_meta_data.d.ts +1 -1
- package/dist/source/set_namespace_meta_data.js +1 -1
- package/dist/source/set_namespace_meta_data.js.map +1 -1
- package/dist/source/ua_addin.d.ts +3 -3
- package/dist/source/ua_addin.js +1 -1
- package/dist/source/ua_addin.js.map +1 -1
- package/dist/source/ua_interface.js +4 -1
- package/dist/source/ua_interface.js.map +1 -1
- package/dist/source/ua_root_folder.d.ts +1 -1
- package/dist/source/ua_two_state_variable_ex.d.ts +5 -5
- package/dist/src/_instantiate_helpers.js +1 -1
- package/dist/src/_instantiate_helpers.js.map +1 -1
- package/dist/src/_mandatory_child_or_requested_optional_filter.d.ts +2 -2
- package/dist/src/_mandatory_child_or_requested_optional_filter.js +7 -8
- package/dist/src/_mandatory_child_or_requested_optional_filter.js.map +1 -1
- package/dist/src/address_space.js +5 -6
- package/dist/src/address_space.js.map +1 -1
- package/dist/src/address_space_change_event_tools.d.ts +3 -3
- package/dist/src/address_space_change_event_tools.js +8 -10
- package/dist/src/address_space_change_event_tools.js.map +1 -1
- package/dist/src/address_space_private.d.ts +11 -11
- package/dist/src/address_space_private.js +3 -0
- package/dist/src/address_space_private.js.map +1 -1
- package/dist/src/alarms_and_conditions/condition.js.map +1 -1
- package/dist/src/alarms_and_conditions/condition_info_impl.d.ts +6 -6
- package/dist/src/alarms_and_conditions/condition_info_impl.js +6 -15
- package/dist/src/alarms_and_conditions/condition_info_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/condition_snapshot_impl.d.ts +10 -10
- package/dist/src/alarms_and_conditions/condition_snapshot_impl.js +76 -47
- package/dist/src/alarms_and_conditions/condition_snapshot_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/deviation_alarm_helper.d.ts +8 -5
- package/dist/src/alarms_and_conditions/deviation_alarm_helper.js +15 -9
- package/dist/src/alarms_and_conditions/deviation_alarm_helper.js.map +1 -1
- package/dist/src/alarms_and_conditions/index.d.ts +3 -3
- package/dist/src/alarms_and_conditions/index.js +3 -3
- package/dist/src/alarms_and_conditions/index.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.d.ts +21 -14
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js +26 -21
- package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.d.ts +6 -7
- package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.js +30 -28
- package/dist/src/alarms_and_conditions/ua_alarm_condition_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_base_event_impl.d.ts +9 -11
- package/dist/src/alarms_and_conditions/ua_base_event_impl.js +10 -10
- package/dist/src/alarms_and_conditions/ua_base_event_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm_impl.d.ts +3 -1
- package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm_impl.js +6 -5
- package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_condition_impl.d.ts +16 -42
- package/dist/src/alarms_and_conditions/ua_condition_impl.js +100 -82
- package/dist/src/alarms_and_conditions/ua_condition_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.d.ts +12 -7
- package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.js +9 -8
- package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.d.ts +18 -18
- package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.js +16 -18
- package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.d.ts +4 -4
- package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.js +2 -2
- package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.d.ts +10 -9
- package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js +20 -19
- package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.d.ts +2 -4
- package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.d.ts +12 -38
- package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js +50 -65
- package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.d.ts +15 -17
- package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.js +15 -11
- package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.js.map +1 -1
- package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.d.ts +22 -15
- package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.js +35 -24
- 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.d.ts +15 -16
- package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.js +19 -14
- 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.d.ts +4 -4
- package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.js +1 -1
- package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.js.map +1 -1
- package/dist/src/apply_condition_refresh.d.ts +4 -4
- package/dist/src/apply_condition_refresh.js +1 -1
- package/dist/src/apply_condition_refresh.js.map +1 -1
- package/dist/src/base_node_impl.d.ts +4 -6
- package/dist/src/base_node_impl.js +3 -3
- package/dist/src/base_node_impl.js.map +1 -1
- package/dist/src/base_node_private.js +1 -2
- package/dist/src/base_node_private.js.map +1 -1
- package/dist/src/check_value_rank_compatibility.js +10 -6
- package/dist/src/check_value_rank_compatibility.js.map +1 -1
- package/dist/src/data_access/add_dataItem_stuff.d.ts +1 -1
- package/dist/src/data_access/add_dataItem_stuff.js +2 -22
- package/dist/src/data_access/add_dataItem_stuff.js.map +1 -1
- package/dist/src/data_access/adjust_datavalue_status_code.d.ts +6 -3
- package/dist/src/data_access/adjust_datavalue_status_code.js +3 -3
- package/dist/src/data_access/adjust_datavalue_status_code.js.map +1 -1
- package/dist/src/data_access/ua_multistate_discrete_impl.d.ts +13 -11
- package/dist/src/data_access/ua_multistate_discrete_impl.js +28 -23
- package/dist/src/data_access/ua_multistate_discrete_impl.js.map +1 -1
- package/dist/src/data_access/ua_multistate_value_discrete_impl.d.ts +19 -23
- package/dist/src/data_access/ua_multistate_value_discrete_impl.js +31 -31
- package/dist/src/data_access/ua_multistate_value_discrete_impl.js.map +1 -1
- package/dist/src/data_access/ua_two_state_discrete_impl.d.ts +10 -16
- package/dist/src/data_access/ua_two_state_discrete_impl.js +18 -14
- package/dist/src/data_access/ua_two_state_discrete_impl.js.map +1 -1
- package/dist/src/event_data.js.map +1 -1
- package/dist/src/extension_object_array_node.d.ts +5 -2
- package/dist/src/extension_object_array_node.js +21 -24
- package/dist/src/extension_object_array_node.js.map +1 -1
- package/dist/src/get_basic_datatype.d.ts +2 -2
- package/dist/src/get_basic_datatype.js.map +1 -1
- package/dist/src/historical_access/address_space_historical_data_node.d.ts +3 -3
- package/dist/src/historical_access/address_space_historical_data_node.js +24 -17
- package/dist/src/historical_access/address_space_historical_data_node.js.map +1 -1
- package/dist/src/idx_iterator.js +1 -1
- package/dist/src/idx_iterator.js.map +1 -1
- package/dist/src/index_current.d.ts +31 -31
- package/dist/src/index_current.js +45 -45
- package/dist/src/index_current.js.map +1 -1
- package/dist/src/namespace_impl.d.ts +4 -3
- package/dist/src/namespace_impl.js +17 -14
- package/dist/src/namespace_impl.js.map +1 -1
- package/dist/src/namespace_private.js.map +1 -1
- package/dist/src/nodeid_manager.d.ts +3 -3
- package/dist/src/nodeid_manager.js +19 -16
- package/dist/src/nodeid_manager.js.map +1 -1
- package/dist/src/nodeset_tools/adjust_namespace_array.d.ts +1 -1
- package/dist/src/nodeset_tools/construct_namespace_dependency.d.ts +2 -2
- package/dist/src/nodeset_tools/construct_namespace_dependency.js +22 -9
- package/dist/src/nodeset_tools/construct_namespace_dependency.js.map +1 -1
- package/dist/src/nodeset_tools/dump_to_bsd.d.ts +1 -1
- package/dist/src/nodeset_tools/dump_to_bsd.js +15 -11
- package/dist/src/nodeset_tools/dump_to_bsd.js.map +1 -1
- package/dist/src/nodeset_tools/nodeset_to_xml.d.ts +5 -3
- package/dist/src/nodeset_tools/nodeset_to_xml.js +69 -72
- package/dist/src/nodeset_tools/nodeset_to_xml.js.map +1 -1
- package/dist/src/private_namespace.d.ts +2 -2
- package/dist/src/private_namespace.js.map +1 -1
- package/dist/src/reference_impl.d.ts +2 -2
- package/dist/src/reference_impl.js +9 -11
- package/dist/src/reference_impl.js.map +1 -1
- package/dist/src/role_permissions.d.ts +1 -1
- package/dist/src/role_permissions.js.map +1 -1
- package/dist/src/state_machine/finite_state_machine.d.ts +11 -14
- package/dist/src/state_machine/finite_state_machine.js +36 -30
- package/dist/src/state_machine/finite_state_machine.js.map +1 -1
- package/dist/src/state_machine/ua_shelving_state_machine_ex.d.ts +8 -6
- package/dist/src/state_machine/ua_shelving_state_machine_ex.js +16 -18
- package/dist/src/state_machine/ua_shelving_state_machine_ex.js.map +1 -1
- package/dist/src/state_machine/ua_two_state_variable.d.ts +12 -11
- package/dist/src/state_machine/ua_two_state_variable.js +24 -29
- package/dist/src/state_machine/ua_two_state_variable.js.map +1 -1
- package/dist/src/tool_isSubtypeOf.d.ts +5 -5
- package/dist/src/tool_isSubtypeOf.js +21 -18
- package/dist/src/tool_isSubtypeOf.js.map +1 -1
- package/dist/src/ua_condition_type.d.ts +1 -1
- package/dist/src/ua_data_type_impl.js.map +1 -1
- package/dist/src/ua_method_impl.d.ts +9 -5
- package/dist/src/ua_method_impl.js +1 -1
- package/dist/src/ua_method_impl.js.map +1 -1
- package/dist/src/ua_object_impl.d.ts +7 -5
- package/dist/src/ua_object_impl.js +13 -11
- package/dist/src/ua_object_impl.js.map +1 -1
- package/dist/src/ua_object_type_impl.d.ts +7 -5
- package/dist/src/ua_object_type_impl.js +4 -5
- package/dist/src/ua_object_type_impl.js.map +1 -1
- package/dist/src/ua_reference_type_impl.d.ts +6 -8
- package/dist/src/ua_reference_type_impl.js +16 -14
- package/dist/src/ua_reference_type_impl.js.map +1 -1
- package/dist/src/ua_variable_impl.d.ts +43 -45
- package/dist/src/ua_variable_impl.js +99 -83
- package/dist/src/ua_variable_impl.js.map +1 -1
- package/dist/src/ua_variable_impl_ext_obj.d.ts +3 -3
- package/dist/src/ua_variable_impl_ext_obj.js +37 -29
- package/dist/src/ua_variable_impl_ext_obj.js.map +1 -1
- package/dist/src/ua_variable_type_impl.d.ts +11 -11
- package/dist/src/ua_variable_type_impl.js +13 -21
- package/dist/src/ua_variable_type_impl.js.map +1 -1
- package/dist/src/ua_view_impl.d.ts +3 -4
- package/dist/src/ua_view_impl.js +5 -6
- package/dist/src/ua_view_impl.js.map +1 -1
- package/dist/src/validate_data_type_correctness.d.ts +2 -2
- package/dist/src/validate_data_type_correctness.js +12 -3
- package/dist/src/validate_data_type_correctness.js.map +1 -1
- package/dist/tsconfig_base.tsbuildinfo +1 -1
- package/distHelpers/add_event_generator_object.d.ts +5 -2
- package/distHelpers/add_event_generator_object.js +2 -2
- package/distHelpers/add_event_generator_object.js.map +1 -1
- package/distHelpers/alarms_and_conditions_demo.d.ts +1 -1
- package/distHelpers/alarms_and_conditions_demo.js +4 -6
- package/distHelpers/alarms_and_conditions_demo.js.map +1 -1
- package/distHelpers/assertHasMatchingReference.d.ts +1 -1
- package/distHelpers/assertHasMatchingReference.js +2 -2
- package/distHelpers/assertHasMatchingReference.js.map +1 -1
- package/distHelpers/boiler_system.d.ts +6 -3
- package/distHelpers/boiler_system.js +44 -42
- package/distHelpers/boiler_system.js.map +1 -1
- package/distHelpers/create_minimalist_address_space_nodeset.d.ts +1 -1
- package/distHelpers/create_minimalist_address_space_nodeset.js +25 -27
- package/distHelpers/create_minimalist_address_space_nodeset.js.map +1 -1
- package/distHelpers/get_address_space_fixture.js +1 -1
- package/distHelpers/get_address_space_fixture.js.map +1 -1
- package/distHelpers/mock_session.d.ts +7 -7
- package/distHelpers/mock_session.js +4 -4
- package/distHelpers/mock_session.js.map +1 -1
- package/distNodeJS/generate_address_space.d.ts +2 -2
- package/distNodeJS/generate_address_space.js +2 -2
- package/distNodeJS/generate_address_space.js.map +1 -1
- package/package.json +36 -36
- package/source/address_space_ts.ts +29 -30
- package/source/continuation_points/continuation_point_manager.ts +8 -7
- package/source/helpers/adjust_browse_direction.ts +1 -1
- package/source/helpers/argument_list.ts +37 -25
- package/source/helpers/call_helpers.ts +10 -15
- package/source/helpers/coerce_enum_value.ts +4 -4
- package/source/helpers/dump_tools.ts +6 -11
- package/source/helpers/ensure_secure_access.ts +2 -2
- package/source/helpers/make_optionals_map.ts +3 -10
- package/source/helpers/multiform_func.ts +1 -1
- package/source/helpers/resolve_opaque_on_address_space.ts +2 -2
- package/source/index.ts +44 -54
- package/source/interfaces/alarms_and_conditions/condition_info_i.ts +3 -4
- package/source/interfaces/alarms_and_conditions/condition_snapshot.ts +13 -13
- package/source/interfaces/alarms_and_conditions/deviation_stuff.ts +8 -10
- package/source/interfaces/alarms_and_conditions/install_setpoint_options.ts +4 -5
- package/source/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.ts +4 -6
- package/source/interfaces/alarms_and_conditions/instantiate_condition_options.ts +3 -3
- package/source/interfaces/alarms_and_conditions/instantiate_exclusive_deviation_alarm_options.ts +2 -2
- package/source/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options.ts +2 -2
- package/source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options.ts +6 -3
- package/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_deviation_alarm_options.ts +2 -2
- package/source/interfaces/alarms_and_conditions/instantiate_non_exclusive_limit_alarm_options.ts +2 -2
- package/source/interfaces/alarms_and_conditions/instantiate_off_normal_alarm_options.ts +11 -11
- package/source/interfaces/alarms_and_conditions/ua_acknowledgeable_condition_ex.ts +11 -25
- package/source/interfaces/alarms_and_conditions/ua_alarm_condition_ex.ts +16 -13
- package/source/interfaces/alarms_and_conditions/ua_base_event_ex.ts +12 -0
- package/source/interfaces/alarms_and_conditions/ua_certificate_expiration_alarm_ex.ts +5 -5
- package/source/interfaces/alarms_and_conditions/ua_condition_ex.ts +30 -54
- package/source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.ts +3 -34
- package/source/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex.ts +18 -22
- package/source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex.ts +8 -15
- package/source/interfaces/alarms_and_conditions/ua_limit_alarm_ex.ts +4 -7
- package/source/interfaces/alarms_and_conditions/ua_non_exclusive_deviation_alarm_ex.ts +5 -6
- package/source/interfaces/alarms_and_conditions/ua_non_exclusive_limit_alarm_ex.ts +3 -3
- package/source/interfaces/data_access/ua_multistate_discrete_ex.ts +9 -16
- package/source/interfaces/data_access/ua_multistate_value_discrete_ex.ts +5 -8
- package/source/interfaces/data_access/ua_two_state_discrete_ex.ts +5 -5
- package/source/interfaces/data_access/ua_y_array_item_ex.ts +3 -3
- package/source/interfaces/extension_object_constructor.ts +3 -4
- package/source/interfaces/i_condition_variable_type_setter_options.ts +1 -3
- package/source/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.ts +3 -3
- package/source/interfaces/state_machine/ua_finite_state_machine_type.ts +2 -2
- package/source/interfaces/state_machine/ua_program_state_machine_type.ts +3 -3
- package/source/interfaces/state_machine/ua_shelved_state_machine_ex.ts +10 -7
- package/source/interfaces/state_machine/ua_state_machine_type.ts +11 -8
- package/source/interfaces/state_machine/ua_transition_ex.ts +2 -2
- package/source/interfaces/ua_subscription_diagnostics_variable_ex.ts +3 -2
- package/source/loader/decode_xml_extension_object.ts +7 -7
- package/source/loader/ensure_datatype_extracted.ts +14 -19
- package/source/loader/generateAddressSpaceRaw.ts +12 -13
- package/source/loader/load_nodeset2.ts +3 -3
- package/source/loader/make_xml_extension_object_parser.ts +55 -39
- package/source/loader/namespace_post_step.ts +3 -4
- package/source/loader/parsers/extension_object_parser.ts +63 -62
- package/source/loader/parsers/localized_text_parser.ts +3 -3
- package/source/loader/parsers/nodeid_parser.ts +2 -3
- package/source/loader/parsers/qualified_name_parser.ts +6 -7
- package/source/loader/parsers/variant_parser.ts +48 -55
- package/source/loader/register_node_promoter.ts +2 -2
- package/source/namespace.ts +4 -4
- package/source/namespace_alarm_and_condition.ts +22 -22
- package/source/namespace_data_access.ts +12 -13
- package/source/namespace_machine_state.ts +10 -5
- package/source/pseudo_session.ts +53 -50
- package/source/session_context.ts +1 -1
- package/source/set_namespace_meta_data.ts +3 -3
- package/source/ua_addin.ts +10 -11
- package/source/ua_interface.ts +10 -7
- package/source/ua_root_folder.ts +1 -1
- package/source/ua_two_state_variable_ex.ts +5 -5
- package/source_nodejs/generate_address_space.ts +5 -9
- package/src/_instantiate_helpers.ts +26 -16
- package/src/_mandatory_child_or_requested_optional_filter.ts +16 -15
- package/src/address_space.ts +24 -33
- package/src/address_space_change_event_tools.ts +25 -30
- package/src/address_space_private.ts +20 -21
- package/src/alarms_and_conditions/condition.ts +0 -2
- package/src/alarms_and_conditions/condition_info_impl.ts +11 -19
- package/src/alarms_and_conditions/condition_snapshot_impl.ts +106 -82
- package/src/alarms_and_conditions/deviation_alarm_helper.ts +20 -15
- package/src/alarms_and_conditions/index.ts +3 -3
- package/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.ts +44 -32
- package/src/alarms_and_conditions/ua_alarm_condition_impl.ts +35 -34
- package/src/alarms_and_conditions/ua_base_event_impl.ts +15 -19
- package/src/alarms_and_conditions/ua_certificate_expiration_alarm_impl.ts +6 -2
- package/src/alarms_and_conditions/ua_condition_impl.ts +140 -130
- package/src/alarms_and_conditions/ua_discrete_alarm_impl.ts +20 -12
- package/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.ts +40 -43
- package/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.ts +7 -7
- package/src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.ts +28 -30
- package/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.ts +3 -6
- package/src/alarms_and_conditions/ua_limit_alarm_impl.ts +59 -90
- package/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm_impl.ts +31 -27
- package/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.ts +57 -36
- package/src/alarms_and_conditions/ua_off_normal_alarm_impl.ts +31 -27
- package/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.ts +6 -6
- package/src/apply_condition_refresh.ts +7 -8
- package/src/base_node_impl.ts +63 -44
- package/src/base_node_private.ts +12 -4
- package/src/check_value_rank_compatibility.ts +18 -14
- package/src/data_access/add_dataItem_stuff.ts +3 -4
- package/src/data_access/adjust_datavalue_status_code.ts +7 -7
- package/src/data_access/ua_multistate_discrete_impl.ts +44 -28
- package/src/data_access/ua_multistate_value_discrete_impl.ts +77 -66
- package/src/data_access/ua_two_state_discrete_impl.ts +29 -36
- package/src/event_data.ts +53 -53
- package/src/extension_object_array_node.ts +27 -28
- package/src/get_basic_datatype.ts +4 -5
- package/src/historical_access/address_space_historical_data_node.ts +65 -50
- package/src/idx_iterator.ts +4 -12
- package/src/index_current.ts +33 -45
- package/src/namespace_impl.ts +75 -62
- package/src/namespace_private.ts +2 -8
- package/src/nodeid_manager.ts +30 -27
- package/src/nodeset_tools/adjust_namespace_array.ts +1 -1
- package/src/nodeset_tools/construct_namespace_dependency.ts +30 -18
- package/src/nodeset_tools/dump_to_bsd.ts +27 -22
- package/src/nodeset_tools/nodeset_to_xml.ts +100 -119
- package/src/private_namespace.ts +3 -6
- package/src/reference_impl.ts +11 -14
- package/src/role_permissions.ts +1 -1
- package/src/state_machine/finite_state_machine.ts +60 -61
- package/src/state_machine/ua_shelving_state_machine_ex.ts +23 -23
- package/src/state_machine/ua_two_state_variable.ts +34 -31
- package/src/tool_isSubtypeOf.ts +48 -33
- package/src/ua_condition_type.ts +1 -1
- package/src/ua_data_type_impl.ts +12 -13
- package/src/ua_method_impl.ts +17 -12
- package/src/ua_object_impl.ts +38 -33
- package/src/ua_object_type_impl.ts +22 -22
- package/src/ua_reference_type_impl.ts +19 -19
- package/src/ua_variable_impl.ts +240 -220
- package/src/ua_variable_impl_ext_obj.ts +63 -50
- package/src/ua_variable_type_impl.ts +43 -49
- package/src/ua_view_impl.ts +5 -5
- package/src/validate_data_type_correctness.ts +17 -8
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-address-space.AlarmsAndConditions
|
|
3
|
+
*/
|
|
4
|
+
import type { INamespace, UAEventType } from "node-opcua-address-space-base";
|
|
5
|
+
import type { NodeId } from "node-opcua-nodeid";
|
|
6
|
+
import type { VariantOptions } from "node-opcua-variant";
|
|
7
|
+
import type { InstantiateAlarmConditionOptions } from "../../source/interfaces/alarms_and_conditions/instantiate_alarm_condition_options.js";
|
|
8
|
+
import type { UADiscreteAlarmEx } from "../../source/interfaces/alarms_and_conditions/ua_discrete_alarm_ex.js";
|
|
9
|
+
import { UAAlarmConditionImplBase } from "./ua_alarm_condition_impl.js";
|
|
7
10
|
/**
|
|
8
11
|
* The DiscreteAlarmType is used to classify Types into Alarm Conditions where the input for the
|
|
9
12
|
* Alarm may take on only a certain number of possible values (e.g. true/false,
|
|
10
13
|
* running/stopped/terminating).
|
|
11
14
|
*/
|
|
12
|
-
export declare class
|
|
15
|
+
export declare class UADiscreteAlarmImplBase extends UAAlarmConditionImplBase {
|
|
13
16
|
static instantiate(namespace: INamespace, discreteAlarmTypeId: UAEventType | NodeId | string, options: InstantiateAlarmConditionOptions, data?: Record<string, VariantOptions>): UADiscreteAlarmImpl;
|
|
14
17
|
}
|
|
18
|
+
export type UADiscreteAlarmImpl = UADiscreteAlarmImplBase & UADiscreteAlarmEx;
|
|
19
|
+
export declare const UADiscreteAlarmImpl: UADiscreteAlarmImpl;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UADiscreteAlarmImpl = void 0;
|
|
4
2
|
/**
|
|
5
3
|
* @module node-opcua-address-space.AlarmsAndConditions
|
|
6
4
|
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UADiscreteAlarmImpl = exports.UADiscreteAlarmImplBase = void 0;
|
|
7
7
|
const node_opcua_assert_1 = require("node-opcua-assert");
|
|
8
|
-
const
|
|
8
|
+
const ua_alarm_condition_impl_js_1 = require("./ua_alarm_condition_impl.js");
|
|
9
9
|
/**
|
|
10
10
|
* The DiscreteAlarmType is used to classify Types into Alarm Conditions where the input for the
|
|
11
11
|
* Alarm may take on only a certain number of possible values (e.g. true/false,
|
|
12
12
|
* running/stopped/terminating).
|
|
13
13
|
*/
|
|
14
|
-
class
|
|
14
|
+
class UADiscreteAlarmImplBase extends ua_alarm_condition_impl_js_1.UAAlarmConditionImplBase {
|
|
15
15
|
static instantiate(namespace, discreteAlarmTypeId, options, data) {
|
|
16
16
|
const addressSpace = namespace.addressSpace;
|
|
17
17
|
const discreteAlarmType = addressSpace.findEventType(discreteAlarmTypeId);
|
|
18
18
|
/* c8 ignore next */
|
|
19
19
|
if (!discreteAlarmType) {
|
|
20
|
-
throw new Error(
|
|
20
|
+
throw new Error(` cannot find Condition Type for ${discreteAlarmType}`);
|
|
21
21
|
}
|
|
22
22
|
const discreteAlarmTypeBase = addressSpace.findObjectType("DiscreteAlarmType");
|
|
23
23
|
(0, node_opcua_assert_1.assert)(discreteAlarmTypeBase, "expecting DiscreteAlarmType - please check you nodeset xml file!");
|
|
@@ -26,10 +26,11 @@ class UADiscreteAlarmImpl extends ua_alarm_condition_impl_1.UAAlarmConditionImpl
|
|
|
26
26
|
if (!discreteAlarmType.isSubtypeOf(discreteAlarmTypeBase)) {
|
|
27
27
|
throw new Error("UADiscreteAlarm.instantiate : event found is not subType of DiscreteAlarmType");
|
|
28
28
|
}
|
|
29
|
-
const alarmNode =
|
|
30
|
-
Object.setPrototypeOf(alarmNode,
|
|
29
|
+
const alarmNode = ua_alarm_condition_impl_js_1.UAAlarmConditionImplBase.instantiate(namespace, discreteAlarmType.nodeId, options, data);
|
|
30
|
+
Object.setPrototypeOf(alarmNode, UADiscreteAlarmImplBase.prototype);
|
|
31
31
|
return alarmNode;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
34
|
+
exports.UADiscreteAlarmImplBase = UADiscreteAlarmImplBase;
|
|
35
|
+
exports.UADiscreteAlarmImpl = UADiscreteAlarmImplBase;
|
|
35
36
|
//# sourceMappingURL=ua_discrete_alarm_impl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ua_discrete_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_discrete_alarm_impl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ua_discrete_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_discrete_alarm_impl.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,yDAA2C;AAM3C,6EAAwE;AACxE;;;;GAIG;AACH,MAAa,uBAAwB,SAAQ,qDAAwB;IAC1D,MAAM,CAAC,WAAW,CACrB,SAAqB,EACrB,mBAAkD,EAClD,OAAyC,EACzC,IAAqC;QAErC,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC;QAE5C,MAAM,iBAAiB,GAAG,YAAY,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;QAC1E,oBAAoB;QACpB,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,mCAAmC,iBAAiB,EAAE,CAAC,CAAC;QAC5E,CAAC;QAED,MAAM,qBAAqB,GAAG,YAAY,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;QAC/E,IAAA,0BAAM,EAAC,qBAAqB,EAAE,kEAAkE,CAAC,CAAC;QAElG,6DAA6D;QAC7D,oBAAoB;QACpB,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,qBAA4B,CAAC,EAAE,CAAC;YAC/D,MAAM,IAAI,KAAK,CAAC,+EAA+E,CAAC,CAAC;QACrG,CAAC;QAED,MAAM,SAAS,GAAG,qDAAwB,CAAC,WAAW,CAClD,SAAS,EACT,iBAAiB,CAAC,MAAM,EACxB,OAAO,EACP,IAAI,CACwB,CAAC;QACjC,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;QAEpE,OAAO,SAA4C,CAAC;IACxD,CAAC;CACJ;AAlCD,0DAkCC;AAEY,QAAA,mBAAmB,GAAG,uBAAyD,CAAC"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { UAVariableT } from "node-opcua-address-space-base";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export declare class UAExclusiveDeviationAlarmImpl extends UAExclusiveLimitAlarmImpl implements UAExclusiveDeviationAlarmEx {
|
|
17
|
-
static instantiate(namespace: NamespacePrivate, type: string | NodeId, options: InstantiateExclusiveLimitAlarmOptions, data?: Record<string, VariantOptions>): UAExclusiveDeviationAlarmImpl;
|
|
1
|
+
/**
|
|
2
|
+
* @module node-opcua-address-space.AlarmsAndConditions
|
|
3
|
+
*/
|
|
4
|
+
import type { UAVariableT } from "node-opcua-address-space-base";
|
|
5
|
+
import type { DataValue } from "node-opcua-data-value";
|
|
6
|
+
import type { NodeId } from "node-opcua-nodeid";
|
|
7
|
+
import type { DataType, VariantOptions } from "node-opcua-variant";
|
|
8
|
+
import type { InstallSetPointOptions, SetPointSupport } from "../../source/interfaces/alarms_and_conditions/install_setpoint_options";
|
|
9
|
+
import type { InstantiateExclusiveLimitAlarmOptions } from "../../source/interfaces/alarms_and_conditions/instantiate_exclusive_limit_alarm_options";
|
|
10
|
+
import type { UAExclusiveDeviationAlarmEx } from "../../source/interfaces/alarms_and_conditions/ua_exclusive_deviation_alarm_ex";
|
|
11
|
+
import type { NamespacePrivate } from "../namespace_private";
|
|
12
|
+
import { UAExclusiveLimitAlarmImplBase } from "./ua_exclusive_limit_alarm_impl";
|
|
13
|
+
export declare class UAExclusiveDeviationAlarmImplBase extends UAExclusiveLimitAlarmImplBase {
|
|
14
|
+
static instantiate(namespace: NamespacePrivate, type: string | NodeId, options: InstantiateExclusiveLimitAlarmOptions & InstallSetPointOptions, data?: Record<string, VariantOptions>): UAExclusiveDeviationAlarmImpl;
|
|
15
|
+
private get $16();
|
|
18
16
|
getSetpointNodeNode(): UAVariableT<number, DataType.Double> | UAVariableT<number, DataType.Float> | undefined;
|
|
19
17
|
getSetpointValue(): number | null;
|
|
20
18
|
_onSetpointDataValueChange(dataValue: DataValue): void;
|
|
21
|
-
_install_setpoint(options: InstallSetPointOptions):
|
|
19
|
+
_install_setpoint(options: InstallSetPointOptions): void;
|
|
22
20
|
_setStateBasedOnInputValue(value: number): void;
|
|
23
21
|
}
|
|
22
|
+
export type UAExclusiveDeviationAlarmImpl = UAExclusiveDeviationAlarmImplBase & UAExclusiveDeviationAlarmEx;
|
|
23
|
+
export declare const UAExclusiveDeviationAlarmImpl: new () => UAExclusiveDeviationAlarmImpl;
|
|
24
24
|
export interface UAExclusiveDeviationAlarmHelper extends SetPointSupport {
|
|
25
25
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UAExclusiveDeviationAlarmImpl = void 0;
|
|
4
2
|
/**
|
|
5
3
|
* @module node-opcua-address-space.AlarmsAndConditions
|
|
6
4
|
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UAExclusiveDeviationAlarmImpl = exports.UAExclusiveDeviationAlarmImplBase = void 0;
|
|
7
7
|
const node_opcua_assert_1 = require("node-opcua-assert");
|
|
8
8
|
const deviation_alarm_helper_1 = require("./deviation_alarm_helper");
|
|
9
9
|
const ua_exclusive_limit_alarm_impl_1 = require("./ua_exclusive_limit_alarm_impl");
|
|
10
10
|
const ua_limit_alarm_impl_1 = require("./ua_limit_alarm_impl");
|
|
11
|
-
class
|
|
11
|
+
class UAExclusiveDeviationAlarmImplBase extends ua_exclusive_limit_alarm_impl_1.UAExclusiveLimitAlarmImplBase {
|
|
12
12
|
static instantiate(namespace, type, options, data) {
|
|
13
13
|
const addressSpace = namespace.addressSpace;
|
|
14
14
|
const exclusiveDeviationAlarmType = addressSpace.findEventType("ExclusiveDeviationAlarmType");
|
|
@@ -17,41 +17,39 @@ class UAExclusiveDeviationAlarmImpl extends ua_exclusive_limit_alarm_impl_1.UAEx
|
|
|
17
17
|
throw new Error("cannot find ExclusiveDeviationAlarmType");
|
|
18
18
|
}
|
|
19
19
|
(0, node_opcua_assert_1.assert)(type === exclusiveDeviationAlarmType.browseName.toString());
|
|
20
|
-
const alarm = ua_exclusive_limit_alarm_impl_1.
|
|
21
|
-
Object.setPrototypeOf(alarm, UAExclusiveDeviationAlarmImpl.prototype);
|
|
22
|
-
(0, node_opcua_assert_1.assert)(alarm instanceof UAExclusiveDeviationAlarmImpl);
|
|
20
|
+
const alarm = ua_exclusive_limit_alarm_impl_1.UAExclusiveLimitAlarmImplBase.instantiate(namespace, type, options, data);
|
|
21
|
+
Object.setPrototypeOf(alarm, exports.UAExclusiveDeviationAlarmImpl.prototype);
|
|
22
|
+
(0, node_opcua_assert_1.assert)(alarm instanceof exports.UAExclusiveDeviationAlarmImpl);
|
|
23
23
|
(0, node_opcua_assert_1.assert)(alarm instanceof ua_exclusive_limit_alarm_impl_1.UAExclusiveLimitAlarmImpl);
|
|
24
24
|
(0, node_opcua_assert_1.assert)(alarm instanceof ua_limit_alarm_impl_1.UALimitAlarmImpl);
|
|
25
25
|
alarm._install_setpoint(options);
|
|
26
26
|
return alarm;
|
|
27
27
|
}
|
|
28
|
+
get $16() {
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
28
31
|
getSetpointNodeNode() {
|
|
29
|
-
return deviation_alarm_helper_1.DeviationAlarmHelper_getSetpointNodeNode.call(this);
|
|
32
|
+
return deviation_alarm_helper_1.DeviationAlarmHelper_getSetpointNodeNode.call(this.$16);
|
|
30
33
|
}
|
|
31
34
|
getSetpointValue() {
|
|
32
|
-
return deviation_alarm_helper_1.DeviationAlarmHelper_getSetpointValue.call(this);
|
|
35
|
+
return deviation_alarm_helper_1.DeviationAlarmHelper_getSetpointValue.call(this.$16);
|
|
33
36
|
}
|
|
34
37
|
_onSetpointDataValueChange(dataValue) {
|
|
35
|
-
deviation_alarm_helper_1.DeviationAlarmHelper_onSetpointDataValueChange.call(this, dataValue);
|
|
38
|
+
deviation_alarm_helper_1.DeviationAlarmHelper_onSetpointDataValueChange.call(this.$16, dataValue);
|
|
36
39
|
}
|
|
37
40
|
_install_setpoint(options) {
|
|
38
|
-
|
|
41
|
+
deviation_alarm_helper_1.DeviationAlarmHelper_install_setpoint.call(this.$16, options);
|
|
39
42
|
}
|
|
40
43
|
_setStateBasedOnInputValue(value) {
|
|
41
44
|
const setpointValue = this.getSetpointValue();
|
|
42
45
|
if (setpointValue === null) {
|
|
43
46
|
return;
|
|
44
47
|
}
|
|
45
|
-
(0, node_opcua_assert_1.assert)(isFinite(setpointValue));
|
|
48
|
+
(0, node_opcua_assert_1.assert)(Number.isFinite(setpointValue));
|
|
46
49
|
// call base class implementation
|
|
47
50
|
ua_exclusive_limit_alarm_impl_1.UAExclusiveLimitAlarmImpl.prototype._setStateBasedOnInputValue.call(this, value - setpointValue);
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
|
-
exports.
|
|
51
|
-
|
|
52
|
-
UAExclusiveDeviationAlarm.prototype.getSetpointNodeNode = DeviationAlarmHelper.getSetpointNodeNode;
|
|
53
|
-
UAExclusiveDeviationAlarm.prototype.getSetpointValue = DeviationAlarmHelper.getSetpointValue;
|
|
54
|
-
UAExclusiveDeviationAlarm.prototype._onSetpointDataValueChange = DeviationAlarmHelper._onSetpointDataValueChange;
|
|
55
|
-
UAExclusiveDeviationAlarm.prototype._install_setpoint = DeviationAlarmHelper._install_setpoint;
|
|
56
|
-
*/
|
|
53
|
+
exports.UAExclusiveDeviationAlarmImplBase = UAExclusiveDeviationAlarmImplBase;
|
|
54
|
+
exports.UAExclusiveDeviationAlarmImpl = UAExclusiveDeviationAlarmImplBase;
|
|
57
55
|
//# sourceMappingURL=ua_exclusive_deviation_alarm_impl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ua_exclusive_deviation_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ua_exclusive_deviation_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,yDAA2C;AAa3C,qEAKkC;AAElC,mFAA2G;AAC3G,+DAAyD;AAEzD,MAAa,iCAAkC,SAAQ,6DAA6B;IACzE,MAAM,CAAC,WAAW,CACrB,SAA2B,EAC3B,IAAqB,EACrB,OAAuE,EACvE,IAAqC;QAErC,MAAM,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC;QAE5C,MAAM,2BAA2B,GAAG,YAAY,CAAC,aAAa,CAAC,6BAA6B,CAAC,CAAC;QAC9F,oBAAoB;QACpB,IAAI,CAAC,2BAA2B,EAAE,CAAC;YAC/B,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;QAC/D,CAAC;QAED,IAAA,0BAAM,EAAC,IAAI,KAAK,2BAA2B,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEnE,MAAM,KAAK,GAAG,6DAA6B,CAAC,WAAW,CACnD,SAAS,EACT,IAAI,EACJ,OAAO,EACP,IAAI,CACyC,CAAC;QAClD,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,qCAA6B,CAAC,SAAS,CAAC,CAAC;QACtE,IAAA,0BAAM,EAAC,KAAK,YAAY,qCAA6B,CAAC,CAAC;QACvD,IAAA,0BAAM,EAAC,KAAK,YAAY,yDAAyB,CAAC,CAAC;QACnD,IAAA,0BAAM,EAAC,KAAK,YAAY,sCAAgB,CAAC,CAAC;QAE1C,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAEjC,OAAO,KAAsC,CAAC;IAClD,CAAC;IAED,IAAY,GAAG;QACX,OAAO,IAA+D,CAAC;IAC3E,CAAC;IACM,mBAAmB;QACtB,OAAO,iEAAwC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACnE,CAAC;IAEM,gBAAgB;QACnB,OAAO,8DAAqC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAChE,CAAC;IAEM,0BAA0B,CAAC,SAAoB;QAClD,uEAA8C,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IAC7E,CAAC;IAEM,iBAAiB,CAAC,OAA+B;QACpD,8DAAqC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEM,0BAA0B,CAAC,KAAa;QAC3C,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC9C,IAAI,aAAa,KAAK,IAAI,EAAE,CAAC;YACzB,OAAO;QACX,CAAC;QACD,IAAA,0BAAM,EAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;QACvC,iCAAiC;QACjC,yDAAyB,CAAC,SAAS,CAAC,0BAA0B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG,aAAa,CAAC,CAAC;IACrG,CAAC;CACJ;AA7DD,8EA6DC;AAEY,QAAA,6BAA6B,GACtC,iCAAuF,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module node-opcua-address-space.AlarmsAndConditions
|
|
3
3
|
*/
|
|
4
|
-
import { NodeId } from "node-opcua-nodeid";
|
|
5
|
-
import { VariantOptions } from "node-opcua-variant";
|
|
6
|
-
import { InstantiateLimitAlarmOptions } from "../../source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options";
|
|
7
|
-
import { NamespacePrivate } from "../namespace_private";
|
|
4
|
+
import type { NodeId } from "node-opcua-nodeid";
|
|
5
|
+
import type { VariantOptions } from "node-opcua-variant";
|
|
6
|
+
import type { InstantiateLimitAlarmOptions } from "../../source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options";
|
|
7
|
+
import type { NamespacePrivate } from "../namespace_private";
|
|
8
8
|
import { UAExclusiveLimitAlarmImpl } from "./ua_exclusive_limit_alarm_impl";
|
|
9
9
|
export declare class UAExclusiveLevelAlarmImpl extends UAExclusiveLimitAlarmImpl {
|
|
10
10
|
static instantiate(namespace: NamespacePrivate, type: NodeId | string, options: InstantiateLimitAlarmOptions, data?: Record<string, VariantOptions>): UAExclusiveLevelAlarmImpl;
|
|
@@ -4,8 +4,8 @@ exports.UAExclusiveLevelAlarmImpl = void 0;
|
|
|
4
4
|
const ua_exclusive_limit_alarm_impl_1 = require("./ua_exclusive_limit_alarm_impl");
|
|
5
5
|
class UAExclusiveLevelAlarmImpl extends ua_exclusive_limit_alarm_impl_1.UAExclusiveLimitAlarmImpl {
|
|
6
6
|
static instantiate(namespace, type, options, data) {
|
|
7
|
-
const
|
|
8
|
-
return ua_exclusive_limit_alarm_impl_1.
|
|
7
|
+
const _addressSpace = namespace.addressSpace;
|
|
8
|
+
return ua_exclusive_limit_alarm_impl_1.UAExclusiveLimitAlarmImplBase.instantiate(namespace, type, options, data);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
exports.UAExclusiveLevelAlarmImpl = UAExclusiveLevelAlarmImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ua_exclusive_level_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_level_alarm_impl.ts"],"names":[],"mappings":";;;AAOA,
|
|
1
|
+
{"version":3,"file":"ua_exclusive_level_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_level_alarm_impl.ts"],"names":[],"mappings":";;;AAOA,mFAA2G;AAE3G,MAAa,yBAA0B,SAAQ,yDAAyB;IAC7D,MAAM,CAAC,WAAW,CACrB,SAA2B,EAC3B,IAAqB,EACrB,OAAqC,EACrC,IAAqC;QAErC,MAAM,aAAa,GAAG,SAAS,CAAC,YAAY,CAAC;QAC7C,OAAO,6DAA6B,CAAC,WAAW,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAA8B,CAAC;IAClH,CAAC;CACJ;AAVD,8DAUC"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { UAExclusiveLimitAlarmEx } from "../../source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex";
|
|
6
|
-
import {
|
|
1
|
+
import type { UAEventType } from "node-opcua-address-space-base";
|
|
2
|
+
import type { NodeId } from "node-opcua-nodeid";
|
|
3
|
+
import type { VariantOptions } from "node-opcua-variant";
|
|
4
|
+
import type { InstantiateLimitAlarmOptions } from "../../source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options";
|
|
5
|
+
import type { UAExclusiveLimitAlarmEx } from "../../source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex";
|
|
6
|
+
import type { NamespacePrivate } from "../namespace_private";
|
|
7
7
|
import { UALimitAlarmImpl } from "./ua_limit_alarm_impl";
|
|
8
|
-
export declare
|
|
9
|
-
}
|
|
10
|
-
export declare class UAExclusiveLimitAlarmImpl extends UALimitAlarmImpl implements UAExclusiveLimitAlarmEx {
|
|
8
|
+
export declare class UAExclusiveLimitAlarmImplBase extends UALimitAlarmImpl {
|
|
11
9
|
/***
|
|
12
10
|
*
|
|
13
11
|
* @param namespace {INamespace}
|
|
@@ -17,6 +15,9 @@ export declare class UAExclusiveLimitAlarmImpl extends UALimitAlarmImpl implemen
|
|
|
17
15
|
* @return {UAExclusiveLimitAlarm}
|
|
18
16
|
*/
|
|
19
17
|
static instantiate(namespace: NamespacePrivate, type: UAEventType | string | NodeId, options: InstantiateLimitAlarmOptions, data?: Record<string, VariantOptions>): UAExclusiveLimitAlarmImpl;
|
|
18
|
+
private get $10();
|
|
20
19
|
_signalNewCondition(stateName: string | null, isActive: boolean, value: string): void;
|
|
21
20
|
_setStateBasedOnInputValue(value: number): void;
|
|
22
21
|
}
|
|
22
|
+
export type UAExclusiveLimitAlarmImpl = UAExclusiveLimitAlarmImplBase & UAExclusiveLimitAlarmEx;
|
|
23
|
+
export declare const UAExclusiveLimitAlarmImpl: new () => UAExclusiveLimitAlarmImpl;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UAExclusiveLimitAlarmImpl = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @module node-opcua-address-space.AlarmsAndConditions
|
|
6
|
-
*/
|
|
3
|
+
exports.UAExclusiveLimitAlarmImpl = exports.UAExclusiveLimitAlarmImplBase = void 0;
|
|
7
4
|
const node_opcua_assert_1 = require("node-opcua-assert");
|
|
8
5
|
const finite_state_machine_1 = require("../state_machine/finite_state_machine");
|
|
9
6
|
const ua_limit_alarm_impl_1 = require("./ua_limit_alarm_impl");
|
|
10
7
|
const validState = ["HighHigh", "High", "Low", "LowLow", null];
|
|
11
|
-
class
|
|
8
|
+
class UAExclusiveLimitAlarmImplBase extends ua_limit_alarm_impl_1.UALimitAlarmImpl {
|
|
12
9
|
/***
|
|
13
10
|
*
|
|
14
11
|
* @param namespace {INamespace}
|
|
@@ -22,45 +19,48 @@ class UAExclusiveLimitAlarmImpl extends ua_limit_alarm_impl_1.UALimitAlarmImpl {
|
|
|
22
19
|
const exclusiveAlarmType = addressSpace.findEventType(type);
|
|
23
20
|
/* c8 ignore next */
|
|
24
21
|
if (!exclusiveAlarmType) {
|
|
25
|
-
throw new Error(
|
|
22
|
+
throw new Error(` cannot find Alarm Condition Type for ${type}`);
|
|
26
23
|
}
|
|
27
24
|
const exclusiveLimitAlarmType = addressSpace.findEventType("ExclusiveLimitAlarmType");
|
|
28
25
|
/* c8 ignore next */
|
|
29
26
|
if (!exclusiveLimitAlarmType) {
|
|
30
27
|
throw new Error("cannot find ExclusiveLimitAlarmType");
|
|
31
28
|
}
|
|
32
|
-
const node = ua_limit_alarm_impl_1.
|
|
33
|
-
Object.setPrototypeOf(node,
|
|
29
|
+
const node = ua_limit_alarm_impl_1.UALimitAlarmImplBase.instantiate(namespace, type, options, data);
|
|
30
|
+
Object.setPrototypeOf(node, UAExclusiveLimitAlarmImplBase.prototype);
|
|
34
31
|
const alarm = node;
|
|
35
|
-
(0, node_opcua_assert_1.assert)(alarm instanceof UAExclusiveLimitAlarmImpl);
|
|
32
|
+
(0, node_opcua_assert_1.assert)(alarm instanceof exports.UAExclusiveLimitAlarmImpl);
|
|
36
33
|
(0, node_opcua_assert_1.assert)(alarm instanceof ua_limit_alarm_impl_1.UALimitAlarmImpl);
|
|
37
34
|
// ---------------- install LimitState StateMachine
|
|
38
|
-
(0, node_opcua_assert_1.assert)(alarm.limitState, "limitState is mandatory");
|
|
39
|
-
(0, finite_state_machine_1.promoteToStateMachine)(alarm.limitState);
|
|
35
|
+
(0, node_opcua_assert_1.assert)(alarm.$10.limitState, "limitState is mandatory");
|
|
36
|
+
(0, finite_state_machine_1.promoteToStateMachine)(alarm.$10.limitState);
|
|
40
37
|
// start with a inactive state
|
|
41
38
|
alarm.activeState.setValue(false);
|
|
42
39
|
alarm.updateState();
|
|
43
40
|
return alarm;
|
|
44
41
|
}
|
|
42
|
+
get $10() {
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
45
|
_signalNewCondition(stateName, isActive, value) {
|
|
46
46
|
(0, node_opcua_assert_1.assert)(stateName === null || typeof isActive === "boolean");
|
|
47
|
-
(0, node_opcua_assert_1.assert)(validState.indexOf(stateName) >= 0,
|
|
48
|
-
const
|
|
49
|
-
const
|
|
47
|
+
(0, node_opcua_assert_1.assert)(validState.indexOf(stateName) >= 0, `must have a valid state : ${stateName}`);
|
|
48
|
+
const _oldState = this.$10.limitState.getCurrentState();
|
|
49
|
+
const _oldActive = this.activeState.getValue();
|
|
50
50
|
if (stateName) {
|
|
51
|
-
this.limitState.setState(stateName);
|
|
51
|
+
this.$10.limitState.setState(stateName);
|
|
52
52
|
}
|
|
53
53
|
else {
|
|
54
54
|
(0, node_opcua_assert_1.assert)(stateName === null);
|
|
55
|
-
this.limitState.setState(stateName);
|
|
55
|
+
this.$10.limitState.setState(stateName);
|
|
56
56
|
}
|
|
57
57
|
super._signalNewCondition(stateName, isActive, value);
|
|
58
58
|
}
|
|
59
59
|
_setStateBasedOnInputValue(value) {
|
|
60
|
-
(0, node_opcua_assert_1.assert)(isFinite(value));
|
|
60
|
+
(0, node_opcua_assert_1.assert)(Number.isFinite(value));
|
|
61
61
|
let isActive = false;
|
|
62
62
|
let state = null;
|
|
63
|
-
const oldState = this.limitState.getCurrentState();
|
|
63
|
+
const oldState = this.$10.limitState.getCurrentState();
|
|
64
64
|
if (this.highHighLimit && this.getHighHighLimit() < value) {
|
|
65
65
|
state = "HighHigh";
|
|
66
66
|
isActive = true;
|
|
@@ -82,5 +82,6 @@ class UAExclusiveLimitAlarmImpl extends ua_limit_alarm_impl_1.UALimitAlarmImpl {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
exports.
|
|
85
|
+
exports.UAExclusiveLimitAlarmImplBase = UAExclusiveLimitAlarmImplBase;
|
|
86
|
+
exports.UAExclusiveLimitAlarmImpl = UAExclusiveLimitAlarmImplBase;
|
|
86
87
|
//# sourceMappingURL=ua_exclusive_limit_alarm_impl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ua_exclusive_limit_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ua_exclusive_limit_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_limit_alarm_impl.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module node-opcua-address-space.AlarmsAndConditions
|
|
3
3
|
*/
|
|
4
|
-
import { UAExclusiveRateOfChangeAlarm_Base } from "node-opcua-nodeset-ua";
|
|
5
|
-
import { UAExclusiveLimitAlarmEx } from "../../source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex";
|
|
4
|
+
import type { UAExclusiveRateOfChangeAlarm_Base } from "node-opcua-nodeset-ua";
|
|
5
|
+
import type { UAExclusiveLimitAlarmEx } from "../../source/interfaces/alarms_and_conditions/ua_exclusive_limit_alarm_ex";
|
|
6
6
|
import { UAExclusiveLimitAlarmImpl } from "./ua_exclusive_limit_alarm_impl";
|
|
7
7
|
export interface UAExclusiveRateOfChangeAlarmEx extends Omit<UAExclusiveRateOfChangeAlarm_Base, "ackedState" | "activeState" | "confirmedState" | "enabledState" | "latchedState" | "limitState" | "outOfServiceState" | "shelvingState" | "silenceState" | "suppressedState">, UAExclusiveLimitAlarmEx {
|
|
8
|
-
on(eventName: string, eventHandler: any): this;
|
|
9
|
-
once(eventName: string, eventHandler: any): this;
|
|
10
8
|
}
|
|
11
9
|
export declare class UAExclusiveRateOfChangeAlarmImpl extends UAExclusiveLimitAlarmImpl implements UAExclusiveRateOfChangeAlarmEx {
|
|
12
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ua_exclusive_rate_of_change_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.ts"],"names":[],"mappings":";;;AAKA,mFAA4E;
|
|
1
|
+
{"version":3,"file":"ua_exclusive_rate_of_change_alarm_impl.js","sourceRoot":"","sources":["../../../src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm_impl.ts"],"names":[],"mappings":";;;AAKA,mFAA4E;AAiB5E,MAAa,gCAAiC,SAAQ,yDAAyB;CAE9E;AAFD,4EAEC"}
|
|
@@ -1,52 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
* @module node-opcua-address-space.AlarmsAndConditions
|
|
3
|
-
*/
|
|
4
|
-
import { UAEventType } from "node-opcua-address-space-base";
|
|
1
|
+
import type { UAEventType } from "node-opcua-address-space-base";
|
|
5
2
|
import { DataValue } from "node-opcua-data-value";
|
|
6
|
-
import { NodeId } from "node-opcua-nodeid";
|
|
7
|
-
import { VariantOptions } from "node-opcua-variant";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
export declare interface UALimitAlarmImpl extends UALimitAlarmEx, UAAlarmConditionImpl {
|
|
14
|
-
on(eventName: string, eventHandler: any): this;
|
|
15
|
-
once(eventName: string, eventHandler: any): this;
|
|
16
|
-
}
|
|
17
|
-
export interface UALimitAlarmImpl extends UALimitAlarmEx {
|
|
18
|
-
shelvingState?: UAShelvedStateMachineEx;
|
|
19
|
-
}
|
|
20
|
-
export declare class UALimitAlarmImpl extends UAAlarmConditionImpl implements UALimitAlarmEx {
|
|
21
|
-
/**
|
|
22
|
-
*/
|
|
3
|
+
import type { NodeId } from "node-opcua-nodeid";
|
|
4
|
+
import { type VariantOptions } from "node-opcua-variant";
|
|
5
|
+
import type { InstantiateLimitAlarmOptions } from "../../source/interfaces/alarms_and_conditions/instantiate_limit_alarm_options";
|
|
6
|
+
import type { UALimitAlarmEx } from "../../source/interfaces/alarms_and_conditions/ua_limit_alarm_ex";
|
|
7
|
+
import type { NamespacePrivate } from "../namespace_private";
|
|
8
|
+
import { UAAlarmConditionImplBase } from "./ua_alarm_condition_impl";
|
|
9
|
+
export declare class UALimitAlarmImplBase extends UAAlarmConditionImplBase {
|
|
23
10
|
static instantiate(namespace: NamespacePrivate, limitAlarmTypeId: UAEventType | NodeId | string, options: InstantiateLimitAlarmOptions, data?: Record<string, VariantOptions>): UALimitAlarmImpl;
|
|
24
|
-
|
|
25
|
-
*/
|
|
11
|
+
private get $8();
|
|
26
12
|
getHighHighLimit(): number;
|
|
27
|
-
/**
|
|
28
|
-
*/
|
|
29
13
|
getHighLimit(): number;
|
|
30
|
-
/**
|
|
31
|
-
*/
|
|
32
14
|
getLowLimit(): number;
|
|
33
|
-
/**
|
|
34
|
-
*/
|
|
35
15
|
getLowLowLimit(): number;
|
|
36
|
-
/**
|
|
37
|
-
*/
|
|
38
16
|
setHighHighLimit(value: number): void;
|
|
39
|
-
/**
|
|
40
|
-
*/
|
|
41
17
|
setHighLimit(value: number): void;
|
|
42
|
-
/**
|
|
43
|
-
*/
|
|
44
18
|
setLowLimit(value: number): void;
|
|
45
|
-
/**
|
|
46
|
-
*/
|
|
47
19
|
setLowLowLimit(value: number): void;
|
|
48
20
|
protected _onInputDataValueChange(dataValue: DataValue): void;
|
|
49
|
-
protected _setStateBasedOnInputValue(
|
|
21
|
+
protected _setStateBasedOnInputValue(_value: number): void;
|
|
50
22
|
protected _watchLimits(): void;
|
|
51
23
|
protected evaluateConditionsAfterEnabled(): void;
|
|
52
24
|
}
|
|
25
|
+
export declare const UALimitAlarmImpl: new () => UALimitAlarmImpl;
|
|
26
|
+
export type UALimitAlarmImpl = UALimitAlarmImplBase & UALimitAlarmEx;
|