C# Класс CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase

Base class for sprinler zones.
Наследование: ISprinklerZone
Показать файл Открыть проект

Открытые методы

Метод Описание
Off ( ) : void

Turns this zone off.

On ( ) : void

Turns this zone on.

SetState ( System.Boolean on ) : void

Sets the state of this zone..

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

Метод Описание
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.

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

Off() публичный Метод

Turns this zone off.
public Off ( ) : void
Результат void

On() публичный Метод

Turns this zone on.
public On ( ) : void
Результат void

SetState() публичный абстрактный Метод

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. ///
Результат void

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

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase class. This is the default constructor.
protected SprinklerZoneBase ( ) : System
Результат System

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

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. ///
Результат System