APIs

Show:

Constructor

SimpleAttributeOperand

(
  • options
)
String

Parameters:

  • options Object
    • [typeId] NodeId optional

      NodeId of a TypeDefinitionNode.

    • [browsePath] QualifiedName[] optional
    • [attributeId] IntegerId optional
    • [indexRange] NumericRange optional

Returns:

String:

Example:

:

Methods

binaryStoreSize

() Number

Calculate the required size to store this object in a binary stream.

Returns:

Number:

constructEventFilter

(
  • arrayOfNames
  • conditionTypes
)
EventFilter

helper to construct event filters: construct a simple event filter

Parameters:

  • arrayOfNames Array
  • conditionTypes Array

Returns:

Example:

constructEventFilter(["SourceName","Message","ReceiveTime"]);
                    
                    constructEventFilter(["SourceName",{namespaceIndex:2 , "MyData"}]);
                    constructEventFilter(["SourceName","2:MyData" ]);
                    
                    constructEventFilter(["SourceName" ,["EnabledState","EffectiveDisplayName"] ]);
                    constructEventFilter(["SourceName" ,"EnabledState.EffectiveDisplayName" ]);
                    

decode

(
  • stream
  • [option]
)

decode the object from a binary stream

Parameters:

encode

(
  • stream
)

encode the object into a binary stream

Parameters:

extractEventField extract a eventField from a event node, matching the given selectClause

(
  • eventData
  • selectClause
)

Parameters:

  • eventData Object
  • selectClause Object

extractEventFields extract a array of eventFields from a event node, matching the selectClauses

(
  • selectClauses
  • eventData
)

Parameters:

  • selectClauses Object
  • eventData Object

    : a pseudo Node that provides a browse Method and a readValue(nodeId)

isValid

() Boolean

verify that all object attributes values are valid according to schema

Returns:

Boolean:

toString

() String

Returns:

String: