C# 클래스 TRManager.Timetable

Provides a collection for Incident objects and monitors the time since the Incident arrived in the TR. The class fires several events to notify about changes.
파일 보기 프로젝트 열기: UristMcMiner/SE-Projekt_RWB.csharp 1 사용 예제들

공개 메소드들

메소드 설명
Start ( ) : void

Starts the monitoring of the time.

Stop ( ) : void

Stops the monitoring of the time.

Timetable ( ) : System

Creates a new Timetable object and prepares the BackgroundWorker.

addIncident ( Incident incident ) : void

Adds an incident for monitoring.

releaseIncident ( Incident incident ) : void

Removes an incident from monitoring and writes the new leaveTime into the database.

startUp ( ) : void

Retrieves all Incidents which don't have a leaveTime for the Database.

비공개 메소드들

메소드 설명
bw_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Reacts to a timer update.

updateTimer ( object sender, DoWorkEventArgs e ) : void

Updates the time regularly.

메소드 상세

Start() 공개 메소드

Starts the monitoring of the time.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the monitoring of the time.
public Stop ( ) : void
리턴 void

Timetable() 공개 메소드

Creates a new Timetable object and prepares the BackgroundWorker.
public Timetable ( ) : System
리턴 System

addIncident() 공개 메소드

Adds an incident for monitoring.
public addIncident ( Incident incident ) : void
incident Incident The Incident to add.
리턴 void

releaseIncident() 공개 메소드

Removes an incident from monitoring and writes the new leaveTime into the database.
public releaseIncident ( Incident incident ) : void
incident Incident The Incident to remove.
리턴 void

startUp() 공개 메소드

Retrieves all Incidents which don't have a leaveTime for the Database.
public startUp ( ) : void
리턴 void