C# Class CTCOfficeGUI.TableViewScreen

Show file Open project: johnselker/Bazinga1186 Class Usage Examples

Public Methods

Method 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

Method 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 method

public TableViewScreen ( ) : System
return System

UpdateDisplay() public method

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

UpdateDisplay() public method

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