ElectricalEnergyMeasurementTrait.CumulativeEnergyResetStruct

class ElectricalEnergyMeasurementTrait.CumulativeEnergyResetStruct


Indicates when cumulative measurements were most recently zero.

Summary

Public constructors

CumulativeEnergyResetStruct(
    importedResetTimestamp: OptionalValue<UInt?>,
    exportedResetTimestamp: OptionalValue<UInt?>,
    importedResetSystime: OptionalValue<ULong?>,
    exportedResetSystime: OptionalValue<ULong?>
)

Creates the CumulativeEnergyResetStruct class.

Public properties

OptionalValue<ULong?>

The time, in milliseconds, since boot when cumulative exported energy was most recently zero.

OptionalValue<UInt?>

The timestamp in UTC of when cumulative exported energy was most recently zero.

OptionalValue<ULong?>

The time, in milliseconds, since boot when cumulative imported energy was most recently zero.

OptionalValue<UInt?>

The timestamp in UTC of when cumulative imported energy was most recently zero.

Public constructors

CumulativeEnergyResetStruct

CumulativeEnergyResetStruct(
    importedResetTimestamp: OptionalValue<UInt?> = OptionalValue.absent(),
    exportedResetTimestamp: OptionalValue<UInt?> = OptionalValue.absent(),
    importedResetSystime: OptionalValue<ULong?> = OptionalValue.absent(),
    exportedResetSystime: OptionalValue<ULong?> = OptionalValue.absent()
)

Creates the CumulativeEnergyResetStruct class.

Public properties

exportedResetSystime

val exportedResetSystimeOptionalValue<ULong?>

The time, in milliseconds, since boot when cumulative exported energy was most recently zero.

exportedResetTimestamp

val exportedResetTimestampOptionalValue<UInt?>

The timestamp in UTC of when cumulative exported energy was most recently zero.

importedResetSystime

val importedResetSystimeOptionalValue<ULong?>

The time, in milliseconds, since boot when cumulative imported energy was most recently zero.

importedResetTimestamp

val importedResetTimestampOptionalValue<UInt?>

The timestamp in UTC of when cumulative imported energy was most recently zero.