C# 클래스 Microsoft.IoT.Devices.Sensors.AnalogSensor

Driver for a generic analog sensor.
상속: IAnalogSensor, IScheduledDevice
파일 보기 프로젝트 열기: jbienzms/iot-devices 1 사용 예제들

공개 메소드들

메소드 설명
AnalogSensor ( ) : System

Initializes a new AnalogSensor instance.

Dispose ( ) : void
GetCurrentReading ( ) : AnalogSensorReading

Gets the current sensor reading.

비공개 메소드들

메소드 설명
EnsureInitialized ( ) : void
Update ( bool raiseEvent ) : void

메소드 상세

AnalogSensor() 공개 메소드

Initializes a new AnalogSensor instance.
public AnalogSensor ( ) : System
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetCurrentReading() 공개 메소드

Gets the current sensor reading.
public GetCurrentReading ( ) : AnalogSensorReading
리턴 Microsoft.IoT.DeviceCore.Sensors.AnalogSensorReading