C# Class HA4IoT.Sensors.Buttons.Button

Inheritance: SensorBase, IButton
Afficher le fichier Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Méthodes publiques

Méthode Description
Button ( ComponentId id, IButtonEndpoint endpoint, ITimerService timerService, ISettingsService settingsService ) : System
GetPressedLongTrigger ( ) : ITrigger
GetPressedShortlyTrigger ( ) : ITrigger
GetSupportedStates ( ) : IList
HandleApiCall ( IApiContext apiContext ) : void

Méthodes protégées

Méthode Description
OnPressedLong ( ) : void
OnPressedShortlyShort ( ) : void

Private Methods

Méthode Description
CheckForTimeout ( object sender, TimerTickEventArgs e ) : void
HandleInputStateChanged ( ComponentState state ) : void
InvokeTriggers ( ) : void

Method Details

Button() public méthode

public Button ( ComponentId id, IButtonEndpoint endpoint, ITimerService timerService, ISettingsService settingsService ) : System
id ComponentId
endpoint IButtonEndpoint
timerService ITimerService
settingsService ISettingsService
Résultat System

GetPressedLongTrigger() public méthode

public GetPressedLongTrigger ( ) : ITrigger
Résultat ITrigger

GetPressedShortlyTrigger() public méthode

public GetPressedShortlyTrigger ( ) : ITrigger
Résultat ITrigger

GetSupportedStates() public méthode

public GetSupportedStates ( ) : IList
Résultat IList

HandleApiCall() public méthode

public HandleApiCall ( IApiContext apiContext ) : void
apiContext IApiContext
Résultat void

OnPressedLong() protected méthode

protected OnPressedLong ( ) : void
Résultat void

OnPressedShortlyShort() protected méthode

protected OnPressedShortlyShort ( ) : void
Résultat void