C# Class CyrusBuilt.MonoPi.Devices.Garage.GarageDoorOpenerBase

Base class for garage door opener device abstractions.
Inheritance: CyrusBuilt.MonoPi.Devices.Access.OpenerDevice, IGarageDoorOpener
Afficher le fichier Open project: cyrusbuilt/MonoPi

Méthodes protégées

Méthode Description
GarageDoorOpenerBase ( IRelay relay, ISensor doorSensor, SensorState doorSensorOpenState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Garage.GarageDoorOpenerBase class with the relay, door sensor, and sensor state that indicates that the door is open.

GarageDoorOpenerBase ( IRelay relay, ISensor doorSensor, SensorState doorSensorOpenState, ISwitch lok ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Garage.GarageDoorOpenerBase class with the relay, door sensor, the sensor state that indicates that the door is open, and the switch that controls the lock.

Method Details

GarageDoorOpenerBase() protected méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Garage.GarageDoorOpenerBase class with the relay, door sensor, and sensor state that indicates that the door is open.
protected GarageDoorOpenerBase ( IRelay relay, ISensor doorSensor, SensorState doorSensorOpenState ) : System
relay IRelay /// The relay that controls the door. ///
doorSensor ISensor /// The sensor that indicates the state of the door. ///
doorSensorOpenState SensorState /// The sensor state that indicates the door is open. ///
Résultat System

GarageDoorOpenerBase() protected méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Garage.GarageDoorOpenerBase class with the relay, door sensor, the sensor state that indicates that the door is open, and the switch that controls the lock.
protected GarageDoorOpenerBase ( IRelay relay, ISensor doorSensor, SensorState doorSensorOpenState, ISwitch lok ) : System
relay IRelay /// The relay that controls the door. ///
doorSensor ISensor /// The sensor that indicates the state of the door. ///
doorSensorOpenState SensorState /// The sensor state that indicates the door is open. ///
lok ISwitch /// The switch that controls the lock. ///
Résultat System