C# Class UserInterface_Mockup_ICT4Reals.DataBase.RAdatabase

Inheritance: Database
ファイルを表示 Open project: marouanopen/ICT4Reals

Public Methods

Method Description
BlockRail ( int railNumber, int blokkeer ) : bool

Block the rail or unblock the rail

IsRailBlocked ( int railNumber ) : string

Is the rail blocked?

Method Details

BlockRail() public method

Block the rail or unblock the rail
public BlockRail ( int railNumber, int blokkeer ) : bool
railNumber int Give the number of the rail you want to block/unblock
blokkeer int Give 0 to unblock or 1 to block
return bool

IsRailBlocked() public method

Is the rail blocked?
public IsRailBlocked ( int railNumber ) : string
railNumber int
return string