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

A class that builds NodeIds used by the DataAccess NodeManager
Mostrar archivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
ConstructElement ( ISystemContext context, DaElement element, ushort namespaceIndex ) : NodeState

Constructs a branch or item node from a DaElement returned from the COM server.

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

Constructs the node identifier for a component.

ConstructIdForDaElement ( string itemId, int propertyId, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs a NodeId from the ItemId for a DA branch.

ConstructIdForInternalNode ( Opc.Ua.QualifiedName browseName, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs a NodeId from the BrowseName of an internal node.

ConstructProperty ( ISystemContext context, string parentId, DaProperty property, ushort namespaceIndex ) : PropertyState

Constructs a property node for a DA property.

Method Details

ConstructElement() public static method

Constructs a branch or item node from a DaElement returned from the COM server.
public static ConstructElement ( ISystemContext context, DaElement element, ushort namespaceIndex ) : NodeState
context ISystemContext The context.
element DaElement The element.
namespaceIndex ushort Index of the namespace for the NodeId.
return NodeState

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

ConstructIdForDaElement() public static method

Constructs a NodeId from the ItemId for a DA branch.
public static ConstructIdForDaElement ( string itemId, int propertyId, ushort namespaceIndex ) : Opc.Ua.NodeId
itemId string The item id.
propertyId int The property id.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId

ConstructIdForInternalNode() public static method

Constructs a NodeId from the BrowseName of an internal node.
public static ConstructIdForInternalNode ( Opc.Ua.QualifiedName browseName, ushort namespaceIndex ) : Opc.Ua.NodeId
browseName Opc.Ua.QualifiedName The browse name.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId

ConstructProperty() public static method

Constructs a property node for a DA property.
public static ConstructProperty ( ISystemContext context, string parentId, DaProperty property, ushort namespaceIndex ) : PropertyState
context ISystemContext The context.
parentId string The parent id.
property DaProperty The property.
namespaceIndex ushort Index of the namespace.
return PropertyState