Method | Description | |
---|---|---|
GateOpenerDevice ( IRelay relay, ISensor gateSensor, SensorState gateSensorOpenState ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Gate.GateOpenerDevice class with the relay, gate sensor, and sensor state that indicates that the gate is open.
|
|
GateOpenerDevice ( IRelay relay, ISensor gateSensor, SensorState gateSensorOpenState, ISwitch lok ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Gate.GateOpenerDevice class with the relay, gate sensor, the sensor state that indicates that the gate is open, and the switch that controls the lock.
|
public GateOpenerDevice ( IRelay relay, ISensor gateSensor, SensorState gateSensorOpenState ) : System | ||
relay | IRelay | /// The relay that controls the gate. /// |
gateSensor | ISensor | /// The sensor that indicates the state of the gate. /// |
gateSensorOpenState | SensorState | /// The sensor state that indicates the gate is open. /// |
return | System |
public GateOpenerDevice ( IRelay relay, ISensor gateSensor, SensorState gateSensorOpenState, ISwitch lok ) : System | ||
relay | IRelay | /// The relay that controls the gate. /// |
gateSensor | ISensor | /// The sensor that indicates the state of the gate. /// |
gateSensorOpenState | SensorState | /// The sensor state that indicates the gate is open. /// |
lok | ISwitch | /// The switch that controls the lock. /// |
return | System |