ElectricalPowerMeasurementTrait.Feature

data class ElectricalPowerMeasurementTrait.Feature


ElectricalPowerMeasurement Trait FeatureMap.

Summary

Public constructors

Feature(
    directCurrent: Boolean,
    alternatingCurrent: Boolean,
    polyphasePower: Boolean,
    harmonics: Boolean,
    powerQuality: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Supports the measurement of an alternating current.

String

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

Boolean

Supports the measurement of a direct current.

Boolean

Supports the measurement of the harmonics of an alternating current.

Boolean

Supports the measurement of polyphase power.

Boolean

Supports the measurement of the harmonic phases of an alternating current.

String

Trait identifier of the Matter Cluster that defines the bitmap Data Type.

Public constructors

Feature

Feature(
    directCurrent: Boolean = false,
    alternatingCurrent: Boolean = false,
    polyphasePower: Boolean = false,
    harmonics: Boolean = false,
    powerQuality: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

alternatingCurrent

val alternatingCurrentBoolean

Supports the measurement of an alternating current.

bitmapName

val bitmapNameString

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

directCurrent

val directCurrentBoolean

Supports the measurement of a direct current.

harmonics

val harmonicsBoolean

Supports the measurement of the harmonics of an alternating current.

polyphasePower

val polyphasePowerBoolean

Supports the measurement of polyphase power.

powerQuality

val powerQualityBoolean

Supports the measurement of the harmonic phases of an alternating current.

traitId

val traitIdString

Trait identifier of the Matter Cluster that defines the bitmap Data Type. Refer to ClusterId.traitId for the format.