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

Zone state change event arguments class.
Inheritance: System.EventArgs
ファイルを表示 Open project: cyrusbuilt/MonoPi Class Usage Examples

Public Methods

Method Description
ZoneStateChangeEventArgs ( System.Boolean oldState, System.Boolean newState, Int32 zone ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.ZoneStateChangeEventArgs class with the old and new states as well as the zone that changed state.

Method Details

ZoneStateChangeEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.Sprinkler.ZoneStateChangeEventArgs class with the old and new states as well as the zone that changed state.
public ZoneStateChangeEventArgs ( System.Boolean oldState, System.Boolean newState, Int32 zone ) : System
oldState System.Boolean /// The previous state of the zone. ///
newState System.Boolean /// The current state of the zone. ///
zone System.Int32 /// The zone that changed state. ///
return System