C# Class CyrusBuilt.MonoPi.IO.PinStateChangeEventArgs

Pin state change event arguments class.
Inheritance: System.EventArgs
Afficher le fichier Open project: cyrusbuilt/MonoPi Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat System

PinStateChangeEventArgs() public méthode

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. ///
Résultat System