C# Class CyrusBuilt.MonoPi.IO.PinStateChangeEventArgs

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

Public Methods

Method Description
PinStateChangeEventArgs ( Int32 address, PinState oldState, PinState newState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PinStateChangeEventArgs class with the address of the pin and the old and new pin states.

PinStateChangeEventArgs ( PinState oldState, PinState newState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PinStateChangeEventArgs class with the old and new pin states.

Method Details

PinStateChangeEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PinStateChangeEventArgs class with the address of the pin and the old and new pin states.
public PinStateChangeEventArgs ( Int32 address, PinState oldState, PinState newState ) : System
address System.Int32 /// The pin address. ///
oldState PinState /// The previous state of the pin. ///
newState PinState /// The new state of the pin. ///
return System

PinStateChangeEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.IO.PinStateChangeEventArgs class with the old and new pin states.
public PinStateChangeEventArgs ( PinState oldState, PinState newState ) : System
oldState PinState /// The previous state of the pin. ///
newState PinState /// The new state of the pin. ///
return System