CarbonMonoxide

data class CarbonMonoxide(val value: Int, val status: Measurement.Status) : Measurement<Int>

Carbon monoxide (CO) measurement value expressed in ppm (parts per million)

Parameters

value

in ppm

status

of the measurement

Constructors

Link copied to clipboard
constructor(value: Int, status: Measurement.Status)

Properties

Link copied to clipboard
open override val accuracy: Measurement.Accuracy

Accuracy of given measurement.

Link copied to clipboard
open override val isValid: Boolean

True if status of the measurement is Status.VALID

Link copied to clipboard
open override val status: Measurement.Status
Link copied to clipboard

Type of given measurement.

Link copied to clipboard
open override val value: Int

Functions

Link copied to clipboard
open override fun toString(): String