C# Class UserInterface_Mockup_ICT4Reals.Remise.Rail

ファイルを表示 Open project: marouanopen/ICT4Reals Class Usage Examples

Public Methods

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

Block the rail

IsRailBlocked ( int railNumber ) : bool

See if the rail is blocked

Rail ( int id, bool status, bool taken, int remiseid ) : System

constructor

Method Details

BlockRail() public method

Block the rail
public BlockRail ( int railNumber, int block ) : bool
railNumber int The railnumber you want to block
block int give 1 to block or 0 to unblock
return bool

IsRailBlocked() public method

See if the rail is blocked
public IsRailBlocked ( int railNumber ) : bool
railNumber int Give the railnumber of which you want to look for
return bool

Rail() public method

constructor
public Rail ( int id, bool status, bool taken, int remiseid ) : System
id int
status bool
taken bool
remiseid int
return System