IEC61970 16v29a - IEC61968 12v08
Public Attributes | List of all members
IEC61968::Metering::PendingCalculation Class Reference

#include <PendingCalculation.h>

Inheritance diagram for IEC61968::Metering::PendingCalculation:
Inheritance graph
[legend]
Collaboration diagram for IEC61968::Metering::PendingCalculation:
Collaboration graph
[legend]

Public Attributes

IEC61970::Base::Domain::Boolean multiplyBeforeAdd
 
IEC61970::Base::Domain::Integer offset
 
IEC61970::Base::Domain::Integer scalarDenominator
 
IEC61970::Base::Domain::Float scalarFloat
 
IEC61970::Base::Domain::Integer scalarNumerator
 
IEC61968::Metering::ReadingTypeReadingType
 

Detailed 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.

Member Data Documentation

◆ multiplyBeforeAdd

IEC61970::Base::Domain::Boolean IEC61968::Metering::PendingCalculation::multiplyBeforeAdd

Whether scalars should be applied before adding the 'offset'.

◆ offset

IEC61970::Base::Domain::Integer IEC61968::Metering::PendingCalculation::offset

(if applicable) Offset to be added as well as multiplication using scalars.

◆ ReadingType

IEC61968::Metering::ReadingType* IEC61968::Metering::PendingCalculation::ReadingType

Reading type resulting from this pending conversion.

◆ scalarDenominator

IEC61970::Base::Domain::Integer IEC61968::Metering::PendingCalculation::scalarDenominator

(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'.

◆ scalarFloat

IEC61970::Base::Domain::Float IEC61968::Metering::PendingCalculation::scalarFloat

(if scalar is floating number) When multiplied with 'IntervalReading.value', it causes a unit of measure conversion to occur, according to the 'ReadingType. unit'.

◆ scalarNumerator

IEC61970::Base::Domain::Integer IEC61968::Metering::PendingCalculation::scalarNumerator

(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'.


The documentation for this class was generated from the following files: