C# Class HA4IoT.Actuators.ActuatorExtensions

Mostrar archivo Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
GetActuator ( this area, Enum id ) : IActuator
IsOff ( this actuator ) : bool
IsOn ( this actuator ) : bool

Method Details

GetActuator() public static method

public static GetActuator ( this area, Enum id ) : IActuator
area this
id System.Enum
return IActuator

IsOff() public static method

public static IsOff ( this actuator ) : bool
actuator this
return bool

IsOn() public static method

public static IsOn ( this actuator ) : bool
actuator this
return bool