C# Class CyrusBuilt.MonoPi.Components.Relays.RelayStateChangedEventArgs

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

Méthodes publiques

Méthode Description
RelayStateChangedEventArgs ( RelayState oldState, RelayState newState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayStateChangedEventArgs class with the previous and current states.

Method Details

RelayStateChangedEventArgs() public méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayStateChangedEventArgs class with the previous and current states.
public RelayStateChangedEventArgs ( RelayState oldState, RelayState newState ) : System
oldState RelayState /// The previous relay state. ///
newState RelayState /// The current relay state. ///
Résultat System