IpaNextGenInstrumentState

class IpaNextGenInstrumentState(var serialNumber: String, var model: String, var softwareVersions: List<String>, var lastCalibration: Instant? = null, var nextCalibration: Instant? = null, var connectionState: ConnectionState, var batteryState: BatteryState, var isSoundOn: Boolean) : InstrumentState

An IPA Next Gen instrument state.

Constructors

Link copied to clipboard
constructor(serialNumber: String, model: String, softwareVersions: List<String>, lastCalibration: Instant? = null, nextCalibration: Instant? = null, connectionState: ConnectionState, batteryState: BatteryState, isSoundOn: Boolean)

Properties

Link copied to clipboard

The battery state.

Link copied to clipboard

The connection state.

Link copied to clipboard

Whether the sound is on.

Link copied to clipboard
var lastCalibration: Instant?

The time of the last instrument calibration.

Link copied to clipboard

The model.

Link copied to clipboard
var nextCalibration: Instant?

The time that the next instrument calibration is due.

Link copied to clipboard

The serial number.

Link copied to clipboard

The software versions.

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.