C# 클래스 Quickstarts.DataAccessServer.BlockState

A object which maps a block to a UA object.
상속: Opc.Ua.BaseObjectState
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

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