| Function | execute a scenario defined in an XLSX file |
| Distribution | scenarioEngine-bin- |
| Jar files | scenarioEngine.jar |
| Modules | scenario |
| Namespace | http://dassault-aviation.com/scenarioEngine |
| Provided services | Provided datas through module configurationhttp://dassault-aviation.com/scenarioEngine:scenarioEngineTickshttp://dassault-aviation.com/scenarioEngine:setScenariohttp://dassault-aviation.com/scenarioEngine:setState |
| Required services | none |
| Optional properties | scenariocheckDatasincrementspeedacceptNewLinespopupErrorsautoStartguiPosition |
| Image |
<x position;>;<y position;<interfaces> <push service="acDatas"/> <eventSend service="fuelState"/> </interfaces>
http://dassault-aviation.com/scenarioEngine namespace. The definitions of the Services are:<namespace uri="http://dassault-aviation.com/scenarioEngine"> <event name="scenarioEngineTicks"> <data name="tick" type="int" /> <data name="time" type="float" /> </event> <event name="setState"> <data name="state" type="scenarioState" /> <data name="time" type="float" /> </event> <event name="setListener"> <data name="time" type="float" /> </event> <event name="setScenario"> <data name="scenario" type="scenarioFile" /> <data name="autoStart" type="bool" /> </event> </namespace>
scenarioEngineTicks service allows to send the ticks of the scenario.
spd_value): refer to a data with this exact name in any provided Servicescenario.spd_value): the first part of the name the provided Service with this name, the second part of the name refer to a data with this exact name in this Service
acceptNewLines property is set to true
arrayInt int array has 3 elements: [1, 2, 3]arrayFloat float array has 3 elements: [1.2, 2.2, 3.2]arrayBool boolean array has 3 elements: [true, true, false]
arrayInt int array has 3 elements: [1, 2, 3]arrayFloat float array has 3 elements: [1.2, 2.2, 3.2]arrayBool boolean array has 3 elements: [true, true, false]
: Open a new Scenario
: Play a new Scenario (excludive with the Pause button). If you click on this button when the scenario is playing, the execution will be paused
: Pause a playing scenario. Tu unpause and continue the execution, click again on the button
: Execute one step in the Scenario
: Rewind the execution Scenario to the beginning of the Scenario
: Stop the execution of the Scenario
: shows the time in seconds since the beginning of the scenario
: the heart flashes each time a step is performed
shows the time in seconds since the beginning of the scenario, which means that you won't see it changing every time (for example, if you apply Execute one step and the "increment" value is less than 1). The
icon will show each time a step is performed:
<application name="scenario" id="12" > <deployment> <lib url="scenarioEngine.jar" /> </deployment> <modules> <module name="scenario" id="1" > <interfaces> <push service="scenario" attach="attach"/> </interfaces> </module> </modules> </application>
http://dassault-aviation.com/scenarioEngine:scenarioEngineTicks event service, the engine will invoke the scenarioEngineTicks service for each tick of the scenario before invoking the output services for the scenario datas.<namespace uri="http://dassault-aviation.com/scenarioEngine"> <event name="scenarioEngineTicks"> <data name="tick" type="int" /> <data name="time" type="float" /> </event> </namespace>
http://dassault-aviation.com/scenarioEngine:setScenario event service.<namespace uri="http://dassault-aviation.com/scenarioEngine"> <event name="setScenario"> <data name="scenario" type="scenarioFile" /> <data name="autoPlay" type="bool" /> </event> </namespace>
http://dassault-aviation.com/scenarioEngine:setState event service.<namespace uri="http://dassault-aviation.com/scenarioEngine"> <event name="setState"> <data name="scenarioState" type="scenarioState" /> <data name="time" type="float" /> </event> </namespace>with the following definition for the
scenarioState data:<enumType name="scenarioState" > <enumValue name="PLAY" /> <enumValue name="PAUSE" /> <enumValue name="STOP" /> </enumType>
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence