C# Class CTCOfficeGUI.TableViewScreen

Afficher le fichier Open project: johnselker/Bazinga1186 Class Usage Examples

Méthodes publiques

Méthode Description
TableViewScreen ( ) : System
UpdateDisplay ( List blocks, List trains ) : void

Updates the display of block and train information

UpdateDisplay ( List blocks, List trains ) : void

Updates the display of block and train information

Private Methods

Méthode Description
GetBlockFailureStateString ( TrackBlock block ) : string

Gets the failure state string for the given track block

There are 8 different possible strings, so this chunk of code gets ugly

InitializeTables ( ) : void

Initializes the table display with labels

Method Details

TableViewScreen() public méthode

public TableViewScreen ( ) : System
Résultat System

UpdateDisplay() public méthode

Updates the display of block and train information
public UpdateDisplay ( List blocks, List trains ) : void
blocks List
trains List
Résultat void

UpdateDisplay() public méthode

Updates the display of block and train information
public UpdateDisplay ( List blocks, List trains ) : void
blocks List
trains List
Résultat void