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

An object that provides access to the underlying system.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

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

An overrideable version of the Dispose.

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

Метод Описание
DoSimulation ( object state ) : void

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

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

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

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

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

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

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

Finds a block.
public FindBlock ( string blockId ) : UnderlyingSystemBlock
blockId string The block identifier.
Результат UnderlyingSystemBlock

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

Finds the blocks belonging to the specified segment.
public FindBlocks ( string segmentPath ) : IList
segmentPath string The path to the segment to search.
Результат IList

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

Finds the parent segment for the specified segment.
public FindParentForSegment ( string segmentPath ) : UnderlyingSystemSegment
segmentPath string The segment path.
Результат UnderlyingSystemSegment

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

Returns the segment
public FindSegment ( string segmentPath ) : UnderlyingSystemSegment
segmentPath string The path to the segment.
Результат UnderlyingSystemSegment

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

Finds the segments belonging to the specified segment.
public FindSegments ( string segmentPath ) : IList
segmentPath string The path to the segment to search.
Результат IList

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

Finds the segments for block.
public FindSegmentsForBlock ( string blockId ) : IList
blockId string The block id.
Результат IList

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

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
Результат void

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

Stops the simulation.
public StopSimulation ( ) : void
Результат void

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

Initializes a new instance of the UnderlyingSystem class.
public UnderlyingSystem ( ) : System
Результат System