ExtendedFanControlTrait.ExtendedStepCommand.Request

class ExtendedFanControlTrait.ExtendedStepCommand.Request


The request payload for the ExtendedStep command.

Summary

Public constructors

Request(
    fanSpeedRelativeWeight: Long,
    direction: ExtendedFanControlTrait.StepDirection
)

Creates a request payload for the ExtendedStep command.

Public properties

ExtendedFanControlTrait.StepDirection

The direction in which the speed should change.

Long

The relative amount of the speed change.

Public constructors

Request

Request(
    fanSpeedRelativeWeight: Long = 0,
    direction: ExtendedFanControlTrait.StepDirection = StepDirection.Unspecified
)

Creates a request payload for the ExtendedStep command.

Public properties

direction

val directionExtendedFanControlTrait.StepDirection

The direction in which the speed should change.

fanSpeedRelativeWeight

val fanSpeedRelativeWeightLong

The relative amount of the speed change. The absolute value indicates the scaled amount while the numerical sign indicates the direction of the change.