CelsiusReading

value class CelsiusReading(val value: Float) : Comparable<CelsiusReading>

テレメトリから取得した実測の摂氏温度。単位の取り違え(℃/℉、ケルビン等)をコンパイル時に防ぐために使う。 閾値設定など整数で扱う値には Celsius を使う。

Constructors

Link copied to clipboard
constructor(value: Float)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: CelsiusReading): Int