C# 클래스 Quickstarts.AlarmConditionServer.UnderlyingSystem

An object that provides access to the underlying system.
상속: IDisposable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
CreateSource ( string sourcePath, AlarmChangedEventHandler alarmChangeCallback ) : UnderlyingSystemSource

Creates a source.

Dispose ( ) : void

Frees any unmanaged resources.

StartSimulation ( ) : void

Starts a simulation which causes the alarm states to change.

This simulation randomly activates the alarms that belong to the sources. Once an alarm is active it has to be acknowledged and confirmed. Once an alarm is confirmed it go to the inactive state. If the alarm 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 source by updating the state of the alarms belonging to the condition.

메소드 상세

CreateSource() 공개 메소드

Creates a source.
public CreateSource ( string sourcePath, AlarmChangedEventHandler alarmChangeCallback ) : UnderlyingSystemSource
sourcePath string The source path.
alarmChangeCallback AlarmChangedEventHandler The callback invoked when an alarm changes.
리턴 UnderlyingSystemSource

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

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

StartSimulation() 공개 메소드

Starts a simulation which causes the alarm states to change.
This simulation randomly activates the alarms that belong to the sources. Once an alarm is active it has to be acknowledged and confirmed. Once an alarm is confirmed it go to the inactive state. If the alarm 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