C# Class LiftController.Lift

Inheritance: Sprite
Afficher le fichier Open project: JoinPatterns/ScalableJoins Class Usage Examples

Méthodes publiques

Свойство Type Description
Arrived Buffer>>.Asynchronous.Channel
HowLong Asynchronous.Channel,Buffer>>
PersonArrived Ack>>.Asynchronous.Channel
PersonDeparted Asynchronous.Channel
Stop Asynchronous.Channel
mNum int
mPeople List
mStopButtonBackColors Color[]
mStopButtons System.Windows.Forms.Button[]

Méthodes publiques

Méthode Description
Lift ( int num ) : System
RedrawUnderViewLock ( System.TimeSpan t, Graphics g ) : void

Private Methods

Méthode Description
Insert ( Dir dir, Int32 floor, Int32 now, Lst stop ) : Lst
Insert ( Dir dir, Int32 floor, Int32 now, Lst before, Lst stop ) : Lst
StopAt ( Int32 floor, Int32 now, Lst stops ) : Lst
StopAt ( Int32 floor, Lst before, Lst stops ) : Lst
WaitTime ( Dir dir, Int32 floor, Int32 now, Int32 t, Lst stops ) : Int32
WaitTime ( Dir dir, Int32 floor, Int32 now, Lst stop ) : Int32
arrived ( Floor floor, Buffer b ) : void
howLong ( Int32 floor, Dir dir, Buffer b ) : void

Method Details

Lift() public méthode

public Lift ( int num ) : System
num int
Résultat System

RedrawUnderViewLock() public méthode

public RedrawUnderViewLock ( System.TimeSpan t, Graphics g ) : void
t System.TimeSpan
g System.Drawing.Graphics
Résultat void

Property Details

Arrived public_oe property

public Asynchronous.Channel>> Arrived
Résultat Buffer>>.Asynchronous.Channel

HowLong public_oe property

public Asynchronous.Channel,Buffer>> HowLong
Résultat Asynchronous.Channel,Buffer>>

PersonArrived public_oe property

public Asynchronous.Channel> PersonArrived
Résultat Ack>>.Asynchronous.Channel

PersonDeparted public_oe property

public Asynchronous.Channel PersonDeparted
Résultat Asynchronous.Channel

Stop public_oe property

public Asynchronous.Channel Stop
Résultat Asynchronous.Channel

mNum public_oe property

public int mNum
Résultat int

mPeople public_oe property

public List mPeople
Résultat List

mStopButtonBackColors public_oe property

public Color[] mStopButtonBackColors
Résultat Color[]

mStopButtons public_oe property

public Button[],System.Windows.Forms mStopButtons
Résultat System.Windows.Forms.Button[]