메소드 | 설명 | |
---|---|---|
TrainOperator ( ) : System |
Primary constructor, to be used for a module demo ONLY
|
|
TrainOperator ( ITrain myTrain, TrainControllerLib.TrainController myTrainController ) : System |
Secondary constructor, to be used by the CTC
|
메소드 | 설명 | |
---|---|---|
BrakeFailure_Click ( object sender, |
Simulate a Brake Failure
|
|
CircuitFailure_Click ( object sender, |
Simulate a Track Circuit Failure
|
|
CreateTrain_Click ( object sender, |
Start the GUI, and create a train and train controller if in a demo
|
|
EmergencyBrake_Click ( object sender, |
Engage the train's emergency brake
|
|
EngineFailure_Click ( object sender, |
Simulate an Engine Failure
|
|
EnterSpeed_Click ( object sender, |
Send a manual speed command to the train controller
|
|
GetRedlineSchedule ( ) : Queue |
Gets the redline schedule
|
|
PowerFailure_Click ( object sender, |
Simulate a Track Power Failure
|
|
Update ( object sender, |
Refresh the GUI, and update the train controller if in a demo
|
|
UpdateDisplay ( object sender, |
Update the current speed and position of the train
|
public TrainOperator ( ITrain myTrain, TrainControllerLib.TrainController myTrainController ) : System | ||
myTrain | ITrain | The train associated with this GUI |
myTrainController | TrainControllerLib.TrainController | The train controller associated with this GUI |
리턴 | System |