OvenCavityOperationalStateCommands

interface OvenCavityOperationalStateCommands

Known direct subclasses
OvenCavityOperationalState

API for the OvenCavityOperationalState trait.


Summary

Public functions

suspend OvenCavityOperationalStateTrait.PauseCommand.Response

Pause the oven if possible, based on the current operation underway.

suspend OvenCavityOperationalStateTrait.ResumeCommand.Response

Resume operation if the oven is in a state where it can be resumed.

suspend OvenCavityOperationalStateTrait.StartCommand.Response

Start the oven if it is in a state where it can be started.

suspend OvenCavityOperationalStateTrait.StopCommand.Response

Stop the oven if possible, based on the current operation underway.

Public functions

pause

suspend fun pause(): OvenCavityOperationalStateTrait.PauseCommand.Response

Pause the oven if possible, based on the current operation underway.

Returns
OvenCavityOperationalStateTrait.PauseCommand.Response

The result of the completed Pause command.

resume

suspend fun resume(): OvenCavityOperationalStateTrait.ResumeCommand.Response

Resume operation if the oven is in a state where it can be resumed.

Returns
OvenCavityOperationalStateTrait.ResumeCommand.Response

The result of the completed Resume command.

start

suspend fun start(): OvenCavityOperationalStateTrait.StartCommand.Response

Start the oven if it is in a state where it can be started.

Returns
OvenCavityOperationalStateTrait.StartCommand.Response

The result of the completed Start command.

stop

suspend fun stop(): OvenCavityOperationalStateTrait.StopCommand.Response

Stop the oven if possible, based on the current operation underway.

Returns
OvenCavityOperationalStateTrait.StopCommand.Response

The result of the completed Stop command.