C# 클래스 GlowPi.GlowSmarts

상속: ICommandServerListener, IProgramController
파일 보기 프로젝트 열기: QuinnDamerell/Glow 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
HandelProgramChanges ( ) : void
WorkLoop ( ) : void

메소드 상세

AnimateMasterIntensity() 공개 메소드

public AnimateMasterIntensity ( double intensity, System.TimeSpan animationTime ) : void
intensity double
animationTime System.TimeSpan
리턴 void

GetLed() 공개 메소드

public GetLed ( int ledNumber ) : WindowsIotLedDriver.AnimatedLed
ledNumber int
리턴 WindowsIotLedDriver.AnimatedLed

GetMasterIntensity() 공개 메소드

public GetMasterIntensity ( ) : double
리턴 double

IsMasterIntensityAnimating() 공개 메소드

public IsMasterIntensityAnimating ( ) : bool
리턴 bool

IsProgramEnabled() 공개 메소드

public IsProgramEnabled ( GlowPrograms program ) : bool
program GlowPrograms
리턴 bool

OnCommand() 공개 메소드

public OnCommand ( Command command ) : Command
command GlowCommon.DataObjects.Command
리턴 GlowCommon.DataObjects.Command

OnConnect() 공개 메소드

public OnConnect ( ) : void
리턴 void

OnDisconnected() 공개 메소드

public OnDisconnected ( ) : void
리턴 void

OnFatalError() 공개 메소드

public OnFatalError ( ) : void
리턴 void

Run() 공개 메소드

public Run ( ) : void
리턴 void

SetWorkRate() 공개 메소드

public SetWorkRate ( uint workRateMs ) : void
workRateMs uint
리턴 void

ToggleProgram() 공개 메소드

public ToggleProgram ( GlowPrograms program, bool enable ) : void
program GlowPrograms
enable bool
리턴 void