ElectricalEnergyMeasurementTrait.Feature

data class ElectricalEnergyMeasurementTrait.Feature


ElectricalEnergyMeasurement Trait FeatureMap.

Summary

Public constructors

Feature(
    importedEnergy: Boolean,
    exportedEnergy: Boolean,
    cumulativeEnergy: Boolean,
    periodicEnergy: Boolean,
    apparentEnergy: Boolean,
    reactiveEnergy: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Measurements report apparent energy.

Boolean

The measurements are cumulative.

Boolean

Supports the measurement of energy provided by the server.

Boolean

Supports the measurement of energy imported by the server.

Boolean

The measurements are periodic.

Boolean

Measurements report reactive energy.

Public constructors

Feature

Feature(
    importedEnergy: Boolean = false,
    exportedEnergy: Boolean = false,
    cumulativeEnergy: Boolean = false,
    periodicEnergy: Boolean = false,
    apparentEnergy: Boolean = false,
    reactiveEnergy: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

apparentEnergy

val apparentEnergyBoolean

Measurements report apparent energy.

cumulativeEnergy

val cumulativeEnergyBoolean

The measurements are cumulative.

exportedEnergy

val exportedEnergyBoolean

Supports the measurement of energy provided by the server.

importedEnergy

val importedEnergyBoolean

Supports the measurement of energy imported by the server.

periodicEnergy

val periodicEnergyBoolean

The measurements are periodic.

reactiveEnergy

val reactiveEnergyBoolean

Measurements report reactive energy.