C# Class CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase

Base class for sprinler zones.
Inheritance: ISprinklerZone
Afficher le fichier Open project: cyrusbuilt/MonoPi

Méthodes publiques

Méthode Description
Off ( ) : void

Turns this zone off.

On ( ) : void

Turns this zone on.

SetState ( System.Boolean on ) : void

Sets the state of this zone..

Méthodes protégées

Méthode Description
SprinklerZoneBase ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase class. This is the default constructor.

SprinklerZoneBase ( String name ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase class with the name of the zone.

Method Details

Off() public méthode

Turns this zone off.
public Off ( ) : void
Résultat void

On() public méthode

Turns this zone on.
public On ( ) : void
Résultat void

SetState() public abstract méthode

Sets the state of this zone..
public abstract SetState ( System.Boolean on ) : void
on System.Boolean /// Set true to turn the zone on or false to turn it off. ///
Résultat void

SprinklerZoneBase() protected méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase class. This is the default constructor.
protected SprinklerZoneBase ( ) : System
Résultat System

SprinklerZoneBase() protected méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase class with the name of the zone.
protected SprinklerZoneBase ( String name ) : System
name String /// The name of the zone. ///
Résultat System