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

Maintains a shared cache of browse information.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
BrowseFlat ( Session session, string itemId, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList

Browses for children of the specified item.

BrowseForElements ( Session session, string itemId ) : Queue

Browses for the children of the specified item.

BrowseForNames ( Session session, string itemId, BrowseElementFilter elementFilter, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList

Browses for children of the specified item.

ComDaBrowseCache ( ComNamespaceMapper mapper ) : System

Initializes a new instance of the ComDaBrowseCache class.

FindChild ( Session session, string itemId, string childName ) : ComDaBrowseElement

Finds the child with the specified name.

FindElement ( Session session, string itemId ) : ComDaBrowseElement

Finds the element.

FindParent ( Session session, string itemId ) : ComDaBrowseElement

Finds the parent.

GetAvailableProperties ( Session session, string itemId ) : IList

Gets the available properties for the specified item.

GetPropertyValues ( Session session, ComDaReadPropertiesRequest requests ) : IList

Gets the properties.

비공개 메소드들

메소드 설명
Browse ( Session session, BrowseDescriptionCollection nodesToBrowse ) : BrowseResultCollection

Sends the browse request to the server.

BrowseBlock ( Session session, BrowseDescriptionCollection nodesToBrowse ) : BrowseResultCollection

Sends the browse request to the server.

BrowseFlat ( Session session, BrowseElement parent, string nameFilter, short dataTypeFilter, int accessRightsFilter, BrowseElement>.Dictionary branches, List hits ) : void

Recursively browses the address space.

CreateBrowseElement ( Session session, NodeId nodeId ) : BrowseElement

Creates the browse element.

GetPropertyValue ( BrowseElement element, int propertyId ) : DaValue

Gets the property value from the browse element.

Lookup ( Session session, string itemId ) : BrowseElement

Looks up the cached element using the specified session.

LookupChildElements ( Session session, BrowseElement parent ) : List

Creates the children of the browse element.

PrepareBrowseElementBrowseRequest ( NodeId nodeId, BrowseDescriptionCollection nodesToBrowse ) : int

Prepares a browse request for the children of a node.

PrepareBrowseElementReadRequest ( NodeId nodeId, ReferenceDescription>.Dictionary childrenByName, ReadValueIdCollection nodesToRead, NodeClass nodeClass, bool onlyEssentialProperties ) : int

Prepares a read request for the browse element properties.

Read ( Session session, ReadValueIdCollection nodesToRead ) : DataValueCollection

Sends the read request to the server.

SetElementMasks ( BrowseElement element ) : void

Sets the element masks.

TraceState ( string context ) : void

Dumps the current state of the browser.

UpdateBrowseElement ( BrowseElement element, BrowseDescriptionCollection nodesToBrowse, BrowseResultCollection results, int first ) : bool

Updates the browse element with the children returned in the browse results.

UpdateBrowseElement ( ITypeTable typeTree, BrowseElement element, ReadValueIdCollection nodesToRead, DataValueCollection values, NodeClass nodeClass, bool onlyEssentialProperties, int first ) : bool

Updates the browse element with the properties return in the read results.

UpdateReadPropertyRequest ( ComDaReadPropertiesRequest request, BrowseElement element, int propertyIds ) : void

Updates the read property request with the property values.

메소드 상세

BrowseFlat() 공개 메소드

Browses for children of the specified item.
public BrowseFlat ( Session session, string itemId, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList
session Opc.Ua.Client.Session The session.
itemId string The item id.
nameFilter string The name filter.
dataTypeFilter short The data type filter.
accessRightsFilter int The access rights filter.
리턴 IList

BrowseForElements() 공개 메소드

Browses for the children of the specified item.
public BrowseForElements ( Session session, string itemId ) : Queue
session Opc.Ua.Client.Session The session.
itemId string The item id.
리턴 Queue

BrowseForNames() 공개 메소드

Browses for children of the specified item.
public BrowseForNames ( Session session, string itemId, BrowseElementFilter elementFilter, string nameFilter, short dataTypeFilter, int accessRightsFilter ) : IList
session Opc.Ua.Client.Session The session.
itemId string The item id.
elementFilter BrowseElementFilter The element filter.
nameFilter string The name filter.
dataTypeFilter short The data type filter.
accessRightsFilter int The access rights filter.
리턴 IList

ComDaBrowseCache() 공개 메소드

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

FindChild() 공개 메소드

Finds the child with the specified name.
public FindChild ( Session session, string itemId, string childName ) : ComDaBrowseElement
session Opc.Ua.Client.Session The session.
itemId string The item id.
childName string Name of the child.
리턴 ComDaBrowseElement

FindElement() 공개 메소드

Finds the element.
public FindElement ( Session session, string itemId ) : ComDaBrowseElement
session Opc.Ua.Client.Session The session.
itemId string The item id.
리턴 ComDaBrowseElement

FindParent() 공개 메소드

Finds the parent.
public FindParent ( Session session, string itemId ) : ComDaBrowseElement
session Opc.Ua.Client.Session The session.
itemId string The item id.
리턴 ComDaBrowseElement

GetAvailableProperties() 공개 메소드

Gets the available properties for the specified item.
public GetAvailableProperties ( Session session, string itemId ) : IList
session Opc.Ua.Client.Session The session.
itemId string The item id.
리턴 IList

GetPropertyValues() 공개 메소드

Gets the properties.
public GetPropertyValues ( Session session, ComDaReadPropertiesRequest requests ) : IList
session Opc.Ua.Client.Session The session.
requests ComDaReadPropertiesRequest The requests.
리턴 IList