public static IBinaryStateOutputActuator BinaryStateOutput(this IArea room, Enum id) { if (room == null) { throw new ArgumentNullException(nameof(room)); } return(room.Actuator <IBinaryStateOutputActuator>(ActuatorIdFactory.Create(room, id))); }
public static IRollerShutter RollerShutter(this IArea area, Enum id) { if (area == null) { throw new ArgumentNullException(nameof(area)); } return(area.Actuator <RollerShutter>(ActuatorIdFactory.Create(area, id))); }
public static ITemperatureSensor TemperatureSensor(this IArea room, Enum id) { if (room == null) { throw new ArgumentNullException(nameof(room)); } return(room.Actuator <TemperatureSensor>(ActuatorIdFactory.Create(room, id))); }
public static Lamp Lamp(this IArea room, Enum id) { if (room == null) { throw new ArgumentNullException(nameof(room)); } return(room.Actuator <Lamp>(ActuatorIdFactory.Create(room, id))); }
public static RollerShutterButtons RollerShutterButtons(this IArea room, Enum id) { if (room == null) { throw new ArgumentNullException(nameof(room)); } return(room.Actuator <RollerShutterButtons>(ActuatorIdFactory.Create(room, id))); }
public static IMotionDetector MotionDetector(this IArea room) { if (room == null) { throw new ArgumentNullException(nameof(room)); } return(room.Actuator <IMotionDetector>()); }