ValveConfigurationAndControlCommands

interface ValveConfigurationAndControlCommands

Known direct subclasses
ValveConfigurationAndControl

API for the ValveConfigurationAndControl trait.


Summary

Public functions

suspend Unit

Set the valve to its closed position.

suspend Unit

Set the valve to its open position.

Public functions

close

suspend fun close(): Unit

Set the valve to its closed position.

open

suspend fun open(optionalArgs: ValveConfigurationAndControlTrait.OpenCommand.OptionalArgs.() -> Unit = {}): Unit

Set the valve to its open position.

Parameters
optionalArgs: ValveConfigurationAndControlTrait.OpenCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command