Method | Description | |
---|---|---|
Dispose ( ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerControllerBase object. Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerControllerBase. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerControllerBase in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerControllerBase so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerControllerBase was occupying. |
|
IsOffForZone ( |
Determines whether the specified zone is off.
|
|
IsOnForZone ( |
Determines whether the specified zone is on.
|
|
Off ( |
Turns the specified zone off.
|
|
OffAllZones ( ) : void |
Turns off all zones.
|
|
On ( |
Turns the specified zone on.
|
|
OnAllZones ( ) : void |
Turns all zones on.
|
|
SetState ( |
Sets the state of the specified zone.
|
Method | Description | |
---|---|---|
OnZoneStateChanged ( |
Raises the zone state changed event.
|
|
SprinklerControllerBase ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerControllerBase class. This is the default constructor.
|
public IsOffForZone ( |
||
zone | /// The zone to check. /// | |
return | System.Boolean |
public IsOnForZone ( |
||
zone | /// The zone to check. /// | |
return | System.Boolean |
public Off ( |
||
zone | /// The zone to turn off. /// | |
return | void |
public On ( |
||
zone | /// The zone to turn on. /// | |
return | void |
protected OnZoneStateChanged ( |
||
e | /// The event arguments. /// | |
return | void |
public SetState ( |
||
zone | /// The zone to set the state of. /// | |
on | System.Boolean | /// Set true to turn on the specified zone. /// |
return | void |
protected SprinklerControllerBase ( ) : System | ||
return | System |