C# Class GlowPi.Programs.Weather

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
SetTempValue ( WindowsIotLedDriver.AnimatedLed led, double temp ) : void
SetWindValue ( WindowsIotLedDriver.AnimatedLed led, double wind ) : void
UpdateSettings ( Command command ) : void
UpdateWeather ( ) : 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