C# Class HA4IoT.Actuators.RollerShutters.RollerShutter

Inheritance: ActuatorBase, IRollerShutter
Show file Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
ExportStatus ( ) : JToken
GetStartMoveDownAction ( ) : IAction
GetStartMoveUpAction ( ) : IAction
GetState ( ) : ComponentState
GetSupportedStates ( ) : IList
GetTurnOffAction ( ) : IAction
HandleApiCall ( IApiContext apiContext ) : void
ResetState ( ) : void
RollerShutter ( ComponentId id, IRollerShutterEndpoint endpoint, ITimerService timerService, ISchedulerService schedulerService, ISettingsService settingsService ) : System
SetState ( ComponentState state ) : void

Private Methods

Method Description
RestartTracking ( ) : void
UpdatePosition ( TimerTickEventArgs timerTickEventArgs ) : void

Method Details

ExportStatus() public method

public ExportStatus ( ) : JToken
return JToken

GetStartMoveDownAction() public method

public GetStartMoveDownAction ( ) : IAction
return IAction

GetStartMoveUpAction() public method

public GetStartMoveUpAction ( ) : IAction
return IAction

GetState() public method

public GetState ( ) : ComponentState
return ComponentState

GetSupportedStates() public method

public GetSupportedStates ( ) : IList
return IList

GetTurnOffAction() public method

public GetTurnOffAction ( ) : IAction
return IAction

HandleApiCall() public method

public HandleApiCall ( IApiContext apiContext ) : void
apiContext IApiContext
return void

ResetState() public method

public ResetState ( ) : void
return void

RollerShutter() public method

public RollerShutter ( ComponentId id, IRollerShutterEndpoint endpoint, ITimerService timerService, ISchedulerService schedulerService, ISettingsService settingsService ) : System
id ComponentId
endpoint IRollerShutterEndpoint
timerService ITimerService
schedulerService ISchedulerService
settingsService ISettingsService
return System

SetState() public method

public SetState ( ComponentState state ) : void
state ComponentState
return void