C# Class GlowPi.GlowSmarts

Inheritance: ICommandServerListener, IProgramController
Afficher le fichier Open project: QuinnDamerell/Glow Class Usage Examples

Méthodes publiques

Méthode Description
AnimateMasterIntensity ( double intensity, System.TimeSpan animationTime ) : void
GetLed ( int ledNumber ) : WindowsIotLedDriver.AnimatedLed
GetMasterIntensity ( ) : double
IsMasterIntensityAnimating ( ) : bool
IsProgramEnabled ( GlowPrograms program ) : bool
OnCommand ( Command command ) : Command
OnConnect ( ) : void
OnDisconnected ( ) : void
OnFatalError ( ) : void
Run ( ) : void
SetWorkRate ( uint workRateMs ) : void
ToggleProgram ( GlowPrograms program, bool enable ) : void

Private Methods

Méthode Description
HandelProgramChanges ( ) : void
WorkLoop ( ) : void

Method Details

AnimateMasterIntensity() public méthode

public AnimateMasterIntensity ( double intensity, System.TimeSpan animationTime ) : void
intensity double
animationTime System.TimeSpan
Résultat void

GetLed() public méthode

public GetLed ( int ledNumber ) : WindowsIotLedDriver.AnimatedLed
ledNumber int
Résultat WindowsIotLedDriver.AnimatedLed

GetMasterIntensity() public méthode

public GetMasterIntensity ( ) : double
Résultat double

IsMasterIntensityAnimating() public méthode

public IsMasterIntensityAnimating ( ) : bool
Résultat bool

IsProgramEnabled() public méthode

public IsProgramEnabled ( GlowPrograms program ) : bool
program GlowPrograms
Résultat bool

OnCommand() public méthode

public OnCommand ( Command command ) : Command
command GlowCommon.DataObjects.Command
Résultat GlowCommon.DataObjects.Command

OnConnect() public méthode

public OnConnect ( ) : void
Résultat void

OnDisconnected() public méthode

public OnDisconnected ( ) : void
Résultat void

OnFatalError() public méthode

public OnFatalError ( ) : void
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void

SetWorkRate() public méthode

public SetWorkRate ( uint workRateMs ) : void
workRateMs uint
Résultat void

ToggleProgram() public méthode

public ToggleProgram ( GlowPrograms program, bool enable ) : void
program GlowPrograms
enable bool
Résultat void