C# 클래스 Opc.Ua.Com.Server.ComHdaItemManager

A class that implements a COM DA group.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
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[]