TimedScript#

class wattson.apps.script_controller.interface.timed_script.TimedScript(controller: ScriptControllerApp)#

Bases: Script

Methods

__init__

get_simulated_time_info

Returns the (simulated) time that this script should start.

get_start_time

setup

__init__(controller: ScriptControllerApp)#
get_simulated_time_info() float | datetime | None#

Returns the (simulated) time that this script should start. A float value represents a relative offset to the starting simulated time (coordinator). A datetime represents an absolute value. None equals the float value 0 (i.e., script starts as soon as the simulation starts) :return: