C# Класс HA4IoT.Sensors.Buttons.Button

Наследование: SensorBase, IButton
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Button ( ComponentId id, IButtonEndpoint endpoint, ITimerService timerService, ISettingsService settingsService ) : System
GetPressedLongTrigger ( ) : ITrigger
GetPressedShortlyTrigger ( ) : ITrigger
GetSupportedStates ( ) : IList
HandleApiCall ( IApiContext apiContext ) : void

Защищенные методы

Метод Описание
OnPressedLong ( ) : void
OnPressedShortlyShort ( ) : void

Приватные методы

Метод Описание
CheckForTimeout ( object sender, TimerTickEventArgs e ) : void
HandleInputStateChanged ( ComponentState state ) : void
InvokeTriggers ( ) : void

Описание методов

Button() публичный Метод

public Button ( ComponentId id, IButtonEndpoint endpoint, ITimerService timerService, ISettingsService settingsService ) : System
id ComponentId
endpoint IButtonEndpoint
timerService ITimerService
settingsService ISettingsService
Результат System

GetPressedLongTrigger() публичный Метод

public GetPressedLongTrigger ( ) : ITrigger
Результат ITrigger

GetPressedShortlyTrigger() публичный Метод

public GetPressedShortlyTrigger ( ) : ITrigger
Результат ITrigger

GetSupportedStates() публичный Метод

public GetSupportedStates ( ) : IList
Результат IList

HandleApiCall() публичный Метод

public HandleApiCall ( IApiContext apiContext ) : void
apiContext IApiContext
Результат void

OnPressedLong() защищенный Метод

protected OnPressedLong ( ) : void
Результат void

OnPressedShortlyShort() защищенный Метод

protected OnPressedShortlyShort ( ) : void
Результат void