C# Class LiftController.Lift

Inheritance: Sprite
显示文件 Open project: JoinPatterns/ScalableJoins Class Usage Examples

Public Properties

Property 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[]

Public Methods

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

Private Methods

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

public Lift ( int num ) : System
num int
return System

RedrawUnderViewLock() public method

public RedrawUnderViewLock ( System.TimeSpan t, Graphics g ) : void
t System.TimeSpan
g System.Drawing.Graphics
return void

Property Details

Arrived public_oe property

public Asynchronous.Channel>> Arrived
return Buffer>>.Asynchronous.Channel

HowLong public_oe property

public Asynchronous.Channel,Buffer>> HowLong
return Asynchronous.Channel,Buffer>>

PersonArrived public_oe property

public Asynchronous.Channel> PersonArrived
return Ack>>.Asynchronous.Channel

PersonDeparted public_oe property

public Asynchronous.Channel PersonDeparted
return Asynchronous.Channel

Stop public_oe property

public Asynchronous.Channel Stop
return Asynchronous.Channel

mNum public_oe property

public int mNum
return int

mPeople public_oe property

public List mPeople
return List

mStopButtonBackColors public_oe property

public Color[] mStopButtonBackColors
return Color[]

mStopButtons public_oe property

public Button[],System.Windows.Forms mStopButtons
return System.Windows.Forms.Button[]