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 apparentEnergy: Boolean

Measurements report apparent energy.

cumulativeEnergy

val cumulativeEnergy: Boolean

The measurements are cumulative.

exportedEnergy

val exportedEnergy: Boolean

Supports the measurement of energy provided by the server.

importedEnergy

val importedEnergy: Boolean

Supports the measurement of energy imported by the server.

periodicEnergy

val periodicEnergy: Boolean

The measurements are periodic.

reactiveEnergy

val reactiveEnergy: Boolean

Measurements report reactive energy.