C# Class Quickstarts.DataAccessServer.UnderlyingSystem

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Méthode Description
DoSimulation ( object state ) : void

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

Method Details

Dispose() public méthode

Frees any unmanaged reblocks.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FindBlock() public méthode

Finds a block.
public FindBlock ( string blockId ) : UnderlyingSystemBlock
blockId string The block identifier.
Résultat UnderlyingSystemBlock

FindBlocks() public méthode

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

FindParentForSegment() public méthode

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

FindSegment() public méthode

Returns the segment
public FindSegment ( string segmentPath ) : UnderlyingSystemSegment
segmentPath string The path to the segment.
Résultat UnderlyingSystemSegment

FindSegments() public méthode

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

FindSegmentsForBlock() public méthode

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

StartSimulation() public méthode

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
Résultat void

StopSimulation() public méthode

Stops the simulation.
public StopSimulation ( ) : void
Résultat void

UnderlyingSystem() public méthode

Initializes a new instance of the UnderlyingSystem class.
public UnderlyingSystem ( ) : System
Résultat System