C# Class Opc.Ua.Com.Client.ParsedNodeId

Stores the elements of a NodeId after it is parsed.
The NodeIds used by the samples are strings with an optional path appended. The RootType identifies the type of Root Node. The RootId is the unique identifier for the Root Node. The ComponentPath is constructed from the SymbolicNames of one or more children of the Root Node.
Exibir arquivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
Construct ( ) : Opc.Ua.NodeId

Constructs a node identifier.

ConstructIdForComponent ( NodeState component, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs the node identifier for a component.

Parse ( Opc.Ua.NodeId nodeId ) : ParsedNodeId

Parses the specified node identifier.

Protected Methods

Method Description
EscapeAndAppendString ( StringBuilder buffer, string text ) : void

Escapes and appends a string.

ExtractAndUnescapeString ( string text, int &start ) : string

Extracts the and unescapes a string.

ExtractNumber ( string identifier, int &start ) : uint

Extracts a number from the string.

Method Details

Construct() public method

Constructs a node identifier.
public Construct ( ) : Opc.Ua.NodeId
return Opc.Ua.NodeId

ConstructIdForComponent() public static method

Constructs the node identifier for a component.
public static ConstructIdForComponent ( NodeState component, ushort namespaceIndex ) : Opc.Ua.NodeId
component NodeState The component.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId

EscapeAndAppendString() protected static method

Escapes and appends a string.
protected static EscapeAndAppendString ( StringBuilder buffer, string text ) : void
buffer StringBuilder The buffer.
text string The text.
return void

ExtractAndUnescapeString() protected static method

Extracts the and unescapes a string.
protected static ExtractAndUnescapeString ( string text, int &start ) : string
text string The text.
start int The start.
return string

ExtractNumber() protected static method

Extracts a number from the string.
protected static ExtractNumber ( string identifier, int &start ) : uint
identifier string The identifier.
start int The start. Set the first non-digit character.
return uint

Parse() public static method

Parses the specified node identifier.
public static Parse ( Opc.Ua.NodeId nodeId ) : ParsedNodeId
nodeId Opc.Ua.NodeId The node identifier.
return ParsedNodeId