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

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GetAnnotationsPropertyNodeId() public méthode

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.
Résultat NodeId

GetAttributeHistoryNodeIds() public méthode

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.
Résultat int[]

GetItemHandles() public méthode

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.
Résultat Opc.Ua.Com.Server.HdaItemHandle[]

GetRemoteDataType() public méthode

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

LookupHandle() public méthode

Lookups the handle.
public LookupHandle ( int serverHandle ) : HdaItemHandle
serverHandle int The server handle.
Résultat HdaItemHandle

ReadCurrentValues() public méthode

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.
Résultat DaValue[]

ReleaseItemHandles() public méthode

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