RelativeHumidityControlTrait.StepRelativeHumidityCommand.Request

class RelativeHumidityControlTrait.StepRelativeHumidityCommand.Request


The request payload for the StepRelativeHumidity command.

Summary

Public constructors

Request(
    relativeHumidityPercent: UInt,
    relativeHumidityWeight: UInt,
    stepMode: RelativeHumidityControlTrait.StepMode
)

Creates a request payload for the StepRelativeHumidity command.

Public properties

UInt

The percentage value to adjust the humidity level.

UInt

The amount of ambiguous humidity change from a small amount to a large amount.

RelativeHumidityControlTrait.StepMode

Indicates the direction of the change.

Public constructors

Request

Request(
    relativeHumidityPercent: UInt,
    relativeHumidityWeight: UInt,
    stepMode: RelativeHumidityControlTrait.StepMode = StepMode.Unspecified
)

Creates a request payload for the StepRelativeHumidity command.

Public properties

relativeHumidityPercent

val relativeHumidityPercentUInt

The percentage value to adjust the humidity level. For example, if the current level of relative humidity is set to 50%, then StepRelativeHumidity with a relativeHumidityPercent of 10 sets relative humidity to 55%.

relativeHumidityWeight

val relativeHumidityWeightUInt

The amount of ambiguous humidity change from a small amount to a large amount.

stepMode

val stepModeRelativeHumidityControlTrait.StepMode

Indicates the direction of the change.