C# Класс CyrusBuilt.MonoPi.Devices.Gate.GateOpenerBase

Base class for gate opener abstractions.
Наследование: CyrusBuilt.MonoPi.Devices.Access.OpenerDevice, IGateOpener
Показать файл Открыть проект

Защищенные методы

Метод Описание
GateOpenerBase ( IRelay relay, ISensor doorSensor, SensorState doorSensorOpenState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Gate.GateOpenerBase classwith the relay, sensor, and the sensor state that indicates that the opener has opened.

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

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Gate.GateOpenerBase class with the relay, sensor, the sensor state that indicates that the opener has opened, and the switch that controls the lock.

Описание методов

GateOpenerBase() защищенный Метод

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Gate.GateOpenerBase classwith the relay, sensor, and the sensor state that indicates that the opener has opened.
protected GateOpenerBase ( IRelay relay, ISensor doorSensor, SensorState doorSensorOpenState ) : System
relay IRelay /// The relay that controls the opener. ///
doorSensor ISensor /// The reading the state of the opener. ///
doorSensorOpenState SensorState /// The sensor state that indicates the opener has opened. ///
Результат System

GateOpenerBase() защищенный Метод

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Gate.GateOpenerBase class with the relay, sensor, the sensor state that indicates that the opener has opened, and the switch that controls the lock.
protected GateOpenerBase ( IRelay relay, ISensor doorSensor, SensorState doorSensorOpenState, ISwitch lok ) : System
relay IRelay /// The relay that controls the opener. ///
doorSensor ISensor /// The reading the state of the opener. ///
doorSensorOpenState SensorState /// The sensor state that indicates the opener has opened. ///
lok ISwitch /// The switch that controls the lock. ///
Результат System