C# 클래스 CyrusBuilt.MonoPi.Components.Sensors.SensorStateChangedEventArgs

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

공개 메소드들

메소드 설명
SensorStateChangedEventArgs ( ISensor sensor, SensorState oldState, SensorState newState ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Sensors.SensorStateChangedEventArgs class with the sensor that changed state, as well as the old and new states.

메소드 상세

SensorStateChangedEventArgs() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Sensors.SensorStateChangedEventArgs class with the sensor that changed state, as well as the old and new states.
public SensorStateChangedEventArgs ( ISensor sensor, SensorState oldState, SensorState newState ) : System
sensor ISensor /// The sensor that changed state. ///
oldState SensorState /// The state of the sensor prior to the change. ///
newState SensorState /// The current state of the sensor. ///
리턴 System