GoogleBathtubDevice.StandardTraits

class GoogleBathtubDevice.StandardTraits


Trait Container for Standard Traits.

Summary

Public constructors

StandardTraits(
    temperatureControl: TemperatureControl?,
    temperatureMeasurement: TemperatureMeasurement?,
    operationalState: OperationalState?
)

Public properties

OperationalState?

This trait supports remote monitoring and allows the operational state of any device to be changed provided that a state machine is part of the operation.

TemperatureControl?

This trait provides an interface to the setpoint temperature on devices such as washers, refrigerators, and water heaters.

TemperatureMeasurement?

This trait provides an interface to temperature measurement capability.

Public constructors

StandardTraits

StandardTraits(
    temperatureControl: TemperatureControl?,
    temperatureMeasurement: TemperatureMeasurement?,
    operationalState: OperationalState?
)

Public properties

operationalState

val operationalStateOperationalState?

This trait supports remote monitoring and allows the operational state of any device to be changed provided that a state machine is part of the operation.

temperatureControl

val temperatureControlTemperatureControl?

This trait provides an interface to the setpoint temperature on devices such as washers, refrigerators, and water heaters.

temperatureMeasurement

val temperatureMeasurementTemperatureMeasurement?

This trait provides an interface to temperature measurement capability.