C# Class LiftController.Floor

Inheritance: Sprite
Show file 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 property

public Asynchronous.Channel Arrived
return Asynchronous.Channel

Down public property

public Asynchronous.Channel Down
return Asynchronous.Channel

PersonArrived public property

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

PersonDeparted public property

public Asynchronous.Channel PersonDeparted
return Asynchronous.Channel

Up public property

public Asynchronous.Channel Up
return Asynchronous.Channel

mDownButton public property

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

mDownButtonBackColor public property

public Color mDownButtonBackColor
return Color

mNum public property

public int mNum
return int

mUpButton public property

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

mUpButtonBackColor public property

public Color mUpButtonBackColor
return Color