C# Class Animatroller.Framework.Expander.DMXPro

Inheritance: IPort, IRunnable, IDmxOutput
显示文件 Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Property Type Description
log System.Logger

Public Methods

Method Description
Connect ( PhysicalDevice device ) : DMXPro
DMXPro ( string portName ) : System
Run ( ) : void
SendDimmerValue ( int channel, byte value ) : SendStatus
SendDimmerValues ( int firstChannel, byte values ) : SendStatus
SendDimmerValues ( int firstChannel, byte values, int offset, int length ) : SendStatus
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
SendSerialCommand ( byte label, byte data ) : void
packetManager_PacketReceived ( object sender, DmxPacketManager e ) : void

Private Methods

Method Description
DataChanged ( ) : void
serialPort_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void

Method Details

Connect() public method

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

DMXPro() public method

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

Run() public method

public Run ( ) : void
return void

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

SendSerialCommand() protected method

protected SendSerialCommand ( byte label, byte data ) : void
label byte
data byte
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

packetManager_PacketReceived() protected method

protected packetManager_PacketReceived ( object sender, DmxPacketManager e ) : void
sender object
e DmxPacketManager
return void

Property Details

log protected_oe static_oe property

protected static Logger,System log
return System.Logger