C# 클래스 CyrusBuilt.MonoPi.Devices.Gate.GateOpenerBase

Base class for gate opener abstractions.
상속: CyrusBuilt.MonoPi.Devices.Access.OpenerDevice, IGateOpener
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

보호된 메소드들

메소드 설명
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