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:scenarioEngineTicks http://dassault-aviation.com/scenarioEngine:setScenario http://dassault-aviation.com/scenarioEngine:setState |
Required services | none |
Optional properties | scenario checkDatas increment speed acceptNewLines popupErrors autoStart guiPosition |
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 ServiceacceptNewLines
property is set to truearrayInt
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]
<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