C# Class Quickstarts.DataAccessServer.UnderlyingSystem

An object that provides access to the underlying system.
Inheritance: IDisposable
Mostrar archivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Frees any unmanaged reblocks.

FindBlock ( string blockId ) : UnderlyingSystemBlock

Finds a block.

FindBlocks ( string segmentPath ) : IList

Finds the blocks belonging to the specified segment.

FindParentForSegment ( string segmentPath ) : UnderlyingSystemSegment

Finds the parent segment for the specified segment.

FindSegment ( string segmentPath ) : UnderlyingSystemSegment

Returns the segment

FindSegments ( string segmentPath ) : IList

Finds the segments belonging to the specified segment.

FindSegmentsForBlock ( string blockId ) : IList

Finds the segments for block.

StartSimulation ( ) : void

Starts a simulation which causes the tag states to change.

This simulation randomly activates the tags that belong to the blocks. Once an tag is active it has to be acknowledged and confirmed. Once an tag is confirmed it go to the inactive state. If the tag stays active the severity will be gradually increased.

StopSimulation ( ) : void

Stops the simulation.

UnderlyingSystem ( ) : System

Initializes a new instance of the UnderlyingSystem class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
DoSimulation ( object state ) : void

Simulates a block by updating the state of the tags belonging to the condition.

Method Details

Dispose() public method

Frees any unmanaged reblocks.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

FindBlock() public method

Finds a block.
public FindBlock ( string blockId ) : UnderlyingSystemBlock
blockId string The block identifier.
return UnderlyingSystemBlock

FindBlocks() public method

Finds the blocks belonging to the specified segment.
public FindBlocks ( string segmentPath ) : IList
segmentPath string The path to the segment to search.
return IList

FindParentForSegment() public method

Finds the parent segment for the specified segment.
public FindParentForSegment ( string segmentPath ) : UnderlyingSystemSegment
segmentPath string The segment path.
return UnderlyingSystemSegment

FindSegment() public method

Returns the segment
public FindSegment ( string segmentPath ) : UnderlyingSystemSegment
segmentPath string The path to the segment.
return UnderlyingSystemSegment

FindSegments() public method

Finds the segments belonging to the specified segment.
public FindSegments ( string segmentPath ) : IList
segmentPath string The path to the segment to search.
return IList

FindSegmentsForBlock() public method

Finds the segments for block.
public FindSegmentsForBlock ( string blockId ) : IList
blockId string The block id.
return IList

StartSimulation() public method

Starts a simulation which causes the tag states to change.
This simulation randomly activates the tags that belong to the blocks. Once an tag is active it has to be acknowledged and confirmed. Once an tag is confirmed it go to the inactive state. If the tag stays active the severity will be gradually increased.
public StartSimulation ( ) : void
return void

StopSimulation() public method

Stops the simulation.
public StopSimulation ( ) : void
return void

UnderlyingSystem() public method

Initializes a new instance of the UnderlyingSystem class.
public UnderlyingSystem ( ) : System
return System