ElectricalPowerMeasurementTrait.MeasurementAccuracyRangeStruct

class ElectricalPowerMeasurementTrait.MeasurementAccuracyRangeStruct


The accuracy of a measurement for a range of measurement values, shown as a maximum +/- percentage of the true value, a maximum +/- fixed value of the true value, or both.

Summary

Public constructors

MeasurementAccuracyRangeStruct(
    rangeMin: Long,
    rangeMax: Long,
    percentMax: OptionalValue<UShort>,
    percentMin: OptionalValue<UShort>,
    percentTypical: OptionalValue<UShort>,
    fixedMax: OptionalValue<ULong>,
    fixedMin: OptionalValue<ULong>,
    fixedTypical: OptionalValue<ULong>
)

Creates the MeasurementAccuracyRangeStruct class.

Public properties

OptionalValue<ULong>

The maximum +/- fixed accuracy for the associated measurement, in the unit indicated by measurementType.

OptionalValue<ULong>

The minimum +/- fixed accuracy for the associated measurement, in the unit indicated by measurementType.

OptionalValue<ULong>

The typical +/- fixed accuracy for the associated measurement, in the unit indicated by measurementType.

OptionalValue<UShort>

The maximum +/- percentage accuracy for the associated measurement.

OptionalValue<UShort>

The minimum +/- percentage accuracy for the associated measurement.

OptionalValue<UShort>

The typical +/- percentage accuracy for the associated measurement.

Long

The maximum measurement value for the specified level of accuracy.

Long

The minimum measurement value for the specified level of accuracy.

Public constructors

MeasurementAccuracyRangeStruct

MeasurementAccuracyRangeStruct(
    rangeMin: Long = 0,
    rangeMax: Long = 0,
    percentMax: OptionalValue<UShort> = OptionalValue.absent(),
    percentMin: OptionalValue<UShort> = OptionalValue.absent(),
    percentTypical: OptionalValue<UShort> = OptionalValue.absent(),
    fixedMax: OptionalValue<ULong> = OptionalValue.absent(),
    fixedMin: OptionalValue<ULong> = OptionalValue.absent(),
    fixedTypical: OptionalValue<ULong> = OptionalValue.absent()
)

Creates the MeasurementAccuracyRangeStruct class.

Public properties

fixedMax

val fixedMaxOptionalValue<ULong>

The maximum +/- fixed accuracy for the associated measurement, in the unit indicated by measurementType.

fixedMin

val fixedMinOptionalValue<ULong>

The minimum +/- fixed accuracy for the associated measurement, in the unit indicated by measurementType.

fixedTypical

val fixedTypicalOptionalValue<ULong>

The typical +/- fixed accuracy for the associated measurement, in the unit indicated by measurementType.

percentMax

val percentMaxOptionalValue<UShort>

The maximum +/- percentage accuracy for the associated measurement.

percentMin

val percentMinOptionalValue<UShort>

The minimum +/- percentage accuracy for the associated measurement.

percentTypical

val percentTypicalOptionalValue<UShort>

The typical +/- percentage accuracy for the associated measurement.

rangeMax

val rangeMaxLong

The maximum measurement value for the specified level of accuracy. The value of this field is greater than the value of the rangeMin field and greater than or equal to the value of minMeasuredValue. The value of this field is less than or equal to the value of maxMeasuredValue.

rangeMin

val rangeMinLong

The minimum measurement value for the specified level of accuracy. The value of this field is greater than or equal to the value of minMeasuredValue. The value of this field is less than or equal to the value of maxMeasuredValue.