Motor state change event arguments class.
Inheritance: System.EventArgs
コード例 #1
0
 /// <summary>
 /// Raises the motor state changed event.
 /// </summary>
 /// <param name="e">
 /// The event arguments.
 /// </param>
 protected virtual void OnMotorStateChanged(MotorStateChangeEventArgs e)
 {
     if (this.StateChanged != null)
     {
         this.StateChanged(this, e);
     }
 }
コード例 #2
0
ファイル: MotorBase.cs プロジェクト: cyrusbuilt/MonoPi
		/// <summary>
		/// Raises the motor state changed event.
		/// </summary>
		/// <param name="e">
		/// The event arguments.
		/// </param>
		protected virtual void OnMotorStateChanged(MotorStateChangeEventArgs e) {
			if (this.StateChanged != null) {
				this.StateChanged(this, e);
			}
		}