Outils pour utilisateurs

Outils du site


exemple_de_descriptions_de_scenario
no way to compare when less than two revisions

Différences

Ci-dessous, les différences entre deux révisions de la page.


exemple_de_descriptions_de_scenario [2010/01/07 14:33] (Version actuelle) – créée tigli
Ligne 1: Ligne 1:
 +<?xml version="1.0" encoding="UTF-8"?>
 +<scenarios xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Scenarios.xsd"> 
 + <scenarios_list name="SR_CofriendScenarios">
 +
 +
 + <scenario type="CompositeState" name="Vehicle_Arrived_In_ERA">
 + <physical_objects>
 + <po type="Vehicle" name="v1"/>
 + <po type="Zone" name="z1"/>
 + </physical_objects>
 + <components>
 + <comp type="CompositeState" code="c1" name="Vehicle_Arrived_In_Zone">
 + <attribute name="v1"/>
 + <attribute name="z1"/>
 + </comp>
 + </components>
 + <constraints>
 + <cons  operator="=" >
 + <predicat>
 + <cons  operator="->" >
 + <predicat value="z1"/>
 + <predicat value="Name"/>
 + </cons>
 + </predicat>
 + <predicat value="ERA"/>
 + </cons>
 + </constraints>
 + <alarm_display>
 + <text value="GPU_Scenario"/>
 + <level value="NOTURGENT"/>
 + <pos_3d value="v1's Position"/>
 + </alarm_display>
 + <miscellaneous />
 + </scenario>
 +
 +
 +
 + <scenario type="CompositeEvent" name="Handler_Gets_Out_GPU">
 + <physical_objects>
 + <po type="Person" name="p1"/>
 + <po type="Vehicle" name="v1"/>
 + <po type="Zone" name="z1"/>
 + </physical_objects>
 + <components>
 + <comp type="CompositeState" code="c1" name="GPU_Arrival">
 + <attribute name="p1"/>
 + <attribute name="z1"/>
 + </comp>
 + <comp type="PrimitiveEvent" code="c2" name="p_Enters_Zone">
 + <attribute name="p1"/>
 + <attribute name="z1"/>
 + </comp>
 + </components>
 + <constraints>
 + <cons  operator="=" >
 + <predicat>
 + <cons  operator="->" >
 + <predicat value="z1"/>
 + <predicat value="Name"/>
 + </cons>
 + </predicat>
 + <predicat value="GPU_Zone"/>
 + </cons>
 + <cons operator=">=">
 + <predicat>
 + <cons operator="duration">
 + <predicat value="c2"/>
 + </cons>
 + </predicat>
 + <predicat value="10"/>
 + </cons>
 + <cons operator="meet">
 + <predicat value="c1"/>
 + <predicat value="c2"/>
 + </cons>
 + </constraints>
  
 + <alarm_display>
 + <text value="GPU_Scenario"/>
 + <level value="URGENT"/>
 + <pos_3d value="p1's Position"/>
 + </alarm_display>
 + <miscellaneous>
 + <misc name="PTZ">
 + <attribute name="Object" value="z1"/>
 + <attribute name="priority" value="HIGH"/>
 + <attribute name="CmdType" value="CENTER"/>
 + <attribute name="Duration" value="MIN_TIME_STAYS_IN_ZONE"/>
 + </misc>
 + </miscellaneous>
 + </scenario>
 +
 + </scenarios_list>
 +</scenarios>
exemple_de_descriptions_de_scenario.txt · Dernière modification : 2010/01/07 14:33 de tigli