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

A class that builds NodeIds used by the DataAccess NodeManager
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

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

Constructs the node identifier for a component.

ConstructIdForHdaAggregate ( uint aggregateId, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs the node id for an aggregate function.

ConstructIdForHdaBranch ( string itemId, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs the node id for a branch.

ConstructIdForHdaItem ( string itemId, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs the node id for an item.

ConstructIdForHdaItemAttribute ( string itemId, uint attributeId, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs the node id for an item attribute.

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

Constructs a NodeId from the BrowseName of an internal node.

GetItemAnnotationsNode ( string itemId, ushort namespaceIndex ) : PropertyState

Gets the item annotations node.

GetItemConfigurationNode ( string itemId, ushort namespaceIndex ) : BaseInstanceState

Gets the item configuration node.

HdaAggregateToUaAggregate ( uint aggregateId, ushort namespaceIndex ) : Opc.Ua.NodeId

Converts a HDA Aggregate ID to a UA aggregate ID

HdaAggregateToUaAggregate ( Opc.Ua.NodeId nodeId, ushort namespaceIndex ) : uint

Converts a UA Aggregate ID to a HDA aggregate ID

Method Details

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

ConstructIdForHdaAggregate() public static method

Constructs the node id for an aggregate function.
public static ConstructIdForHdaAggregate ( uint aggregateId, ushort namespaceIndex ) : Opc.Ua.NodeId
aggregateId uint The aggregate id.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId

ConstructIdForHdaBranch() public static method

Constructs the node id for a branch.
public static ConstructIdForHdaBranch ( string itemId, ushort namespaceIndex ) : Opc.Ua.NodeId
itemId string The item id.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId

ConstructIdForHdaItem() public static method

Constructs the node id for an item.
public static ConstructIdForHdaItem ( string itemId, ushort namespaceIndex ) : Opc.Ua.NodeId
itemId string The item id.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId

ConstructIdForHdaItemAttribute() public static method

Constructs the node id for an item attribute.
public static ConstructIdForHdaItemAttribute ( string itemId, uint attributeId, ushort namespaceIndex ) : Opc.Ua.NodeId
itemId string The item id.
attributeId uint The attribute 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

GetItemAnnotationsNode() public static method

Gets the item annotations node.
public static GetItemAnnotationsNode ( string itemId, ushort namespaceIndex ) : PropertyState
itemId string The item id.
namespaceIndex ushort Index of the namespace.
return PropertyState

GetItemConfigurationNode() public static method

Gets the item configuration node.
public static GetItemConfigurationNode ( string itemId, ushort namespaceIndex ) : BaseInstanceState
itemId string The item id.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.BaseInstanceState

HdaAggregateToUaAggregate() public static method

Converts a HDA Aggregate ID to a UA aggregate ID
public static HdaAggregateToUaAggregate ( uint aggregateId, ushort namespaceIndex ) : Opc.Ua.NodeId
aggregateId uint The aggregate id.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId

HdaAggregateToUaAggregate() public static method

Converts a UA Aggregate ID to a HDA aggregate ID
public static HdaAggregateToUaAggregate ( Opc.Ua.NodeId nodeId, ushort namespaceIndex ) : uint
nodeId Opc.Ua.NodeId The node id.
namespaceIndex ushort Index of the namespace.
return uint