C# 클래스 HA4IoT.Sensors.Buttons.Button

상속: SensorBase, IButton
파일 보기 프로젝트 열기: chkr1011/CK.HomeAutomation 1 사용 예제들

공개 메소드들

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