Skip to main content

PendingCalculation

Class Description​

When present, a scalar conversion that needs to be applied to every IntervalReading.value contained in IntervalBlock. This conversion results in a new associated ReadingType, reflecting the true dimensions of IntervalReading values after the conversion.

Attributes and Relationships​

NameTypeDescription
multiplyBeforeAddBooleanWhether scalars should be applied before adding the 'offset'.
offsetInteger(if applicable) Offset to be added as well as multiplication using scalars.
scalarDenominatorInteger(if scalar is rational number) When 'IntervalReading.value' is multiplied by 'scalarNumerator' and divided by this value, it causes a unit of measure conversion to occur, resulting in the 'ReadingType.unit'.
scalarFloatFloat(if scalar is floating number) When multiplied with 'IntervalReading.value', it causes a unit of measure conversion to occur, according to the 'ReadingType.unit'.
scalarNumeratorInteger(if scalar is integer or rational number) When the scalar is a simple integer, and this attribute is presented alone and multiplied with 'IntervalReading.value', it causes a unit of measure conversion to occur, resulting in the 'ReadingType.unit'. It is never used in conjunction with 'scalarFloat', only with 'scalarDenominator'.
readingTypeReadingType (1)Reading type resulting from this pending conversion.
intervalBlocksIntervalBlock (0..*)All blocks of interval reading values to which this pending conversion applies.

Hierarchy​

None