C# Class Animatroller.Simulator.SimulatorForm

ファイルを表示 Open project: HakanL/animatroller

Protected Properties

Property Type Description
log Logger

Public Methods

Method Description
AddAnalogInput ( AnalogInput3 logicalDevice ) : Animatroller.Framework.PhysicalDevice.AnalogInput
AddDigitalInput_FlipFlop ( DigitalInput2 logicalDevice, bool showOutput ) : Animatroller.Framework.PhysicalDevice.DigitalInput
AddDigitalInput_Momentarily ( DigitalInput2 logicalDevice ) : Animatroller.Framework.PhysicalDevice.DigitalInput
AddDigitalInput_MomentarilyOLD ( DigitalInput2 logicalDevice ) : Animatroller.Framework.PhysicalDevice.DigitalInput
AddDigitalOutput ( DigitalOutput2 logicalDevice ) : Animatroller.Framework.PhysicalDevice.DigitalOutput
AddLabel ( string label ) : Label
AddMotor ( MotorWithFeedback logicalDevice ) : Animatroller.Framework.PhysicalDevice.MotorWithFeedback
AddNewLight ( string name ) : StrobeBulb
AddNewMatrix ( string name, int width, int height ) : PixelLight2D
AddNewRope ( string name, int pixels ) : PixelLight1D
AddUpdateAction ( Action action ) : void
AutoWireUsingReflection ( IScene scene ) : SimulatorForm
AutoWireUsingReflection_Simple ( IScene scene ) : SimulatorForm
Connect ( INeedsLabelLight output ) : void
Connect ( INeedsMatrixLight output ) : void
Connect ( INeedsRopeLight output ) : void
SimulatorForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

SimulatorForm_FormClosed ( object sender, FormClosedEventArgs e ) : void
updateTimer_Tick ( object sender, EventArgs e ) : void

Method Details

AddAnalogInput() public method

public AddAnalogInput ( AnalogInput3 logicalDevice ) : Animatroller.Framework.PhysicalDevice.AnalogInput
logicalDevice AnalogInput3
return Animatroller.Framework.PhysicalDevice.AnalogInput

AddDigitalInput_FlipFlop() public method

public AddDigitalInput_FlipFlop ( DigitalInput2 logicalDevice, bool showOutput ) : Animatroller.Framework.PhysicalDevice.DigitalInput
logicalDevice DigitalInput2
showOutput bool
return Animatroller.Framework.PhysicalDevice.DigitalInput

AddDigitalInput_Momentarily() public method

public AddDigitalInput_Momentarily ( DigitalInput2 logicalDevice ) : Animatroller.Framework.PhysicalDevice.DigitalInput
logicalDevice DigitalInput2
return Animatroller.Framework.PhysicalDevice.DigitalInput

AddDigitalInput_MomentarilyOLD() public method

public AddDigitalInput_MomentarilyOLD ( DigitalInput2 logicalDevice ) : Animatroller.Framework.PhysicalDevice.DigitalInput
logicalDevice DigitalInput2
return Animatroller.Framework.PhysicalDevice.DigitalInput

AddDigitalOutput() public method

public AddDigitalOutput ( DigitalOutput2 logicalDevice ) : Animatroller.Framework.PhysicalDevice.DigitalOutput
logicalDevice DigitalOutput2
return Animatroller.Framework.PhysicalDevice.DigitalOutput

AddLabel() public method

public AddLabel ( string label ) : Label
label string
return Label

AddMotor() public method

public AddMotor ( MotorWithFeedback logicalDevice ) : Animatroller.Framework.PhysicalDevice.MotorWithFeedback
logicalDevice MotorWithFeedback
return Animatroller.Framework.PhysicalDevice.MotorWithFeedback

AddNewLight() public method

public AddNewLight ( string name ) : StrobeBulb
name string
return Animatroller.Simulator.Control.StrobeBulb

AddNewMatrix() public method

public AddNewMatrix ( string name, int width, int height ) : PixelLight2D
name string
width int
height int
return Animatroller.Simulator.Control.PixelLight2D

AddNewRope() public method

public AddNewRope ( string name, int pixels ) : PixelLight1D
name string
pixels int
return Animatroller.Simulator.Control.PixelLight1D

AddUpdateAction() public method

public AddUpdateAction ( Action action ) : void
action Action
return void

AutoWireUsingReflection() public method

public AutoWireUsingReflection ( IScene scene ) : SimulatorForm
scene IScene
return SimulatorForm

AutoWireUsingReflection_Simple() public method

public AutoWireUsingReflection_Simple ( IScene scene ) : SimulatorForm
scene IScene
return SimulatorForm

Connect() public method

public Connect ( INeedsLabelLight output ) : void
output INeedsLabelLight
return void

Connect() public method

public Connect ( INeedsMatrixLight output ) : void
output INeedsMatrixLight
return void

Connect() public method

public Connect ( INeedsRopeLight output ) : void
output INeedsRopeLight
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

SimulatorForm() public method

public SimulatorForm ( ) : System
return System

Property Details

log protected_oe static_oe property

protected static Logger log
return Logger