Dibaca dalam bahasa Inggeris Edit

Kongsi melalui


Mhz19b Class

Definition

MH-Z19B CO2 concentration sensor binding

C#
public sealed class Mhz19b : IDisposable
C#
[System.Device.Model.Interface("MH-Z19B CO2 concentration sensor binding")]
public sealed class Mhz19b : IDisposable
Inheritance
Mhz19b
Attributes
Implements

Constructors

Mhz19b(Stream, Boolean)

Initializes a new instance of the Mhz19b class using an existing (serial port) stream.

Mhz19b(String)

Initializes a new instance of the Mhz19b class and creates a new serial port stream.

Methods

Dispose()

Provides a mechanism for releasing unmanaged resources.

GetCo2Reading()

Gets the current CO2 concentration from the sensor.

PerformSpanPointCalibration(VolumeConcentration)

Initiate a span point calibration.

PerformZeroPointCalibration()

Initiates a zero point calibration.

SetAutomaticBaselineCorrection(AbmState)

Switches the autmatic baseline correction on and off.

SetSensorDetectionRange(DetectionRange)

Set the sensor detection range.

Applies to

Produk Versi
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0