OvenModeTrait.ModeTagStruct

class OvenModeTrait.ModeTagStruct


Describes a mode tag. The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace and have the same meaning.

Summary

Public constructors

Creates the ModeTagStruct class.

Public properties

OptionalValue<UShort>

The manufacturer's vendor ID.

UShort

The mode tag within a mode tag namespace.

Public constructors

ModeTagStruct

ModeTagStruct(
    mfgCode: OptionalValue<UShort> = OptionalValue.absent(),
    value: UShort
)

Creates the ModeTagStruct class.

Public properties

mfgCode

val mfgCodeOptionalValue<UShort>

The manufacturer's vendor ID.

value

val valueUShort

The mode tag within a mode tag namespace. If the mfgCode field exists, this is set to a manufacturer-defined value, otherwise, it's set to a standard value.