Measurements
data class Measurements(val action: Action, val completedAt: ZonedDateTime, instrumentMeasurements: List<Action.Instrument.Measurements>) : List<Action.Instrument.Measurements>
A collection of measurements per Instrument that were taken for the given action.
Constructors
Link copied to clipboard
constructor(action: Action, completedAt: ZonedDateTime, vararg instrumentMeasurements: Action.Instrument.Measurements)
constructor(action: Action, completedAt: ZonedDateTime, instrumentMeasurements: List<Action.Instrument.Measurements>)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun updateInstrumentItemMeasurement(item: Action.Instrument.Item, block: (Action.Instrument.Item.Measurement?) -> Action.Instrument.Item.Measurement?): Action.Measurements
Update a Instrument.Item.Measurement for the given item in the Instrument.Measurements.
Link copied to clipboard
fun updateInstrumentMeasurement(instrument: Action.Instrument, block: (Action.Instrument.Measurements?) -> Action.Instrument.Measurements?): Action.Measurements
Update a Instrument.Measurements for the given instrument in the Measurements.