C# Class Animatroller.Framework.Expander.IOExpander

Inheritance: SerialController, IPort, IDmxOutput, IPixelOutput
Show file Open project: HakanL/animatroller Class Usage Examples

Public Methods

Method Description
Connect ( PhysicalDevice device ) : IOExpander
IOExpander ( string portName ) : System
SendDimmerValue ( int channel, byte value ) : SendStatus
SendDimmerValues ( int firstChannel, byte values ) : SendStatus
SendDimmerValues ( int firstChannel, byte values, int offset, int length ) : SendStatus
SendPixelValue ( int channel, PhysicalDevice rgb ) : SendStatus
SendPixelsValue ( int startChannel, PhysicalDevice rgb ) : SendStatus
SendPixelsValue ( int channel, byte rgb, int length ) : void
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
CommandReceived ( string data ) : void

Private Methods

Method Description
WireupOutput ( int index ) : void

Method Details

CommandReceived() protected method

protected CommandReceived ( string data ) : void
data string
return void

Connect() public method

public Connect ( PhysicalDevice device ) : IOExpander
device PhysicalDevice
return IOExpander

IOExpander() public method

public IOExpander ( string portName ) : System
portName string
return System

SendDimmerValue() public method

public SendDimmerValue ( int channel, byte value ) : SendStatus
channel int
value byte
return SendStatus

SendDimmerValues() public method

public SendDimmerValues ( int firstChannel, byte values ) : SendStatus
firstChannel int
values byte
return SendStatus

SendDimmerValues() public method

public SendDimmerValues ( int firstChannel, byte values, int offset, int length ) : SendStatus
firstChannel int
values byte
offset int
length int
return SendStatus

SendPixelValue() public method

public SendPixelValue ( int channel, PhysicalDevice rgb ) : SendStatus
channel int
rgb PhysicalDevice
return SendStatus

SendPixelsValue() public method

public SendPixelsValue ( int startChannel, PhysicalDevice rgb ) : SendStatus
startChannel int
rgb PhysicalDevice
return SendStatus

SendPixelsValue() public method

public SendPixelsValue ( int channel, byte rgb, int length ) : void
channel int
rgb byte
length int
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void