InstrumentRecord

class InstrumentRecord(var serialNumber: String, var model: String, var softwareVersions: List<String>, var lastCalibration: Instant? = null, var nextCalibration: Instant? = null)

The instrument details recorded in the report.

Constructors

Link copied to clipboard
constructor(serialNumber: String, model: String, softwareVersions: List<String>, lastCalibration: Instant? = null, nextCalibration: Instant? = null)

Properties

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.