ElectricalEnergyMeasurementTrait.MeasurementAccuracyStruct

class ElectricalEnergyMeasurementTrait.MeasurementAccuracyStruct


The set of accuracy ranges for a given measurement, the maximum and minimum values for the measurement, and whether the measurement is directly measured or only estimated from other existing information.

Summary

Public constructors

MeasurementAccuracyStruct(
    measurementType: ElectricalEnergyMeasurementTrait.MeasurementTypeEnum,
    measured: Boolean,
    minMeasuredValue: Long,
    maxMeasuredValue: Long,
    accuracyRanges: List<ElectricalEnergyMeasurementTrait.MeasurementAccuracyRangeStruct>
)

Creates the MeasurementAccuracyStruct class.

Public properties

List<ElectricalEnergyMeasurementTrait.MeasurementAccuracyRangeStruct>

A list of measurement ranges and their associated accuracies.

Long

The maximum possible value of the measured value.

Boolean

Whether the associated measurement was directly measured.

ElectricalEnergyMeasurementTrait.MeasurementTypeEnum

The measurement type for the accuracy provided.

Long

The minimum possible value of the measured value.

Public constructors

MeasurementAccuracyStruct

MeasurementAccuracyStruct(
    measurementType: ElectricalEnergyMeasurementTrait.MeasurementTypeEnum = MeasurementTypeEnum.Unspecified,
    measured: Boolean = false,
    minMeasuredValue: Long = 0,
    maxMeasuredValue: Long = 0,
    accuracyRanges: List<ElectricalEnergyMeasurementTrait.MeasurementAccuracyRangeStruct> = emptyList()
)

Creates the MeasurementAccuracyStruct class.

Public properties

accuracyRanges

val accuracyRangesList<ElectricalEnergyMeasurementTrait.MeasurementAccuracyRangeStruct>

A list of measurement ranges and their associated accuracies.

maxMeasuredValue

val maxMeasuredValueLong

The maximum possible value of the measured value.

measured

val measuredBoolean

Whether the associated measurement was directly measured. If this field is not set to true, then the associated measurement was estimated.

measurementType

val measurementTypeElectricalEnergyMeasurementTrait.MeasurementTypeEnum

The measurement type for the accuracy provided.

minMeasuredValue

val minMeasuredValueLong

The minimum possible value of the measured value.