C# Class LiftSimulation.Syncronize

显示文件 Open project: nafetz/SE Class Usage Examples

Public Methods

Method Description
CloseDoor ( ) : void
EnablePassengerButtons ( bool value ) : void
EnablePassengerMinusButton ( bool value ) : void
ExecuteLoop ( ) : void
OpenDoor ( ) : void
ResetDoorTimer ( ) : void
ResetMoveTimer ( ) : void
SetState ( Defaults state ) : void
ShowDirection ( ) : void
StopDoorTimer ( ) : void
SwitchDirection ( ) : void
SyncCurrentFloor ( ) : void
SyncDownwardWishes ( To who ) : void
SyncFloor ( ) : int
SyncInnerWishes ( To who ) : void
SyncPassengers ( ) : bool
SyncUpwardWishes ( To who ) : void
Syncronize ( Elevator &Elevator, UserInterface &UI ) : System

Method Details

CloseDoor() public static method

public static CloseDoor ( ) : void
return void

EnablePassengerButtons() public static method

public static EnablePassengerButtons ( bool value ) : void
value bool
return void

EnablePassengerMinusButton() public static method

public static EnablePassengerMinusButton ( bool value ) : void
value bool
return void

ExecuteLoop() public static method

public static ExecuteLoop ( ) : void
return void

OpenDoor() public static method

public static OpenDoor ( ) : void
return void

ResetDoorTimer() public static method

public static ResetDoorTimer ( ) : void
return void

ResetMoveTimer() public static method

public static ResetMoveTimer ( ) : void
return void

SetState() public static method

public static SetState ( Defaults state ) : void
state Defaults
return void

ShowDirection() public static method

public static ShowDirection ( ) : void
return void

StopDoorTimer() public static method

public static StopDoorTimer ( ) : void
return void

SwitchDirection() public static method

public static SwitchDirection ( ) : void
return void

SyncCurrentFloor() public static method

public static SyncCurrentFloor ( ) : void
return void

SyncDownwardWishes() public static method

public static SyncDownwardWishes ( To who ) : void
who To
return void

SyncFloor() public static method

public static SyncFloor ( ) : int
return int

SyncInnerWishes() public static method

public static SyncInnerWishes ( To who ) : void
who To
return void

SyncPassengers() public static method

public static SyncPassengers ( ) : bool
return bool

SyncUpwardWishes() public static method

public static SyncUpwardWishes ( To who ) : void
who To
return void

Syncronize() public method

public Syncronize ( Elevator &Elevator, UserInterface &UI ) : System
Elevator Elevator
UI UserInterface
return System