C# 클래스 CyrusBuilt.MonoPi.Components.Motors.MotorStateChangeEventArgs

Motor state change event arguments class.
상속: System.EventArgs
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi 1 사용 예제들

공개 메소드들

메소드 설명
MotorStateChangeEventArgs ( MotorState oldState, MotorState newState ) : System

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

메소드 상세

MotorStateChangeEventArgs() 공개 메소드

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. ///
리턴 System