C# Class CyrusBuilt.MonoPi.Components.Motors.MotorStateChangeEventArgs

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

Méthodes publiques

Méthode Description
MotorStateChangeEventArgs ( MotorState oldState, MotorState newState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Motors.MotorStateChangeEventArgs class with the old and new states.

Method Details

MotorStateChangeEventArgs() public méthode

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Motors.MotorStateChangeEventArgs class with the old and new states.
public MotorStateChangeEventArgs ( MotorState oldState, MotorState newState ) : System
oldState MotorState /// The state the motor was in prior to the change. ///
newState MotorState /// The current state of the motor since the change occurred. ///
Résultat System