C# Класс Quickstarts.DataAccessServer.BlockState

A object which maps a block to a UA object.
Наследование: Opc.Ua.BaseObjectState
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BlockState ( DataAccessServerNodeManager nodeManager, Opc.Ua.NodeId nodeId, UnderlyingSystemBlock block ) : System

Initializes a new instance of the BlockState class.

OnWriteTagValue ( ISystemContext context, NodeState node, object &value ) : ServiceResult

Used to receive notifications when the value attribute is read or written.

StartMonitoring ( ServerSystemContext context ) : void

Starts the monitoring the block.

StopMonitoring ( ServerSystemContext context ) : bool

Stop the monitoring the block.

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

Метод Описание
PopulateBrowser ( ISystemContext context, NodeBrowser browser ) : void

Populates the browser with references that meet the criteria.

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

Метод Описание
CreateVariable ( ISystemContext context, UnderlyingSystemTag tag ) : BaseVariableState

Creates a variable from a tag.

OnTagsChanged ( IList tags ) : void

Called when one or more tags changes.

UpdateVariable ( ISystemContext context, UnderlyingSystemTag tag, BaseVariableState variable ) : void

Updates a variable from a tag.

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

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

Initializes a new instance of the BlockState class.
public BlockState ( DataAccessServerNodeManager nodeManager, Opc.Ua.NodeId nodeId, UnderlyingSystemBlock block ) : System
nodeManager DataAccessServerNodeManager The context.
nodeId Opc.Ua.NodeId The node id.
block UnderlyingSystemBlock The block.
Результат System

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

Used to receive notifications when the value attribute is read or written.
public OnWriteTagValue ( ISystemContext context, NodeState node, object &value ) : ServiceResult
context ISystemContext
node NodeState
value object
Результат Opc.Ua.ServiceResult

PopulateBrowser() защищенный Метод

Populates the browser with references that meet the criteria.
protected PopulateBrowser ( ISystemContext context, NodeBrowser browser ) : void
context ISystemContext The context for the system being accessed.
browser Opc.Ua.NodeBrowser The browser to populate.
Результат void

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

Starts the monitoring the block.
public StartMonitoring ( ServerSystemContext context ) : void
context Opc.Ua.Server.ServerSystemContext The context.
Результат void

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

Stop the monitoring the block.
public StopMonitoring ( ServerSystemContext context ) : bool
context Opc.Ua.Server.ServerSystemContext The context.
Результат bool