C# 클래스 CyrusBuilt.MonoPi.Devices.Sprinkler.SprinklerZoneBase

Base class for sprinler zones.
상속: ISprinklerZone
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

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