ValveConfigurationAndControlTrait.OpenCommand.Request

class ValveConfigurationAndControlTrait.OpenCommand.Request


The request payload for the Open command.

Summary

Public constructors

Request(
    openDuration: OptionalValue<UInt?>,
    targetLevel: OptionalValue<UByte>
)

Creates a request payload for the Open command.

Public properties

OptionalValue<UInt?>

How long the valve should remain open for the current Open operation.

OptionalValue<UByte>

The target level used for the current Open operation.

Public constructors

Request

Request(
    openDuration: OptionalValue<UInt?> = OptionalValue.absent(),
    targetLevel: OptionalValue<UByte> = OptionalValue.absent()
)

Creates a request payload for the Open command.

Public properties

openDuration

val openDurationOptionalValue<UInt?>

How long the valve should remain open for the current Open operation.

targetLevel

val targetLevelOptionalValue<UByte>

The target level used for the current Open operation.