The Scene command enables you to define and group a sequence of commands. When the scene starts, the commands are executed consequently.
Overview
The Scene command allowes you to create and group series of commands. These commands can have predefined delays between them. After the scene has started, the commands participating in it are executed consequently.
The HAM API bundle exports the com.prosyst.mbs.ham.core. package that currently includes two methods:
//to retrieve the command at the specified index
Scene.getCommand(int index)
//to list the commands executed by the scene command
Scene.getComands()
States of Scene Execution
Since scenes can be long-running (overnight for example), composing of multiple commands and different delays between them, the particular scene can be in four states during its execution: Idle, Running, Paused and Interrupted. Bellow you can find the order of these state changes.