C# Class HA4IoT.Hardware.I2CHardwareBridge.SendInfraredSignalCommand

Inheritance: I2CHardwareBridgeCommand
Exibir arquivo Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
Execute ( II2CDevice i2CDevice ) : void
WithFrequency ( byte frequency ) : SendInfraredSignalCommand
WithPin ( byte pin ) : SendInfraredSignalCommand
WithRepeats ( byte count ) : SendInfraredSignalCommand
WithSignal ( byte signal ) : SendInfraredSignalCommand

Private Methods

Method Description
GenerateClearSignalCachePackage ( ) : byte[]
GenerateFillSignalCachePackage ( byte data ) : byte[]
GenerateSendCachedSignalPackage ( ) : byte[]

Method Details

Execute() public method

public Execute ( II2CDevice i2CDevice ) : void
i2CDevice II2CDevice
return void

WithFrequency() public method

public WithFrequency ( byte frequency ) : SendInfraredSignalCommand
frequency byte
return SendInfraredSignalCommand

WithPin() public method

public WithPin ( byte pin ) : SendInfraredSignalCommand
pin byte
return SendInfraredSignalCommand

WithRepeats() public method

public WithRepeats ( byte count ) : SendInfraredSignalCommand
count byte
return SendInfraredSignalCommand

WithSignal() public method

public WithSignal ( byte signal ) : SendInfraredSignalCommand
signal byte
return SendInfraredSignalCommand