C# Класс Opc.Ua.Com.Server.ComHdaItemManager

A class that implements a COM DA group.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

ComHdaItemManager() публичный Метод

Initializes a new instance of the ComHdaItemManager class.
public ComHdaItemManager ( ComNamespaceMapper mapper ) : System
mapper ComNamespaceMapper The object used to map namespace indexes.
Результат System

GetAnnotationsPropertyNodeId() публичный Метод

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.
Результат NodeId

GetAttributeHistoryNodeIds() публичный Метод

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.
Результат int[]

GetItemHandles() публичный Метод

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.
Результат Opc.Ua.Com.Server.HdaItemHandle[]

GetRemoteDataType() публичный Метод

Gets the type of the remote data.
public GetRemoteDataType ( HdaItemHandle handle ) : TypeInfo
handle HdaItemHandle The handle.
Результат TypeInfo

LookupHandle() публичный Метод

Lookups the handle.
public LookupHandle ( int serverHandle ) : HdaItemHandle
serverHandle int The server handle.
Результат HdaItemHandle

ReadCurrentValues() публичный Метод

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.
Результат DaValue[]

ReleaseItemHandles() публичный Метод

Releases the item handles.
public ReleaseItemHandles ( Session session, int serverHandles ) : int[]
session Opc.Ua.Client.Session The session.
serverHandles int The server handles.
Результат int[]