RtfState

class RtfState(var connected: Boolean, var model: String? = null, var serialNumber: String? = null, var firmwareVersion: String? = null, var lastCalibration: Instant? = null, var nextCalibration: Instant? = null)

The RTF state.

Constructors

Link copied to clipboard
constructor(connected: Boolean, model: String? = null, serialNumber: String? = null, firmwareVersion: String? = null, lastCalibration: Instant? = null, nextCalibration: Instant? = null)

Properties

Link copied to clipboard

Whether the RTF is connected.

Link copied to clipboard

The firmware version of the RTF.

Link copied to clipboard
var lastCalibration: Instant?

The time of the last instrument calibration.

Link copied to clipboard

The model of the RTF.

Link copied to clipboard
var nextCalibration: Instant?

The time that the next instrument calibration is due.

Link copied to clipboard

The serial number of the RTF.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Returns true if this instance is equal to other.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this instance.

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

Returns a string representation of this instance.