C# Class AdapterLib.HueLightingServiceHandler

Inheritance: ILSFHandler
Afficher le fichier Open project: dotMorten/AllJoynPhilipsHueDSB

Méthodes publiques

Méthode Description
ClearLampFault ( uint InLampFaultCode, uint &LampResponseCode, uint &OutLampFaultCode ) : uint
HueLightingServiceHandler ( Q42 client, Q42 light ) : BridgeRT
LampState_ApplyPulseEffect ( BridgeRT FromState, BridgeRT ToState, uint Period, uint Duration, uint NumPulses, ulong Timestamp, uint &LampResponseCode ) : uint
TransitionLampState ( ulong Timestamp, BridgeRT NewState, uint TransitionPeriod, uint &LampResponseCode ) : uint

Private Methods

Méthode Description
ApplyPulseEffectAsync ( BridgeRT FromState, BridgeRT ToState, uint Period, uint Duration, uint NumPulses, ulong Timestamp ) : void

Change the state of the lamp at the specified time, between the specified OnOff, Brightness, Hue, Saturation, and ColorTemp values. Pulse for the specified number of times, at the specified duration

Method Details

ClearLampFault() public méthode

public ClearLampFault ( uint InLampFaultCode, uint &LampResponseCode, uint &OutLampFaultCode ) : uint
InLampFaultCode uint
LampResponseCode uint
OutLampFaultCode uint
Résultat uint

HueLightingServiceHandler() public méthode

public HueLightingServiceHandler ( Q42 client, Q42 light ) : BridgeRT
client Q42
light Q42
Résultat BridgeRT

LampState_ApplyPulseEffect() public méthode

public LampState_ApplyPulseEffect ( BridgeRT FromState, BridgeRT ToState, uint Period, uint Duration, uint NumPulses, ulong Timestamp, uint &LampResponseCode ) : uint
FromState BridgeRT
ToState BridgeRT
Period uint
Duration uint
NumPulses uint
Timestamp ulong
LampResponseCode uint
Résultat uint

TransitionLampState() public méthode

public TransitionLampState ( ulong Timestamp, BridgeRT NewState, uint TransitionPeriod, uint &LampResponseCode ) : uint
Timestamp ulong
NewState BridgeRT
TransitionPeriod uint
LampResponseCode uint
Résultat uint