C# 클래스 CyrusBuilt.MonoPi.IO.PinStateChangeEventArgs

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

공개 메소드들

메소드 설명
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.

메소드 상세

PinStateChangeEventArgs() 공개 메소드

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

PinStateChangeEventArgs() 공개 메소드

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