APIs

Show:

return true if node is a mandatory child or a requested optional

Constructor

MandatoryChildOrRequestedOptionalFilter

(
  • instance
  • optionalsMap
)
private

Parameters:

  • instance Object
  • optionalsMap Object

Methods

hasChildWithBrowseName returns true if the parent object has a child with the provided browseName

(
  • parent
  • childBrowseName
)

Parameters:

  • parent Object
  • childBrowseName Object

instantiate

(
  • options
)

instantiate an object of this UAVariableType The instantiation takes care of object type inheritance when constructing inner properties

Parameters:

  • options Object
    • browseName String
    • [description] optional
    • [organizedBy] String | NodeId | BaseNode optional

      the parent Folder holding this object

    • [componentOf] String | NodeId | BaseNode optional

      the parent Object holding this object

    • [notifierOf] NodeId | UANode optional
    • [eventSourceOf] NodeId | UANode optional
    • [optionals] Array optional

      array of browseName of optional component/property to instantiate.

    • [modellingRule] String optional
    • [minimumSamplingInterval=0] Number optional
    • [extensionObject=null] optional

      Note : HasComponent usage scope

      Source | Destination -------------------+--------------------------- Object | Object, Variable,Method ObjectType | -------------------+--------------------------- DataVariable | Variable DataVariableType |

      see : OPCUA 1.03 page 44 $6.4 Instances of ObjectTypes and VariableTypes

reconstructFunctionalGroupType

(
  • baseType
)

recreate functional group types according to type definition

Parameters:

  • baseType Object

shouldKeep

(
  • node
)
Boolean

Parameters:

Returns:

Boolean: