C# Class LiftController.Floor

Inheritance: Sprite
Datei anzeigen Open project: JoinPatterns/ScalableJoins Class Usage Examples

Public Properties

Property Type Description
Arrived Asynchronous.Channel
Down Asynchronous.Channel
PersonArrived Ack>>.Asynchronous.Channel
PersonDeparted Asynchronous.Channel
Up Asynchronous.Channel
mDownButton System.Windows.Forms.Button
mDownButtonBackColor Color
mNum int
mUpButton System.Windows.Forms.Button
mUpButtonBackColor Color

Public Methods

Method Description
Floor ( List lifts, Int32 floor ) : System
RedrawUnderViewLock ( System.TimeSpan t, Graphics g ) : void
Reserve ( Dir dir ) : Lift

Private Methods

Method Description
WaitTimes ( Dir dir ) : WaitTime>>.List

Method Details

Floor() public method

public Floor ( List lifts, Int32 floor ) : System
lifts List
floor System.Int32
return System

RedrawUnderViewLock() public method

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

Reserve() public method

public Reserve ( Dir dir ) : Lift
dir Dir
return Lift

Property Details

Arrived public_oe property

public Asynchronous.Channel Arrived
return Asynchronous.Channel

Down public_oe property

public Asynchronous.Channel Down
return Asynchronous.Channel

PersonArrived public_oe property

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

PersonDeparted public_oe property

public Asynchronous.Channel PersonDeparted
return Asynchronous.Channel

Up public_oe property

public Asynchronous.Channel Up
return Asynchronous.Channel

mDownButton public_oe property

public Button,System.Windows.Forms mDownButton
return System.Windows.Forms.Button

mDownButtonBackColor public_oe property

public Color mDownButtonBackColor
return Color

mNum public_oe property

public int mNum
return int

mUpButton public_oe property

public Button,System.Windows.Forms mUpButton
return System.Windows.Forms.Button

mUpButtonBackColor public_oe property

public Color mUpButtonBackColor
return Color