C# Класс Opc.Ua.NodeBrowser

A thread safe object which browses the references for an node.
Наследование: INodeBrowser
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Add ( IReference reference ) : void

Adds a reference to target entity.

Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : void

Adds a reference to target identified by its node id.

Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, NodeState target ) : void

Adds a reference to target entity.

Will not add the reference if the browse name does not match the browse name filter.

Dispose ( ) : void

Frees any unmanaged resources.

IsRequired ( Opc.Ua.NodeId referenceType, bool isInverse ) : bool

Returns true if the reference type is required.

IsRequired ( NodeState target ) : bool

Returns true if the target node is required (used to apply view filters);

Next ( ) : IReference

Returns the next reference. Null if no more references.

NodeBrowser ( ISystemContext context, ViewDescription view, Opc.Ua.NodeId referenceType, bool includeSubtypes, BrowseDirection browseDirection, Opc.Ua.QualifiedName browseName, IEnumerable additionalReferences, bool internalOnly ) : System

Creates a new browser object with a set of filters.

Push ( IReference reference ) : void

Pushes a previously returned reference back into the browser.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

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

Add() публичный метод

Adds a reference to target entity.
public Add ( IReference reference ) : void
reference IReference
Результат void

Add() публичный метод

Adds a reference to target identified by its node id.
public Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : void
referenceTypeId Opc.Ua.NodeId
isInverse bool
targetId Opc.Ua.ExpandedNodeId
Результат void

Add() публичный метод

Adds a reference to target entity.
Will not add the reference if the browse name does not match the browse name filter.
public Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, NodeState target ) : void
referenceTypeId Opc.Ua.NodeId
isInverse bool
target NodeState
Результат void

Dispose() публичный метод

Frees any unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный метод

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

IsRequired() публичный метод

Returns true if the reference type is required.
public IsRequired ( Opc.Ua.NodeId referenceType, bool isInverse ) : bool
referenceType Opc.Ua.NodeId
isInverse bool
Результат bool

IsRequired() публичный метод

Returns true if the target node is required (used to apply view filters);
public IsRequired ( NodeState target ) : bool
target NodeState
Результат bool

Next() публичный метод

Returns the next reference. Null if no more references.
public Next ( ) : IReference
Результат IReference

NodeBrowser() публичный метод

Creates a new browser object with a set of filters.
public NodeBrowser ( ISystemContext context, ViewDescription view, Opc.Ua.NodeId referenceType, bool includeSubtypes, BrowseDirection browseDirection, Opc.Ua.QualifiedName browseName, IEnumerable additionalReferences, bool internalOnly ) : System
context ISystemContext
view ViewDescription
referenceType Opc.Ua.NodeId
includeSubtypes bool
browseDirection BrowseDirection
browseName Opc.Ua.QualifiedName
additionalReferences IEnumerable
internalOnly bool
Результат System

Push() публичный метод

Pushes a previously returned reference back into the browser.
public Push ( IReference reference ) : void
reference IReference
Результат void