RefrigeratorAndTemperatureControlledCabinetModeTrait.ModeOptionStruct

class RefrigeratorAndTemperatureControlledCabinetModeTrait.ModeOptionStruct


Describes a mode that may be selected on the device.

Summary

Public constructors

Creates the ModeOptionStruct class.

Public properties

String

Text that describes the mode option and is meant to be read and understood by the user.

UByte

A unique identifier for the mode option.

List<RefrigeratorAndTemperatureControlledCabinetModeTrait.ModeTagStruct>

A list of tags that are associated with the mode option, which may be used by a device to determine the semantics of a certain mode.

Public constructors

ModeOptionStruct

ModeOptionStruct(
    label: String = "",
    mode: UByte,
    modeTags: List<RefrigeratorAndTemperatureControlledCabinetModeTrait.ModeTagStruct> = emptyList()
)

Creates the ModeOptionStruct class.

Public properties

label

val labelString

Text that describes the mode option and is meant to be read and understood by the user.

mode

val modeUByte

A unique identifier for the mode option.

modeTags

val modeTagsList<RefrigeratorAndTemperatureControlledCabinetModeTrait.ModeTagStruct>

A list of tags that are associated with the mode option, which may be used by a device to determine the semantics of a certain mode.