C# Class Opc.Ua.Com.Server.ComHdaItemManager

A class that implements a COM DA group.
Mostrar archivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
ComHdaItemManager ( ComNamespaceMapper mapper ) : System

Initializes a new instance of the ComHdaItemManager class.

GetAnnotationsPropertyNodeId ( Session session, HdaItemHandle itemHandle ) : NodeId

Gets the annotations property node id.

GetAttributeHistoryNodeIds ( Session session, HdaItemHandle itemHandle, uint attributeIds, NodeId &nodeIds ) : int[]

Reads the node ids used to fetch the history of the specified attributes.

GetItemHandles ( Session session, string itemIds, int clientHandles, bool validateOnly ) : Opc.Ua.Com.Server.HdaItemHandle[]

Gets the item handles.

GetRemoteDataType ( HdaItemHandle handle ) : TypeInfo

Gets the type of the remote data.

LookupHandle ( int serverHandle ) : HdaItemHandle

Lookups the handle.

ReadCurrentValues ( Session session, HdaItemHandle itemHandle, uint attributeIds ) : DaValue[]

Reads the current values for the specified attributes.

ReleaseItemHandles ( Session session, int serverHandles ) : int[]

Releases the item handles.

Private Methods

Method Description
Construct ( NodeId nodeId, uint hdaAttributeId ) : BrowsePath

Constructs the browse path.

Construct ( InternalHandle handle, uint uaAttributeId ) : ReadValueId

Constructs a ReadValueId for the specified UA attribute.

Construct ( NodeId nodeId, uint hdaAttributeId, uint uaAttributeId ) : ReadValueId

Constructs a ReadValueId for the specified UA attribute.

GetAttributeValue ( Session session, uint attributeId, DataValueCollection values, int index ) : DaValue

Converts a UA value to an HDA attribute value.

GetAvailableAttributes ( Session session, NodeId nodeId ) : ReadValueIdCollection

Gets the available attributes for an HDA item.

GetReadValueId ( ReadValueIdCollection supportedAttributes, uint attributeId ) : ReadValueId

Gets the read value id for the specified attribute.

Method Details

ComHdaItemManager() public method

Initializes a new instance of the ComHdaItemManager class.
public ComHdaItemManager ( ComNamespaceMapper mapper ) : System
mapper ComNamespaceMapper The object used to map namespace indexes.
return System

GetAnnotationsPropertyNodeId() public method

Gets the annotations property node id.
public GetAnnotationsPropertyNodeId ( Session session, HdaItemHandle itemHandle ) : NodeId
session Opc.Ua.Client.Session The session.
itemHandle HdaItemHandle The item handle.
return NodeId

GetAttributeHistoryNodeIds() public method

Reads the node ids used to fetch the history of the specified attributes.
public GetAttributeHistoryNodeIds ( Session session, HdaItemHandle itemHandle, uint attributeIds, NodeId &nodeIds ) : int[]
session Opc.Ua.Client.Session The session.
itemHandle HdaItemHandle The item handle.
attributeIds uint The attribute ids.
nodeIds NodeId The node ids.
return int[]

GetItemHandles() public method

Gets the item handles.
public GetItemHandles ( Session session, string itemIds, int clientHandles, bool validateOnly ) : Opc.Ua.Com.Server.HdaItemHandle[]
session Opc.Ua.Client.Session The session.
itemIds string The item ids.
clientHandles int The client handles.
validateOnly bool if set to true handles are not created and item ids are only validated.
return Opc.Ua.Com.Server.HdaItemHandle[]

GetRemoteDataType() public method

Gets the type of the remote data.
public GetRemoteDataType ( HdaItemHandle handle ) : TypeInfo
handle HdaItemHandle The handle.
return TypeInfo

LookupHandle() public method

Lookups the handle.
public LookupHandle ( int serverHandle ) : HdaItemHandle
serverHandle int The server handle.
return HdaItemHandle

ReadCurrentValues() public method

Reads the current values for the specified attributes.
public ReadCurrentValues ( Session session, HdaItemHandle itemHandle, uint attributeIds ) : DaValue[]
session Opc.Ua.Client.Session The session.
itemHandle HdaItemHandle The item handle.
attributeIds uint The attribute ids.
return DaValue[]

ReleaseItemHandles() public method

Releases the item handles.
public ReleaseItemHandles ( Session session, int serverHandles ) : int[]
session Opc.Ua.Client.Session The session.
serverHandles int The server handles.
return int[]