C# Class GlowPi.Programs.RandomColor

Inheritance: IProgram
Exibir arquivo Open project: QuinnDamerell/Glow Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
CommandRecieved ( Command command ) : Command
Deactivate ( ) : void
DoWork ( uint timeElaspedMs ) : void
InitProgram ( IProgramController controller ) : void

Private Methods

Method Description
GetSettingsCommand ( ) : Command
SetColor ( WindowsIotLedDriver.AnimatedLed led, double value, System.TimeSpan time ) : void
UpdateSettings ( Command command ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

CommandRecieved() public method

public CommandRecieved ( Command command ) : Command
command GlowCommon.DataObjects.Command
return GlowCommon.DataObjects.Command

Deactivate() public method

public Deactivate ( ) : void
return void

DoWork() public method

public DoWork ( uint timeElaspedMs ) : void
timeElaspedMs uint
return void

InitProgram() public method

public InitProgram ( IProgramController controller ) : void
controller IProgramController
return void