diff --git a/Makefile b/Makefile
index 0bea412a9d32d592e9d16bfaf88664ed82e76d4e..97405915bb453c6ee83e2ae429d2a5286fa57324 100755
--- a/Makefile
+++ b/Makefile
@@ -372,6 +372,7 @@ $(TTOOL_PREINSTALL_MACOS:.tgz=.tar): $(BASERELEASE:.tgz=.tar)
 	@cp $< $@
 	@mkdir -p $(TTOOL_TARGET_MACOS)/TTool/bin
 	@$(TAR) xzf $(TTOOL_PRIVATE)/stocks/proverif_macos.tar.gz -C $(TTOOL_TARGET_MACOS)
+	@mv $(TTOOL_TARGET_MACOS)/proverif* $(TTOOL_TARGET_MACOS)/proverif
 	@$(TAR) xzf $(TTOOL_PRIVATE)/stocks/uppaal_macos.tar.gz -C $(TTOOL_TARGET_MACOS)
 	@mv $(TTOOL_TARGET_MACOS)/uppaal* $(TTOOL_TARGET_MACOS)/uppaal
 	@cp $(TTOOL_DOC)/config_macosx.xml $(TTOOL_TARGET_MACOS)/TTool/bin/config_macosx.xml
diff --git a/build.txt b/build.txt
index 2af5205473f6e6b003abdb06417d14fde4838aee..5749d8f46f551df1ba496b0caaf0ea056c7413ca 100644
--- a/build.txt
+++ b/build.txt
@@ -1 +1 @@
-13600
\ No newline at end of file
+13609
\ No newline at end of file
diff --git a/modeling/AVATAR/AirbusDoor_V2.xml b/modeling/AVATAR/AirbusDoor_V2.xml
index 65cb5143c3d827b88d3a05b7ddd3a216f49fdd18..9089d53e1b1f2528e5ed0318f83574ed0520d840 100644
--- a/modeling/AVATAR/AirbusDoor_V2.xml
+++ b/modeling/AVATAR/AirbusDoor_V2.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="false" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="2" LAST_SELECTED_SUB_TAB="0">
+<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="false" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="3" LAST_SELECTED_SUB_TAB="0">
 
 <Modeling type="Avatar MAD" nameTab="MADs" >
 <AvatarMADPanel name="Modeling Assumptions Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
@@ -110,8 +110,8 @@
 <Modeling type="Avatar Analysis" nameTab="Analysis" >
 <UseCaseDiagramPanel name="Use Case Diagram 0" minX="10" maxX="1900" minY="10" maxY="1400" zoom="1.0" >
 <COMPONENT type="701" id="89" >
-<cdparam x="1075" y="186" />
-<sizeparam width="143" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="1068" y="186" />
+<sizeparam width="157" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="Use case" value="HandleAccessRequests" />
@@ -145,8 +145,8 @@
 </COMPONENT>
 
 <COMPONENT type="701" id="114" >
-<cdparam x="1097" y="475" />
-<sizeparam width="77" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="1094" y="475" />
+<sizeparam width="83" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="Use case" value="InformPilots" />
@@ -220,8 +220,8 @@
 </COMPONENT>
 
 <COMPONENT type="701" id="172" >
-<cdparam x="808" y="468" />
-<sizeparam width="76" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="807" y="468" />
+<sizeparam width="79" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="Use case" value="InformCrew" />
@@ -255,8 +255,8 @@
 </COMPONENT>
 
 <COMPONENT type="701" id="197" >
-<cdparam x="1109" y="271" />
-<sizeparam width="81" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="1105" y="271" />
+<sizeparam width="88" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="Use case" value="ReleaseLock" />
@@ -290,8 +290,8 @@
 </COMPONENT>
 
 <COMPONENT type="701" id="222" >
-<cdparam x="1151" y="335" />
-<sizeparam width="67" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="1148" y="335" />
+<sizeparam width="73" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="Use case" value="ForceLock" />
@@ -525,8 +525,8 @@
 </COMPONENT>
 
 <COMPONENT type="701" id="412" >
-<cdparam x="836" y="338" />
-<sizeparam width="109" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="831" y="338" />
+<sizeparam width="118" height="40" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1900" minY="10" maxY="1400" />
 <infoparam name="Use case" value="ManageDoorLock" />
@@ -764,7 +764,7 @@
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
 <P1  x="454" y="283" id="521" />
-<P2  x="836" y="358" id="389" />
+<P2  x="831" y="358" id="389" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="110" id="558" >
@@ -779,7 +779,7 @@
 <cdparam x="1218" y="355" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<P1  x="1218" y="355" id="200" />
+<P1  x="1221" y="355" id="200" />
 <P2  x="1386" y="355" id="292" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -803,8 +803,8 @@
 <cdparam x="945" y="358" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="&lt;&lt;include&gt;&gt;" />
-<P1  x="945" y="358" id="390" />
-<P2  x="1097" y="495" id="91" />
+<P1  x="949" y="358" id="390" />
+<P2  x="1094" y="495" id="91" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="110" id="563" >
@@ -827,24 +827,24 @@
 <cdparam x="1001" y="216" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="&lt;&lt;include&gt;&gt;" />
-<P1  x="945" y="358" id="390" />
-<P2  x="1151" y="355" id="199" />
+<P1  x="949" y="358" id="390" />
+<P2  x="1148" y="355" id="199" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="111" id="566" >
 <cdparam x="1001" y="216" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="&lt;&lt;include&gt;&gt;" />
-<P1  x="945" y="358" id="390" />
-<P2  x="1109" y="291" id="174" />
+<P1  x="949" y="358" id="390" />
+<P2  x="1105" y="291" id="174" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="111" id="567" >
 <cdparam x="1065" y="218" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="&lt;&lt;include&gt;&gt;" />
-<P1  x="945" y="358" id="390" />
-<P2  x="1075" y="206" id="66" />
+<P1  x="949" y="358" id="390" />
+<P2  x="1068" y="206" id="66" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="110" id="568" >
@@ -852,14 +852,14 @@
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
 <P1  x="1386" y="320" id="290" />
-<P2  x="1190" y="291" id="175" />
+<P2  x="1193" y="291" id="175" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="110" id="569" >
 <cdparam x="1272" y="288" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<P1  x="1218" y="206" id="67" />
+<P1  x="1225" y="206" id="67" />
 <P2  x="1371" y="206" id="324" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -877,7 +877,7 @@
 <MainCode value="}"/>
 <Optimized value="true" />
 <considerTimingOperators value="true" />
-<Validated value="Person;DoorAndLockButton;OnboardPersons;Captain;Crew;Passenger;FirstOfficer;" />
+<Validated value="" />
 <Ignored value="" />
 
 <CONNECTOR type="5002" id="571" >
@@ -903,12 +903,12 @@
 <osd value="out enterCockpit()" />
 <osd value="out leaveCockit()" />
 <osd value="out sendEmergency()" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR>
 <COMPONENT type="303" id="588" >
 <cdparam x="302" y="473" />
-<sizeparam width="845" height="123" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="882" height="123" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
 <infoparam name="UPPAAL Pragma" value="E&lt;&gt; Passenger.isInCockpit ==true&amp;&amp;DoorAndLockButton.inside==1
@@ -948,7 +948,7 @@ DoorAndLockButton.IN_EMERGENCY_CALL --&gt; DoorAndLockButton.CLOSED_AND_LOCKED |
 
 <COMPONENT type="301" id="605" >
 <cdparam x="17" y="474" />
-<sizeparam width="237" height="87" minWidth="20" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="255" height="87" minWidth="20" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
 <infoparam name="UML Note" value="To add a person, clone e.g. &quot;Captain&quot;
@@ -1104,11 +1104,11 @@ in DoorAndLockButton
 </COMPONENT>
 <SUBCOMPONENT type="5000" id="664" >
 <father id="764" num="0" />
-<cdparam x="65" y="217" />
+<cdparam x="64" y="322" />
 <sizeparam width="225" height="98" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="525" minY="0" maxY="321" />
-<infoparam name="Block0" value="Captain" />
+<infoparam name="Block0" value="FirstOfficer" />
 <TGConnectingPoint num="0" id="640" />
 <TGConnectingPoint num="1" id="641" />
 <TGConnectingPoint num="2" id="642" />
@@ -1142,11 +1142,11 @@ in DoorAndLockButton
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5000" id="689" >
 <father id="764" num="1" />
-<cdparam x="299" y="249" />
+<cdparam x="534" y="247" />
 <sizeparam width="225" height="134" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="525" minY="0" maxY="285" />
-<infoparam name="Block0" value="Crew" />
+<infoparam name="Block0" value="Passenger" />
 <TGConnectingPoint num="0" id="665" />
 <TGConnectingPoint num="1" id="666" />
 <TGConnectingPoint num="2" id="667" />
@@ -1175,16 +1175,16 @@ in DoorAndLockButton
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 <Attribute access="0" id="isInCockpit" value="false" type="4" typeOther="" />
-<Attribute access="0" id="knowsEmergencyCode" value="true" type="4" typeOther="" />
+<Attribute access="0" id="knowsEmergencyCode" value="false" type="4" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5000" id="714" >
 <father id="764" num="2" />
-<cdparam x="534" y="247" />
+<cdparam x="299" y="249" />
 <sizeparam width="225" height="134" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="525" minY="0" maxY="285" />
-<infoparam name="Block0" value="Passenger" />
+<infoparam name="Block0" value="Crew" />
 <TGConnectingPoint num="0" id="690" />
 <TGConnectingPoint num="1" id="691" />
 <TGConnectingPoint num="2" id="692" />
@@ -1213,16 +1213,16 @@ in DoorAndLockButton
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 <Attribute access="0" id="isInCockpit" value="false" type="4" typeOther="" />
-<Attribute access="0" id="knowsEmergencyCode" value="false" type="4" typeOther="" />
+<Attribute access="0" id="knowsEmergencyCode" value="true" type="4" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5000" id="739" >
 <father id="764" num="3" />
-<cdparam x="64" y="322" />
+<cdparam x="65" y="217" />
 <sizeparam width="225" height="98" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="525" minY="0" maxY="321" />
-<infoparam name="Block0" value="FirstOfficer" />
+<infoparam name="Block0" value="Captain" />
 <TGConnectingPoint num="0" id="715" />
 <TGConnectingPoint num="1" id="716" />
 <TGConnectingPoint num="2" id="717" />
@@ -4044,4 +4044,3918 @@ in DoorAndLockButton
 
 
 
+<Modeling type="AVATAR Design" nameTab="DesignWithSecurity" tabs="Block Diagram$OnboardPersons$DoorAndLockButton$Captain$Person$Keyboard$FirstOfficer$Crew$Passenger" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="3000" minY="10" maxY="1500" zoom="1.0" >
+<MainCode value="void __user_init() {"/>
+<MainCode value="}"/>
+<Optimized value="true" />
+<considerTimingOperators value="true" />
+<Validated value="" />
+<Ignored value="" />
+
+<CONNECTOR type="5002" id="1924" >
+<cdparam x="802" y="189" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="1923" />
+<P1  x="803" y="168" id="2177" />
+<P2  x="1094" y="139" id="2026" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<isd value="in lock()" />
+<isd value="in unlock()" />
+<isd value="in open()" />
+<isd value="in close()" />
+<isd value="in enterCockpit()" />
+<isd value="in leaveCockpit()" />
+<oso value="out lock()" />
+<oso value="out unlock()" />
+<oso value="out open()" />
+<oso value="out close()" />
+<oso value="out enterCockpit()" />
+<oso value="out leaveCockit()" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="5002" id="1926" >
+<cdparam x="1076" y="185" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="1925" />
+<P1  x="1072" y="273" id="2052" />
+<P2  x="1094" y="241" id="2028" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<isd value="in emergencyCall()" />
+<oso value="out emergencyCall()" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="5002" id="1928" >
+<cdparam x="1669" y="313" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="1927" />
+<P1  x="822" y="273" id="2051" />
+<P2  x="803" y="273" id="2170" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<iso value="in code(int codeValue)" />
+<osd value="out typeCode(int codeValue)" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<COMPONENT type="5003" id="1937" >
+<cdparam x="979" y="704" />
+<sizeparam width="215" height="76" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="DataType0" value="Key" />
+<TGConnectingPoint num="0" id="1929" />
+<TGConnectingPoint num="1" id="1930" />
+<TGConnectingPoint num="2" id="1931" />
+<TGConnectingPoint num="3" id="1932" />
+<TGConnectingPoint num="4" id="1933" />
+<TGConnectingPoint num="5" id="1934" />
+<TGConnectingPoint num="6" id="1935" />
+<TGConnectingPoint num="7" id="1936" />
+<extraparam>
+<Attribute access="0" id="data" value="" type="8" typeOther="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5003" id="1946" >
+<cdparam x="657" y="701" />
+<sizeparam width="243" height="76" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="DataType0" value="Message" />
+<TGConnectingPoint num="0" id="1938" />
+<TGConnectingPoint num="1" id="1939" />
+<TGConnectingPoint num="2" id="1940" />
+<TGConnectingPoint num="3" id="1941" />
+<TGConnectingPoint num="4" id="1942" />
+<TGConnectingPoint num="5" id="1943" />
+<TGConnectingPoint num="6" id="1944" />
+<TGConnectingPoint num="7" id="1945" />
+<extraparam>
+<Attribute access="0" id="data" value="" type="8" typeOther="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="302" id="1963" >
+<cdparam x="327" y="731" />
+<sizeparam width="258" height="54" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="Proverif Pragma" value="#Confidentiality Keyboard.codeValue
+" />
+<TGConnectingPoint num="0" id="1947" />
+<TGConnectingPoint num="1" id="1948" />
+<TGConnectingPoint num="2" id="1949" />
+<TGConnectingPoint num="3" id="1950" />
+<TGConnectingPoint num="4" id="1951" />
+<TGConnectingPoint num="5" id="1952" />
+<TGConnectingPoint num="6" id="1953" />
+<TGConnectingPoint num="7" id="1954" />
+<TGConnectingPoint num="8" id="1955" />
+<TGConnectingPoint num="9" id="1956" />
+<TGConnectingPoint num="10" id="1957" />
+<TGConnectingPoint num="11" id="1958" />
+<TGConnectingPoint num="12" id="1959" />
+<TGConnectingPoint num="13" id="1960" />
+<TGConnectingPoint num="14" id="1961" />
+<TGConnectingPoint num="15" id="1962" />
+<extraparam>
+<Line value="#Confidentiality Keyboard.codeValue" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5003" id="1972" >
+<cdparam x="59" y="637" />
+<sizeparam width="242" height="89" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="DataType0" value="Code" />
+<TGConnectingPoint num="0" id="1964" />
+<TGConnectingPoint num="1" id="1965" />
+<TGConnectingPoint num="2" id="1966" />
+<TGConnectingPoint num="3" id="1967" />
+<TGConnectingPoint num="4" id="1968" />
+<TGConnectingPoint num="5" id="1969" />
+<TGConnectingPoint num="6" id="1970" />
+<TGConnectingPoint num="7" id="1971" />
+<extraparam>
+<Attribute access="0" id="goodCode" value="1" type="8" typeOther="" />
+<Attribute access="0" id="badCode" value="0" type="8" typeOther="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="303" id="1989" >
+<cdparam x="345" y="529" />
+<sizeparam width="845" height="123" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="UPPAAL Pragma" value="E&lt;&gt; Passenger.isInCockpit ==true&amp;&amp;DoorAndLockButton.inside==1
+E&lt;&gt; DoorAndLockButton.LOCKED_EMPTY_COCKPIT
+DoorAndLockButton.CLOSED_AND_LOCKED --&gt; DoorAndLockButton.CLOSED_AND_UNLOCKED
+DoorAndLockButton.inside == 0 --&gt; DoorAndLockButton.inside&gt;0
+DoorAndLockButton.IN_EMERGENCY_CALL --&gt; DoorAndLockButton.CLOSED_AND_UNLOCKED
+DoorAndLockButton.IN_EMERGENCY_CALL --&gt; DoorAndLockButton.CLOSED_AND_UNLOCKED
+DoorAndLockButton.IN_EMERGENCY_CALL --&gt; DoorAndLockButton.CLOSED_AND_LOCKED || DoorAndLockButton.CLOSED_AND_UNLOCKED
+" />
+<TGConnectingPoint num="0" id="1973" />
+<TGConnectingPoint num="1" id="1974" />
+<TGConnectingPoint num="2" id="1975" />
+<TGConnectingPoint num="3" id="1976" />
+<TGConnectingPoint num="4" id="1977" />
+<TGConnectingPoint num="5" id="1978" />
+<TGConnectingPoint num="6" id="1979" />
+<TGConnectingPoint num="7" id="1980" />
+<TGConnectingPoint num="8" id="1981" />
+<TGConnectingPoint num="9" id="1982" />
+<TGConnectingPoint num="10" id="1983" />
+<TGConnectingPoint num="11" id="1984" />
+<TGConnectingPoint num="12" id="1985" />
+<TGConnectingPoint num="13" id="1986" />
+<TGConnectingPoint num="14" id="1987" />
+<TGConnectingPoint num="15" id="1988" />
+<extraparam>
+<Line value="E&lt;&gt; Passenger.isInCockpit ==true&amp;&amp;DoorAndLockButton.inside==1" />
+<Line value="E&lt;&gt; DoorAndLockButton.LOCKED_EMPTY_COCKPIT" />
+<Line value="DoorAndLockButton.CLOSED_AND_LOCKED --&gt; DoorAndLockButton.CLOSED_AND_UNLOCKED" />
+<Line value="DoorAndLockButton.inside == 0 --&gt; DoorAndLockButton.inside&gt;0" />
+<Line value="DoorAndLockButton.IN_EMERGENCY_CALL --&gt; DoorAndLockButton.CLOSED_AND_UNLOCKED" />
+<Line value="DoorAndLockButton.IN_EMERGENCY_CALL --&gt; DoorAndLockButton.CLOSED_AND_UNLOCKED" />
+<Line value="DoorAndLockButton.IN_EMERGENCY_CALL --&gt; DoorAndLockButton.CLOSED_AND_LOCKED || DoorAndLockButton.CLOSED_AND_UNLOCKED" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="2006" >
+<cdparam x="57" y="525" />
+<sizeparam width="237" height="87" minWidth="20" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="UML Note" value="To add a person, clone e.g. &quot;Captain&quot;
+and set :
+isInCockpit
+knowsEmergencyCode
+
+And set inside and outside 
+in DoorAndLockButton
+" />
+<TGConnectingPoint num="0" id="1990" />
+<TGConnectingPoint num="1" id="1991" />
+<TGConnectingPoint num="2" id="1992" />
+<TGConnectingPoint num="3" id="1993" />
+<TGConnectingPoint num="4" id="1994" />
+<TGConnectingPoint num="5" id="1995" />
+<TGConnectingPoint num="6" id="1996" />
+<TGConnectingPoint num="7" id="1997" />
+<TGConnectingPoint num="8" id="1998" />
+<TGConnectingPoint num="9" id="1999" />
+<TGConnectingPoint num="10" id="2000" />
+<TGConnectingPoint num="11" id="2001" />
+<TGConnectingPoint num="12" id="2002" />
+<TGConnectingPoint num="13" id="2003" />
+<TGConnectingPoint num="14" id="2004" />
+<TGConnectingPoint num="15" id="2005" />
+<extraparam>
+<Line value="To add a person, clone e.g. &quot;Captain&quot;" />
+<Line value="and set :" />
+<Line value="isInCockpit" />
+<Line value="knowsEmergencyCode" />
+<Line value="" />
+<Line value="And set inside and outside " />
+<Line value="in DoorAndLockButton" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5005" id="2015" >
+<cdparam x="1098" y="309" />
+<sizeparam width="217" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="Person" value="Person" />
+<TGConnectingPoint num="0" id="2007" />
+<TGConnectingPoint num="1" id="2008" />
+<TGConnectingPoint num="2" id="2009" />
+<TGConnectingPoint num="3" id="2010" />
+<TGConnectingPoint num="4" id="2011" />
+<TGConnectingPoint num="5" id="2012" />
+<TGConnectingPoint num="6" id="2013" />
+<TGConnectingPoint num="7" id="2014" />
+<extraparam>
+<CryptoLibraryFunction value="false" />
+<Parameter access="0" id="isInCockpit" value="" type="4" typeOther="" />
+<Parameter access="0" id="knowsEmergencyCode" value="" type="4" typeOther="" />
+<Parameter access="0" id="code" value="" type="5" typeOther="Code" />
+<Signal value="out lock()" />
+<Signal value="out unlock()" />
+<Signal value="out open()" />
+<Signal value="out close()" />
+<Signal value="out enterCockpit()" />
+<Signal value="out leaveCockpit()" />
+<Signal value="out typeCode(int codeValue)" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="2040" >
+<cdparam x="1094" y="88" />
+<sizeparam width="212" height="205" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="Block0" value="DoorAndLockButton" />
+<TGConnectingPoint num="0" id="2016" />
+<TGConnectingPoint num="1" id="2017" />
+<TGConnectingPoint num="2" id="2018" />
+<TGConnectingPoint num="3" id="2019" />
+<TGConnectingPoint num="4" id="2020" />
+<TGConnectingPoint num="5" id="2021" />
+<TGConnectingPoint num="6" id="2022" />
+<TGConnectingPoint num="7" id="2023" />
+<TGConnectingPoint num="8" id="2024" />
+<TGConnectingPoint num="9" id="2025" />
+<TGConnectingPoint num="10" id="2026" />
+<TGConnectingPoint num="11" id="2027" />
+<TGConnectingPoint num="12" id="2028" />
+<TGConnectingPoint num="13" id="2029" />
+<TGConnectingPoint num="14" id="2030" />
+<TGConnectingPoint num="15" id="2031" />
+<TGConnectingPoint num="16" id="2032" />
+<TGConnectingPoint num="17" id="2033" />
+<TGConnectingPoint num="18" id="2034" />
+<TGConnectingPoint num="19" id="2035" />
+<TGConnectingPoint num="20" id="2036" />
+<TGConnectingPoint num="21" id="2037" />
+<TGConnectingPoint num="22" id="2038" />
+<TGConnectingPoint num="23" id="2039" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="inside" value="2" type="8" typeOther="" />
+<Attribute access="0" id="outside" value="2" type="8" typeOther="" />
+<Attribute access="0" id="timeout" value="0" type="8" typeOther="" />
+<Signal value="in lock()" attached="true" />
+<Signal value="in unlock()" attached="true" />
+<Signal value="in open()" attached="true" />
+<Signal value="in close()" attached="true" />
+<Signal value="in enterCockpit()" attached="true" />
+<Signal value="in leaveCockpit()" attached="true" />
+<Signal value="in emergencyCall()" attached="true" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="2065" >
+<cdparam x="822" y="223" />
+<sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="Block0" value="Keyboard" />
+<TGConnectingPoint num="0" id="2041" />
+<TGConnectingPoint num="1" id="2042" />
+<TGConnectingPoint num="2" id="2043" />
+<TGConnectingPoint num="3" id="2044" />
+<TGConnectingPoint num="4" id="2045" />
+<TGConnectingPoint num="5" id="2046" />
+<TGConnectingPoint num="6" id="2047" />
+<TGConnectingPoint num="7" id="2048" />
+<TGConnectingPoint num="8" id="2049" />
+<TGConnectingPoint num="9" id="2050" />
+<TGConnectingPoint num="10" id="2051" />
+<TGConnectingPoint num="11" id="2052" />
+<TGConnectingPoint num="12" id="2053" />
+<TGConnectingPoint num="13" id="2054" />
+<TGConnectingPoint num="14" id="2055" />
+<TGConnectingPoint num="15" id="2056" />
+<TGConnectingPoint num="16" id="2057" />
+<TGConnectingPoint num="17" id="2058" />
+<TGConnectingPoint num="18" id="2059" />
+<TGConnectingPoint num="19" id="2060" />
+<TGConnectingPoint num="20" id="2061" />
+<TGConnectingPoint num="21" id="2062" />
+<TGConnectingPoint num="22" id="2063" />
+<TGConnectingPoint num="23" id="2064" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="codeValue" value="" type="8" typeOther="" />
+<Attribute access="0" id="code" value="" type="5" typeOther="Code" />
+<Signal value="out emergencyCall()" attached="true" />
+<Signal value="in code(int codeValue)" attached="true" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="2190" >
+<cdparam x="53" y="64" />
+<sizeparam width="750" height="419" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3000" minY="10" maxY="1500" />
+<infoparam name="Block0" value="OnboardPersons" />
+<TGConnectingPoint num="0" id="2166" />
+<TGConnectingPoint num="1" id="2167" />
+<TGConnectingPoint num="2" id="2168" />
+<TGConnectingPoint num="3" id="2169" />
+<TGConnectingPoint num="4" id="2170" />
+<TGConnectingPoint num="5" id="2171" />
+<TGConnectingPoint num="6" id="2172" />
+<TGConnectingPoint num="7" id="2173" />
+<TGConnectingPoint num="8" id="2174" />
+<TGConnectingPoint num="9" id="2175" />
+<TGConnectingPoint num="10" id="2176" />
+<TGConnectingPoint num="11" id="2177" />
+<TGConnectingPoint num="12" id="2178" />
+<TGConnectingPoint num="13" id="2179" />
+<TGConnectingPoint num="14" id="2180" />
+<TGConnectingPoint num="15" id="2181" />
+<TGConnectingPoint num="16" id="2182" />
+<TGConnectingPoint num="17" id="2183" />
+<TGConnectingPoint num="18" id="2184" />
+<TGConnectingPoint num="19" id="2185" />
+<TGConnectingPoint num="20" id="2186" />
+<TGConnectingPoint num="21" id="2187" />
+<TGConnectingPoint num="22" id="2188" />
+<TGConnectingPoint num="23" id="2189" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Signal value="out lock()" attached="true" />
+<Signal value="out unlock()" attached="true" />
+<Signal value="out open()" attached="true" />
+<Signal value="out close()" attached="true" />
+<Signal value="out enterCockpit()" attached="true" />
+<Signal value="out leaveCockit()" attached="true" />
+<Signal value="out typeCode(int codeValue)" attached="true" />
+</extraparam>
+</COMPONENT>
+<SUBCOMPONENT type="5000" id="2090" >
+<father id="2190" num="0" />
+<cdparam x="557" y="237" />
+<sizeparam width="225" height="98" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="525" minY="0" maxY="321" />
+<infoparam name="Block0" value="Passenger" />
+<TGConnectingPoint num="0" id="2066" />
+<TGConnectingPoint num="1" id="2067" />
+<TGConnectingPoint num="2" id="2068" />
+<TGConnectingPoint num="3" id="2069" />
+<TGConnectingPoint num="4" id="2070" />
+<TGConnectingPoint num="5" id="2071" />
+<TGConnectingPoint num="6" id="2072" />
+<TGConnectingPoint num="7" id="2073" />
+<TGConnectingPoint num="8" id="2074" />
+<TGConnectingPoint num="9" id="2075" />
+<TGConnectingPoint num="10" id="2076" />
+<TGConnectingPoint num="11" id="2077" />
+<TGConnectingPoint num="12" id="2078" />
+<TGConnectingPoint num="13" id="2079" />
+<TGConnectingPoint num="14" id="2080" />
+<TGConnectingPoint num="15" id="2081" />
+<TGConnectingPoint num="16" id="2082" />
+<TGConnectingPoint num="17" id="2083" />
+<TGConnectingPoint num="18" id="2084" />
+<TGConnectingPoint num="19" id="2085" />
+<TGConnectingPoint num="20" id="2086" />
+<TGConnectingPoint num="21" id="2087" />
+<TGConnectingPoint num="22" id="2088" />
+<TGConnectingPoint num="23" id="2089" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="isInCockpit" value="false" type="4" typeOther="" />
+<Attribute access="0" id="knowsEmergencyCode" value="false" type="4" typeOther="" />
+<Attribute access="0" id="code" value="" type="5" typeOther="Code" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="5000" id="2115" >
+<father id="2190" num="1" />
+<cdparam x="321" y="238" />
+<sizeparam width="225" height="98" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="525" minY="0" maxY="321" />
+<infoparam name="Block0" value="Crew" />
+<TGConnectingPoint num="0" id="2091" />
+<TGConnectingPoint num="1" id="2092" />
+<TGConnectingPoint num="2" id="2093" />
+<TGConnectingPoint num="3" id="2094" />
+<TGConnectingPoint num="4" id="2095" />
+<TGConnectingPoint num="5" id="2096" />
+<TGConnectingPoint num="6" id="2097" />
+<TGConnectingPoint num="7" id="2098" />
+<TGConnectingPoint num="8" id="2099" />
+<TGConnectingPoint num="9" id="2100" />
+<TGConnectingPoint num="10" id="2101" />
+<TGConnectingPoint num="11" id="2102" />
+<TGConnectingPoint num="12" id="2103" />
+<TGConnectingPoint num="13" id="2104" />
+<TGConnectingPoint num="14" id="2105" />
+<TGConnectingPoint num="15" id="2106" />
+<TGConnectingPoint num="16" id="2107" />
+<TGConnectingPoint num="17" id="2108" />
+<TGConnectingPoint num="18" id="2109" />
+<TGConnectingPoint num="19" id="2110" />
+<TGConnectingPoint num="20" id="2111" />
+<TGConnectingPoint num="21" id="2112" />
+<TGConnectingPoint num="22" id="2113" />
+<TGConnectingPoint num="23" id="2114" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="isInCockpit" value="false" type="4" typeOther="" />
+<Attribute access="0" id="knowsEmergencyCode" value="true" type="4" typeOther="" />
+<Attribute access="0" id="code" value="" type="5" typeOther="Code" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="5000" id="2140" >
+<father id="2190" num="2" />
+<cdparam x="80" y="359" />
+<sizeparam width="225" height="98" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="525" minY="0" maxY="321" />
+<infoparam name="Block0" value="FirstOfficer" />
+<TGConnectingPoint num="0" id="2116" />
+<TGConnectingPoint num="1" id="2117" />
+<TGConnectingPoint num="2" id="2118" />
+<TGConnectingPoint num="3" id="2119" />
+<TGConnectingPoint num="4" id="2120" />
+<TGConnectingPoint num="5" id="2121" />
+<TGConnectingPoint num="6" id="2122" />
+<TGConnectingPoint num="7" id="2123" />
+<TGConnectingPoint num="8" id="2124" />
+<TGConnectingPoint num="9" id="2125" />
+<TGConnectingPoint num="10" id="2126" />
+<TGConnectingPoint num="11" id="2127" />
+<TGConnectingPoint num="12" id="2128" />
+<TGConnectingPoint num="13" id="2129" />
+<TGConnectingPoint num="14" id="2130" />
+<TGConnectingPoint num="15" id="2131" />
+<TGConnectingPoint num="16" id="2132" />
+<TGConnectingPoint num="17" id="2133" />
+<TGConnectingPoint num="18" id="2134" />
+<TGConnectingPoint num="19" id="2135" />
+<TGConnectingPoint num="20" id="2136" />
+<TGConnectingPoint num="21" id="2137" />
+<TGConnectingPoint num="22" id="2138" />
+<TGConnectingPoint num="23" id="2139" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="isInCockpit" value="true" type="4" typeOther="" />
+<Attribute access="0" id="knowsEmergencyCode" value="true" type="4" typeOther="" />
+<Attribute access="0" id="code" value="" type="5" typeOther="Code" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="5000" id="2165" >
+<father id="2190" num="3" />
+<cdparam x="72" y="236" />
+<sizeparam width="225" height="98" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="525" minY="0" maxY="321" />
+<infoparam name="Block0" value="Captain" />
+<TGConnectingPoint num="0" id="2141" />
+<TGConnectingPoint num="1" id="2142" />
+<TGConnectingPoint num="2" id="2143" />
+<TGConnectingPoint num="3" id="2144" />
+<TGConnectingPoint num="4" id="2145" />
+<TGConnectingPoint num="5" id="2146" />
+<TGConnectingPoint num="6" id="2147" />
+<TGConnectingPoint num="7" id="2148" />
+<TGConnectingPoint num="8" id="2149" />
+<TGConnectingPoint num="9" id="2150" />
+<TGConnectingPoint num="10" id="2151" />
+<TGConnectingPoint num="11" id="2152" />
+<TGConnectingPoint num="12" id="2153" />
+<TGConnectingPoint num="13" id="2154" />
+<TGConnectingPoint num="14" id="2155" />
+<TGConnectingPoint num="15" id="2156" />
+<TGConnectingPoint num="16" id="2157" />
+<TGConnectingPoint num="17" id="2158" />
+<TGConnectingPoint num="18" id="2159" />
+<TGConnectingPoint num="19" id="2160" />
+<TGConnectingPoint num="20" id="2161" />
+<TGConnectingPoint num="21" id="2162" />
+<TGConnectingPoint num="22" id="2163" />
+<TGConnectingPoint num="23" id="2164" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="isInCockpit" value="true" type="4" typeOther="" />
+<Attribute access="0" id="knowsEmergencyCode" value="true" type="4" typeOther="" />
+<Attribute access="0" id="code" value="" type="5" typeOther="Code" />
+</extraparam>
+</SUBCOMPONENT>
+
+
+</AVATARBlockDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="OnboardPersons" minX="10" maxX="2500" minY="10" maxY="1500" >
+<COMPONENT type="5100" id="2192" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2191" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="DoorAndLockButton" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="2199" >
+<cdparam x="445" y="283" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2198" />
+<P1  x="445" y="283" id="2385" />
+<P2  x="561" y="313" id="2779" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2197" >
+<father id="2199" num="0" />
+<cdparam x="442" y="318" />
+<sizeparam width="92" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2193" />
+<TGConnectingPoint num="1" id="2194" />
+<TGConnectingPoint num="2" id="2195" />
+<TGConnectingPoint num="3" id="2196" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="timeout = 1" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2214" >
+<cdparam x="265" y="326" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2209" />
+<TGConnectingPoint num="1" id="2210" />
+<TGConnectingPoint num="2" id="2211" />
+<TGConnectingPoint num="3" id="2212" />
+<TGConnectingPoint num="4" id="2213" />
+<P1  x="258" y="376" id="2449" />
+<P2  x="356" y="132" id="2852" />
+<Point x="258" y="396" />
+<Point x="156" y="396" />
+<Point x="156" y="112" />
+<Point x="336" y="112" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2200" >
+<father id="2214" num="0" />
+<cdparam x="258" y="396" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2201" >
+<father id="2214" num="1" />
+<cdparam x="156" y="396" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2202" >
+<father id="2214" num="2" />
+<cdparam x="156" y="112" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2203" >
+<father id="2214" num="3" />
+<cdparam x="336" y="112" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2208" >
+<father id="2214" num="4" />
+<cdparam x="310" y="229" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2204" />
+<TGConnectingPoint num="1" id="2205" />
+<TGConnectingPoint num="2" id="2206" />
+<TGConnectingPoint num="3" id="2207" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2229" >
+<cdparam x="543" y="119" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2224" />
+<TGConnectingPoint num="1" id="2225" />
+<TGConnectingPoint num="2" id="2226" />
+<TGConnectingPoint num="3" id="2227" />
+<TGConnectingPoint num="4" id="2228" />
+<P1  x="543" y="119" id="2851" />
+<P2  x="592" y="48" id="2473" />
+<Point x="543" y="139" />
+<Point x="572" y="139" />
+<Point x="572" y="28" />
+<Point x="572" y="28" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2215" >
+<father id="2229" num="0" />
+<cdparam x="543" y="139" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2216" >
+<father id="2229" num="1" />
+<cdparam x="572" y="139" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2217" >
+<father id="2229" num="2" />
+<cdparam x="572" y="28" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2218" >
+<father id="2229" num="3" />
+<cdparam x="572" y="28" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2223" >
+<father id="2229" num="4" />
+<cdparam x="509" y="49" />
+<sizeparam width="68" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2219" />
+<TGConnectingPoint num="1" id="2220" />
+<TGConnectingPoint num="2" id="2221" />
+<TGConnectingPoint num="3" id="2222" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="1" enabled="true"/>
+<afterMax value="1" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2236" >
+<cdparam x="575" y="636" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2235" />
+<P1  x="575" y="636" id="2628" />
+<P2  x="523" y="714" id="2562" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2234" >
+<father id="2236" num="0" />
+<cdparam x="565" y="676" />
+<sizeparam width="134" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2230" />
+<TGConnectingPoint num="1" id="2231" />
+<TGConnectingPoint num="2" id="2232" />
+<TGConnectingPoint num="3" id="2233" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="inside = inside - 1" enabled="true"/>
+<actions value="outside = outside +1" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2243" >
+<cdparam x="622" y="528" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2242" />
+<P1  x="626" y="528" id="2672" />
+<P2  x="436" y="603" id="2616" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2241" >
+<father id="2243" num="0" />
+<cdparam x="438" y="547" />
+<sizeparam width="87" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2237" />
+<TGConnectingPoint num="1" id="2238" />
+<TGConnectingPoint num="2" id="2239" />
+<TGConnectingPoint num="3" id="2240" />
+<extraparam>
+<guard value="[ outside &gt; 0]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2258" >
+<cdparam x="540" y="417" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2253" />
+<TGConnectingPoint num="1" id="2254" />
+<TGConnectingPoint num="2" id="2255" />
+<TGConnectingPoint num="3" id="2256" />
+<TGConnectingPoint num="4" id="2257" />
+<P1  x="488" y="404" id="2639" />
+<P2  x="356" y="113" id="2838" />
+<Point x="488" y="424" />
+<Point x="106" y="424" />
+<Point x="106" y="93" />
+<Point x="336" y="93" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2244" >
+<father id="2258" num="0" />
+<cdparam x="488" y="424" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2245" >
+<father id="2258" num="1" />
+<cdparam x="106" y="424" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2246" >
+<father id="2258" num="2" />
+<cdparam x="106" y="93" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2247" >
+<father id="2258" num="3" />
+<cdparam x="336" y="93" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2252" >
+<father id="2258" num="4" />
+<cdparam x="471" y="284" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2248" />
+<TGConnectingPoint num="1" id="2249" />
+<TGConnectingPoint num="2" id="2250" />
+<TGConnectingPoint num="3" id="2251" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2273" >
+<cdparam x="714" y="628" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2268" />
+<TGConnectingPoint num="1" id="2269" />
+<TGConnectingPoint num="2" id="2270" />
+<TGConnectingPoint num="3" id="2271" />
+<TGConnectingPoint num="4" id="2272" />
+<P1  x="714" y="628" id="2650" />
+<P2  x="543" y="132" id="2854" />
+<Point x="714" y="648" />
+<Point x="871" y="648" />
+<Point x="871" y="112" />
+<Point x="563" y="112" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2259" >
+<father id="2273" num="0" />
+<cdparam x="714" y="648" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2260" >
+<father id="2273" num="1" />
+<cdparam x="871" y="648" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2261" >
+<father id="2273" num="2" />
+<cdparam x="871" y="112" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2262" >
+<father id="2273" num="3" />
+<cdparam x="563" y="112" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2267" >
+<father id="2273" num="4" />
+<cdparam x="736" y="464" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2263" />
+<TGConnectingPoint num="1" id="2264" />
+<TGConnectingPoint num="2" id="2265" />
+<TGConnectingPoint num="3" id="2266" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2280" >
+<cdparam x="406" y="74" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2279" />
+<P1  x="406" y="74" id="2901" />
+<P2  x="449" y="101" id="2829" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2278" >
+<father id="2280" num="0" />
+<cdparam x="406" y="87" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2274" />
+<TGConnectingPoint num="1" id="2275" />
+<TGConnectingPoint num="2" id="2276" />
+<TGConnectingPoint num="3" id="2277" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2287" >
+<cdparam x="457" y="151" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2286" />
+<P1  x="496" y="151" id="2843" />
+<P2  x="496" y="197" id="2744" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2285" >
+<father id="2287" num="0" />
+<cdparam x="500" y="180" />
+<sizeparam width="77" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2281" />
+<TGConnectingPoint num="1" id="2282" />
+<TGConnectingPoint num="2" id="2283" />
+<TGConnectingPoint num="3" id="2284" />
+<extraparam>
+<guard value="[ inside &gt; 0]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2294" >
+<cdparam x="525" y="221" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2293" />
+<P1  x="496" y="227" id="2745" />
+<P2  x="561" y="281" id="2755" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2292" >
+<father id="2294" num="0" />
+<cdparam x="552" y="243" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2288" />
+<TGConnectingPoint num="1" id="2289" />
+<TGConnectingPoint num="2" id="2290" />
+<TGConnectingPoint num="3" id="2291" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2301" >
+<cdparam x="722" y="395" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2300" />
+<P1  x="638" y="334" id="2784" />
+<P2  x="638" y="379" id="2733" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2299" >
+<father id="2301" num="0" />
+<cdparam x="723" y="422" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2295" />
+<TGConnectingPoint num="1" id="2296" />
+<TGConnectingPoint num="2" id="2297" />
+<TGConnectingPoint num="3" id="2298" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2308" >
+<cdparam x="828" y="510" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2307" />
+<P1  x="638" y="409" id="2734" />
+<P2  x="638" y="491" id="2676" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2306" >
+<father id="2308" num="0" />
+<cdparam x="829" y="543" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2302" />
+<TGConnectingPoint num="1" id="2303" />
+<TGConnectingPoint num="2" id="2304" />
+<TGConnectingPoint num="3" id="2305" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2315" >
+<cdparam x="723" y="541" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2314" />
+<P1  x="676" y="541" id="2666" />
+<P2  x="714" y="598" id="2649" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2313" >
+<father id="2315" num="0" />
+<cdparam x="718" y="569" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2309" />
+<TGConnectingPoint num="1" id="2310" />
+<TGConnectingPoint num="2" id="2311" />
+<TGConnectingPoint num="3" id="2312" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2322" >
+<cdparam x="561" y="334" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2321" />
+<P1  x="561" y="334" id="2760" />
+<P2  x="488" y="374" id="2638" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2320" >
+<father id="2322" num="0" />
+<cdparam x="550" y="360" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2316" />
+<TGConnectingPoint num="1" id="2317" />
+<TGConnectingPoint num="2" id="2318" />
+<TGConnectingPoint num="3" id="2319" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2329" >
+<cdparam x="622" y="541" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2328" />
+<P1  x="626" y="541" id="2665" />
+<P2  x="575" y="606" id="2627" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2327" >
+<father id="2329" num="0" />
+<cdparam x="602" y="588" />
+<sizeparam width="77" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2323" />
+<TGConnectingPoint num="1" id="2324" />
+<TGConnectingPoint num="2" id="2325" />
+<TGConnectingPoint num="3" id="2326" />
+<extraparam>
+<guard value="[ inside &gt; 0]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2336" >
+<cdparam x="436" y="633" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2335" />
+<P1  x="436" y="633" id="2617" />
+<P2  x="436" y="714" id="2543" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2334" >
+<father id="2336" num="0" />
+<cdparam x="296" y="662" />
+<sizeparam width="132" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2330" />
+<TGConnectingPoint num="1" id="2331" />
+<TGConnectingPoint num="2" id="2332" />
+<TGConnectingPoint num="3" id="2333" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="inside = inside + 1" enabled="true"/>
+<actions value="outside = outside - 1" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2343" >
+<cdparam x="378" y="151" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2342" />
+<P1  x="378" y="151" id="2856" />
+<P2  x="327" y="177" id="2459" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2341" >
+<father id="2343" num="0" />
+<cdparam x="376" y="174" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2337" />
+<TGConnectingPoint num="1" id="2338" />
+<TGConnectingPoint num="2" id="2339" />
+<TGConnectingPoint num="3" id="2340" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2350" >
+<cdparam x="327" y="223" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2349" />
+<P1  x="327" y="207" id="2460" />
+<P2  x="327" y="240" id="2375" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2348" >
+<father id="2350" num="0" />
+<cdparam x="327" y="234" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2344" />
+<TGConnectingPoint num="1" id="2345" />
+<TGConnectingPoint num="2" id="2346" />
+<TGConnectingPoint num="3" id="2347" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2357" >
+<cdparam x="291" y="289" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2356" />
+<P1  x="258" y="283" id="2383" />
+<P2  x="258" y="346" id="2448" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2355" >
+<father id="2357" num="0" />
+<cdparam x="278" y="292" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2351" />
+<TGConnectingPoint num="1" id="2352" />
+<TGConnectingPoint num="2" id="2353" />
+<TGConnectingPoint num="3" id="2354" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5106" id="2430" >
+<cdparam x="258" y="240" />
+<sizeparam width="187" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="IN_EMERGENCY_CALL" />
+<TGConnectingPoint num="0" id="2358" />
+<TGConnectingPoint num="1" id="2359" />
+<TGConnectingPoint num="2" id="2360" />
+<TGConnectingPoint num="3" id="2361" />
+<TGConnectingPoint num="4" id="2362" />
+<TGConnectingPoint num="5" id="2363" />
+<TGConnectingPoint num="6" id="2364" />
+<TGConnectingPoint num="7" id="2365" />
+<TGConnectingPoint num="8" id="2366" />
+<TGConnectingPoint num="9" id="2367" />
+<TGConnectingPoint num="10" id="2368" />
+<TGConnectingPoint num="11" id="2369" />
+<TGConnectingPoint num="12" id="2370" />
+<TGConnectingPoint num="13" id="2371" />
+<TGConnectingPoint num="14" id="2372" />
+<TGConnectingPoint num="15" id="2373" />
+<TGConnectingPoint num="16" id="2374" />
+<TGConnectingPoint num="17" id="2375" />
+<TGConnectingPoint num="18" id="2376" />
+<TGConnectingPoint num="19" id="2377" />
+<TGConnectingPoint num="20" id="2378" />
+<TGConnectingPoint num="21" id="2379" />
+<TGConnectingPoint num="22" id="2380" />
+<TGConnectingPoint num="23" id="2381" />
+<TGConnectingPoint num="24" id="2382" />
+<TGConnectingPoint num="25" id="2383" />
+<TGConnectingPoint num="26" id="2384" />
+<TGConnectingPoint num="27" id="2385" />
+<TGConnectingPoint num="28" id="2386" />
+<TGConnectingPoint num="29" id="2387" />
+<TGConnectingPoint num="30" id="2388" />
+<TGConnectingPoint num="31" id="2389" />
+<TGConnectingPoint num="32" id="2390" />
+<TGConnectingPoint num="33" id="2391" />
+<TGConnectingPoint num="34" id="2392" />
+<TGConnectingPoint num="35" id="2393" />
+<TGConnectingPoint num="36" id="2394" />
+<TGConnectingPoint num="37" id="2395" />
+<TGConnectingPoint num="38" id="2396" />
+<TGConnectingPoint num="39" id="2397" />
+<TGConnectingPoint num="40" id="2398" />
+<TGConnectingPoint num="41" id="2399" />
+<TGConnectingPoint num="42" id="2400" />
+<TGConnectingPoint num="43" id="2401" />
+<TGConnectingPoint num="44" id="2402" />
+<TGConnectingPoint num="45" id="2403" />
+<TGConnectingPoint num="46" id="2404" />
+<TGConnectingPoint num="47" id="2405" />
+<TGConnectingPoint num="48" id="2406" />
+<TGConnectingPoint num="49" id="2407" />
+<TGConnectingPoint num="50" id="2408" />
+<TGConnectingPoint num="51" id="2409" />
+<TGConnectingPoint num="52" id="2410" />
+<TGConnectingPoint num="53" id="2411" />
+<TGConnectingPoint num="54" id="2412" />
+<TGConnectingPoint num="55" id="2413" />
+<TGConnectingPoint num="56" id="2414" />
+<TGConnectingPoint num="57" id="2415" />
+<TGConnectingPoint num="58" id="2416" />
+<TGConnectingPoint num="59" id="2417" />
+<TGConnectingPoint num="60" id="2418" />
+<TGConnectingPoint num="61" id="2419" />
+<TGConnectingPoint num="62" id="2420" />
+<TGConnectingPoint num="63" id="2421" />
+<TGConnectingPoint num="64" id="2422" />
+<TGConnectingPoint num="65" id="2423" />
+<TGConnectingPoint num="66" id="2424" />
+<TGConnectingPoint num="67" id="2425" />
+<TGConnectingPoint num="68" id="2426" />
+<TGConnectingPoint num="69" id="2427" />
+<TGConnectingPoint num="70" id="2428" />
+<TGConnectingPoint num="71" id="2429" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="2447" >
+<cdparam x="823" y="27" />
+<sizeparam width="123" height="15" minWidth="20" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="UML Note" value="System is blocked
+" />
+<TGConnectingPoint num="0" id="2431" />
+<TGConnectingPoint num="1" id="2432" />
+<TGConnectingPoint num="2" id="2433" />
+<TGConnectingPoint num="3" id="2434" />
+<TGConnectingPoint num="4" id="2435" />
+<TGConnectingPoint num="5" id="2436" />
+<TGConnectingPoint num="6" id="2437" />
+<TGConnectingPoint num="7" id="2438" />
+<TGConnectingPoint num="8" id="2439" />
+<TGConnectingPoint num="9" id="2440" />
+<TGConnectingPoint num="10" id="2441" />
+<TGConnectingPoint num="11" id="2442" />
+<TGConnectingPoint num="12" id="2443" />
+<TGConnectingPoint num="13" id="2444" />
+<TGConnectingPoint num="14" id="2445" />
+<TGConnectingPoint num="15" id="2446" />
+<extraparam>
+<Line value="System is blocked" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="2458" >
+<cdparam x="234" y="351" />
+<sizeparam width="49" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="lock()" />
+<TGConnectingPoint num="0" id="2448" />
+<TGConnectingPoint num="1" id="2449" />
+<TGConnectingPoint num="2" id="2450" />
+<TGConnectingPoint num="3" id="2451" />
+<TGConnectingPoint num="4" id="2452" />
+<TGConnectingPoint num="5" id="2453" />
+<TGConnectingPoint num="6" id="2454" />
+<TGConnectingPoint num="7" id="2455" />
+<TGConnectingPoint num="8" id="2456" />
+<TGConnectingPoint num="9" id="2457" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2469" >
+<cdparam x="272" y="182" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="emergencyCall()" />
+<TGConnectingPoint num="0" id="2459" />
+<TGConnectingPoint num="1" id="2460" />
+<TGConnectingPoint num="2" id="2461" />
+<TGConnectingPoint num="3" id="2462" />
+<TGConnectingPoint num="4" id="2463" />
+<TGConnectingPoint num="5" id="2464" />
+<TGConnectingPoint num="6" id="2465" />
+<TGConnectingPoint num="7" id="2466" />
+<TGConnectingPoint num="8" id="2467" />
+<TGConnectingPoint num="9" id="2468" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2542" >
+<cdparam x="592" y="28" />
+<sizeparam width="220" height="41" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="LOCKED_EMPTY_COCKPIT" />
+<TGConnectingPoint num="0" id="2470" />
+<TGConnectingPoint num="1" id="2471" />
+<TGConnectingPoint num="2" id="2472" />
+<TGConnectingPoint num="3" id="2473" />
+<TGConnectingPoint num="4" id="2474" />
+<TGConnectingPoint num="5" id="2475" />
+<TGConnectingPoint num="6" id="2476" />
+<TGConnectingPoint num="7" id="2477" />
+<TGConnectingPoint num="8" id="2478" />
+<TGConnectingPoint num="9" id="2479" />
+<TGConnectingPoint num="10" id="2480" />
+<TGConnectingPoint num="11" id="2481" />
+<TGConnectingPoint num="12" id="2482" />
+<TGConnectingPoint num="13" id="2483" />
+<TGConnectingPoint num="14" id="2484" />
+<TGConnectingPoint num="15" id="2485" />
+<TGConnectingPoint num="16" id="2486" />
+<TGConnectingPoint num="17" id="2487" />
+<TGConnectingPoint num="18" id="2488" />
+<TGConnectingPoint num="19" id="2489" />
+<TGConnectingPoint num="20" id="2490" />
+<TGConnectingPoint num="21" id="2491" />
+<TGConnectingPoint num="22" id="2492" />
+<TGConnectingPoint num="23" id="2493" />
+<TGConnectingPoint num="24" id="2494" />
+<TGConnectingPoint num="25" id="2495" />
+<TGConnectingPoint num="26" id="2496" />
+<TGConnectingPoint num="27" id="2497" />
+<TGConnectingPoint num="28" id="2498" />
+<TGConnectingPoint num="29" id="2499" />
+<TGConnectingPoint num="30" id="2500" />
+<TGConnectingPoint num="31" id="2501" />
+<TGConnectingPoint num="32" id="2502" />
+<TGConnectingPoint num="33" id="2503" />
+<TGConnectingPoint num="34" id="2504" />
+<TGConnectingPoint num="35" id="2505" />
+<TGConnectingPoint num="36" id="2506" />
+<TGConnectingPoint num="37" id="2507" />
+<TGConnectingPoint num="38" id="2508" />
+<TGConnectingPoint num="39" id="2509" />
+<TGConnectingPoint num="40" id="2510" />
+<TGConnectingPoint num="41" id="2511" />
+<TGConnectingPoint num="42" id="2512" />
+<TGConnectingPoint num="43" id="2513" />
+<TGConnectingPoint num="44" id="2514" />
+<TGConnectingPoint num="45" id="2515" />
+<TGConnectingPoint num="46" id="2516" />
+<TGConnectingPoint num="47" id="2517" />
+<TGConnectingPoint num="48" id="2518" />
+<TGConnectingPoint num="49" id="2519" />
+<TGConnectingPoint num="50" id="2520" />
+<TGConnectingPoint num="51" id="2521" />
+<TGConnectingPoint num="52" id="2522" />
+<TGConnectingPoint num="53" id="2523" />
+<TGConnectingPoint num="54" id="2524" />
+<TGConnectingPoint num="55" id="2525" />
+<TGConnectingPoint num="56" id="2526" />
+<TGConnectingPoint num="57" id="2527" />
+<TGConnectingPoint num="58" id="2528" />
+<TGConnectingPoint num="59" id="2529" />
+<TGConnectingPoint num="60" id="2530" />
+<TGConnectingPoint num="61" id="2531" />
+<TGConnectingPoint num="62" id="2532" />
+<TGConnectingPoint num="63" id="2533" />
+<TGConnectingPoint num="64" id="2534" />
+<TGConnectingPoint num="65" id="2535" />
+<TGConnectingPoint num="66" id="2536" />
+<TGConnectingPoint num="67" id="2537" />
+<TGConnectingPoint num="68" id="2538" />
+<TGConnectingPoint num="69" id="2539" />
+<TGConnectingPoint num="70" id="2540" />
+<TGConnectingPoint num="71" id="2541" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2615" >
+<cdparam x="436" y="714" />
+<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="OPENED" />
+<TGConnectingPoint num="0" id="2543" />
+<TGConnectingPoint num="1" id="2544" />
+<TGConnectingPoint num="2" id="2545" />
+<TGConnectingPoint num="3" id="2546" />
+<TGConnectingPoint num="4" id="2547" />
+<TGConnectingPoint num="5" id="2548" />
+<TGConnectingPoint num="6" id="2549" />
+<TGConnectingPoint num="7" id="2550" />
+<TGConnectingPoint num="8" id="2551" />
+<TGConnectingPoint num="9" id="2552" />
+<TGConnectingPoint num="10" id="2553" />
+<TGConnectingPoint num="11" id="2554" />
+<TGConnectingPoint num="12" id="2555" />
+<TGConnectingPoint num="13" id="2556" />
+<TGConnectingPoint num="14" id="2557" />
+<TGConnectingPoint num="15" id="2558" />
+<TGConnectingPoint num="16" id="2559" />
+<TGConnectingPoint num="17" id="2560" />
+<TGConnectingPoint num="18" id="2561" />
+<TGConnectingPoint num="19" id="2562" />
+<TGConnectingPoint num="20" id="2563" />
+<TGConnectingPoint num="21" id="2564" />
+<TGConnectingPoint num="22" id="2565" />
+<TGConnectingPoint num="23" id="2566" />
+<TGConnectingPoint num="24" id="2567" />
+<TGConnectingPoint num="25" id="2568" />
+<TGConnectingPoint num="26" id="2569" />
+<TGConnectingPoint num="27" id="2570" />
+<TGConnectingPoint num="28" id="2571" />
+<TGConnectingPoint num="29" id="2572" />
+<TGConnectingPoint num="30" id="2573" />
+<TGConnectingPoint num="31" id="2574" />
+<TGConnectingPoint num="32" id="2575" />
+<TGConnectingPoint num="33" id="2576" />
+<TGConnectingPoint num="34" id="2577" />
+<TGConnectingPoint num="35" id="2578" />
+<TGConnectingPoint num="36" id="2579" />
+<TGConnectingPoint num="37" id="2580" />
+<TGConnectingPoint num="38" id="2581" />
+<TGConnectingPoint num="39" id="2582" />
+<TGConnectingPoint num="40" id="2583" />
+<TGConnectingPoint num="41" id="2584" />
+<TGConnectingPoint num="42" id="2585" />
+<TGConnectingPoint num="43" id="2586" />
+<TGConnectingPoint num="44" id="2587" />
+<TGConnectingPoint num="45" id="2588" />
+<TGConnectingPoint num="46" id="2589" />
+<TGConnectingPoint num="47" id="2590" />
+<TGConnectingPoint num="48" id="2591" />
+<TGConnectingPoint num="49" id="2592" />
+<TGConnectingPoint num="50" id="2593" />
+<TGConnectingPoint num="51" id="2594" />
+<TGConnectingPoint num="52" id="2595" />
+<TGConnectingPoint num="53" id="2596" />
+<TGConnectingPoint num="54" id="2597" />
+<TGConnectingPoint num="55" id="2598" />
+<TGConnectingPoint num="56" id="2599" />
+<TGConnectingPoint num="57" id="2600" />
+<TGConnectingPoint num="58" id="2601" />
+<TGConnectingPoint num="59" id="2602" />
+<TGConnectingPoint num="60" id="2603" />
+<TGConnectingPoint num="61" id="2604" />
+<TGConnectingPoint num="62" id="2605" />
+<TGConnectingPoint num="63" id="2606" />
+<TGConnectingPoint num="64" id="2607" />
+<TGConnectingPoint num="65" id="2608" />
+<TGConnectingPoint num="66" id="2609" />
+<TGConnectingPoint num="67" id="2610" />
+<TGConnectingPoint num="68" id="2611" />
+<TGConnectingPoint num="69" id="2612" />
+<TGConnectingPoint num="70" id="2613" />
+<TGConnectingPoint num="71" id="2614" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="2626" >
+<cdparam x="387" y="608" />
+<sizeparam width="99" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="enterCockpit()" />
+<TGConnectingPoint num="0" id="2616" />
+<TGConnectingPoint num="1" id="2617" />
+<TGConnectingPoint num="2" id="2618" />
+<TGConnectingPoint num="3" id="2619" />
+<TGConnectingPoint num="4" id="2620" />
+<TGConnectingPoint num="5" id="2621" />
+<TGConnectingPoint num="6" id="2622" />
+<TGConnectingPoint num="7" id="2623" />
+<TGConnectingPoint num="8" id="2624" />
+<TGConnectingPoint num="9" id="2625" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2637" >
+<cdparam x="526" y="611" />
+<sizeparam width="99" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="leaveCockpit()" />
+<TGConnectingPoint num="0" id="2627" />
+<TGConnectingPoint num="1" id="2628" />
+<TGConnectingPoint num="2" id="2629" />
+<TGConnectingPoint num="3" id="2630" />
+<TGConnectingPoint num="4" id="2631" />
+<TGConnectingPoint num="5" id="2632" />
+<TGConnectingPoint num="6" id="2633" />
+<TGConnectingPoint num="7" id="2634" />
+<TGConnectingPoint num="8" id="2635" />
+<TGConnectingPoint num="9" id="2636" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2648" >
+<cdparam x="464" y="379" />
+<sizeparam width="49" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="lock()" />
+<TGConnectingPoint num="0" id="2638" />
+<TGConnectingPoint num="1" id="2639" />
+<TGConnectingPoint num="2" id="2640" />
+<TGConnectingPoint num="3" id="2641" />
+<TGConnectingPoint num="4" id="2642" />
+<TGConnectingPoint num="5" id="2643" />
+<TGConnectingPoint num="6" id="2644" />
+<TGConnectingPoint num="7" id="2645" />
+<TGConnectingPoint num="8" id="2646" />
+<TGConnectingPoint num="9" id="2647" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2659" >
+<cdparam x="687" y="603" />
+<sizeparam width="55" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="close()" />
+<TGConnectingPoint num="0" id="2649" />
+<TGConnectingPoint num="1" id="2650" />
+<TGConnectingPoint num="2" id="2651" />
+<TGConnectingPoint num="3" id="2652" />
+<TGConnectingPoint num="4" id="2653" />
+<TGConnectingPoint num="5" id="2654" />
+<TGConnectingPoint num="6" id="2655" />
+<TGConnectingPoint num="7" id="2656" />
+<TGConnectingPoint num="8" id="2657" />
+<TGConnectingPoint num="9" id="2658" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2732" >
+<cdparam x="626" y="491" />
+<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="OPENED" />
+<TGConnectingPoint num="0" id="2660" />
+<TGConnectingPoint num="1" id="2661" />
+<TGConnectingPoint num="2" id="2662" />
+<TGConnectingPoint num="3" id="2663" />
+<TGConnectingPoint num="4" id="2664" />
+<TGConnectingPoint num="5" id="2665" />
+<TGConnectingPoint num="6" id="2666" />
+<TGConnectingPoint num="7" id="2667" />
+<TGConnectingPoint num="8" id="2668" />
+<TGConnectingPoint num="9" id="2669" />
+<TGConnectingPoint num="10" id="2670" />
+<TGConnectingPoint num="11" id="2671" />
+<TGConnectingPoint num="12" id="2672" />
+<TGConnectingPoint num="13" id="2673" />
+<TGConnectingPoint num="14" id="2674" />
+<TGConnectingPoint num="15" id="2675" />
+<TGConnectingPoint num="16" id="2676" />
+<TGConnectingPoint num="17" id="2677" />
+<TGConnectingPoint num="18" id="2678" />
+<TGConnectingPoint num="19" id="2679" />
+<TGConnectingPoint num="20" id="2680" />
+<TGConnectingPoint num="21" id="2681" />
+<TGConnectingPoint num="22" id="2682" />
+<TGConnectingPoint num="23" id="2683" />
+<TGConnectingPoint num="24" id="2684" />
+<TGConnectingPoint num="25" id="2685" />
+<TGConnectingPoint num="26" id="2686" />
+<TGConnectingPoint num="27" id="2687" />
+<TGConnectingPoint num="28" id="2688" />
+<TGConnectingPoint num="29" id="2689" />
+<TGConnectingPoint num="30" id="2690" />
+<TGConnectingPoint num="31" id="2691" />
+<TGConnectingPoint num="32" id="2692" />
+<TGConnectingPoint num="33" id="2693" />
+<TGConnectingPoint num="34" id="2694" />
+<TGConnectingPoint num="35" id="2695" />
+<TGConnectingPoint num="36" id="2696" />
+<TGConnectingPoint num="37" id="2697" />
+<TGConnectingPoint num="38" id="2698" />
+<TGConnectingPoint num="39" id="2699" />
+<TGConnectingPoint num="40" id="2700" />
+<TGConnectingPoint num="41" id="2701" />
+<TGConnectingPoint num="42" id="2702" />
+<TGConnectingPoint num="43" id="2703" />
+<TGConnectingPoint num="44" id="2704" />
+<TGConnectingPoint num="45" id="2705" />
+<TGConnectingPoint num="46" id="2706" />
+<TGConnectingPoint num="47" id="2707" />
+<TGConnectingPoint num="48" id="2708" />
+<TGConnectingPoint num="49" id="2709" />
+<TGConnectingPoint num="50" id="2710" />
+<TGConnectingPoint num="51" id="2711" />
+<TGConnectingPoint num="52" id="2712" />
+<TGConnectingPoint num="53" id="2713" />
+<TGConnectingPoint num="54" id="2714" />
+<TGConnectingPoint num="55" id="2715" />
+<TGConnectingPoint num="56" id="2716" />
+<TGConnectingPoint num="57" id="2717" />
+<TGConnectingPoint num="58" id="2718" />
+<TGConnectingPoint num="59" id="2719" />
+<TGConnectingPoint num="60" id="2720" />
+<TGConnectingPoint num="61" id="2721" />
+<TGConnectingPoint num="62" id="2722" />
+<TGConnectingPoint num="63" id="2723" />
+<TGConnectingPoint num="64" id="2724" />
+<TGConnectingPoint num="65" id="2725" />
+<TGConnectingPoint num="66" id="2726" />
+<TGConnectingPoint num="67" id="2727" />
+<TGConnectingPoint num="68" id="2728" />
+<TGConnectingPoint num="69" id="2729" />
+<TGConnectingPoint num="70" id="2730" />
+<TGConnectingPoint num="71" id="2731" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="2743" >
+<cdparam x="611" y="384" />
+<sizeparam width="55" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="open()" />
+<TGConnectingPoint num="0" id="2733" />
+<TGConnectingPoint num="1" id="2734" />
+<TGConnectingPoint num="2" id="2735" />
+<TGConnectingPoint num="3" id="2736" />
+<TGConnectingPoint num="4" id="2737" />
+<TGConnectingPoint num="5" id="2738" />
+<TGConnectingPoint num="6" id="2739" />
+<TGConnectingPoint num="7" id="2740" />
+<TGConnectingPoint num="8" id="2741" />
+<TGConnectingPoint num="9" id="2742" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="2754" >
+<cdparam x="465" y="202" />
+<sizeparam width="63" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="unlock()" />
+<TGConnectingPoint num="0" id="2744" />
+<TGConnectingPoint num="1" id="2745" />
+<TGConnectingPoint num="2" id="2746" />
+<TGConnectingPoint num="3" id="2747" />
+<TGConnectingPoint num="4" id="2748" />
+<TGConnectingPoint num="5" id="2749" />
+<TGConnectingPoint num="6" id="2750" />
+<TGConnectingPoint num="7" id="2751" />
+<TGConnectingPoint num="8" id="2752" />
+<TGConnectingPoint num="9" id="2753" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2827" >
+<cdparam x="561" y="281" />
+<sizeparam width="209" height="53" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="CLOSED_AND_UNLOCKED" />
+<TGConnectingPoint num="0" id="2755" />
+<TGConnectingPoint num="1" id="2756" />
+<TGConnectingPoint num="2" id="2757" />
+<TGConnectingPoint num="3" id="2758" />
+<TGConnectingPoint num="4" id="2759" />
+<TGConnectingPoint num="5" id="2760" />
+<TGConnectingPoint num="6" id="2761" />
+<TGConnectingPoint num="7" id="2762" />
+<TGConnectingPoint num="8" id="2763" />
+<TGConnectingPoint num="9" id="2764" />
+<TGConnectingPoint num="10" id="2765" />
+<TGConnectingPoint num="11" id="2766" />
+<TGConnectingPoint num="12" id="2767" />
+<TGConnectingPoint num="13" id="2768" />
+<TGConnectingPoint num="14" id="2769" />
+<TGConnectingPoint num="15" id="2770" />
+<TGConnectingPoint num="16" id="2771" />
+<TGConnectingPoint num="17" id="2772" />
+<TGConnectingPoint num="18" id="2773" />
+<TGConnectingPoint num="19" id="2774" />
+<TGConnectingPoint num="20" id="2775" />
+<TGConnectingPoint num="21" id="2776" />
+<TGConnectingPoint num="22" id="2777" />
+<TGConnectingPoint num="23" id="2778" />
+<TGConnectingPoint num="24" id="2779" />
+<TGConnectingPoint num="25" id="2780" />
+<TGConnectingPoint num="26" id="2781" />
+<TGConnectingPoint num="27" id="2782" />
+<TGConnectingPoint num="28" id="2783" />
+<TGConnectingPoint num="29" id="2784" />
+<TGConnectingPoint num="30" id="2785" />
+<TGConnectingPoint num="31" id="2786" />
+<TGConnectingPoint num="32" id="2787" />
+<TGConnectingPoint num="33" id="2788" />
+<TGConnectingPoint num="34" id="2789" />
+<TGConnectingPoint num="35" id="2790" />
+<TGConnectingPoint num="36" id="2791" />
+<TGConnectingPoint num="37" id="2792" />
+<TGConnectingPoint num="38" id="2793" />
+<TGConnectingPoint num="39" id="2794" />
+<TGConnectingPoint num="40" id="2795" />
+<TGConnectingPoint num="41" id="2796" />
+<TGConnectingPoint num="42" id="2797" />
+<TGConnectingPoint num="43" id="2798" />
+<TGConnectingPoint num="44" id="2799" />
+<TGConnectingPoint num="45" id="2800" />
+<TGConnectingPoint num="46" id="2801" />
+<TGConnectingPoint num="47" id="2802" />
+<TGConnectingPoint num="48" id="2803" />
+<TGConnectingPoint num="49" id="2804" />
+<TGConnectingPoint num="50" id="2805" />
+<TGConnectingPoint num="51" id="2806" />
+<TGConnectingPoint num="52" id="2807" />
+<TGConnectingPoint num="53" id="2808" />
+<TGConnectingPoint num="54" id="2809" />
+<TGConnectingPoint num="55" id="2810" />
+<TGConnectingPoint num="56" id="2811" />
+<TGConnectingPoint num="57" id="2812" />
+<TGConnectingPoint num="58" id="2813" />
+<TGConnectingPoint num="59" id="2814" />
+<TGConnectingPoint num="60" id="2815" />
+<TGConnectingPoint num="61" id="2816" />
+<TGConnectingPoint num="62" id="2817" />
+<TGConnectingPoint num="63" id="2818" />
+<TGConnectingPoint num="64" id="2819" />
+<TGConnectingPoint num="65" id="2820" />
+<TGConnectingPoint num="66" id="2821" />
+<TGConnectingPoint num="67" id="2822" />
+<TGConnectingPoint num="68" id="2823" />
+<TGConnectingPoint num="69" id="2824" />
+<TGConnectingPoint num="70" id="2825" />
+<TGConnectingPoint num="71" id="2826" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2900" >
+<cdparam x="356" y="101" />
+<sizeparam width="187" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="CLOSED_AND_LOCKED" />
+<TGConnectingPoint num="0" id="2828" />
+<TGConnectingPoint num="1" id="2829" />
+<TGConnectingPoint num="2" id="2830" />
+<TGConnectingPoint num="3" id="2831" />
+<TGConnectingPoint num="4" id="2832" />
+<TGConnectingPoint num="5" id="2833" />
+<TGConnectingPoint num="6" id="2834" />
+<TGConnectingPoint num="7" id="2835" />
+<TGConnectingPoint num="8" id="2836" />
+<TGConnectingPoint num="9" id="2837" />
+<TGConnectingPoint num="10" id="2838" />
+<TGConnectingPoint num="11" id="2839" />
+<TGConnectingPoint num="12" id="2840" />
+<TGConnectingPoint num="13" id="2841" />
+<TGConnectingPoint num="14" id="2842" />
+<TGConnectingPoint num="15" id="2843" />
+<TGConnectingPoint num="16" id="2844" />
+<TGConnectingPoint num="17" id="2845" />
+<TGConnectingPoint num="18" id="2846" />
+<TGConnectingPoint num="19" id="2847" />
+<TGConnectingPoint num="20" id="2848" />
+<TGConnectingPoint num="21" id="2849" />
+<TGConnectingPoint num="22" id="2850" />
+<TGConnectingPoint num="23" id="2851" />
+<TGConnectingPoint num="24" id="2852" />
+<TGConnectingPoint num="25" id="2853" />
+<TGConnectingPoint num="26" id="2854" />
+<TGConnectingPoint num="27" id="2855" />
+<TGConnectingPoint num="28" id="2856" />
+<TGConnectingPoint num="29" id="2857" />
+<TGConnectingPoint num="30" id="2858" />
+<TGConnectingPoint num="31" id="2859" />
+<TGConnectingPoint num="32" id="2860" />
+<TGConnectingPoint num="33" id="2861" />
+<TGConnectingPoint num="34" id="2862" />
+<TGConnectingPoint num="35" id="2863" />
+<TGConnectingPoint num="36" id="2864" />
+<TGConnectingPoint num="37" id="2865" />
+<TGConnectingPoint num="38" id="2866" />
+<TGConnectingPoint num="39" id="2867" />
+<TGConnectingPoint num="40" id="2868" />
+<TGConnectingPoint num="41" id="2869" />
+<TGConnectingPoint num="42" id="2870" />
+<TGConnectingPoint num="43" id="2871" />
+<TGConnectingPoint num="44" id="2872" />
+<TGConnectingPoint num="45" id="2873" />
+<TGConnectingPoint num="46" id="2874" />
+<TGConnectingPoint num="47" id="2875" />
+<TGConnectingPoint num="48" id="2876" />
+<TGConnectingPoint num="49" id="2877" />
+<TGConnectingPoint num="50" id="2878" />
+<TGConnectingPoint num="51" id="2879" />
+<TGConnectingPoint num="52" id="2880" />
+<TGConnectingPoint num="53" id="2881" />
+<TGConnectingPoint num="54" id="2882" />
+<TGConnectingPoint num="55" id="2883" />
+<TGConnectingPoint num="56" id="2884" />
+<TGConnectingPoint num="57" id="2885" />
+<TGConnectingPoint num="58" id="2886" />
+<TGConnectingPoint num="59" id="2887" />
+<TGConnectingPoint num="60" id="2888" />
+<TGConnectingPoint num="61" id="2889" />
+<TGConnectingPoint num="62" id="2890" />
+<TGConnectingPoint num="63" id="2891" />
+<TGConnectingPoint num="64" id="2892" />
+<TGConnectingPoint num="65" id="2893" />
+<TGConnectingPoint num="66" id="2894" />
+<TGConnectingPoint num="67" id="2895" />
+<TGConnectingPoint num="68" id="2896" />
+<TGConnectingPoint num="69" id="2897" />
+<TGConnectingPoint num="70" id="2898" />
+<TGConnectingPoint num="71" id="2899" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="2902" >
+<cdparam x="399" y="54" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2901" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="Captain" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="2909" >
+<cdparam x="570" y="83" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2908" />
+<P1  x="570" y="83" id="2930" />
+<P2  x="597" y="117" id="2917" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2907" >
+<father id="2909" num="0" />
+<cdparam x="584" y="105" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2903" />
+<TGConnectingPoint num="1" id="2904" />
+<TGConnectingPoint num="2" id="2905" />
+<TGConnectingPoint num="3" id="2906" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2916" >
+<cdparam x="599" y="163" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2915" />
+<P1  x="597" y="151" id="2918" />
+<P2  x="578" y="213" id="2928" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2914" >
+<father id="2916" num="0" />
+<cdparam x="588" y="188" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2910" />
+<TGConnectingPoint num="1" id="2911" />
+<TGConnectingPoint num="2" id="2912" />
+<TGConnectingPoint num="3" id="2913" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5112" id="2927" >
+<cdparam x="402" y="122" />
+<sizeparam width="391" height="24" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Library function call" value="Person (isInCockpit, knowsEmergencyCode, code)" />
+<TGConnectingPoint num="0" id="2917" />
+<TGConnectingPoint num="1" id="2918" />
+<TGConnectingPoint num="2" id="2919" />
+<TGConnectingPoint num="3" id="2920" />
+<TGConnectingPoint num="4" id="2921" />
+<TGConnectingPoint num="5" id="2922" />
+<TGConnectingPoint num="6" id="2923" />
+<TGConnectingPoint num="7" id="2924" />
+<TGConnectingPoint num="8" id="2925" />
+<TGConnectingPoint num="9" id="2926" />
+<extraparam>
+<LibraryFunction name="Person" />
+<Parameter id="isInCockpit" />
+<Parameter id="knowsEmergencyCode" />
+<Parameter id="code" />
+<Signal value="out lock()" />
+<Signal value="out unlock()" />
+<Signal value="out open()" />
+<Signal value="out close()" />
+<Signal value="out enterCockpit()" />
+<Signal value="out leaveCockit()" />
+<Signal value="out typeCode(int codeValue)" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5101" id="2929" >
+<cdparam x="568" y="218" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="2928" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="2931" >
+<cdparam x="563" y="63" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2930" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="Person" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="2938" >
+<cdparam x="1242" y="443" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2937" />
+<P1  x="1275" y="545" id="3052" />
+<P2  x="1083" y="667" id="3130" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2936" >
+<father id="2938" num="0" />
+<cdparam x="1162" y="555" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2932" />
+<TGConnectingPoint num="1" id="2933" />
+<TGConnectingPoint num="2" id="2934" />
+<TGConnectingPoint num="3" id="2935" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2945" >
+<cdparam x="1079" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2944" />
+<P1  x="1079" y="205" id="3219" />
+<P2  x="1275" y="515" id="3051" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2943" >
+<father id="2945" num="0" />
+<cdparam x="1267" y="482" />
+<sizeparam width="149" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2939" />
+<TGConnectingPoint num="1" id="2940" />
+<TGConnectingPoint num="2" id="2941" />
+<TGConnectingPoint num="3" id="2942" />
+<extraparam>
+<guard value="[ (isInCockpit == false)]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2952" >
+<cdparam x="1008" y="438" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2951" />
+<P1  x="1043" y="445" id="3063" />
+<P2  x="994" y="667" id="3147" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2950" >
+<father id="2952" num="0" />
+<cdparam x="1001" y="552" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2946" />
+<TGConnectingPoint num="1" id="2947" />
+<TGConnectingPoint num="2" id="2948" />
+<TGConnectingPoint num="3" id="2949" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2959" >
+<cdparam x="866" y="445" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2958" />
+<P1  x="866" y="445" id="3074" />
+<P2  x="824" y="667" id="3146" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2957" >
+<father id="2959" num="0" />
+<cdparam x="845" y="556" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2953" />
+<TGConnectingPoint num="1" id="2954" />
+<TGConnectingPoint num="2" id="2955" />
+<TGConnectingPoint num="3" id="2956" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2966" >
+<cdparam x="831" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2965" />
+<P1  x="831" y="205" id="3242" />
+<P2  x="866" y="415" id="3073" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2964" >
+<father id="2966" num="0" />
+<cdparam x="848" y="310" />
+<sizeparam width="81" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2960" />
+<TGConnectingPoint num="1" id="2961" />
+<TGConnectingPoint num="2" id="2962" />
+<TGConnectingPoint num="3" id="2963" />
+<extraparam>
+<guard value="[ isInCockpit]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2973" >
+<cdparam x="752" y="448" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2972" />
+<P1  x="752" y="448" id="3085" />
+<P2  x="743" y="667" id="3129" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2971" >
+<father id="2973" num="0" />
+<cdparam x="747" y="557" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2967" />
+<TGConnectingPoint num="1" id="2968" />
+<TGConnectingPoint num="2" id="2969" />
+<TGConnectingPoint num="3" id="2970" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2980" >
+<cdparam x="668" y="442" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2979" />
+<P1  x="655" y="448" id="3096" />
+<P2  x="655" y="667" id="3145" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2978" >
+<father id="2980" num="0" />
+<cdparam x="661" y="554" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2974" />
+<TGConnectingPoint num="1" id="2975" />
+<TGConnectingPoint num="2" id="2976" />
+<TGConnectingPoint num="3" id="2977" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2987" >
+<cdparam x="668" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2986" />
+<P1  x="668" y="205" id="3241" />
+<P2  x="655" y="418" id="3095" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2985" >
+<father id="2987" num="0" />
+<cdparam x="676" y="305" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2981" />
+<TGConnectingPoint num="1" id="2982" />
+<TGConnectingPoint num="2" id="2983" />
+<TGConnectingPoint num="3" id="2984" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2994" >
+<cdparam x="554" y="437" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="2993" />
+<P1  x="554" y="437" id="3107" />
+<P2  x="573" y="667" id="3136" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2992" >
+<father id="2994" num="0" />
+<cdparam x="563" y="552" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2988" />
+<TGConnectingPoint num="1" id="2989" />
+<TGConnectingPoint num="2" id="2990" />
+<TGConnectingPoint num="3" id="2991" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3001" >
+<cdparam x="440" y="443" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3000" />
+<P1  x="440" y="443" id="3118" />
+<P2  x="485" y="667" id="3144" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2999" >
+<father id="3001" num="0" />
+<cdparam x="385" y="517" />
+<sizeparam width="111" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2995" />
+<TGConnectingPoint num="1" id="2996" />
+<TGConnectingPoint num="2" id="2997" />
+<TGConnectingPoint num="3" id="2998" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="isInCockpit = true" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3008" >
+<cdparam x="344" y="378" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3007" />
+<P1  x="294" y="443" id="3202" />
+<P2  x="404" y="667" id="3128" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3006" >
+<father id="3008" num="0" />
+<cdparam x="205" y="521" />
+<sizeparam width="115" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3002" />
+<TGConnectingPoint num="1" id="3003" />
+<TGConnectingPoint num="2" id="3004" />
+<TGConnectingPoint num="3" id="3005" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="isInCockpit = false" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3015" >
+<cdparam x="570" y="145" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3014" />
+<P1  x="743" y="92" id="3285" />
+<P2  x="753" y="155" id="3213" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3013" >
+<father id="3015" num="0" />
+<cdparam x="573" y="177" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3009" />
+<TGConnectingPoint num="1" id="3010" />
+<TGConnectingPoint num="2" id="3011" />
+<TGConnectingPoint num="3" id="3012" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3022" >
+<cdparam x="427" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3021" />
+<P1  x="427" y="205" id="3217" />
+<P2  x="294" y="413" id="3201" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3020" >
+<father id="3022" num="0" />
+<cdparam x="239" y="356" />
+<sizeparam width="81" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3016" />
+<TGConnectingPoint num="1" id="3017" />
+<TGConnectingPoint num="2" id="3018" />
+<TGConnectingPoint num="3" id="3019" />
+<extraparam>
+<guard value="[ isInCockpit]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3029" >
+<cdparam x="505" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3028" />
+<P1  x="505" y="205" id="3240" />
+<P2  x="440" y="413" id="3117" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3027" >
+<father id="3029" num="0" />
+<cdparam x="371" y="368" />
+<sizeparam width="112" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3023" />
+<TGConnectingPoint num="1" id="3024" />
+<TGConnectingPoint num="2" id="3025" />
+<TGConnectingPoint num="3" id="3026" />
+<extraparam>
+<guard value="[ not(isInCockpit)]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3036" >
+<cdparam x="590" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3035" />
+<P1  x="590" y="205" id="3226" />
+<P2  x="554" y="407" id="3106" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3034" >
+<father id="3036" num="0" />
+<cdparam x="579" y="246" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3030" />
+<TGConnectingPoint num="1" id="3031" />
+<TGConnectingPoint num="2" id="3032" />
+<TGConnectingPoint num="3" id="3033" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3043" >
+<cdparam x="753" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3042" />
+<P1  x="753" y="205" id="3218" />
+<P2  x="752" y="418" id="3084" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3041" >
+<father id="3043" num="0" />
+<cdparam x="758" y="357" />
+<sizeparam width="85" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3037" />
+<TGConnectingPoint num="1" id="3038" />
+<TGConnectingPoint num="2" id="3039" />
+<TGConnectingPoint num="3" id="3040" />
+<extraparam>
+<guard value="[ isInCockpit ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3050" >
+<cdparam x="994" y="205" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3049" />
+<P1  x="994" y="205" id="3243" />
+<P2  x="1043" y="415" id="3062" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3048" >
+<father id="3050" num="0" />
+<cdparam x="932" y="396" />
+<sizeparam width="385" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3044" />
+<TGConnectingPoint num="1" id="3045" />
+<TGConnectingPoint num="2" id="3046" />
+<TGConnectingPoint num="3" id="3047" />
+<extraparam>
+<guard value="[ (isInCockpit == false) and (knowsEmergencyCode == true)]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5103" id="3061" >
+<cdparam x="1196" y="520" />
+<sizeparam width="158" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="typeCode(code.badCode)" />
+<TGConnectingPoint num="0" id="3051" />
+<TGConnectingPoint num="1" id="3052" />
+<TGConnectingPoint num="2" id="3053" />
+<TGConnectingPoint num="3" id="3054" />
+<TGConnectingPoint num="4" id="3055" />
+<TGConnectingPoint num="5" id="3056" />
+<TGConnectingPoint num="6" id="3057" />
+<TGConnectingPoint num="7" id="3058" />
+<TGConnectingPoint num="8" id="3059" />
+<TGConnectingPoint num="9" id="3060" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3072" >
+<cdparam x="961" y="420" />
+<sizeparam width="164" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="typeCode(code.goodCode)" />
+<TGConnectingPoint num="0" id="3062" />
+<TGConnectingPoint num="1" id="3063" />
+<TGConnectingPoint num="2" id="3064" />
+<TGConnectingPoint num="3" id="3065" />
+<TGConnectingPoint num="4" id="3066" />
+<TGConnectingPoint num="5" id="3067" />
+<TGConnectingPoint num="6" id="3068" />
+<TGConnectingPoint num="7" id="3069" />
+<TGConnectingPoint num="8" id="3070" />
+<TGConnectingPoint num="9" id="3071" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3083" >
+<cdparam x="839" y="420" />
+<sizeparam width="55" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="unlock()" />
+<TGConnectingPoint num="0" id="3073" />
+<TGConnectingPoint num="1" id="3074" />
+<TGConnectingPoint num="2" id="3075" />
+<TGConnectingPoint num="3" id="3076" />
+<TGConnectingPoint num="4" id="3077" />
+<TGConnectingPoint num="5" id="3078" />
+<TGConnectingPoint num="6" id="3079" />
+<TGConnectingPoint num="7" id="3080" />
+<TGConnectingPoint num="8" id="3081" />
+<TGConnectingPoint num="9" id="3082" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3094" >
+<cdparam x="732" y="423" />
+<sizeparam width="41" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="lock()" />
+<TGConnectingPoint num="0" id="3084" />
+<TGConnectingPoint num="1" id="3085" />
+<TGConnectingPoint num="2" id="3086" />
+<TGConnectingPoint num="3" id="3087" />
+<TGConnectingPoint num="4" id="3088" />
+<TGConnectingPoint num="5" id="3089" />
+<TGConnectingPoint num="6" id="3090" />
+<TGConnectingPoint num="7" id="3091" />
+<TGConnectingPoint num="8" id="3092" />
+<TGConnectingPoint num="9" id="3093" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3105" >
+<cdparam x="632" y="423" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="close()" />
+<TGConnectingPoint num="0" id="3095" />
+<TGConnectingPoint num="1" id="3096" />
+<TGConnectingPoint num="2" id="3097" />
+<TGConnectingPoint num="3" id="3098" />
+<TGConnectingPoint num="4" id="3099" />
+<TGConnectingPoint num="5" id="3100" />
+<TGConnectingPoint num="6" id="3101" />
+<TGConnectingPoint num="7" id="3102" />
+<TGConnectingPoint num="8" id="3103" />
+<TGConnectingPoint num="9" id="3104" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3116" >
+<cdparam x="531" y="412" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="open()" />
+<TGConnectingPoint num="0" id="3106" />
+<TGConnectingPoint num="1" id="3107" />
+<TGConnectingPoint num="2" id="3108" />
+<TGConnectingPoint num="3" id="3109" />
+<TGConnectingPoint num="4" id="3110" />
+<TGConnectingPoint num="5" id="3111" />
+<TGConnectingPoint num="6" id="3112" />
+<TGConnectingPoint num="7" id="3113" />
+<TGConnectingPoint num="8" id="3114" />
+<TGConnectingPoint num="9" id="3115" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3127" >
+<cdparam x="395" y="418" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="enterCockpit()" />
+<TGConnectingPoint num="0" id="3117" />
+<TGConnectingPoint num="1" id="3118" />
+<TGConnectingPoint num="2" id="3119" />
+<TGConnectingPoint num="3" id="3120" />
+<TGConnectingPoint num="4" id="3121" />
+<TGConnectingPoint num="5" id="3122" />
+<TGConnectingPoint num="6" id="3123" />
+<TGConnectingPoint num="7" id="3124" />
+<TGConnectingPoint num="8" id="3125" />
+<TGConnectingPoint num="9" id="3126" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3200" >
+<cdparam x="404" y="667" />
+<sizeparam width="679" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="MAIN" />
+<TGConnectingPoint num="0" id="3128" />
+<TGConnectingPoint num="1" id="3129" />
+<TGConnectingPoint num="2" id="3130" />
+<TGConnectingPoint num="3" id="3131" />
+<TGConnectingPoint num="4" id="3132" />
+<TGConnectingPoint num="5" id="3133" />
+<TGConnectingPoint num="6" id="3134" />
+<TGConnectingPoint num="7" id="3135" />
+<TGConnectingPoint num="8" id="3136" />
+<TGConnectingPoint num="9" id="3137" />
+<TGConnectingPoint num="10" id="3138" />
+<TGConnectingPoint num="11" id="3139" />
+<TGConnectingPoint num="12" id="3140" />
+<TGConnectingPoint num="13" id="3141" />
+<TGConnectingPoint num="14" id="3142" />
+<TGConnectingPoint num="15" id="3143" />
+<TGConnectingPoint num="16" id="3144" />
+<TGConnectingPoint num="17" id="3145" />
+<TGConnectingPoint num="18" id="3146" />
+<TGConnectingPoint num="19" id="3147" />
+<TGConnectingPoint num="20" id="3148" />
+<TGConnectingPoint num="21" id="3149" />
+<TGConnectingPoint num="22" id="3150" />
+<TGConnectingPoint num="23" id="3151" />
+<TGConnectingPoint num="24" id="3152" />
+<TGConnectingPoint num="25" id="3153" />
+<TGConnectingPoint num="26" id="3154" />
+<TGConnectingPoint num="27" id="3155" />
+<TGConnectingPoint num="28" id="3156" />
+<TGConnectingPoint num="29" id="3157" />
+<TGConnectingPoint num="30" id="3158" />
+<TGConnectingPoint num="31" id="3159" />
+<TGConnectingPoint num="32" id="3160" />
+<TGConnectingPoint num="33" id="3161" />
+<TGConnectingPoint num="34" id="3162" />
+<TGConnectingPoint num="35" id="3163" />
+<TGConnectingPoint num="36" id="3164" />
+<TGConnectingPoint num="37" id="3165" />
+<TGConnectingPoint num="38" id="3166" />
+<TGConnectingPoint num="39" id="3167" />
+<TGConnectingPoint num="40" id="3168" />
+<TGConnectingPoint num="41" id="3169" />
+<TGConnectingPoint num="42" id="3170" />
+<TGConnectingPoint num="43" id="3171" />
+<TGConnectingPoint num="44" id="3172" />
+<TGConnectingPoint num="45" id="3173" />
+<TGConnectingPoint num="46" id="3174" />
+<TGConnectingPoint num="47" id="3175" />
+<TGConnectingPoint num="48" id="3176" />
+<TGConnectingPoint num="49" id="3177" />
+<TGConnectingPoint num="50" id="3178" />
+<TGConnectingPoint num="51" id="3179" />
+<TGConnectingPoint num="52" id="3180" />
+<TGConnectingPoint num="53" id="3181" />
+<TGConnectingPoint num="54" id="3182" />
+<TGConnectingPoint num="55" id="3183" />
+<TGConnectingPoint num="56" id="3184" />
+<TGConnectingPoint num="57" id="3185" />
+<TGConnectingPoint num="58" id="3186" />
+<TGConnectingPoint num="59" id="3187" />
+<TGConnectingPoint num="60" id="3188" />
+<TGConnectingPoint num="61" id="3189" />
+<TGConnectingPoint num="62" id="3190" />
+<TGConnectingPoint num="63" id="3191" />
+<TGConnectingPoint num="64" id="3192" />
+<TGConnectingPoint num="65" id="3193" />
+<TGConnectingPoint num="66" id="3194" />
+<TGConnectingPoint num="67" id="3195" />
+<TGConnectingPoint num="68" id="3196" />
+<TGConnectingPoint num="69" id="3197" />
+<TGConnectingPoint num="70" id="3198" />
+<TGConnectingPoint num="71" id="3199" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="3211" >
+<cdparam x="249" y="418" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="leaveCockpit()" />
+<TGConnectingPoint num="0" id="3201" />
+<TGConnectingPoint num="1" id="3202" />
+<TGConnectingPoint num="2" id="3203" />
+<TGConnectingPoint num="3" id="3204" />
+<TGConnectingPoint num="4" id="3205" />
+<TGConnectingPoint num="5" id="3206" />
+<TGConnectingPoint num="6" id="3207" />
+<TGConnectingPoint num="7" id="3208" />
+<TGConnectingPoint num="8" id="3209" />
+<TGConnectingPoint num="9" id="3210" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3284" >
+<cdparam x="427" y="155" />
+<sizeparam width="652" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="MAIN" />
+<TGConnectingPoint num="0" id="3212" />
+<TGConnectingPoint num="1" id="3213" />
+<TGConnectingPoint num="2" id="3214" />
+<TGConnectingPoint num="3" id="3215" />
+<TGConnectingPoint num="4" id="3216" />
+<TGConnectingPoint num="5" id="3217" />
+<TGConnectingPoint num="6" id="3218" />
+<TGConnectingPoint num="7" id="3219" />
+<TGConnectingPoint num="8" id="3220" />
+<TGConnectingPoint num="9" id="3221" />
+<TGConnectingPoint num="10" id="3222" />
+<TGConnectingPoint num="11" id="3223" />
+<TGConnectingPoint num="12" id="3224" />
+<TGConnectingPoint num="13" id="3225" />
+<TGConnectingPoint num="14" id="3226" />
+<TGConnectingPoint num="15" id="3227" />
+<TGConnectingPoint num="16" id="3228" />
+<TGConnectingPoint num="17" id="3229" />
+<TGConnectingPoint num="18" id="3230" />
+<TGConnectingPoint num="19" id="3231" />
+<TGConnectingPoint num="20" id="3232" />
+<TGConnectingPoint num="21" id="3233" />
+<TGConnectingPoint num="22" id="3234" />
+<TGConnectingPoint num="23" id="3235" />
+<TGConnectingPoint num="24" id="3236" />
+<TGConnectingPoint num="25" id="3237" />
+<TGConnectingPoint num="26" id="3238" />
+<TGConnectingPoint num="27" id="3239" />
+<TGConnectingPoint num="28" id="3240" />
+<TGConnectingPoint num="29" id="3241" />
+<TGConnectingPoint num="30" id="3242" />
+<TGConnectingPoint num="31" id="3243" />
+<TGConnectingPoint num="32" id="3244" />
+<TGConnectingPoint num="33" id="3245" />
+<TGConnectingPoint num="34" id="3246" />
+<TGConnectingPoint num="35" id="3247" />
+<TGConnectingPoint num="36" id="3248" />
+<TGConnectingPoint num="37" id="3249" />
+<TGConnectingPoint num="38" id="3250" />
+<TGConnectingPoint num="39" id="3251" />
+<TGConnectingPoint num="40" id="3252" />
+<TGConnectingPoint num="41" id="3253" />
+<TGConnectingPoint num="42" id="3254" />
+<TGConnectingPoint num="43" id="3255" />
+<TGConnectingPoint num="44" id="3256" />
+<TGConnectingPoint num="45" id="3257" />
+<TGConnectingPoint num="46" id="3258" />
+<TGConnectingPoint num="47" id="3259" />
+<TGConnectingPoint num="48" id="3260" />
+<TGConnectingPoint num="49" id="3261" />
+<TGConnectingPoint num="50" id="3262" />
+<TGConnectingPoint num="51" id="3263" />
+<TGConnectingPoint num="52" id="3264" />
+<TGConnectingPoint num="53" id="3265" />
+<TGConnectingPoint num="54" id="3266" />
+<TGConnectingPoint num="55" id="3267" />
+<TGConnectingPoint num="56" id="3268" />
+<TGConnectingPoint num="57" id="3269" />
+<TGConnectingPoint num="58" id="3270" />
+<TGConnectingPoint num="59" id="3271" />
+<TGConnectingPoint num="60" id="3272" />
+<TGConnectingPoint num="61" id="3273" />
+<TGConnectingPoint num="62" id="3274" />
+<TGConnectingPoint num="63" id="3275" />
+<TGConnectingPoint num="64" id="3276" />
+<TGConnectingPoint num="65" id="3277" />
+<TGConnectingPoint num="66" id="3278" />
+<TGConnectingPoint num="67" id="3279" />
+<TGConnectingPoint num="68" id="3280" />
+<TGConnectingPoint num="69" id="3281" />
+<TGConnectingPoint num="70" id="3282" />
+<TGConnectingPoint num="71" id="3283" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3286" >
+<cdparam x="736" y="72" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3285" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="Keyboard" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="3301" >
+<cdparam x="519" y="395" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3296" />
+<TGConnectingPoint num="1" id="3297" />
+<TGConnectingPoint num="2" id="3298" />
+<TGConnectingPoint num="3" id="3299" />
+<TGConnectingPoint num="4" id="3300" />
+<P1  x="477" y="395" id="3346" />
+<P2  x="516" y="154" id="3444" />
+<Point x="477" y="415" />
+<Point x="645" y="415" />
+<Point x="645" y="134" />
+<Point x="536" y="134" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3287" >
+<father id="3301" num="0" />
+<cdparam x="477" y="415" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3288" >
+<father id="3301" num="1" />
+<cdparam x="645" y="415" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3289" >
+<father id="3301" num="2" />
+<cdparam x="645" y="134" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3290" >
+<father id="3301" num="3" />
+<cdparam x="536" y="134" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3295" >
+<father id="3301" num="4" />
+<cdparam x="517" y="274" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3291" />
+<TGConnectingPoint num="1" id="3292" />
+<TGConnectingPoint num="2" id="3293" />
+<TGConnectingPoint num="3" id="3294" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3316" >
+<cdparam x="414" y="328" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3311" />
+<TGConnectingPoint num="1" id="3312" />
+<TGConnectingPoint num="2" id="3313" />
+<TGConnectingPoint num="3" id="3314" />
+<TGConnectingPoint num="4" id="3315" />
+<P1  x="414" y="328" id="3384" />
+<P2  x="362" y="154" id="3443" />
+<Point x="414" y="348" />
+<Point x="290" y="348" />
+<Point x="290" y="134" />
+<Point x="342" y="134" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3302" >
+<father id="3316" num="0" />
+<cdparam x="414" y="348" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3303" >
+<father id="3316" num="1" />
+<cdparam x="290" y="348" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3304" >
+<father id="3316" num="2" />
+<cdparam x="290" y="134" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3305" >
+<father id="3316" num="3" />
+<cdparam x="342" y="134" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="3310" >
+<father id="3316" num="4" />
+<cdparam x="343" y="332" />
+<sizeparam width="44" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3306" />
+<TGConnectingPoint num="1" id="3307" />
+<TGConnectingPoint num="2" id="3308" />
+<TGConnectingPoint num="3" id="3309" />
+<extraparam>
+<guard value="[ else ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3323" >
+<cdparam x="418" y="101" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3322" />
+<P1  x="418" y="101" id="3513" />
+<P2  x="418" y="129" id="3489" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3321" >
+<father id="3323" num="0" />
+<cdparam x="416" y="112" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3317" />
+<TGConnectingPoint num="1" id="3318" />
+<TGConnectingPoint num="2" id="3319" />
+<TGConnectingPoint num="3" id="3320" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3330" >
+<cdparam x="439" y="179" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3329" />
+<P1  x="439" y="179" id="3478" />
+<P2  x="439" y="217" id="3429" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3328" >
+<father id="3330" num="0" />
+<cdparam x="438" y="195" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3324" />
+<TGConnectingPoint num="1" id="3325" />
+<TGConnectingPoint num="2" id="3326" />
+<TGConnectingPoint num="3" id="3327" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3337" >
+<cdparam x="439" y="247" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3336" />
+<P1  x="439" y="247" id="3430" />
+<P2  x="439" y="278" id="3405" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3335" >
+<father id="3337" num="0" />
+<cdparam x="442" y="262" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3331" />
+<TGConnectingPoint num="1" id="3332" />
+<TGConnectingPoint num="2" id="3333" />
+<TGConnectingPoint num="3" id="3334" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3344" >
+<cdparam x="502" y="328" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3343" />
+<P1  x="477" y="328" id="3371" />
+<P2  x="477" y="365" id="3345" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3342" >
+<father id="3344" num="0" />
+<cdparam x="464" y="350" />
+<sizeparam width="207" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3338" />
+<TGConnectingPoint num="1" id="3339" />
+<TGConnectingPoint num="2" id="3340" />
+<TGConnectingPoint num="3" id="3341" />
+<extraparam>
+<guard value="[ codeValue == code.goodCode]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5103" id="3355" >
+<cdparam x="426" y="370" />
+<sizeparam width="102" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="emergencyCall()" />
+<TGConnectingPoint num="0" id="3345" />
+<TGConnectingPoint num="1" id="3346" />
+<TGConnectingPoint num="2" id="3347" />
+<TGConnectingPoint num="3" id="3348" />
+<TGConnectingPoint num="4" id="3349" />
+<TGConnectingPoint num="5" id="3350" />
+<TGConnectingPoint num="6" id="3351" />
+<TGConnectingPoint num="7" id="3352" />
+<TGConnectingPoint num="8" id="3353" />
+<TGConnectingPoint num="9" id="3354" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3428" >
+<cdparam x="402" y="278" />
+<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="checkCode" />
+<TGConnectingPoint num="0" id="3356" />
+<TGConnectingPoint num="1" id="3357" />
+<TGConnectingPoint num="2" id="3358" />
+<TGConnectingPoint num="3" id="3359" />
+<TGConnectingPoint num="4" id="3360" />
+<TGConnectingPoint num="5" id="3361" />
+<TGConnectingPoint num="6" id="3362" />
+<TGConnectingPoint num="7" id="3363" />
+<TGConnectingPoint num="8" id="3364" />
+<TGConnectingPoint num="9" id="3365" />
+<TGConnectingPoint num="10" id="3366" />
+<TGConnectingPoint num="11" id="3367" />
+<TGConnectingPoint num="12" id="3368" />
+<TGConnectingPoint num="13" id="3369" />
+<TGConnectingPoint num="14" id="3370" />
+<TGConnectingPoint num="15" id="3371" />
+<TGConnectingPoint num="16" id="3372" />
+<TGConnectingPoint num="17" id="3373" />
+<TGConnectingPoint num="18" id="3374" />
+<TGConnectingPoint num="19" id="3375" />
+<TGConnectingPoint num="20" id="3376" />
+<TGConnectingPoint num="21" id="3377" />
+<TGConnectingPoint num="22" id="3378" />
+<TGConnectingPoint num="23" id="3379" />
+<TGConnectingPoint num="24" id="3380" />
+<TGConnectingPoint num="25" id="3381" />
+<TGConnectingPoint num="26" id="3382" />
+<TGConnectingPoint num="27" id="3383" />
+<TGConnectingPoint num="28" id="3384" />
+<TGConnectingPoint num="29" id="3385" />
+<TGConnectingPoint num="30" id="3386" />
+<TGConnectingPoint num="31" id="3387" />
+<TGConnectingPoint num="32" id="3388" />
+<TGConnectingPoint num="33" id="3389" />
+<TGConnectingPoint num="34" id="3390" />
+<TGConnectingPoint num="35" id="3391" />
+<TGConnectingPoint num="36" id="3392" />
+<TGConnectingPoint num="37" id="3393" />
+<TGConnectingPoint num="38" id="3394" />
+<TGConnectingPoint num="39" id="3395" />
+<TGConnectingPoint num="40" id="3396" />
+<TGConnectingPoint num="41" id="3397" />
+<TGConnectingPoint num="42" id="3398" />
+<TGConnectingPoint num="43" id="3399" />
+<TGConnectingPoint num="44" id="3400" />
+<TGConnectingPoint num="45" id="3401" />
+<TGConnectingPoint num="46" id="3402" />
+<TGConnectingPoint num="47" id="3403" />
+<TGConnectingPoint num="48" id="3404" />
+<TGConnectingPoint num="49" id="3405" />
+<TGConnectingPoint num="50" id="3406" />
+<TGConnectingPoint num="51" id="3407" />
+<TGConnectingPoint num="52" id="3408" />
+<TGConnectingPoint num="53" id="3409" />
+<TGConnectingPoint num="54" id="3410" />
+<TGConnectingPoint num="55" id="3411" />
+<TGConnectingPoint num="56" id="3412" />
+<TGConnectingPoint num="57" id="3413" />
+<TGConnectingPoint num="58" id="3414" />
+<TGConnectingPoint num="59" id="3415" />
+<TGConnectingPoint num="60" id="3416" />
+<TGConnectingPoint num="61" id="3417" />
+<TGConnectingPoint num="62" id="3418" />
+<TGConnectingPoint num="63" id="3419" />
+<TGConnectingPoint num="64" id="3420" />
+<TGConnectingPoint num="65" id="3421" />
+<TGConnectingPoint num="66" id="3422" />
+<TGConnectingPoint num="67" id="3423" />
+<TGConnectingPoint num="68" id="3424" />
+<TGConnectingPoint num="69" id="3425" />
+<TGConnectingPoint num="70" id="3426" />
+<TGConnectingPoint num="71" id="3427" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="3439" >
+<cdparam x="382" y="222" />
+<sizeparam width="114" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="code(codeValue)" />
+<TGConnectingPoint num="0" id="3429" />
+<TGConnectingPoint num="1" id="3430" />
+<TGConnectingPoint num="2" id="3431" />
+<TGConnectingPoint num="3" id="3432" />
+<TGConnectingPoint num="4" id="3433" />
+<TGConnectingPoint num="5" id="3434" />
+<TGConnectingPoint num="6" id="3435" />
+<TGConnectingPoint num="7" id="3436" />
+<TGConnectingPoint num="8" id="3437" />
+<TGConnectingPoint num="9" id="3438" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3512" >
+<cdparam x="362" y="129" />
+<sizeparam width="154" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="WaitingForCode" />
+<TGConnectingPoint num="0" id="3440" />
+<TGConnectingPoint num="1" id="3441" />
+<TGConnectingPoint num="2" id="3442" />
+<TGConnectingPoint num="3" id="3443" />
+<TGConnectingPoint num="4" id="3444" />
+<TGConnectingPoint num="5" id="3445" />
+<TGConnectingPoint num="6" id="3446" />
+<TGConnectingPoint num="7" id="3447" />
+<TGConnectingPoint num="8" id="3448" />
+<TGConnectingPoint num="9" id="3449" />
+<TGConnectingPoint num="10" id="3450" />
+<TGConnectingPoint num="11" id="3451" />
+<TGConnectingPoint num="12" id="3452" />
+<TGConnectingPoint num="13" id="3453" />
+<TGConnectingPoint num="14" id="3454" />
+<TGConnectingPoint num="15" id="3455" />
+<TGConnectingPoint num="16" id="3456" />
+<TGConnectingPoint num="17" id="3457" />
+<TGConnectingPoint num="18" id="3458" />
+<TGConnectingPoint num="19" id="3459" />
+<TGConnectingPoint num="20" id="3460" />
+<TGConnectingPoint num="21" id="3461" />
+<TGConnectingPoint num="22" id="3462" />
+<TGConnectingPoint num="23" id="3463" />
+<TGConnectingPoint num="24" id="3464" />
+<TGConnectingPoint num="25" id="3465" />
+<TGConnectingPoint num="26" id="3466" />
+<TGConnectingPoint num="27" id="3467" />
+<TGConnectingPoint num="28" id="3468" />
+<TGConnectingPoint num="29" id="3469" />
+<TGConnectingPoint num="30" id="3470" />
+<TGConnectingPoint num="31" id="3471" />
+<TGConnectingPoint num="32" id="3472" />
+<TGConnectingPoint num="33" id="3473" />
+<TGConnectingPoint num="34" id="3474" />
+<TGConnectingPoint num="35" id="3475" />
+<TGConnectingPoint num="36" id="3476" />
+<TGConnectingPoint num="37" id="3477" />
+<TGConnectingPoint num="38" id="3478" />
+<TGConnectingPoint num="39" id="3479" />
+<TGConnectingPoint num="40" id="3480" />
+<TGConnectingPoint num="41" id="3481" />
+<TGConnectingPoint num="42" id="3482" />
+<TGConnectingPoint num="43" id="3483" />
+<TGConnectingPoint num="44" id="3484" />
+<TGConnectingPoint num="45" id="3485" />
+<TGConnectingPoint num="46" id="3486" />
+<TGConnectingPoint num="47" id="3487" />
+<TGConnectingPoint num="48" id="3488" />
+<TGConnectingPoint num="49" id="3489" />
+<TGConnectingPoint num="50" id="3490" />
+<TGConnectingPoint num="51" id="3491" />
+<TGConnectingPoint num="52" id="3492" />
+<TGConnectingPoint num="53" id="3493" />
+<TGConnectingPoint num="54" id="3494" />
+<TGConnectingPoint num="55" id="3495" />
+<TGConnectingPoint num="56" id="3496" />
+<TGConnectingPoint num="57" id="3497" />
+<TGConnectingPoint num="58" id="3498" />
+<TGConnectingPoint num="59" id="3499" />
+<TGConnectingPoint num="60" id="3500" />
+<TGConnectingPoint num="61" id="3501" />
+<TGConnectingPoint num="62" id="3502" />
+<TGConnectingPoint num="63" id="3503" />
+<TGConnectingPoint num="64" id="3504" />
+<TGConnectingPoint num="65" id="3505" />
+<TGConnectingPoint num="66" id="3506" />
+<TGConnectingPoint num="67" id="3507" />
+<TGConnectingPoint num="68" id="3508" />
+<TGConnectingPoint num="69" id="3509" />
+<TGConnectingPoint num="70" id="3510" />
+<TGConnectingPoint num="71" id="3511" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3514" >
+<cdparam x="411" y="81" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3513" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="FirstOfficer" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="3521" >
+<cdparam x="433" y="182" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3520" />
+<P1  x="431" y="170" id="3530" />
+<P2  x="412" y="232" id="3540" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3519" >
+<father id="3521" num="0" />
+<cdparam x="422" y="207" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3515" />
+<TGConnectingPoint num="1" id="3516" />
+<TGConnectingPoint num="2" id="3517" />
+<TGConnectingPoint num="3" id="3518" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3528" >
+<cdparam x="404" y="102" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3527" />
+<P1  x="404" y="102" id="3542" />
+<P2  x="431" y="136" id="3529" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3526" >
+<father id="3528" num="0" />
+<cdparam x="418" y="124" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3522" />
+<TGConnectingPoint num="1" id="3523" />
+<TGConnectingPoint num="2" id="3524" />
+<TGConnectingPoint num="3" id="3525" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5112" id="3539" >
+<cdparam x="236" y="141" />
+<sizeparam width="391" height="24" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Library function call" value="Person (isInCockpit, knowsEmergencyCode, code)" />
+<TGConnectingPoint num="0" id="3529" />
+<TGConnectingPoint num="1" id="3530" />
+<TGConnectingPoint num="2" id="3531" />
+<TGConnectingPoint num="3" id="3532" />
+<TGConnectingPoint num="4" id="3533" />
+<TGConnectingPoint num="5" id="3534" />
+<TGConnectingPoint num="6" id="3535" />
+<TGConnectingPoint num="7" id="3536" />
+<TGConnectingPoint num="8" id="3537" />
+<TGConnectingPoint num="9" id="3538" />
+<extraparam>
+<LibraryFunction name="Person" />
+<Parameter id="isInCockpit" />
+<Parameter id="knowsEmergencyCode" />
+<Parameter id="code" />
+<Signal value="out lock()" />
+<Signal value="out unlock()" />
+<Signal value="out open()" />
+<Signal value="out close()" />
+<Signal value="out enterCockpit()" />
+<Signal value="out leaveCockit()" />
+<Signal value="out typeCode(int codeValue)" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5101" id="3541" >
+<cdparam x="402" y="237" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="3540" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="3543" >
+<cdparam x="397" y="82" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3542" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="Crew" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="3550" >
+<cdparam x="616" y="216" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3549" />
+<P1  x="614" y="204" id="3559" />
+<P2  x="595" y="266" id="3569" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3548" >
+<father id="3550" num="0" />
+<cdparam x="605" y="241" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3544" />
+<TGConnectingPoint num="1" id="3545" />
+<TGConnectingPoint num="2" id="3546" />
+<TGConnectingPoint num="3" id="3547" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3557" >
+<cdparam x="587" y="136" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3556" />
+<P1  x="587" y="136" id="3571" />
+<P2  x="614" y="170" id="3558" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3555" >
+<father id="3557" num="0" />
+<cdparam x="601" y="158" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3551" />
+<TGConnectingPoint num="1" id="3552" />
+<TGConnectingPoint num="2" id="3553" />
+<TGConnectingPoint num="3" id="3554" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5112" id="3568" >
+<cdparam x="419" y="175" />
+<sizeparam width="391" height="24" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Library function call" value="Person (isInCockpit, knowsEmergencyCode, code)" />
+<TGConnectingPoint num="0" id="3558" />
+<TGConnectingPoint num="1" id="3559" />
+<TGConnectingPoint num="2" id="3560" />
+<TGConnectingPoint num="3" id="3561" />
+<TGConnectingPoint num="4" id="3562" />
+<TGConnectingPoint num="5" id="3563" />
+<TGConnectingPoint num="6" id="3564" />
+<TGConnectingPoint num="7" id="3565" />
+<TGConnectingPoint num="8" id="3566" />
+<TGConnectingPoint num="9" id="3567" />
+<extraparam>
+<LibraryFunction name="Person" />
+<Parameter id="isInCockpit" />
+<Parameter id="knowsEmergencyCode" />
+<Parameter id="code" />
+<Signal value="out lock()" />
+<Signal value="out unlock()" />
+<Signal value="out open()" />
+<Signal value="out close()" />
+<Signal value="out enterCockpit()" />
+<Signal value="out leaveCockit()" />
+<Signal value="out typeCode(int codeValue)" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5101" id="3570" >
+<cdparam x="585" y="271" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="3569" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="3572" >
+<cdparam x="580" y="116" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3571" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="Passenger" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="3579" >
+<cdparam x="439" y="116" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3578" />
+<P1  x="439" y="116" id="3600" />
+<P2  x="466" y="150" id="3587" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3577" >
+<father id="3579" num="0" />
+<cdparam x="453" y="138" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3573" />
+<TGConnectingPoint num="1" id="3574" />
+<TGConnectingPoint num="2" id="3575" />
+<TGConnectingPoint num="3" id="3576" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3586" >
+<cdparam x="468" y="196" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3585" />
+<P1  x="466" y="184" id="3588" />
+<P2  x="447" y="246" id="3598" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3584" >
+<father id="3586" num="0" />
+<cdparam x="457" y="221" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3580" />
+<TGConnectingPoint num="1" id="3581" />
+<TGConnectingPoint num="2" id="3582" />
+<TGConnectingPoint num="3" id="3583" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5112" id="3597" >
+<cdparam x="271" y="155" />
+<sizeparam width="391" height="24" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Library function call" value="Person (isInCockpit, knowsEmergencyCode, code)" />
+<TGConnectingPoint num="0" id="3587" />
+<TGConnectingPoint num="1" id="3588" />
+<TGConnectingPoint num="2" id="3589" />
+<TGConnectingPoint num="3" id="3590" />
+<TGConnectingPoint num="4" id="3591" />
+<TGConnectingPoint num="5" id="3592" />
+<TGConnectingPoint num="6" id="3593" />
+<TGConnectingPoint num="7" id="3594" />
+<TGConnectingPoint num="8" id="3595" />
+<TGConnectingPoint num="9" id="3596" />
+<extraparam>
+<LibraryFunction name="Person" />
+<Parameter id="isInCockpit" />
+<Parameter id="knowsEmergencyCode" />
+<Parameter id="code" />
+<Signal value="out lock()" />
+<Signal value="out unlock()" />
+<Signal value="out open()" />
+<Signal value="out close()" />
+<Signal value="out enterCockpit()" />
+<Signal value="out leaveCockit()" />
+<Signal value="out typeCode(int codeValue)" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5101" id="3599" >
+<cdparam x="437" y="251" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="3598" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="3601" >
+<cdparam x="432" y="96" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3600" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+</Modeling>
+
+
+
+
 </TURTLEGMODELING>
\ No newline at end of file
diff --git a/modeling/AVATAR/FutureAirNavigationSystem.xml b/modeling/AVATAR/FutureAirNavigationSystem.xml
index f3b1b4bc23847a4a869cf73a3cb8220fb85c0e29..70f7ccc52eb7708a8b10d0fd4f8cd6a2b581eac9 100644
--- a/modeling/AVATAR/FutureAirNavigationSystem.xml
+++ b/modeling/AVATAR/FutureAirNavigationSystem.xml
@@ -30,19 +30,19 @@
 </COMPONENT>
 <SUBCOMPONENT type="5607" id="6" >
 <father id="13" num="0" />
-<cdparam x="366" y="488" />
+<cdparam x="366" y="473" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="366" maxX="366" minY="488" maxY="488" />
-<infoparam name="value " value="Design_lossy" />
+<cdrectangleparam minX="366" maxX="366" minY="473" maxY="473" />
+<infoparam name="value " value="Design_unlossy" />
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5607" id="7" >
 <father id="13" num="1" />
-<cdparam x="366" y="473" />
+<cdparam x="366" y="488" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="366" maxX="366" minY="473" maxY="473" />
-<infoparam name="value " value="Design_unlossy" />
+<cdrectangleparam minX="366" maxX="366" minY="488" maxY="488" />
+<infoparam name="value " value="Design_lossy" />
 </SUBCOMPONENT>
 
 <COMPONENT type="5603" id="21" >
@@ -59,19 +59,19 @@
 </COMPONENT>
 <SUBCOMPONENT type="5607" id="14" >
 <father id="21" num="0" />
-<cdparam x="264" y="395" />
+<cdparam x="264" y="380" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="264" maxX="264" minY="395" maxY="395" />
-<infoparam name="value " value="Analysis_lossy" />
+<cdrectangleparam minX="264" maxX="264" minY="380" maxY="380" />
+<infoparam name="value " value="Analysis_unlossy" />
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5607" id="15" >
 <father id="21" num="1" />
-<cdparam x="264" y="380" />
+<cdparam x="264" y="395" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="264" maxX="264" minY="380" maxY="380" />
-<infoparam name="value " value="Analysis_unlossy" />
+<cdrectangleparam minX="264" maxX="264" minY="395" maxY="395" />
+<infoparam name="value " value="Analysis_lossy" />
 </SUBCOMPONENT>
 
 <COMPONENT type="5602" id="29" >
@@ -664,7 +664,7 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
 <TGConnectingPoint num="0" id="274" />
-<P1  x="175" y="105" id="366" />
+<P1  x="175" y="105" id="392" />
 <P2  x="445" y="214" id="317" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -673,7 +673,7 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
 <TGConnectingPoint num="0" id="276" />
-<P1  x="175" y="158" id="385" />
+<P1  x="175" y="158" id="359" />
 <P2  x="379" y="125" id="341" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -682,7 +682,7 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
 <TGConnectingPoint num="0" id="278" />
-<P1  x="175" y="95" id="359" />
+<P1  x="175" y="95" id="385" />
 <P2  x="379" y="95" id="338" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -845,11 +845,11 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 </COMPONENT>
 <SUBCOMPONENT type="5304" id="369" >
 <father id="420" num="0" />
-<cdparam x="75" y="75" />
+<cdparam x="75" y="138" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="114" minY="0" maxY="240" />
-<infoparam name="TGComponent" value="INconreq" />
+<infoparam name="TGComponent" value="INconconf" />
 <TGConnectingPoint num="0" id="357" />
 <TGConnectingPoint num="1" id="358" />
 <TGConnectingPoint num="2" id="359" />
@@ -885,11 +885,11 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5304" id="395" >
 <father id="420" num="2" />
-<cdparam x="75" y="138" />
+<cdparam x="75" y="75" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="114" minY="0" maxY="240" />
-<infoparam name="TGComponent" value="INconconf" />
+<infoparam name="TGComponent" value="INconreq" />
 <TGConnectingPoint num="0" id="383" />
 <TGConnectingPoint num="1" id="384" />
 <TGConnectingPoint num="2" id="385" />
@@ -2728,8 +2728,8 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 <cdparam x="32" y="20" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from actor to Use case" value="null" />
-<P1  x="72704" y="92160" id="1576" />
-<P2  x="159744" y="92160" id="1543" />
+<P1  x="2326528" y="2949120" id="1576" />
+<P2  x="5111808" y="2949120" id="1543" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -3171,13 +3171,13 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 <Actor data="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="603" id="1806" >
+<SUBCOMPONENT type="604" id="1806" >
 <father id="1865" num="0" />
-<cdparam x="219" y="344" />
+<cdparam x="219" y="448" />
 <sizeparam width="15" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="18" maxX="18" minY="-2" maxY="478" />
-<infoparam name="setting timer" value="{timer=ATST1, duration=10}" />
+<infoparam name="timer cancellation" value="{timer=ATST1}" />
 <TGConnectingPoint num="0" id="1798" />
 <TGConnectingPoint num="1" id="1799" />
 <TGConnectingPoint num="2" id="1800" />
@@ -3187,16 +3187,16 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 <TGConnectingPoint num="6" id="1804" />
 <TGConnectingPoint num="7" id="1805" />
 <extraparam>
-<Interval timer="ATST1" duration="10" />
+<Interval timer="ATST1" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="604" id="1815" >
+<SUBCOMPONENT type="603" id="1815" >
 <father id="1865" num="1" />
-<cdparam x="219" y="448" />
+<cdparam x="219" y="344" />
 <sizeparam width="15" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="18" maxX="18" minY="-2" maxY="478" />
-<infoparam name="timer cancellation" value="{timer=ATST1}" />
+<infoparam name="setting timer" value="{timer=ATST1, duration=10}" />
 <TGConnectingPoint num="0" id="1807" />
 <TGConnectingPoint num="1" id="1808" />
 <TGConnectingPoint num="2" id="1809" />
@@ -3206,7 +3206,7 @@ or timer ATST1 expires, an error indication is given to the the flight crew.
 <TGConnectingPoint num="6" id="1813" />
 <TGConnectingPoint num="7" id="1814" />
 <extraparam>
-<Interval timer="ATST1" />
+<Interval timer="ATST1" duration="10" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -3781,13 +3781,13 @@ CC is lost
 <Actor data="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="603" id="2181" >
+<SUBCOMPONENT type="605" id="2181" >
 <father id="2265" num="0" />
-<cdparam x="214" y="334" />
+<cdparam x="214" y="497" />
 <sizeparam width="15" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="18" maxX="18" minY="-2" maxY="728" />
-<infoparam name="setting timer" value="{timer=ATST1, duration=10}" />
+<infoparam name="timer expiration" value="{timer=ATST1}" />
 <TGConnectingPoint num="0" id="2173" />
 <TGConnectingPoint num="1" id="2174" />
 <TGConnectingPoint num="2" id="2175" />
@@ -3797,16 +3797,16 @@ CC is lost
 <TGConnectingPoint num="6" id="2179" />
 <TGConnectingPoint num="7" id="2180" />
 <extraparam>
-<Interval timer="ATST1" duration="10" />
+<Interval timer="ATST1" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="605" id="2190" >
+<SUBCOMPONENT type="603" id="2190" >
 <father id="2265" num="1" />
-<cdparam x="214" y="497" />
+<cdparam x="214" y="334" />
 <sizeparam width="15" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="18" maxX="18" minY="-2" maxY="728" />
-<infoparam name="timer expiration" value="{timer=ATST1}" />
+<infoparam name="setting timer" value="{timer=ATST1, duration=10}" />
 <TGConnectingPoint num="0" id="2182" />
 <TGConnectingPoint num="1" id="2183" />
 <TGConnectingPoint num="2" id="2184" />
@@ -3816,7 +3816,7 @@ CC is lost
 <TGConnectingPoint num="6" id="2188" />
 <TGConnectingPoint num="7" id="2189" />
 <extraparam>
-<Interval timer="ATST1" />
+<Interval timer="ATST1" duration="10" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -4274,7 +4274,7 @@ CC is lost
 <osd value="out CC()" />
 <isd value="in CR()" />
 <oso value="out CR()" />
-<FIFOType asynchronous="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="true" synchronousCH="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR><SUBCOMPONENT type="-1" id="2486" >
 <father id="2491" num="0" />
@@ -4306,7 +4306,7 @@ CC is lost
 <osd value="out INconind()" />
 <isd value="in INconresp()" />
 <oso value="out INconresp()" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR>
 <CONNECTOR type="5002" id="2495" >
@@ -4322,7 +4322,7 @@ CC is lost
 <osd value="out INconconf()" />
 <isd value="in INconreq()" />
 <oso value="out INconreq()" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR>
 <COMPONENT type="301" id="2512" >
@@ -6599,7 +6599,7 @@ CC is lost
 <isd value="in DR()" />
 <oso value="out CR()" />
 <oso value="out DR()" />
-<FIFOType asynchronous="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="true" synchronousCH="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR><SUBCOMPONENT type="-1" id="3692" >
 <father id="3697" num="0" />
@@ -6633,7 +6633,7 @@ CC is lost
 <extraparam>
 <iso value="in CC()" />
 <osd value="out CC()" />
-<FIFOType asynchronous="true" size="1" blocking="false" private="true" broadcast="false" lossy="true" ams="false" />
+<FIFOType asynchronous="true" synchronousCH="false" size="1" blocking="false" private="true" broadcast="false" lossy="true" ams="false" />
 </extraparam>
 </CONNECTOR><SUBCOMPONENT type="-1" id="3698" >
 <father id="3703" num="0" />
@@ -6667,7 +6667,7 @@ CC is lost
 <osd value="out INerror_ground()" />
 <isd value="in INconresp()" />
 <oso value="out INconresp()" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR>
 <CONNECTOR type="5002" id="3707" >
@@ -6685,7 +6685,7 @@ CC is lost
 <osd value="out INerror()" />
 <isd value="in INconreq()" />
 <oso value="out INconreq()" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR>
 <COMPONENT type="303" id="3724" >
diff --git a/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml b/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
index 6a1396785bcd6ee85c351129c9992711ce76fcab..17106b5089f9e467ef7799e791bcc80900c07b7b 100644
--- a/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
+++ b/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="true" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="2" LAST_SELECTED_SUB_TAB="2">
+<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="true" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="2" LAST_SELECTED_SUB_TAB="0">
 
 <Modeling type="AttackTree" nameTab="Attack Trees" >
 <AttackTreeDiagramPanel name="Attack Tree" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
@@ -347,16 +347,16 @@
 <cdparam x="535" y="347" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="556" y="347" id="332" />
-<P2  x="547" y="382" id="379" />
+<P1  x="556" y="347" id="276" />
+<P2  x="547" y="382" id="231" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="189" >
 <cdparam x="820" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="1025" y="497" id="226" />
-<P2  x="761" y="574" id="347" />
+<P1  x="1025" y="497" id="373" />
+<P2  x="761" y="574" id="261" />
 <Point x="887" y="577" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="188" >
@@ -372,128 +372,128 @@
 <cdparam x="568" y="323" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="710" y="403" id="349" />
-<P2  x="693" y="347" id="310" />
+<P1  x="710" y="403" id="259" />
+<P2  x="693" y="347" id="298" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="191" >
 <cdparam x="522" y="390" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="382" id="374" />
-<P2  x="466" y="335" id="412" />
+<P1  x="521" y="382" id="226" />
+<P2  x="466" y="335" id="404" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="192" >
 <cdparam x="409" y="124" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="401" y="83" id="414" />
-<P2  x="593" y="84" id="334" />
+<P1  x="401" y="83" id="402" />
+<P2  x="593" y="84" id="274" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="193" >
 <cdparam x="656" y="426" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="552" id="353" />
-<P2  x="969" y="495" id="240" />
+<P1  x="816" y="552" id="255" />
+<P2  x="969" y="495" id="359" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="194" >
 <cdparam x="656" y="400" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="519" id="355" />
-<P2  x="921" y="476" id="238" />
+<P1  x="816" y="519" id="253" />
+<P2  x="921" y="476" id="361" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="195" >
 <cdparam x="602" y="327" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="750" y="406" id="363" />
-<P2  x="828" y="375" id="268" />
+<P1  x="750" y="406" id="245" />
+<P2  x="828" y="375" id="325" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="196" >
 <cdparam x="689" y="292" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="854" y="375" id="272" />
-<P2  x="921" y="362" id="248" />
+<P1  x="854" y="375" id="329" />
+<P2  x="921" y="362" id="351" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="197" >
 <cdparam x="656" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="491" id="359" />
-<P2  x="921" y="453" id="246" />
+<P1  x="816" y="491" id="249" />
+<P2  x="921" y="453" id="353" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="198" >
 <cdparam x="656" y="351" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="458" id="357" />
-<P2  x="921" y="426" id="244" />
+<P1  x="816" y="458" id="251" />
+<P2  x="921" y="426" id="355" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="199" >
 <cdparam x="741" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="921" y="397" id="242" />
-<P2  x="816" y="429" id="361" />
+<P1  x="921" y="397" id="357" />
+<P2  x="816" y="429" id="247" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="200" >
 <cdparam x="735" y="260" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="918" y="330" id="250" />
-<P2  x="747" y="282" id="322" />
+<P1  x="918" y="330" id="349" />
+<P2  x="747" y="282" id="286" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="201" >
 <cdparam x="641" y="230" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="747" y="248" id="320" />
-<P2  x="918" y="291" id="252" />
+<P1  x="747" y="248" id="288" />
+<P2  x="918" y="291" id="347" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="202" >
 <cdparam x="641" y="195" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="747" y="203" id="318" />
-<P2  x="918" y="248" id="254" />
+<P1  x="747" y="203" id="290" />
+<P2  x="918" y="248" id="345" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="203" >
 <cdparam x="740" y="353" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="828" y="375" id="267" />
-<P2  x="747" y="314" id="316" />
+<P1  x="828" y="375" id="324" />
+<P2  x="747" y="314" id="292" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="204" >
 <cdparam x="460" y="270" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="303" id="326" />
-<P2  x="466" y="303" id="406" />
+<P1  x="521" y="303" id="282" />
+<P2  x="466" y="303" id="410" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="205" >
 <cdparam x="387" y="129" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="464" y="126" id="402" />
-<P2  x="524" y="126" id="314" />
+<P1  x="464" y="126" id="414" />
+<P2  x="524" y="126" id="294" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="206" >
@@ -501,63 +501,63 @@
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
 <P1  x="466" y="215" id="408" />
-<P2  x="521" y="215" id="328" />
+<P2  x="521" y="215" id="280" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="207" >
 <cdparam x="460" y="236" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="260" id="330" />
-<P2  x="466" y="260" id="410" />
+<P1  x="521" y="260" id="278" />
+<P2  x="466" y="260" id="406" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="208" >
 <cdparam x="389" y="163" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="466" y="169" id="404" />
-<P2  x="521" y="169" id="324" />
+<P1  x="466" y="169" id="412" />
+<P2  x="521" y="169" id="284" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="209" >
 <cdparam x="967" y="190" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="918" y="198" id="256" />
-<P2  x="747" y="124" id="336" />
+<P1  x="918" y="198" id="343" />
+<P2  x="747" y="124" id="272" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="210" >
 <cdparam x="1028" y="535" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="630" y="345" id="312" />
-<P2  x="669" y="406" id="351" />
+<P1  x="630" y="345" id="296" />
+<P2  x="669" y="406" id="257" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="211" >
 <cdparam x="1308" y="303" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1222" y="378" id="290" />
-<P2  x="1178" y="380" id="236" />
+<P1  x="1222" y="378" id="309" />
+<P2  x="1178" y="380" id="363" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="212" >
 <cdparam x="1172" y="437" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="415" id="234" />
-<P2  x="1222" y="413" id="288" />
+<P1  x="1178" y="415" id="365" />
+<P2  x="1222" y="413" id="311" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="215" >
 <cdparam x="1041" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="208" id="232" />
-<P2  x="1178" y="276" id="230" />
+<P1  x="1178" y="208" id="367" />
+<P2  x="1178" y="276" id="369" />
 <Point x="1227" y="207" />
 <Point x="1227" y="247" />
 <AutomaticDrawing  data="true" />
@@ -582,8 +582,8 @@
 <cdparam x="877" y="343" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="454" id="228" />
-<P2  x="1222" y="441" id="286" />
+<P1  x="1178" y="454" id="371" />
+<P2  x="1222" y="441" id="313" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <COMPONENT type="1205" id="225" >
@@ -624,61 +624,61 @@
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1200" id="309" >
+<SUBCOMPONENT type="1201" id="244" >
 <father id="401" num="0" />
-<cdparam x="841" y="133" />
-<sizeparam width="570" height="485" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="521" y="369" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="365" minY="0" maxY="45" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="301" />
-<TGConnectingPoint num="1" id="302" />
-<TGConnectingPoint num="2" id="303" />
-<TGConnectingPoint num="3" id="304" />
-<TGConnectingPoint num="4" id="305" />
-<TGConnectingPoint num="5" id="306" />
-<TGConnectingPoint num="6" id="307" />
-<TGConnectingPoint num="7" id="308" />
-<extraparam>
-<info hiddeni="false" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="266" >
-<father id="309" num="0" />
-<cdparam x="931" y="167" />
-<sizeparam width="236" height="317" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-13" maxX="922" minY="-13" maxY="517" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="226" />
+<TGConnectingPoint num="1" id="227" />
+<TGConnectingPoint num="2" id="228" />
+<TGConnectingPoint num="3" id="229" />
+<TGConnectingPoint num="4" id="230" />
+<TGConnectingPoint num="5" id="231" />
+<TGConnectingPoint num="6" id="232" />
+<TGConnectingPoint num="7" id="233" />
+<TGConnectingPoint num="8" id="234" />
+<TGConnectingPoint num="9" id="235" />
+<TGConnectingPoint num="10" id="236" />
+<TGConnectingPoint num="11" id="237" />
+<TGConnectingPoint num="12" id="238" />
+<TGConnectingPoint num="13" id="239" />
+<TGConnectingPoint num="14" id="240" />
+<TGConnectingPoint num="15" id="241" />
+<TGConnectingPoint num="16" id="242" />
+<TGConnectingPoint num="17" id="243" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="271" >
+<father id="401" num="1" />
+<cdparam x="565" y="416" />
+<sizeparam width="240" height="145" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="334" minY="0" maxY="168" />
-<infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="258" />
-<TGConnectingPoint num="1" id="259" />
-<TGConnectingPoint num="2" id="260" />
-<TGConnectingPoint num="3" id="261" />
-<TGConnectingPoint num="4" id="262" />
-<TGConnectingPoint num="5" id="263" />
-<TGConnectingPoint num="6" id="264" />
-<TGConnectingPoint num="7" id="265" />
+<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="263" />
+<TGConnectingPoint num="1" id="264" />
+<TGConnectingPoint num="2" id="265" />
+<TGConnectingPoint num="3" id="266" />
+<TGConnectingPoint num="4" id="267" />
+<TGConnectingPoint num="5" id="268" />
+<TGConnectingPoint num="6" id="269" />
+<TGConnectingPoint num="7" id="270" />
 <extraparam>
 <Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" />
-<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
-<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
-<Attribute access="2" id="i" value="" type="0" typeOther="" />
-<Attribute access="2" id="j" value="" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="227" >
-<father id="266" num="0" />
-<cdparam x="1012" y="471" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="246" >
+<father id="271" num="0" />
+<cdparam x="740" y="406" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="Primitive port" value="Event opened" />
-<TGConnectingPoint num="0" id="226" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="245" />
 <extraparam>
-<Prop commName="opened" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -686,16 +686,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="229" >
-<father id="266" num="1" />
-<cdparam x="1157" y="444" />
+<SUBCOMPONENT type="1203" id="248" >
+<father id="271" num="1" />
+<cdparam x="795" y="419" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="228" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="247" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -703,16 +703,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="231" >
-<father id="266" num="2" />
-<cdparam x="1157" y="266" />
+<SUBCOMPONENT type="1203" id="250" >
+<father id="271" num="2" />
+<cdparam x="795" y="481" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="230" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="249" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -720,16 +720,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="233" >
-<father id="266" num="3" />
-<cdparam x="1157" y="198" />
+<SUBCOMPONENT type="1203" id="252" >
+<father id="271" num="3" />
+<cdparam x="795" y="448" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="232" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="251" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -737,16 +737,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="235" >
-<father id="266" num="4" />
-<cdparam x="1157" y="405" />
+<SUBCOMPONENT type="1203" id="254" >
+<father id="271" num="4" />
+<cdparam x="795" y="509" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="234" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="253" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -754,16 +754,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="237" >
-<father id="266" num="5" />
-<cdparam x="1157" y="370" />
+<SUBCOMPONENT type="1203" id="256" >
+<father id="271" num="5" />
+<cdparam x="795" y="542" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="236" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="255" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -771,16 +771,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="239" >
-<father id="266" num="6" />
-<cdparam x="921" y="466" />
+<SUBCOMPONENT type="1203" id="258" >
+<father id="271" num="6" />
+<cdparam x="659" y="406" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="238" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="257" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -788,16 +788,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="241" >
-<father id="266" num="7" />
-<cdparam x="959" y="474" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="260" >
+<father id="271" num="7" />
+<cdparam x="697" y="403" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="240" />
+<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
+<infoparam name="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="259" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="connectionOpened" commType="1" origin="true" finite="true" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -805,16 +805,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="243" >
-<father id="266" num="8" />
-<cdparam x="921" y="387" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="262" >
+<father id="271" num="8" />
+<cdparam x="748" y="548" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="242" />
+<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
+<infoparam name="Primitive port" value="Event opened" />
+<TGConnectingPoint num="0" id="261" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="opened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -822,33 +822,43 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="245" >
-<father id="266" num="9" />
-<cdparam x="921" y="416" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="308" >
+<father id="401" num="2" />
+<cdparam x="534" y="97" />
+<sizeparam width="200" height="237" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="244" />
+<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="300" />
+<TGConnectingPoint num="1" id="301" />
+<TGConnectingPoint num="2" id="302" />
+<TGConnectingPoint num="3" id="303" />
+<TGConnectingPoint num="4" id="304" />
+<TGConnectingPoint num="5" id="305" />
+<TGConnectingPoint num="6" id="306" />
+<TGConnectingPoint num="7" id="307" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" />
+<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="" type="4" typeOther="" />
+<Attribute access="2" id="i" value="0" type="0" typeOther="" />
+<Attribute access="2" id="j" value="0" type="0" typeOther="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+<Attribute access="2" id="t" value="" type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="247" >
-<father id="266" num="10" />
-<cdparam x="921" y="443" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="273" >
+<father id="308" num="0" />
+<cdparam x="721" y="111" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="246" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="272" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -856,16 +866,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="249" >
-<father id="266" num="11" />
-<cdparam x="921" y="352" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="275" >
+<father id="308" num="1" />
+<reference id="184" />
+<cdparam x="580" y="84" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="248" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<TGConnectingPoint num="0" id="274" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="reset, pTS, end" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -873,16 +884,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="251" >
-<father id="266" num="12" />
-<cdparam x="918" y="317" />
+<SUBCOMPONENT type="1203" id="277" >
+<father id="308" num="2" />
+<cdparam x="543" y="321" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="250" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="276" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -890,16 +901,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="253" >
-<father id="266" num="13" />
-<cdparam x="918" y="278" />
+<SUBCOMPONENT type="1203" id="279" >
+<father id="308" num="3" />
+<reference id="184" />
+<cdparam x="521" y="247" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="252" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="278" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -907,16 +919,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="255" >
-<father id="266" num="14" />
-<cdparam x="918" y="235" />
+<SUBCOMPONENT type="1203" id="281" >
+<father id="308" num="4" />
+<reference id="184" />
+<cdparam x="521" y="202" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="254" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="280" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="null" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -924,16 +937,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="257" >
-<father id="266" num="15" />
-<cdparam x="918" y="185" />
+<SUBCOMPONENT type="1203" id="283" >
+<father id="308" num="5" />
+<cdparam x="521" y="290" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="256" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="282" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -941,62 +954,33 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="285" >
-<father id="309" num="1" />
-<cdparam x="828" y="362" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="267" />
-<TGConnectingPoint num="1" id="268" />
-<TGConnectingPoint num="2" id="269" />
-<TGConnectingPoint num="3" id="270" />
-<TGConnectingPoint num="4" id="271" />
-<TGConnectingPoint num="5" id="272" />
-<TGConnectingPoint num="6" id="273" />
-<TGConnectingPoint num="7" id="274" />
-<TGConnectingPoint num="8" id="275" />
-<TGConnectingPoint num="9" id="276" />
-<TGConnectingPoint num="10" id="277" />
-<TGConnectingPoint num="11" id="278" />
-<TGConnectingPoint num="12" id="279" />
-<TGConnectingPoint num="13" id="280" />
-<TGConnectingPoint num="14" id="281" />
-<TGConnectingPoint num="15" id="282" />
-<TGConnectingPoint num="16" id="283" />
-<TGConnectingPoint num="17" id="284" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="300" >
-<father id="309" num="2" />
-<cdparam x="1232" y="328" />
-<sizeparam width="140" height="141" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="285" >
+<father id="308" num="6" />
+<cdparam x="521" y="156" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="430" minY="0" maxY="344" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="292" />
-<TGConnectingPoint num="1" id="293" />
-<TGConnectingPoint num="2" id="294" />
-<TGConnectingPoint num="3" id="295" />
-<TGConnectingPoint num="4" id="296" />
-<TGConnectingPoint num="5" id="297" />
-<TGConnectingPoint num="6" id="298" />
-<TGConnectingPoint num="7" id="299" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="284" />
 <extraparam>
-<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="287" >
-<father id="300" num="0" />
-<cdparam x="1222" y="431" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="308" num="7" />
+<cdparam x="721" y="269" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Event stop" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
 <TGConnectingPoint num="0" id="286" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1005,15 +989,15 @@
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="289" >
-<father id="300" num="1" />
-<cdparam x="1222" y="403" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="308" num="8" />
+<cdparam x="721" y="235" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Request req_Timer" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
 <TGConnectingPoint num="0" id="288" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1022,15 +1006,15 @@
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="291" >
-<father id="300" num="2" />
-<cdparam x="1222" y="368" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="308" num="9" />
+<cdparam x="721" y="190" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Event timeOut" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event receive" />
 <TGConnectingPoint num="0" id="290" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1038,43 +1022,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="346" >
-<father id="401" num="1" />
-<cdparam x="534" y="97" />
-<sizeparam width="200" height="237" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="338" />
-<TGConnectingPoint num="1" id="339" />
-<TGConnectingPoint num="2" id="340" />
-<TGConnectingPoint num="3" id="341" />
-<TGConnectingPoint num="4" id="342" />
-<TGConnectingPoint num="5" id="343" />
-<TGConnectingPoint num="6" id="344" />
-<TGConnectingPoint num="7" id="345" />
-<extraparam>
-<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" />
-<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="" type="4" typeOther="" />
-<Attribute access="2" id="i" value="0" type="0" typeOther="" />
-<Attribute access="2" id="j" value="0" type="0" typeOther="" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
-<Attribute access="2" id="t" value="" type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="311" >
-<father id="346" num="0" />
-<cdparam x="680" y="321" />
+<SUBCOMPONENT type="1203" id="293" >
+<father id="308" num="10" />
+<cdparam x="721" y="301" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="Primitive port" value="Event connectionOpened" />
-<TGConnectingPoint num="0" id="310" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="292" />
 <extraparam>
-<Prop commName="connectionOpened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1082,16 +1039,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="313" >
-<father id="346" num="1" />
-<cdparam x="620" y="324" />
+<SUBCOMPONENT type="1203" id="295" >
+<father id="308" num="11" />
+<cdparam x="524" y="116" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="312" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="294" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1099,16 +1056,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="315" >
-<father id="346" num="2" />
-<cdparam x="524" y="116" />
+<SUBCOMPONENT type="1203" id="297" >
+<father id="308" num="12" />
+<cdparam x="620" y="324" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="314" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="296" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1116,16 +1073,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="317" >
-<father id="346" num="3" />
-<cdparam x="721" y="301" />
+<SUBCOMPONENT type="1203" id="299" >
+<father id="308" num="13" />
+<cdparam x="680" y="321" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="316" />
+<infoparam name="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="298" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="connectionOpened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1133,16 +1090,55 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="319" >
-<father id="346" num="4" />
-<cdparam x="721" y="190" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1200" id="392" >
+<father id="401" num="3" />
+<cdparam x="841" y="133" />
+<sizeparam width="570" height="485" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="318" />
+<cdrectangleparam minX="0" maxX="365" minY="0" maxY="45" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="384" />
+<TGConnectingPoint num="1" id="385" />
+<TGConnectingPoint num="2" id="386" />
+<TGConnectingPoint num="3" id="387" />
+<TGConnectingPoint num="4" id="388" />
+<TGConnectingPoint num="5" id="389" />
+<TGConnectingPoint num="6" id="390" />
+<TGConnectingPoint num="7" id="391" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<info hiddeni="false" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="323" >
+<father id="392" num="0" />
+<cdparam x="1232" y="328" />
+<sizeparam width="140" height="141" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="430" minY="0" maxY="344" />
+<infoparam name="TGComponent" value="Timer" />
+<TGConnectingPoint num="0" id="315" />
+<TGConnectingPoint num="1" id="316" />
+<TGConnectingPoint num="2" id="317" />
+<TGConnectingPoint num="3" id="318" />
+<TGConnectingPoint num="4" id="319" />
+<TGConnectingPoint num="5" id="320" />
+<TGConnectingPoint num="6" id="321" />
+<TGConnectingPoint num="7" id="322" />
+<extraparam>
+<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="310" >
+<father id="323" num="0" />
+<cdparam x="1222" y="368" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="309" />
+<extraparam>
+<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1150,16 +1146,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="321" >
-<father id="346" num="5" />
-<cdparam x="721" y="235" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="312" >
+<father id="323" num="1" />
+<cdparam x="1222" y="403" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="320" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="311" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1167,16 +1163,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="323" >
-<father id="346" num="6" />
-<cdparam x="721" y="269" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="314" >
+<father id="323" num="2" />
+<cdparam x="1222" y="431" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="322" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="313" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1184,33 +1180,85 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="325" >
-<father id="346" num="7" />
-<cdparam x="521" y="156" />
+<SUBCOMPONENT type="1201" id="342" >
+<father id="392" num="1" />
+<cdparam x="828" y="362" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="324" />
+<TGConnectingPoint num="1" id="325" />
+<TGConnectingPoint num="2" id="326" />
+<TGConnectingPoint num="3" id="327" />
+<TGConnectingPoint num="4" id="328" />
+<TGConnectingPoint num="5" id="329" />
+<TGConnectingPoint num="6" id="330" />
+<TGConnectingPoint num="7" id="331" />
+<TGConnectingPoint num="8" id="332" />
+<TGConnectingPoint num="9" id="333" />
+<TGConnectingPoint num="10" id="334" />
+<TGConnectingPoint num="11" id="335" />
+<TGConnectingPoint num="12" id="336" />
+<TGConnectingPoint num="13" id="337" />
+<TGConnectingPoint num="14" id="338" />
+<TGConnectingPoint num="15" id="339" />
+<TGConnectingPoint num="16" id="340" />
+<TGConnectingPoint num="17" id="341" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="383" >
+<father id="392" num="2" />
+<cdparam x="931" y="167" />
+<sizeparam width="236" height="317" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="334" minY="0" maxY="168" />
+<infoparam name="TGComponent" value="TCPIP" />
+<TGConnectingPoint num="0" id="375" />
+<TGConnectingPoint num="1" id="376" />
+<TGConnectingPoint num="2" id="377" />
+<TGConnectingPoint num="3" id="378" />
+<TGConnectingPoint num="4" id="379" />
+<TGConnectingPoint num="5" id="380" />
+<TGConnectingPoint num="6" id="381" />
+<TGConnectingPoint num="7" id="382" />
+<extraparam>
+<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" />
+<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
+<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
+<Attribute access="2" id="i" value="" type="0" typeOther="" />
+<Attribute access="2" id="j" value="" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="344" >
+<father id="383" num="0" />
+<cdparam x="918" y="185" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="324" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="343" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
+<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="327" >
-<father id="346" num="8" />
-<cdparam x="521" y="290" />
+<SUBCOMPONENT type="1203" id="346" >
+<father id="383" num="1" />
+<cdparam x="918" y="235" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="326" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="345" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1218,17 +1266,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="329" >
-<father id="346" num="9" />
-<reference id="184" />
-<cdparam x="521" y="202" />
+<SUBCOMPONENT type="1203" id="348" >
+<father id="383" num="2" />
+<cdparam x="918" y="278" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="328" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="347" />
 <extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="null" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1236,17 +1283,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="331" >
-<father id="346" num="10" />
-<reference id="184" />
-<cdparam x="521" y="247" />
+<SUBCOMPONENT type="1203" id="350" >
+<father id="383" num="3" />
+<cdparam x="918" y="317" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="330" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="349" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1254,16 +1300,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="333" >
-<father id="346" num="11" />
-<cdparam x="543" y="321" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="352" >
+<father id="383" num="4" />
+<cdparam x="921" y="352" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="332" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="351" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1271,17 +1317,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="335" >
-<father id="346" num="12" />
-<reference id="184" />
-<cdparam x="580" y="84" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="354" >
+<father id="383" num="5" />
+<cdparam x="921" y="443" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event reset, pTS, end" />
-<TGConnectingPoint num="0" id="334" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="353" />
 <extraparam>
-<Prop commName="reset, pTS, end" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1289,16 +1334,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="337" >
-<father id="346" num="13" />
-<cdparam x="721" y="111" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="356" >
+<father id="383" num="6" />
+<cdparam x="921" y="416" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="336" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="355" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1306,35 +1351,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="373" >
-<father id="401" num="2" />
-<cdparam x="565" y="416" />
-<sizeparam width="240" height="145" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="365" />
-<TGConnectingPoint num="1" id="366" />
-<TGConnectingPoint num="2" id="367" />
-<TGConnectingPoint num="3" id="368" />
-<TGConnectingPoint num="4" id="369" />
-<TGConnectingPoint num="5" id="370" />
-<TGConnectingPoint num="6" id="371" />
-<TGConnectingPoint num="7" id="372" />
-<extraparam>
-<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="348" >
-<father id="373" num="0" />
-<cdparam x="748" y="548" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="358" >
+<father id="383" num="7" />
+<cdparam x="921" y="387" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
-<infoparam name="Primitive port" value="Event opened" />
-<TGConnectingPoint num="0" id="347" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="357" />
 <extraparam>
-<Prop commName="opened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1342,16 +1368,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="350" >
-<father id="373" num="1" />
-<cdparam x="697" y="403" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="360" >
+<father id="383" num="8" />
+<cdparam x="959" y="474" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
-<infoparam name="Primitive port" value="Event connectionOpened" />
-<TGConnectingPoint num="0" id="349" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="359" />
 <extraparam>
-<Prop commName="connectionOpened" commType="1" origin="true" finite="true" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1359,16 +1385,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="352" >
-<father id="373" num="2" />
-<cdparam x="659" y="406" />
+<SUBCOMPONENT type="1203" id="362" >
+<father id="383" num="9" />
+<cdparam x="921" y="466" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="351" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="361" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1376,16 +1402,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="354" >
-<father id="373" num="3" />
-<cdparam x="795" y="542" />
+<SUBCOMPONENT type="1203" id="364" >
+<father id="383" num="10" />
+<cdparam x="1157" y="370" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="353" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="363" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1393,16 +1419,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="356" >
-<father id="373" num="4" />
-<cdparam x="795" y="509" />
+<SUBCOMPONENT type="1203" id="366" >
+<father id="383" num="11" />
+<cdparam x="1157" y="405" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="355" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="365" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1410,16 +1436,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="358" >
-<father id="373" num="5" />
-<cdparam x="795" y="448" />
+<SUBCOMPONENT type="1203" id="368" >
+<father id="383" num="12" />
+<cdparam x="1157" y="198" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="357" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="367" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1427,16 +1453,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="360" >
-<father id="373" num="6" />
-<cdparam x="795" y="481" />
+<SUBCOMPONENT type="1203" id="370" >
+<father id="383" num="13" />
+<cdparam x="1157" y="266" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="359" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="369" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1444,16 +1470,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="362" >
-<father id="373" num="7" />
-<cdparam x="795" y="419" />
+<SUBCOMPONENT type="1203" id="372" >
+<father id="383" num="14" />
+<cdparam x="1157" y="444" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="361" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="371" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1461,16 +1487,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="364" >
-<father id="373" num="8" />
-<cdparam x="740" y="406" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="374" >
+<father id="383" num="15" />
+<cdparam x="1012" y="471" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="363" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="Primitive port" value="Event opened" />
+<TGConnectingPoint num="0" id="373" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="opened" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1478,32 +1504,6 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="392" >
-<father id="401" num="3" />
-<cdparam x="521" y="369" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="922" minY="-13" maxY="517" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="374" />
-<TGConnectingPoint num="1" id="375" />
-<TGConnectingPoint num="2" id="376" />
-<TGConnectingPoint num="3" id="377" />
-<TGConnectingPoint num="4" id="378" />
-<TGConnectingPoint num="5" id="379" />
-<TGConnectingPoint num="6" id="380" />
-<TGConnectingPoint num="7" id="381" />
-<TGConnectingPoint num="8" id="382" />
-<TGConnectingPoint num="9" id="383" />
-<TGConnectingPoint num="10" id="384" />
-<TGConnectingPoint num="11" id="385" />
-<TGConnectingPoint num="12" id="386" />
-<TGConnectingPoint num="13" id="387" />
-<TGConnectingPoint num="14" id="388" />
-<TGConnectingPoint num="15" id="389" />
-<TGConnectingPoint num="16" id="390" />
-<TGConnectingPoint num="17" id="391" />
-</SUBCOMPONENT>
 
 <COMPONENT type="1202" id="424" >
 <cdparam x="163" y="96" />
@@ -1530,14 +1530,15 @@
 </COMPONENT>
 <SUBCOMPONENT type="1203" id="403" >
 <father id="424" num="0" />
-<cdparam x="443" y="116" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<reference id="184" />
+<cdparam x="388" y="83" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
-<infoparam name="TGComponent" value="Request activation" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
 <TGConnectingPoint num="0" id="402" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="reset, pTS, end" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1547,16 +1548,16 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="405" >
 <father id="424" num="1" />
-<cdparam x="440" y="156" />
+<cdparam x="440" y="322" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event data_Ready" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
 <TGConnectingPoint num="0" id="404" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1564,14 +1565,15 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="407" >
 <father id="424" num="2" />
-<cdparam x="440" y="290" />
+<reference id="184" />
+<cdparam x="440" y="247" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
 <TGConnectingPoint num="0" id="406" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1599,15 +1601,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="411" >
 <father id="424" num="4" />
-<reference id="184" />
-<cdparam x="440" y="247" />
+<cdparam x="440" y="290" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
 <TGConnectingPoint num="0" id="410" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1617,16 +1618,16 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="413" >
 <father id="424" num="5" />
-<cdparam x="440" y="322" />
+<cdparam x="440" y="156" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="412" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1634,15 +1635,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="415" >
 <father id="424" num="6" />
-<reference id="184" />
-<cdparam x="388" y="83" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="443" y="116" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
+<infoparam name="TGComponent" value="Request activation" />
 <TGConnectingPoint num="0" id="414" />
 <extraparam>
-<Prop commName="reset, pTS, end" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
+<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -7042,11 +7042,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="1670" >
 <father id="1731" num="0" />
-<cdparam x="92" y="154" />
-<sizeparam width="163" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="226" y="304" />
+<sizeparam width="109" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="296" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
 <TGConnectingPoint num="0" id="1662" />
 <TGConnectingPoint num="1" id="1663" />
 <TGConnectingPoint num="2" id="1664" />
@@ -7056,16 +7056,16 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="1668" />
 <TGConnectingPoint num="7" id="1669" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1679" >
 <father id="1731" num="1" />
-<cdparam x="291" y="153" />
-<sizeparam width="136" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="290" y="234" />
+<sizeparam width="139" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
 <TGConnectingPoint num="0" id="1671" />
 <TGConnectingPoint num="1" id="1672" />
 <TGConnectingPoint num="2" id="1673" />
@@ -7075,7 +7075,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="1677" />
 <TGConnectingPoint num="7" id="1678" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1688" >
@@ -7099,11 +7099,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1697" >
 <father id="1731" num="3" />
-<cdparam x="290" y="234" />
-<sizeparam width="139" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="291" y="153" />
+<sizeparam width="136" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
+<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="1689" />
 <TGConnectingPoint num="1" id="1690" />
 <TGConnectingPoint num="2" id="1691" />
@@ -7113,16 +7113,16 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="1695" />
 <TGConnectingPoint num="7" id="1696" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1706" >
 <father id="1731" num="4" />
-<cdparam x="226" y="304" />
-<sizeparam width="109" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="92" y="154" />
+<sizeparam width="163" height="50" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Timer" />
+<cdrectangleparam minX="0" maxX="296" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
 <TGConnectingPoint num="0" id="1698" />
 <TGConnectingPoint num="1" id="1699" />
 <TGConnectingPoint num="2" id="1700" />
@@ -7132,7 +7132,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="1704" />
 <TGConnectingPoint num="7" id="1705" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -7389,11 +7389,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="1860" >
 <father id="1903" num="0" />
-<cdparam x="277" y="90" />
-<sizeparam width="108" height="40" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="392" y="119" />
+<sizeparam width="136" height="37" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
+<cdrectangleparam minX="0" maxX="136" minY="0" maxY="130" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="1852" />
 <TGConnectingPoint num="1" id="1853" />
 <TGConnectingPoint num="2" id="1854" />
@@ -7403,7 +7403,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="1858" />
 <TGConnectingPoint num="7" id="1859" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1869" >
@@ -7427,11 +7427,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1878" >
 <father id="1903" num="2" />
-<cdparam x="392" y="119" />
-<sizeparam width="136" height="37" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="277" y="90" />
+<sizeparam width="108" height="40" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="136" minY="0" maxY="130" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
 <TGConnectingPoint num="0" id="1870" />
 <TGConnectingPoint num="1" id="1871" />
 <TGConnectingPoint num="2" id="1872" />
@@ -7441,7 +7441,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="1876" />
 <TGConnectingPoint num="7" id="1877" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -7794,11 +7794,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="2084" >
 <father id="2127" num="0" />
-<cdparam x="392" y="119" />
-<sizeparam width="136" height="37" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="277" y="90" />
+<sizeparam width="108" height="40" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="136" minY="0" maxY="130" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
 <TGConnectingPoint num="0" id="2076" />
 <TGConnectingPoint num="1" id="2077" />
 <TGConnectingPoint num="2" id="2078" />
@@ -7808,7 +7808,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2082" />
 <TGConnectingPoint num="7" id="2083" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2093" >
@@ -7832,11 +7832,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2102" >
 <father id="2127" num="2" />
-<cdparam x="277" y="90" />
-<sizeparam width="108" height="40" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="392" y="119" />
+<sizeparam width="136" height="37" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
+<cdrectangleparam minX="0" maxX="136" minY="0" maxY="130" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="2094" />
 <TGConnectingPoint num="1" id="2095" />
 <TGConnectingPoint num="2" id="2096" />
@@ -7846,7 +7846,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2100" />
 <TGConnectingPoint num="7" id="2101" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -8050,7 +8050,7 @@ the smart card and the terminal
 <extraparam>
 <iso value="in chin(Message msg)" />
 <osd value="out chout(Message msg)" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="false" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR><SUBCOMPONENT type="-1" id="2186" >
 <father id="2191" num="0" />
@@ -8178,11 +8178,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="5000" id="2251" >
 <father id="2301" num="0" />
-<cdparam x="263" y="233" />
-<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="36" y="233" />
+<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
-<infoparam name="Block0" value="SmartCard" />
+<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
+<infoparam name="Block0" value="InterfaceDevice" />
 <TGConnectingPoint num="0" id="2227" />
 <TGConnectingPoint num="1" id="2228" />
 <TGConnectingPoint num="2" id="2229" />
@@ -8210,10 +8210,10 @@ the smart card and the terminal
 <extraparam>
 <blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
+<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
 <Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
 <Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
 <Method value="Message encrypt(Message msg, Key k)" />
 <Method value="Message decrypt(Message msg, Key k)" />
 <Method value="Message sencrypt(Message msg, Key k)" />
@@ -8240,11 +8240,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5000" id="2276" >
 <father id="2301" num="1" />
-<cdparam x="36" y="233" />
-<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="263" y="233" />
+<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
-<infoparam name="Block0" value="InterfaceDevice" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
+<infoparam name="Block0" value="SmartCard" />
 <TGConnectingPoint num="0" id="2252" />
 <TGConnectingPoint num="1" id="2253" />
 <TGConnectingPoint num="2" id="2254" />
@@ -8272,10 +8272,10 @@ the smart card and the terminal
 <extraparam>
 <blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
-<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
 <Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
 <Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
 <Method value="Message encrypt(Message msg, Key k)" />
 <Method value="Message decrypt(Message msg, Key k)" />
 <Method value="Message sencrypt(Message msg, Key k)" />
@@ -9334,7 +9334,7 @@ the smart card and the terminal
 <extraparam>
 <iso value="in chin(Message msg)" />
 <osd value="out chout(Message msg)" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="false" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR><SUBCOMPONENT type="-1" id="2913" >
 <father id="2918" num="0" />
@@ -9464,11 +9464,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="5000" id="2978" >
 <father id="3028" num="0" />
-<cdparam x="36" y="233" />
-<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="263" y="233" />
+<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
-<infoparam name="Block0" value="InterfaceDevice" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
+<infoparam name="Block0" value="SmartCard" />
 <TGConnectingPoint num="0" id="2954" />
 <TGConnectingPoint num="1" id="2955" />
 <TGConnectingPoint num="2" id="2956" />
@@ -9496,13 +9496,13 @@ the smart card and the terminal
 <extraparam>
 <blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
-<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
 <Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
 <Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
 <Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="bobPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="alicePubK" value="" type="5" typeOther="Key" />
 <Method value="Message encrypt(Message msg, Key k)" />
 <Method value="Message decrypt(Message msg, Key k)" />
 <Method value="Message sencrypt(Message msg, Key k)" />
@@ -9529,11 +9529,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5000" id="3003" >
 <father id="3028" num="1" />
-<cdparam x="263" y="233" />
-<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="36" y="233" />
+<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
-<infoparam name="Block0" value="SmartCard" />
+<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
+<infoparam name="Block0" value="InterfaceDevice" />
 <TGConnectingPoint num="0" id="2979" />
 <TGConnectingPoint num="1" id="2980" />
 <TGConnectingPoint num="2" id="2981" />
@@ -9561,13 +9561,13 @@ the smart card and the terminal
 <extraparam>
 <blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
+<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
 <Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
 <Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
-<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="alicePubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="bobPubK" value="" type="5" typeOther="Key" />
 <Method value="Message encrypt(Message msg, Key k)" />
 <Method value="Message decrypt(Message msg, Key k)" />
 <Method value="Message sencrypt(Message msg, Key k)" />
@@ -11304,7 +11304,7 @@ the smart card and the terminal
 <extraparam>
 <iso value="in chin(Message msg)" />
 <osd value="out chout(Message msg)" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" ams="false" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="false" broadcast="false" lossy="false" ams="false" />
 </extraparam>
 </CONNECTOR><SUBCOMPONENT type="-1" id="4032" >
 <father id="4037" num="0" />
@@ -11484,11 +11484,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="5000" id="4115" >
 <father id="4190" num="0" />
-<cdparam x="263" y="108" />
-<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="115" y="249" />
+<sizeparam width="261" height="83" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="299" minY="0" maxY="218" />
-<infoparam name="Block0" value="SmartCard" />
+<cdrectangleparam minX="0" maxX="177" minY="0" maxY="261" />
+<infoparam name="Block0" value="CA" />
 <TGConnectingPoint num="0" id="4091" />
 <TGConnectingPoint num="1" id="4092" />
 <TGConnectingPoint num="2" id="4093" />
@@ -11516,31 +11516,18 @@ the smart card and the terminal
 <extraparam>
 <blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
-<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
 <Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="alicePubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="newK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="newCert" value="" type="5" typeOther="Message" />
 <Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sig" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="certOK" value="" type="4" typeOther="" />
-<Attribute access="0" id="interfaceDeviceID" value="" type="8" typeOther="" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="newID" value="" type="8" typeOther="" />
 <Attribute access="0" id="interfaceDevicePubK" value="" type="5" typeOther="Key" />
-<Method value="Message encrypt(Message msg, Key k)" />
-<Method value="Message decrypt(Message msg, Key k)" />
-<Method value="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<Method value="Message MAC(Message msg, Key k)" />
-<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
-<Method value="Message concat2(Message msg1, Message msg2)" />
-<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
-<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="get2(Message msg, Message msg1, Message msg2)" />
-<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
-<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Attribute access="0" id="smartCardPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="interfaceDeviceID" value="" type="8" typeOther="" />
+<Attribute access="0" id="smartCardID" value="" type="8" typeOther="" />
 <Method value="Message aencrypt(Message msg, Key k)" />
 <Method value="Message adecrypt(Message msg, Key k)" />
 <Method value="Key pk(Key k)" />
@@ -11549,8 +11536,18 @@ the smart card and the terminal
 <Method value="Message cert(Key k, Message msg)" />
 <Method value="bool verifyCert(Message cert, Key k)" />
 <Method value="Key getpk(Message cert)" />
+<Method value="Message sencrypt(Message msg, Key k)" />
+<Method value="Message sdecrypt(Message msg, Key k)" />
 <Method value="Key DH(Key pubK, Key privK)" />
 <Method value="Message hash(Message msg)" />
+<Method value="Message MAC(Message msg, Key k)" />
+<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
+<Method value="Message concat2(Message msg1, Message msg2)" />
+<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
+<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="get2(Message msg, Message msg1, Message msg2)" />
+<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
+<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5000" id="4140" >
@@ -11625,11 +11622,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5000" id="4165" >
 <father id="4190" num="2" />
-<cdparam x="115" y="249" />
-<sizeparam width="261" height="83" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="263" y="108" />
+<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="177" minY="0" maxY="261" />
-<infoparam name="Block0" value="CA" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="218" />
+<infoparam name="Block0" value="SmartCard" />
 <TGConnectingPoint num="0" id="4141" />
 <TGConnectingPoint num="1" id="4142" />
 <TGConnectingPoint num="2" id="4143" />
@@ -11657,30 +11654,23 @@ the smart card and the terminal
 <extraparam>
 <blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
+<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
 <Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="newK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="newCert" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="alicePubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="newID" value="" type="8" typeOther="" />
-<Attribute access="0" id="interfaceDevicePubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="smartCardPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="sig" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="certOK" value="" type="4" typeOther="" />
 <Attribute access="0" id="interfaceDeviceID" value="" type="8" typeOther="" />
-<Attribute access="0" id="smartCardID" value="" type="8" typeOther="" />
-<Method value="Message aencrypt(Message msg, Key k)" />
-<Method value="Message adecrypt(Message msg, Key k)" />
-<Method value="Key pk(Key k)" />
-<Method value="Message sign(Message msg, Key k)" />
-<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
-<Method value="Message cert(Key k, Message msg)" />
-<Method value="bool verifyCert(Message cert, Key k)" />
-<Method value="Key getpk(Message cert)" />
+<Attribute access="0" id="interfaceDevicePubK" value="" type="5" typeOther="Key" />
+<Method value="Message encrypt(Message msg, Key k)" />
+<Method value="Message decrypt(Message msg, Key k)" />
 <Method value="Message sencrypt(Message msg, Key k)" />
 <Method value="Message sdecrypt(Message msg, Key k)" />
-<Method value="Key DH(Key pubK, Key privK)" />
-<Method value="Message hash(Message msg)" />
 <Method value="Message MAC(Message msg, Key k)" />
 <Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
 <Method value="Message concat2(Message msg1, Message msg2)" />
@@ -11689,6 +11679,16 @@ the smart card and the terminal
 <Method value="get2(Message msg, Message msg1, Message msg2)" />
 <Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
 <Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="Message aencrypt(Message msg, Key k)" />
+<Method value="Message adecrypt(Message msg, Key k)" />
+<Method value="Key pk(Key k)" />
+<Method value="Message sign(Message msg, Key k)" />
+<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
+<Method value="Message cert(Key k, Message msg)" />
+<Method value="bool verifyCert(Message cert, Key k)" />
+<Method value="Key getpk(Message cert)" />
+<Method value="Key DH(Key pubK, Key privK)" />
+<Method value="Message hash(Message msg)" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -11792,11 +11792,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="5707" id="4209" >
 <father id="4217" num="0" />
-<cdparam x="804" y="456" />
+<cdparam x="804" y="432" />
 <sizeparam width="8" height="8" minWidth="8" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1005" maxX="1005" minY="570" maxY="570" />
-<infoparam name="value " value="DHWithCertificateSecurityProtocol" />
+<cdrectangleparam minX="1005" maxX="1005" minY="540" maxY="540" />
+<infoparam name="value " value="BasicSecurityProtocol" />
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5707" id="4210" >
 <father id="4217" num="1" />
@@ -11808,11 +11808,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5707" id="4211" >
 <father id="4217" num="2" />
-<cdparam x="804" y="432" />
+<cdparam x="804" y="456" />
 <sizeparam width="8" height="8" minWidth="8" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1005" maxX="1005" minY="540" maxY="540" />
-<infoparam name="value " value="BasicSecurityProtocol" />
+<cdrectangleparam minX="1005" maxX="1005" minY="570" maxY="570" />
+<infoparam name="value " value="DHWithCertificateSecurityProtocol" />
 </SUBCOMPONENT>
 
 <COMPONENT type="5703" id="4223" >
@@ -11867,11 +11867,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="5707" id="4236" >
 <father id="4243" num="0" />
-<cdparam x="924" y="136" />
+<cdparam x="924" y="112" />
 <sizeparam width="8" height="8" minWidth="8" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1155" maxX="1155" minY="170" maxY="170" />
-<infoparam name="value " value="Mapping2_Sec" />
+<cdrectangleparam minX="1155" maxX="1155" minY="140" maxY="140" />
+<infoparam name="value " value="Mapping1" />
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5707" id="4237" >
 <father id="4243" num="1" />
@@ -11883,11 +11883,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5707" id="4238" >
 <father id="4243" num="2" />
-<cdparam x="924" y="112" />
+<cdparam x="924" y="136" />
 <sizeparam width="8" height="8" minWidth="8" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1155" maxX="1155" minY="140" maxY="140" />
-<infoparam name="value " value="Mapping1" />
+<cdrectangleparam minX="1155" maxX="1155" minY="170" maxY="170" />
+<infoparam name="value " value="Mapping2_Sec" />
 </SUBCOMPONENT>
 
 <COMPONENT type="5713" id="4249" >
diff --git a/src/main/java/avatartranslator/AvatarExpressionSolver.java b/src/main/java/avatartranslator/AvatarExpressionSolver.java
index 4ea46011db7d671adf61a7c21af43cc02386080d..716103566954f46e673f655bfbd9252d871f3ece 100644
--- a/src/main/java/avatartranslator/AvatarExpressionSolver.java
+++ b/src/main/java/avatartranslator/AvatarExpressionSolver.java
@@ -965,4 +965,71 @@ public class AvatarExpressionSolver {
         return optype;
     }
 
+    public static int indexOfVariable(String expr, String variable) {
+        int index;
+        String tmp = expr;
+        int removed = 0;
+        //System.out.println("\nHandling expr: " + expr);
+
+        while ((index = tmp.indexOf(variable)) > -1) {
+            char c1, c2;
+            if (index > 0) {
+                c1 = tmp.charAt(index - 1);
+            } else {
+                c1 = ' ';
+            }
+
+            if (index+variable.length() < tmp.length())
+                c2 = tmp.charAt(index+variable.length());
+            else
+                c2 = ' ';
+
+            //System.out.println("tmp=" + tmp + " c1=" + c1 + " c2=" + c2);
+
+            if (!(Character.isLetterOrDigit(c1) || (c1 == '_'))) {
+                if (!(Character.isLetterOrDigit(c2) || (c2 == '_'))) {
+                    //System.out.println("Found at index=" + index + " returnedIndex=" + (index+removed));
+                    return index + removed;
+                }
+            }
+            tmp = tmp.substring(index+variable.length(), tmp.length());
+            //System.out.println("tmp=" + tmp);
+            removed = index+variable.length();
+            if (tmp.length() == 0) {
+                return -1;
+            }
+            // We cut until we find a non alphanumerical character
+            while( Character.isLetterOrDigit(tmp.charAt(0)) || (tmp.charAt(0) == '_')) {
+                tmp = tmp.substring(1, tmp.length());
+                if (tmp.length() == 0) {
+                    return -1;
+                }
+                removed ++;
+            }
+            //System.out.println("after remove: tmp=" + tmp);
+
+        }
+        return -1;
+    }
+
+    public static String replaceVariable(String expr, String oldVariable, String newVariable) {
+        if (oldVariable.compareTo(newVariable) == 0) {
+            return expr;
+        }
+        int index;
+        String tmp = expr;
+
+        while ((index = indexOfVariable(tmp, oldVariable)) > -1) {
+            String tmp1 = "";
+            if (index > 0) {
+                tmp1 = tmp.substring(0, index);
+            }
+            tmp1 += newVariable;
+            tmp1 += tmp.substring(index+oldVariable.length(), tmp.length());
+            tmp = tmp1;
+        }
+
+        return tmp;
+    }
+
 }
diff --git a/src/main/java/avatartranslator/AvatarStateMachine.java b/src/main/java/avatartranslator/AvatarStateMachine.java
index 1fa59689deb1dbe9217fd82f39d1897235b8a960..f524d3c9cf8d384593ce889f83075b651280e1ec 100644
--- a/src/main/java/avatartranslator/AvatarStateMachine.java
+++ b/src/main/java/avatartranslator/AvatarStateMachine.java
@@ -428,41 +428,37 @@ public class AvatarStateMachine extends AvatarElement {
                 previous = getPreviousElementOf(elt);
                 next = elt.getNext(0);
                 toRemove.add(elt);
-//
-//                // Creating elements
-//                AvatarState beforeRandom = new AvatarState("StateBeforeRandom__" + elt.getName() + "__" + id, elt.getReferenceObject());
-//                AvatarState randomState = new AvatarState("StateForRandom__" + elt.getName() + "__" + id, elt.getReferenceObject());
-//                
-//                for (int i = Integer.parseInt(random.getMinValue()); i <= Integer.parseInt(random.getMaxValue()); i++) {
-//                    AvatarTransition at1 = new AvatarTransition(_block, "TransitionForRandom__" + random.getVariable() + "=" + i + "__" + elt.getName() + "__" + id, elt.getReferenceObject());
-//                    at1.addAction(random.getVariable() + "=" + i);
-//                    toAdd.add(at1);
-//                    beforeRandom.addNext(at1);
-//                    at1.addNext(randomState);
-//                }
-//                
-//                // Adding elements
-//                toAdd.add(beforeRandom);
-//                toAdd.add(randomState);
-//
-//                // Linking elements
-//                if (previous != null) {
-//                    previous.removeAllNexts();
-//                    previous.addNext(beforeRandom);
-//                }
-//                randomState.addNext(next);
-//
-//                id++;
-//
-//            }
+
+                // Is the variable of random used in expression?
+                // If yes, they must be removed. If not, we can directly use the expressions.
+                String minExpr = random.getMinValue();
+                String maxExpr = random.getMaxValue();
+                String var = random.getVariable();
+
+                String maxExprToBeUsed = "";
+
+
+
 
                 // Creating elements
                 AvatarTransition at1 = new AvatarTransition(_block, "Transition1ForRandom__ " + elt.getName() + "__" + id, elt.getReferenceObject());
-                at1.addAction(random.getVariable() + "=" + random.getMinValue());
+
+                // If maxExpr contains var then use __tmpMax instead of var in maxExpr
+
+
+                if (AvatarExpressionSolver.indexOfVariable(maxExpr, var) > -1) {
+                    _block.addIntegerAttribute("tmpMaxRandom__");
+                    maxExprToBeUsed = "tmpMaxRandom__";
+                    at1.addAction("tmpMaxRandom__ = " + maxExpr);
+                } else {
+                    maxExprToBeUsed = maxExpr;
+                }
+
+                at1.addAction(random.getVariable() + "=" + minExpr);
                 AvatarState randomState = new AvatarState("StateForRandom__" + elt.getName() + "__" + id, elt.getReferenceObject());
                 AvatarState beforeRandom = new AvatarState("StateBeforeRandom__" + elt.getName() + "__" + id, elt.getReferenceObject());
                 AvatarTransition at2 = new AvatarTransition(_block, "Transition2ForRandom__" + elt.getName() + "__" + id, elt.getReferenceObject());
-                at2.setGuard("[" + random.getVariable() + " < " + random.getMaxValue() + "]");
+                at2.setGuard("[" + random.getVariable() + " < " + maxExprToBeUsed + "]");
                 at2.addAction(random.getVariable() + "=" + random.getVariable() + " + 1");
                 AvatarTransition at3 = new AvatarTransition(_block, "Transition3ForRandom__ " + elt.getName() + "__" + id, elt.getReferenceObject());
                 AvatarState afterRandom = new AvatarState("StateAfterRandom__" + elt.getName() + "__" + id, elt.getReferenceObject());
diff --git a/src/main/java/avatartranslator/AvatarTransition.java b/src/main/java/avatartranslator/AvatarTransition.java
index 935731cda87359024f60feb2942c12a9811a78df..8857b87f886465e2d7af9403c75eed726ae8c551 100644
--- a/src/main/java/avatartranslator/AvatarTransition.java
+++ b/src/main/java/avatartranslator/AvatarTransition.java
@@ -272,7 +272,7 @@ public class AvatarTransition extends AvatarStateMachineElement {
     public void addAction(String _action) {
         //TraceManager.addDev("****************************  String expr to be added: " + _action);
         AvatarAction aa = AvatarTerm.createActionFromString(block, _action);
-        //TraceManager.addDev("****************************  Adding Avatar action from String : " + aa);
+        TraceManager.addDev("****************************  Adding Avatar action from String : " + aa);
         if (aa != null)
             actions.add(aa);
     }
@@ -500,6 +500,26 @@ public class AvatarTransition extends AvatarStateMachineElement {
     }
 
     public String getNiceName() {
+        String s = " weight:" + getProbability() + " ";
+        if (isGuarded())
+            s += " guard=" + guard;
+
+        if (hasDelay())
+            s += " delay(" + minDelay + ", " + maxDelay + ")";
+
+        if (actions.size() > 0) {
+            s+= " actions: ";
+            for (AvatarAction act: actions) {
+                s += " " + act;
+            }
+        }
+
+        return s;
+
+        //return "Empty transition" + s;
+    }
+
+    public String getNiceNameOld() {
         String s = " weight:" + getProbability();
         if (isGuarded())
             return "Transition (guard=" + guard + ", ...)" + s;
@@ -514,6 +534,7 @@ public class AvatarTransition extends AvatarStateMachineElement {
         return "Empty transition" + s;
     }
 
+
     public void translate(AvatarTranslator translator, Object arg) {
         translator.translateTransition(this, arg);
     }
diff --git a/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java b/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java
index 7f3e338a38b4c70599dd173892b9399e1e00bf76..f1f96677587fdd889a7d8c176e9a35f83d4a4de9 100644
--- a/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java
+++ b/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java
@@ -923,7 +923,8 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
             spec.removeEmptyTransitions(!(studyReachability || studyLiveness || studySafety));
         }
 
-        //TraceManager.addDev("Preparing Avatar specification :" + spec.toString());
+        //TraceManager.addDev("\nPreparing Avatar specification :" + spec.toString() + "\n\n");
+
         prepareStates();
         
         spec.removeConstants();
diff --git a/src/main/java/graph/AUTGraph.java b/src/main/java/graph/AUTGraph.java
index 4b1d8c8e36dde3484f1fda0f9fad609ea1bf2deb..35d5ca02e94cb08aa8d13f7257ea0a0265bb2083 100755
--- a/src/main/java/graph/AUTGraph.java
+++ b/src/main/java/graph/AUTGraph.java
@@ -497,7 +497,7 @@ public class AUTGraph implements myutil.Graph {
                 if (cpt > 0) {
                     ret += " OR ";
                 } else {
-                    cpt ++;
+                    cpt++;
                 }
                 ret += tr.transition;
             }
@@ -505,6 +505,45 @@ public class AUTGraph implements myutil.Graph {
         return ret;
     }
 
+    public static String removeSameSignal(String input) {
+        int indexE = input.indexOf("!");
+        int indexQ = input.indexOf("?");
+        int indexP = input.indexOf("(");
+
+        if ((indexE == -1) || (indexQ == -1) || (indexP == -1) ) {
+            return input;
+        }
+
+        if (indexQ < indexE) {
+            return input;
+        }
+
+        if (indexP < indexQ) {
+            return input;
+        }
+
+        String tmpE = input.substring(indexE+1, indexQ-1);
+        String tmpQ = input.substring(indexQ+1, indexP);
+
+        TraceManager.addDev("tmpE=" + tmpE + " tmpQ=" + tmpQ);
+
+        if (tmpE.compareTo(tmpQ) != 0) {
+            return input;
+        }
+
+
+        return "!" + input.substring(indexQ, input.length());
+    }
+
+    public  static String removeOTime(String input) {
+        if (input.endsWith("[0...0]")) {
+            return input.substring(0, input.length()-7);
+        } else {
+            return input;
+        }
+
+
+    }
 
 
     public void minimizeRemoveInternal(boolean tauOnly) {
diff --git a/src/main/java/graph/AUTGraphDisplay.java b/src/main/java/graph/AUTGraphDisplay.java
index 3fabea16d6ccbd80b4e125b99cf380bccd1cb9c1..356be271997dcf31ec67d8d2767b7e8ca34bc4f4 100755
--- a/src/main/java/graph/AUTGraphDisplay.java
+++ b/src/main/java/graph/AUTGraphDisplay.java
@@ -181,7 +181,8 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable
               String tmp = Conversion.replaceAllChar(transition.transition, '(', "$");
               tmp = Conversion.replaceAllChar(tmp, ')', "$");
               TraceManager.addDev("Transition=" + tmp);*/
-            edge.setAttribute("ui.label", graph.getCompoundString(transition, transitionsMet));
+            edge.setAttribute("ui.label", graph.removeOTime(graph.removeSameSignal(graph.getCompoundString(transition, transitionsMet))));
+            //edge.setAttribute("ui.style", "text-offset: -50, -50;");
             //edge.addAttribute("ui.class", "edge");
             //edge.addAttribute("shape", "cubic-curve");
             //edge.addAttribute("arrow-shape", "circle");
diff --git a/src/main/java/ui/AvatarDesignPanelTranslator.java b/src/main/java/ui/AvatarDesignPanelTranslator.java
index 01f2b4bad0e1357045242bf6232be02e4d86eaea..426bc925358017b661866fe78a06ea196a18176f 100644
--- a/src/main/java/ui/AvatarDesignPanelTranslator.java
+++ b/src/main/java/ui/AvatarDesignPanelTranslator.java
@@ -1543,16 +1543,30 @@ public class AvatarDesignPanelTranslator {
         }
     }
 
-    private void manageAttribute(String _name, AvatarStateMachineOwner _ab, AvatarActionOnSignal _aaos, TDiagramPanel _tdp, TGComponent _tgc, String _idOperator) {
+    private void manageAttribute(String _name, AvatarStateMachineOwner _ab, AvatarActionOnSignal _aaos, TDiagramPanel _tdp, TGComponent _tgc,
+                                 String _idOperator) {
+        TraceManager.addDev("Searching for attribute:" + _name);
         TAttribute ta = adp.getAvatarBDPanel().getAttribute(_name, _ab.getName());
         if (ta == null) {
+            // Must search among attributes of the created block
+            AvatarAttribute aatmp =  _ab.getAvatarAttributeWithName(_name);
+            if (aatmp != null) {
+                _aaos.addValue(aatmp.getName());
+                return;
+            }
+
+
             UICheckingError ce = new UICheckingError(CheckingError.BEHAVIOR_ERROR, "Badly formed parameter: " + _name + " in signal expression: " + _idOperator);
             // TODO: adapt
             // ce.setAvatarBlock(_ab);
             ce.setTDiagramPanel(_tdp);
             ce.setTGComponent(_tgc);
             addCheckingError(ce);
-            TraceManager.addDev("not found");
+            TraceManager.addDev("not found " + _name + " in block " + _ab.getName()  + ". Attributes are:");
+            for(AvatarAttribute aa: _ab.getAttributes()) {
+                TraceManager.addDev("\t" + aa.getName());
+            }
+            TraceManager.addDev("\n");
             return;
         }
 
@@ -1587,6 +1601,7 @@ public class AvatarDesignPanelTranslator {
     private void translateAvatarSMDSendSignal(TDiagramPanel tdp, AvatarSpecification _as, AvatarStateMachineOwner _ab, AvatarSMDSendSignal asmdss) throws CheckingError {
         AvatarStateMachine asm = _ab.getStateMachine();
         avatartranslator.AvatarSignal atas = _ab.getAvatarSignalWithName(asmdss.getSignalName());
+
         if (atas == null)
             throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Unknown signal: " + asmdss.getSignalName());
 
@@ -1627,26 +1642,30 @@ public class AvatarDesignPanelTranslator {
                 throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Badly formed signal: " + asmdss.getValue());
 
             for (int i = 0; i < asmdss.getNbOfValues(); i++) {
-                String tmp = asmdss.getValue(i);
+                String tmp = modifyString(asmdss.getValue(i));
                 if (tmp.isEmpty())
                     throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Empty parameter in signal expression: " + asmdss.getValue());
 
                 this.manageAttribute(tmp, _ab, aaos, tdp, asmdss, asmdss.getValue());
             }
 
-            if (aaos.getNbOfValues() != atas.getListOfAttributes().size())
+            if (aaos.getNbOfValues() != atas.getListOfAttributes().size()) {
+                TraceManager.addDev("nb of values: " + aaos.getNbOfValues() + " size of list: " + atas.getListOfAttributes().size());
                 throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Badly formed signal sending: " + asmdss.getValue() + " -> nb of parameters does not match definition");
-
+            }
             // Checking expressions passed as parameter
             for (int i = 0; i < aaos.getNbOfValues(); i++) {
                 String theVal = aaos.getValue(i);
                 if (atas.getListOfAttributes().get(i).isInt()) {
-                    if (AvatarSyntaxChecker.isAValidIntExpr(_as, _ab, theVal) < 0)
-                        throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Badly formed signal receiving: " + asmdss.getValue() + " -> value at index #" + i + " does not match definition");
+                    if (AvatarSyntaxChecker.isAValidIntExpr(_as, _ab, modifyString(theVal)) < 0)
+                        //TraceManager.addDev("theVal=" + modifyString(theVal));
+                        throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Badly formed signal receiving: " + asmdss.getValue()
+                                + " -> value at index #" + i + " does not match definition");
                 } else {
                     // We assume it is a bool attribute
-                    if (AvatarSyntaxChecker.isAValidBoolExpr(_as, _ab, theVal) < 0)
-                        throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Badly formed signal receiving: " + asmdss.getValue() + " -> value at index #" + i + " does not match definition");
+                    if (AvatarSyntaxChecker.isAValidBoolExpr(_as, _ab, modifyString(theVal)) < 0)
+                        throw new CheckingError(CheckingError.BEHAVIOR_ERROR, "Badly formed signal receiving: " + asmdss.getValue()
+                                + " -> value at index #" + i + " does not match definition");
                 }
             }
 
@@ -2508,40 +2527,42 @@ public class AvatarDesignPanelTranslator {
             // Issue #69
             //TraceManager.addDev("Found connector in block " + block.getOwnerName() + " between " +
               //      connector.getTGComponent1() + " and " + connector.getTGComponent2());
-            if (prunedConectors.contains(connector)) {
-                TraceManager.addDev("******************************** PRUNED connector: " + connector);
-            } else {
-                //TraceManager.addDev("Must handle connector: " + connector);
-                FindNextEnabledAvatarSMDConnectingPointVisitor visitor = new FindNextEnabledAvatarSMDConnectingPointVisitor(prunedConectors, componentsToBeTranslated);
-                connector.getTGConnectingPointP1().acceptBackward(visitor);
-                final TGConnectingPoint conPoint1 = visitor.getEnabledComponentPoint();
-
-                if (conPoint1 != null) {
-                    visitor = new FindNextEnabledAvatarSMDConnectingPointVisitor(prunedConectors, componentsToBeTranslated);
-                    connector.getTGConnectingPointP2().acceptForward(visitor);
-                    final TGConnectingPoint conPoint2 = visitor.getEnabledComponentPoint();
-
-                    if (conPoint2 != null) {
-                        final TGComponent tgc1 = (TGComponent) conPoint1.getFather();//tdp.getComponentToWhichBelongs( connector.getTGConnectingPointP1() );
-                        final TGComponent tgc2 = (TGComponent) conPoint2.getFather();//tdp.getComponentToWhichBelongs( connector.getTGConnectingPointP2() );
-                        //                TGComponent tgc1 = asmdp.getComponentToWhichBelongs (asmdco.getTGConnectingPointP1());
-                        //                TGComponent tgc2 = asmdp.getComponentToWhichBelongs (asmdco.getTGConnectingPointP2());
-                        if (tgc1 == null || tgc2 == null) {
-                            TraceManager.addDev("TGCs nulls in Avatar translation");
-                        } else {
-                            final AvatarStateMachineElement element1 = (AvatarStateMachineElement) (listE.getObject(tgc1));
-                            final AvatarStateMachineElement element2 = (AvatarStateMachineElement) (listE.getObject(tgc2));
+            if (connector instanceof AvatarSMDConnector) {
+                if (prunedConectors.contains(connector)) {
+                    TraceManager.addDev("******************************** PRUNED connector: " + connector);
+                } else {
+                    //TraceManager.addDev("Must handle connector: " + connector);
+                    FindNextEnabledAvatarSMDConnectingPointVisitor visitor =
+                            new FindNextEnabledAvatarSMDConnectingPointVisitor(prunedConectors, componentsToBeTranslated);
+                    connector.getTGConnectingPointP1().acceptBackward(visitor);
+                    final TGConnectingPoint conPoint1 = visitor.getEnabledComponentPoint();
+
+                    if (conPoint1 != null) {
+                        visitor = new FindNextEnabledAvatarSMDConnectingPointVisitor(prunedConectors, componentsToBeTranslated);
+                        connector.getTGConnectingPointP2().acceptForward(visitor);
+                        final TGConnectingPoint conPoint2 = visitor.getEnabledComponentPoint();
+
+                        if (conPoint2 != null) {
+                            final TGComponent tgc1 = (TGComponent) conPoint1.getFather();//tdp.getComponentToWhichBelongs( connector.getTGConnectingPointP1() );
+                            final TGComponent tgc2 = (TGComponent) conPoint2.getFather();//tdp.getComponentToWhichBelongs( connector.getTGConnectingPointP2() );
+                            //                TGComponent tgc1 = asmdp.getComponentToWhichBelongs (asmdco.getTGConnectingPointP1());
+                            //                TGComponent tgc2 = asmdp.getComponentToWhichBelongs (asmdco.getTGConnectingPointP2());
+                            if (tgc1 == null || tgc2 == null) {
+                                TraceManager.addDev("TGCs nulls in Avatar translation");
+                            } else {
+                                final AvatarStateMachineElement element1 = (AvatarStateMachineElement) (listE.getObject(tgc1));
+                                final AvatarStateMachineElement element2 = (AvatarStateMachineElement) (listE.getObject(tgc2));
 
                             /*if (element1 == null || element2 == null) {
                                 TraceManager.addDev("**************** ERROR: one of the two elements is NULL");
                             }*/
 
-                            if (element1 != null && element2 != null) {
-                                final AvatarSMDConnector avatarSmdConnector = (AvatarSMDConnector) connector;
+                                if (element1 != null && element2 != null) {
+                                    final AvatarSMDConnector avatarSmdConnector = (AvatarSMDConnector) connector;
 
-                                //TraceManager.addDev("Handling connector");
+                                    //TraceManager.addDev("Handling connector");
 
-                                //if (asm.findEmptyTransition(element1, element2) == null) {
+                                    //if (asm.findEmptyTransition(element1, element2) == null) {
                                     //TraceManager.addDev("-- Empty transition");
                                     final AvatarTransition at = new AvatarTransition(_ab, "avatar transition", connector);
                                     createTransitionInfo(at, avatarSmdConnector);
@@ -2654,7 +2675,8 @@ public class AvatarDesignPanelTranslator {
                                         ce.setTGComponent(connector);
                                         addCheckingError(ce);
                                     }
-                                //}
+                                    //}
+                                }
                             }
                         }
                     }
diff --git a/src/main/java/ui/AvatarSignal.java b/src/main/java/ui/AvatarSignal.java
index 5017db499b4a4570e5b87c9879827641b8142ad2..5bfcb6544c519671ab55aa92de6415e5e0afdcdb 100644
--- a/src/main/java/ui/AvatarSignal.java
+++ b/src/main/java/ui/AvatarSignal.java
@@ -105,6 +105,7 @@ public class AvatarSignal extends AvatarMethod {
             _content = Conversion.replaceAllString(_content, "#", "(");
             _content = Conversion.replaceAllString(_content, ",", "#int ");
             _content = Conversion.replaceAllString(_content, "#", ",");
+            _content = Conversion.replaceAllString(_content, ".", "");
         }
         TraceManager.addDev("content:" + _content);
         return (isAValidMethod(_content) != null);
@@ -230,7 +231,9 @@ public class AvatarSignal extends AvatarMethod {
     }
 
     public static String getValue(String _value, int _index) {
+
         int nbOfValues = getNbOfValues(_value);
+
         if (nbOfValues < 1) {
             return null;
         }
diff --git a/src/main/java/ui/MainGUI.java b/src/main/java/ui/MainGUI.java
index 46d181ebe14f5b04f65118cfbac4116e7f055378..c080f47144df6b2fe05d37806ade29e4ebb86620 100644
--- a/src/main/java/ui/MainGUI.java
+++ b/src/main/java/ui/MainGUI.java
@@ -4964,7 +4964,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
                 SpecConfigTTool.AVATARExecutableCodeExecuteCommand, ConfigurationTTool.AVATARExecutableSoclibCodeCompileCommand,
                 ConfigurationTTool.AVATARExecutableSoclibCodeExecuteCommand, ConfigurationTTool.AVATARExecutableSoclibTraceFile);
         // jgen.setSize(500, 450);
-        GraphicLib.centerOnParent(jgen, 700, 600);
+        GraphicLib.centerOnParent(jgen, 800, 800);
         jgen.setVisible(true);
         dtree.toBeUpdated();
     }
diff --git a/src/main/java/ui/avatarbd/AvatarBDPragma.java b/src/main/java/ui/avatarbd/AvatarBDPragma.java
index 78248976a41dbc6f116dc40490f34b65d2df55e0..2bff7f31b632c5f7c5c19c2c4e079e560b0c5fb0 100755
--- a/src/main/java/ui/avatarbd/AvatarBDPragma.java
+++ b/src/main/java/ui/avatarbd/AvatarBDPragma.java
@@ -54,8 +54,8 @@ import ui.window.JDialogPragma;
 import javax.swing.*;
 import java.awt.*;
 import java.io.*;
-import java.util.*;
 import java.util.List;
+import java.util.*;
 
 /**
  * Class Pragma
@@ -71,8 +71,7 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
     protected List<String> models;
     protected List<String> properties;
     public List<String> syntaxErrors;
-//    protected int textX = 25;
-//    protected int textY = 5;
+
     protected int marginY = 20;
     protected int marginX = 20;
     protected int limit = 15;
@@ -102,7 +101,7 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
 
     public AvatarBDPragma(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) {
         super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp);
-        
+
         textX = 25;
         textY = 5;
         width = 200;
@@ -110,7 +109,7 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
         minWidth = 80;
         minHeight = 10;
         initScaling(200, 30);
-        
+
         models = new LinkedList<String>();
         properties = new LinkedList<String>();
         authStrongMap = new HashMap<String, Integer>();
@@ -164,28 +163,12 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
     @Override
     public void internalDrawing(Graphics g) {
         Font f = g.getFont();
-        Font fold = f;
-
-        /*if (!tdp.isScaled()) {
-          graphics = g;
-          }*/
-
-//        if (((rescaled) && (!tdp.isScaled())) || myFont == null) {
-//            currentFontSize = tdp.getFontSize() + 1;
-//            //
-//            //            myFont = f.deriveFont((float)currentFontSize);
-//            //myFontB = myFont.deriveFont(Font.BOLD);
-//
-//            if (rescaled) {
-//                rescaled = false;
-//            }
-//        }
+
 
         if (values == null) {
             makeValue();
         }
 
-//        int h  = g.getFontMetrics().getHeight();
         Color c = g.getColor();
 
         /* !!! WARNING !!!
@@ -206,16 +189,15 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
             for (int i = 0; i < values.length; i++)
                 desiredWidth = Math.max(desiredWidth, this.tdp.stringWidth(g, values[i]) + marginX + textX);
 
-            //	currentFontSize= 5;
-//            int desiredHeight = ((models.size() + properties.size() + 4) * currentFontSize) + textY + 1;
+            int desiredHeight = (properties.size() + 3 + models.size()) * currentFontSize + textY + 1;
 
-            //TraceManager.addDev("resize: " + desiredWidth + "," + desiredHeight);
-
-//            if ((desiredWidth != width) || (desiredHeight != height)) {
-//                resize(desiredWidth, desiredHeight);
-//            }
+            if ((desiredWidth != width) || (desiredHeight != height)) {
+                resize(desiredWidth, desiredHeight);
+            }
         }
 
+        // Must compute its width and height
+
         g.drawLine(x, y, x + width, y);
         g.drawLine(x, y, x, y + height);
         g.drawLine(x, y + height, x + width - limit, y + height); //down
@@ -242,8 +224,10 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
         int i = 1;
         Font heading = new Font("heading", Font.BOLD, this.tdp.getFontSize() * 7 / 6);
         g.setFont(heading);
+        currentFontSize = this.tdp.getFontSize() * 7 / 6;
         drawSingleString(g, "Security features", x + textX, y + textY + currentFontSize);
-        g.setFont(fold);
+        g.setFont(f);
+        currentFontSize = f.getSize();
         for (String s : models) {
             pragmaLocMap.put(s, y + textY + (i + 1) * currentFontSize);
             drawSingleString(g, s, x + textX, y + textY + (i + 1) * currentFontSize);
@@ -259,20 +243,19 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
         // FIXME: why the empty string ? 
         //I forget...
         //FIXME: issue #31 without the f.getSize it would glitch
-        currentFontSize = f.getSize();
         drawSingleString(g, " ", x + textX, y + textY + (i + 1) * currentFontSize);
         i++;
         g.drawLine(x, y + textY / 2 + i * currentFontSize, x + width, y + textY / 2 + i * currentFontSize);
         g.setFont(heading);
         drawSingleString(g, "Security Property", x + textX, y + textY + (i + 1) * currentFontSize);
-        g.setFont(fold);
+        g.setFont(f);
         i++;
 //		
         for (String s : properties) {
             if (authStrongMap.containsKey(s) || authWeakMap.containsKey(s)) {
                 g.setFont(new Font("tmp", Font.PLAIN, 7));
                 drawConfidentialityVerification(s, g, x + lockX, y + lockY + (i + 1) * currentFontSize);
-                g.setFont(fold);
+                g.setFont(f);
             }
             drawSingleString(g, s, x + textX, y + textY + (i + 1) * currentFontSize);
             pragmaLocMap.put(s, y + textY + i * currentFontSize);
@@ -286,11 +269,9 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
             i++;
         }
 
-/*        for (int i = 0; i<values.length; i++) {
-            //TraceManager.addDev("x+texX=" + (x + textX) + " y+textY=" + y + textY + i* h + ": " + values[i]);
-            drawSingleString(g, values[i], x + textX, y + textY + (i+1)* currentFontSize);
-        }
-*/
+
+
+
         g.setColor(c);
     }
 
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDLibraryFunctionCall.java b/src/main/java/ui/avatarsmd/AvatarSMDLibraryFunctionCall.java
index b96df028cd93decaf900142797253cb9a1bc338d..fc61f76ea5a0dbe6abfe01f7339f1076a54c475b 100644
--- a/src/main/java/ui/avatarsmd/AvatarSMDLibraryFunctionCall.java
+++ b/src/main/java/ui/avatarsmd/AvatarSMDLibraryFunctionCall.java
@@ -449,8 +449,10 @@ public class AvatarSMDLibraryFunctionCall extends AvatarSMDBasicCanBeDisabledCom
            (this.parameters.size () != this.libraryFunction.getParameters ().size () ||
             this.signals.size () != this.libraryFunction.getSignals().size () ||
             this.returnAttributes.size () != this.libraryFunction.getReturnAttributes().size ())) {
-            throw new MalformedModelingException ();
+            //throw new MalformedModelingException ();
         }
+
+
     }
 
     @Override
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDSendSignal.java b/src/main/java/ui/avatarsmd/AvatarSMDSendSignal.java
index 0182071c4f9d84412ccd6446fad4d71412b40643..d6b35c66ae5bf632586ce650e6301461bbc9fcc2 100644
--- a/src/main/java/ui/avatarsmd/AvatarSMDSendSignal.java
+++ b/src/main/java/ui/avatarsmd/AvatarSMDSendSignal.java
@@ -51,6 +51,7 @@ import javax.swing.JFrame;
 import javax.swing.JOptionPane;
 
 import myutil.GraphicLib;
+import myutil.TraceManager;
 import ui.AvatarSignal;
 import ui.BasicErrorHighlight;
 import ui.CheckableAccessibility;
@@ -378,11 +379,13 @@ public class AvatarSMDSendSignal extends AvatarSMDBasicCanBeDisabledComponent /*
 
     // Return -1 in case of error
     public int getNbOfValues() {
+		//TraceManager.addDev("value=" + value + " Nb of values " + AvatarSignal.getNbOfValues(value) + "");
         return AvatarSignal.getNbOfValues(value);
     }
 
     // Return null in case of error
     public String getValue(int _index) {
+    	TraceManager.addDev("Getting value " + _index + "");
         return AvatarSignal.getValue(value, _index);
     }
 
diff --git a/src/main/java/ui/interactivesimulation/JFrameTMLSimulationPanelTimeline.java b/src/main/java/ui/interactivesimulation/JFrameTMLSimulationPanelTimeline.java
index eef3a07152bd0f2fc19d09fa199463849dc52913..94c6572f5be58220528b83da6b27d3ada32702e3 100644
--- a/src/main/java/ui/interactivesimulation/JFrameTMLSimulationPanelTimeline.java
+++ b/src/main/java/ui/interactivesimulation/JFrameTMLSimulationPanelTimeline.java
@@ -12,12 +12,16 @@ import ui.TGState;
 
 import javax.swing.*;
 import javax.swing.text.AttributeSet;
+import javax.swing.text.BadLocationException;
+import javax.swing.text.Element;
+import javax.swing.text.ElementIterator;
 import javax.swing.text.html.HTML;
 import javax.swing.text.html.HTMLDocument;
 import java.awt.*;
 import java.awt.event.*;
 import java.io.File;
 import java.io.FileWriter;
+import java.util.HashMap;
 
 public class JFrameTMLSimulationPanelTimeline extends JFrame implements ActionListener {
 
@@ -38,6 +42,8 @@ public class JFrameTMLSimulationPanelTimeline extends JFrame implements ActionLi
     private JScrollPane jsp;
     private String zoomIndex = "";
     private String toolTipText = null;
+    private int X = 0, Y = 0, Y_AXIS_START = 0, maxPos =0, minPos = 0;;
+    private HashMap<Integer, Integer> timeMarkedPosition;
     private enum TransType{
         NONE,
         WRITE,
@@ -191,26 +197,81 @@ public class JFrameTMLSimulationPanelTimeline extends JFrame implements ActionLi
         timelinePane.add(split, BorderLayout.CENTER);
         timelinePane.add(commandTab, BorderLayout.SOUTH);
         framePanel.add(timelinePane, BorderLayout.NORTH);
+
         // Simulation panel
         sdpanel = new JEditorPane() {
-        @Override
-        public String getToolTipText(MouseEvent evt) {
-            toolTipText = null;
-            int pos = viewToModel(evt.getPoint());
-            if (pos >= 0) {
-                HTMLDocument hdoc = (HTMLDocument) sdpanel.getDocument();
-                javax.swing.text.Element e = hdoc.getCharacterElement(pos);
-                AttributeSet a = e.getAttributes();
-                if (a != null) {
-                    String href = (String) a.getAttribute(HTML.Attribute.TITLE);
-                    if (href != null) {
-                        toolTipText = href;
+            @Override
+            public String getToolTipText(MouseEvent evt) {
+                toolTipText = null;
+                int pos = viewToModel(evt.getPoint());
+                if (pos >= 0) {
+                    HTMLDocument hdoc = (HTMLDocument) sdpanel.getDocument();
+                    javax.swing.text.Element e = hdoc.getCharacterElement(pos);
+                    AttributeSet a = e.getAttributes();
+                    if (a != null) {
+                        String href = (String) a.getAttribute(HTML.Attribute.TITLE);
+                        if (href != null) {
+                            toolTipText = href;
+                        }
                     }
                 }
+                return toolTipText;
             }
-            return toolTipText;
-        }
-    };
+
+            @Override
+            public void paintComponent(Graphics g) {
+                super.paintComponent(g);
+                if (timeMarkedPosition != null) {
+                    Graphics2D g2 = (Graphics2D) g;
+                    float dash[] = { 10.0f };
+                    g2.setStroke(new BasicStroke(3.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f, dash, 0.0f));
+                    g2.setColor(new Color(2, 68, 2));
+                    if (Y_AXIS_START != 0) {
+                        int drawPoint = 0;
+                        try {
+                            drawPoint = modelToView(Y_AXIS_START).y;
+                        } catch (BadLocationException e) {
+                            drawPoint = 130;
+                        }
+                        g2.drawLine(X, drawPoint, X, drawPoint + sdpanel.getHeight());
+                    } else {
+                        g2.drawLine(X, 130, X, 130 + sdpanel.getHeight());
+                    }
+
+                    int pos = viewToModel(new Point(X,Y));
+                    if (pos >= 0) {
+
+                        try {
+                            if(timeMarkedPosition.keySet().contains(pos) && Math.abs(modelToView(pos).x - X) < 3) {
+                                g2.drawString("Time: " + timeMarkedPosition.get(pos), X, Y);
+                                g2.dispose();
+                            } else if (!timeMarkedPosition.keySet().contains(pos)) {
+                                int postStart = pos - 1;
+                                int postEnd = pos + 1;
+                                while (!timeMarkedPosition.keySet().contains(postStart) && postStart > minPos) {
+                                    postStart --;
+                                }
+
+                                while (!timeMarkedPosition.keySet().contains(postEnd) && postEnd < maxPos) {
+                                    postEnd ++;
+                                }
+
+                                if (timeMarkedPosition.keySet().contains(postStart) && timeMarkedPosition.keySet().contains(postEnd) && timeMarkedPosition.get(postStart) < timeMarkedPosition.get(postEnd)) {
+                                    int value = timeMarkedPosition.get(postStart) + (int)(((float)(timeMarkedPosition.get(postEnd) - timeMarkedPosition.get(postStart))/(modelToView(postEnd).x - modelToView(postStart).x)) * (X - modelToView(postStart).x));
+                                    g2.drawString("Time: " + value, X, Y);
+                                    g2.dispose();
+                                }
+                            }
+
+                        } catch (BadLocationException e) {
+                            System.out.println("Calculating time value ...");
+                        }
+                    }
+                }
+
+            }
+        };
+
         sdpanel.addMouseListener(new MouseAdapter() {
 
             @Override
@@ -255,6 +316,22 @@ public class JFrameTMLSimulationPanelTimeline extends JFrame implements ActionLi
                 }
             }
         });
+
+        sdpanel.addMouseMotionListener(new MouseMotionListener() {
+            @Override
+            public void mouseDragged(MouseEvent mouseEvent) {
+
+            }
+
+            @Override
+            public void mouseMoved(MouseEvent e) {
+                X = e.getX();
+                Y = e.getY();
+                repaint();
+                return;
+            }
+        });
+
         sdpanel.setEditable(false);
         sdpanel.setContentType("text/html");
         sdpanel.setEditorKit(new LargeHTMLEditorKit());
@@ -284,7 +361,6 @@ public class JFrameTMLSimulationPanelTimeline extends JFrame implements ActionLi
         info.setForeground(ColorManager.InteractiveSimulationText_UNKNOWN);
         jp02.add(info);
 
-
         pack();
     }
 
@@ -406,16 +482,49 @@ public class JFrameTMLSimulationPanelTimeline extends JFrame implements ActionLi
         }
     }
 
+    private void collectTimeStamp() {
+        //for store all element
+        if(sdpanel != null && sdpanel.getDocument() != null) {
+            timeMarkedPosition = new HashMap<>();
+            HTMLDocument hdoc = (HTMLDocument) sdpanel.getDocument();
+            ElementIterator iterator = new ElementIterator(hdoc);
+            Element element;
+            maxPos = 0;
+            minPos = Integer.MAX_VALUE;
+            Y_AXIS_START = 0;
+            while ((element = iterator.next()) != null) {
+                int startOffset = element.getStartOffset();
+                int endOffset = element.getEndOffset();
+                int length = endOffset - startOffset;
+                try {
+                    String temp = hdoc.getText(startOffset, length);
+                    if (temp.equals("Time")) {
+                        Y_AXIS_START = startOffset;
+                    }
+                    int num = Integer.parseInt(temp);
+                    if (num > maxPos) maxPos = num;
+                    if (num < minPos) minPos = num;
+                    timeMarkedPosition.put(startOffset,num);
+                } catch (NumberFormatException err) {
+                    // not an integer.
+                } catch (BadLocationException badLocationException) {
+                    System.out.println("Some content was not retrieved.");
+                }
+            }
+        }
+    }
+
     public void setServerReply(String content) {
         try {
             filePath = content;
             sdpanel.setText(content);
             sdpanel.setCaretPosition(0);
+            collectTimeStamp();
             jsp.getVerticalScrollBar().setValue(0);
             jsp.getHorizontalScrollBar().setValue(0);
             jsp.repaint();
         } catch (Exception e) {
-            System.out.println(e.toString());
+            e.printStackTrace();
         }
     }
 
@@ -437,6 +546,7 @@ public class JFrameTMLSimulationPanelTimeline extends JFrame implements ActionLi
             info.setForeground(ColorManager.InteractiveSimulationText_READY);
         }
     }
+
     public TransType getTypeOfTransactions(String trans) {
         if (trans.toLowerCase().contains("write")) return TransType.WRITE;
         else if (trans.toLowerCase().contains("read")) return TransType.READ;
diff --git a/src/main/java/ui/util/DefaultText.java b/src/main/java/ui/util/DefaultText.java
index 6147bbf8a4218115e8dfcaf745750223a9e85804..e7d99f78a229bd44baf8b7522a7032f9e8cc8ddf 100755
--- a/src/main/java/ui/util/DefaultText.java
+++ b/src/main/java/ui/util/DefaultText.java
@@ -50,8 +50,8 @@ package ui.util;
  */
 public class DefaultText {
 
-    public static String BUILD = "13599";
-    public static String DATE = "2020/11/26 03:15:26 CET";
+    public static String BUILD = "13608";
+    public static String DATE = "2020/12/10 03:16:12 CET";
 
     public static StringBuffer sbAbout = makeAbout();
 
diff --git a/src/main/java/ui/window/JDialogAvatarModelChecker.java b/src/main/java/ui/window/JDialogAvatarModelChecker.java
index d19ea9ce22654297225aac2970e56acc828a75cb..29960baff2eca2811f53b532ddb8de37fd88c4b3 100644
--- a/src/main/java/ui/window/JDialogAvatarModelChecker.java
+++ b/src/main/java/ui/window/JDialogAvatarModelChecker.java
@@ -314,6 +314,8 @@ public class JDialogAvatarModelChecker extends javax.swing.JFrame implements Act
         wordRepresentationBox.addActionListener(this);
         jp01.add(wordRepresentationBox, c01);
 
+        TraceManager.addDev("hello");
+
         c01.gridwidth = 1;
         jp01.add(new JLabel("Max nb of threads:"), c01);
         c01.gridwidth = GridBagConstraints.REMAINDER;
diff --git a/src/main/java/ui/window/JDialogSMDLibraryFunctionCall.java b/src/main/java/ui/window/JDialogSMDLibraryFunctionCall.java
index cb09fcc19602e09b2eae5a9a954f7354f2e6445b..efeb12bfd543bd0df0ade0d1da4d833607d39a4f 100644
--- a/src/main/java/ui/window/JDialogSMDLibraryFunctionCall.java
+++ b/src/main/java/ui/window/JDialogSMDLibraryFunctionCall.java
@@ -120,13 +120,18 @@ public class JDialogSMDLibraryFunctionCall extends JDialogBase implements Action
         if (this.libraryFunction != null) {
             this.parameters = new TAttribute [this.libraryFunction.getParameters ().size ()];
             int i=0;
-            for (TAttribute attr: this.functionCall.getParameters ())
-                this.parameters[i++] = attr;
+            for (TAttribute attr: this.functionCall.getParameters ()) {
+                if (i<this.libraryFunction.getParameters ().size ())
+                    this.parameters[i++] = attr;
+            }
 
             this.signals = new AvatarSignal [this.libraryFunction.getSignals ().size ()];
             i=0;
-            for (AvatarSignal signal: this.functionCall.getSignals ())
-                this.signals[i++] = signal;
+            for (AvatarSignal signal: this.functionCall.getSignals ()) {
+                if (i<this.libraryFunction.getSignals ().size ()) {
+                    this.signals[i++] = signal;
+                }
+            }
 
             this.returnAttributes = new TAttribute [this.libraryFunction.getReturnAttributes ().size ()];
             i=0;
diff --git a/src/main/resources/help/helpTable.txt b/src/main/resources/help/helpTable.txt
index 4ce26875daed1969251c8bad8518e1932c27e8af..95637bd168bdd8f6c2feb444ded1b2a9232c11a2 100644
--- a/src/main/resources/help/helpTable.txt
+++ b/src/main/resources/help/helpTable.txt
@@ -37,3 +37,4 @@
 -- avatarsoftwaredesign software_design avatar blocks software design
 --- avatarbd avatar_block_diagram design software blocks
 ---- avatarsafetypragmas safety_properties safety properties pragmas ctl
+---- reachabilitygraph reachability_graph reachability graph display show nodes edges node edge
diff --git a/src/main/resources/help/reachabilitygraph.html b/src/main/resources/help/reachabilitygraph.html
new file mode 100644
index 0000000000000000000000000000000000000000..6308f762b07250d101970723d07c12b7def5cd47
--- /dev/null
+++ b/src/main/resources/help/reachabilitygraph.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
+<head>
+  <meta charset="utf-8" />
+  <meta name="generator" content="pandoc" />
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+  <title>TTool help</title>
+  <style>
+      code{white-space: pre-wrap;}
+      span.smallcaps{font-variant: small-caps;}
+      span.underline{text-decoration: underline;}
+      div.column{display: inline-block; vertical-align: top; width: 50%;}
+  </style>
+  <!--[if lt IE 9]>
+    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
+  <![endif]-->
+</head>
+<body>
+<h1 id="reachability-graphs">Reachability graphs</h1>
+<h2 id="how-to-generate-a-reachability-graph">How to generate a reachability graph?</h2>
+<p>Reachability Graphs can be created by using the internal model-checker of TTool. This video on formal verification details the steps to generate a RG: https://www.youtube.com/watch?v=8IYJ1UDUbvQ</p>
+<h2 id="working-with-rgs">Working with RGs</h2>
+<p>Once a RG has been generated, it is listed in the left tree, sectiopn “R. graphs”. A righ click on a RG offers several options: - Getting statistics on the graph - Displaying the graph - Minimizing the graph</p>
+<h2 id="displaying-the-graph">Displaying the graph</h2>
+<p>A RG is displayed with an external library called “GraphStream” provided with TTool. A RG can displayed only if its number of states and transitions is of reasonable size. Usually, more than 500 states or transitions will make the displaying slow and useless.</p>
+<p>The displaying of graphs can be customized using a CSS specification added to the configuration file of TTool. Below is provided an example of such a specification. All the CSS directives given in https://graphstream-project.org/doc/Advanced-Concepts/GraphStream-CSS-Reference/ can be used in this definition.</p>
+<pre><code>&lt;RGStyleSheet data=&quot;
+node {fill-color: #B1CAF1; text-color: black; size: 20px, 20px; text-size:14;}     
+node.deadlock {fill-color: red; text-color: white; size: 20px, 20px; text-size:16;}    
+node.init { fill-color: green; text-color: black; size: 20px, 20px; text-size:16;}
+edge {text-color: black; shape: cubic-curve; text-size:10;}    
+edge.defaultedge {text-size:10; text-color:black;}  
+edge.external {text-color:blue; text-size:14; text-offset: -20, -20; text-alignment: along;}&quot; /&gt;</code></pre>
+<ul>
+<li><em>node.init</em> corresponds to the first node of the graph. Here, it is colored in green</li>
+<li><em>node.deadlock</em> corresponds to nodes with no output transitions. They are colored in red.</li>
+<li><em>node</em> corresponds to other nodes. They are colors with RGB color “B1CAF1”</li>
+<li><em>edge</em> defines the characteristics of the normal edges.</li>
+<li>*edge.defaultedge defines the specification of edges with internal actions, i.e. with no communication action</li>
+<li><em>edge.external</em> refers to edges used for communications between blocks.</li>
+</ul>
+</body>
+</html>
diff --git a/src/main/resources/help/reachabilitygraph.md b/src/main/resources/help/reachabilitygraph.md
new file mode 100644
index 0000000000000000000000000000000000000000..7cfd7b891ae6b878f0e2b7ab75f1d665798a18dd
--- /dev/null
+++ b/src/main/resources/help/reachabilitygraph.md
@@ -0,0 +1,42 @@
+# Reachability graphs
+
+## How to generate a reachability graph?
+ Reachability Graphs can be created by using the internal model-checker of TTool.
+This video on formal verification  details the steps to generate a RG: https://www.youtube.com/watch?v=8IYJ1UDUbvQ
+
+
+## Working with RGs
+
+Once a RG has been generated, it is listed in the left tree, sectiopn "R. graphs". A righ click on a RG offers several options:
+- Getting statistics on the graph
+- Displaying the graph
+- Minimizing the graph
+
+## Displaying the graph
+
+A RG is displayed with an external library called "GraphStream" provided with TTool. A RG can displayed only if its number of states and transitions is of reasonable size. Usually, more than 500 states or transitions will make the displaying slow and useless.
+
+The displaying of graphs can be customized using a CSS specification added to the configuration file of TTool. Below is provided an example of such a specification. All the CSS directives given in https://graphstream-project.org/doc/Advanced-Concepts/GraphStream-CSS-Reference/ can be used in this definition.
+
+    <RGStyleSheet data="
+    node {fill-color: #B1CAF1; text-color: black; size: 20px, 20px; text-size:14;}     
+    node.deadlock {fill-color: red; text-color: white; size: 20px, 20px; text-size:16;}    
+    node.init { fill-color: green; text-color: black; size: 20px, 20px; text-size:16;}
+    edge {text-color: black; shape: cubic-curve; text-size:10;}    
+    edge.defaultedge {text-size:10; text-color:black;}  
+    edge.external {text-color:blue; text-size:14; text-offset: -20, -20; text-alignment: along;}" />
+
+- *node.init* corresponds to the first node of the graph. Here, it is colored in green
+- *node.deadlock* corresponds to nodes with no output transitions. They are colored in red.
+- *node* corresponds to other nodes. They are colors with RGB color "B1CAF1"
+- *edge* defines the characteristics of the normal edges.
+- *edge.defaultedge defines the specification of edges with internal actions, i.e. with no communication action
+- *edge.external* refers to edges used for communications between blocks.
+
+
+
+
+
+
+
+
diff --git a/ttool/src/test/java/avatartranslator/AvatarExpressionTest.java b/ttool/src/test/java/avatartranslator/AvatarExpressionTest.java
index 47651042740d730d8693273a338a461c7c0c7176..800b57d30ac14f3144f300af7c68839c9158d2c8 100644
--- a/ttool/src/test/java/avatartranslator/AvatarExpressionTest.java
+++ b/ttool/src/test/java/avatartranslator/AvatarExpressionTest.java
@@ -182,7 +182,24 @@ public class AvatarExpressionTest {
         int[] attributes = {2, 3, 7, 0, 1};
         
         AvatarExpressionSolver.emptyAttributesMap();
-        
+
+        String expr = "x + y";
+        assertTrue(AvatarExpressionSolver.indexOfVariable(expr, "x") == 0);
+        assertTrue(AvatarExpressionSolver.indexOfVariable(expr, "y") == 4);
+        assertTrue(AvatarExpressionSolver.indexOfVariable(expr, "z") == -1);
+        assertTrue(AvatarExpressionSolver.indexOfVariable("xx+xxx", "x") == -1);
+        assertTrue(AvatarExpressionSolver.indexOfVariable("xx==xxx", "x") == -1);
+        assertTrue(AvatarExpressionSolver.indexOfVariable("xx==x", "x") == 4);
+        assertTrue(AvatarExpressionSolver.indexOfVariable("x==xx", "x") == 0);
+        assertTrue(AvatarExpressionSolver.indexOfVariable("x+1==xx", "x") == 0);
+
+        System.out.println("Solver: " + AvatarExpressionSolver.replaceVariable("x==y", "x", "z"));
+        assertTrue(AvatarExpressionSolver.replaceVariable("x==y", "x", "z").equals("z==y"));
+        assertTrue(AvatarExpressionSolver.replaceVariable("xx==y", "x", "z").equals("xx==y"));
+        assertTrue(AvatarExpressionSolver.replaceVariable("xx==x", "x", "z").equals("xx==z"));
+        assertTrue(AvatarExpressionSolver.replaceVariable("(foo==foo1)", "foo", "foo").equals("(foo==foo1)"));
+        assertTrue(AvatarExpressionSolver.replaceVariable("(foo==foo1)", "foo", "foo1").equals("(foo1==foo1)"));
+
         AvatarExpressionSolver e1 = new AvatarExpressionSolver("x + y");
         assertTrue(e1.buildExpression(block1));
         AvatarExpressionSolver e2 = new AvatarExpressionSolver("-x / y - 15 * z + 1 == -31");
@@ -234,9 +251,10 @@ public class AvatarExpressionTest {
         SpecificationState ss = new SpecificationState();
         ss.setInit(as, false);
         AvatarExpressionSolver.emptyAttributesMap();
-        
+
         AvatarExpressionSolver e1 = new AvatarExpressionSolver("block1.x + block2.y");
         assertTrue(e1.buildExpression(as));
+
         AvatarExpressionSolver e2 = new AvatarExpressionSolver("-block1.x / block1.y - 15 * block2.z + 1 == -46");
         assertTrue(AvatarExpressionSolver.containsElementAttribute(block1.getAttribute(0)));
         assertTrue(AvatarExpressionSolver.containsElementAttribute(block2.getAttribute(1)));
@@ -273,4 +291,6 @@ public class AvatarExpressionTest {
         assertTrue(e4.getResult(ss) == -2);
     }
 
+
+
 }
diff --git a/ttool/src/test/java/cli/CLIAvatarModelCheckerTest.java b/ttool/src/test/java/cli/CLIAvatarModelCheckerTest.java
index d0ab5a49a4eafe94422fc3d333be7ad3cac36211..f01944f5b093b74da932b712f72a5b3e36b0282b 100644
--- a/ttool/src/test/java/cli/CLIAvatarModelCheckerTest.java
+++ b/ttool/src/test/java/cli/CLIAvatarModelCheckerTest.java
@@ -115,6 +115,10 @@ public class CLIAvatarModelCheckerTest extends AbstractTest implements Interpret
 
 
 	}
+
+
+
+
 	
 	@Test
     public void testStateLimitCoffeeMachine() {
@@ -337,4 +341,42 @@ public class CLIAvatarModelCheckerTest extends AbstractTest implements Interpret
         assertEquals(expectedOutput, outputResult.toString()+"\n");
     }
 
+    @Test
+    public void testAdvancedRandom() {
+	    System.out.println("advanced random model checker test");
+        String filePath = getBaseResourcesDir() + PATH_TO_TEST_FILE + "scriptmodelcheckerrandom";
+        String script;
+
+        outputResult = new StringBuilder();
+
+        File f = new File(filePath);
+        assertTrue(myutil.FileUtils.checkFileForOpen(f));
+
+        script = myutil.FileUtils.loadFileData(f);
+
+        assertTrue(script.length() > 0);
+
+        boolean show = false;
+        Interpreter interpret = new Interpreter(script, (InterpreterOutputInterface)this, show);
+        interpret.interpret();
+        System.out.println("Graph generated");
+
+        // Must now load the graph
+        filePath = "rgmodelcheckerrandom.aut";
+        f = new File(filePath);
+        assertTrue(myutil.FileUtils.checkFileForOpen(f));
+        String data = myutil.FileUtils.loadFileData(f);
+
+        assertTrue(data.length() > 0);
+        AUTGraph graph = new AUTGraph();
+        graph.buildGraph(data);
+        graph.computeStates();
+
+        System.out.println("random Cstates=" + graph.getNbOfStates() + " transitions=" + graph.getNbOfTransitions());
+        assertTrue(graph.getNbOfStates() == 6);
+        assertTrue(graph.getNbOfTransitions() == 5);
+
+
+    }
+
 }
diff --git a/ttool/src/test/resources/cli/input/scriptmodelcheckerrandom b/ttool/src/test/resources/cli/input/scriptmodelcheckerrandom
new file mode 100644
index 0000000000000000000000000000000000000000..86695fe2be9b9b7a6d55b637ee04a3e29ca92391
--- /dev/null
+++ b/ttool/src/test/resources/cli/input/scriptmodelcheckerrandom
@@ -0,0 +1,11 @@
+print dir
+set model resources/test/cli/models/testMCRandom.xml
+#print The model to be opened is: $model
+action start
+wait 2
+#toto
+action open $model
+wait 4
+action check-syntax
+action avatar-rg -g rgmodelcheckerrandom.aut
+action quit
diff --git a/ttool/src/test/resources/cli/models/testMCRandom.xml b/ttool/src/test/resources/cli/models/testMCRandom.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6a4ee7080a0e47c49fa443f8a3693b0fcfb2ea19
--- /dev/null
+++ b/ttool/src/test/resources/cli/models/testMCRandom.xml
@@ -0,0 +1,1028 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="true" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="0" LAST_SELECTED_SUB_TAB="2">
+
+<Modeling type="AVATAR Design" nameTab="Design" tabs="Block Diagram$MainBlock$Receiver" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
+<MainCode value="void __user_init() {"/>
+<MainCode value="}"/>
+<Optimized value="true" />
+<considerTimingOperators value="true" />
+<Validated value="Receiver;MainBlock;" />
+<Ignored value="" />
+
+<CONNECTOR type="5002" id="2" >
+<cdparam x="416" y="179" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="1" />
+<P1  x="416" y="179" id="32" />
+<P2  x="641" y="189" id="6" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<isd value="in mysig(int x)" />
+<oso value="out mysig(int x)" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<COMPONENT type="5000" id="27" >
+<cdparam x="641" y="89" />
+<sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block0" value="Receiver" />
+<TGConnectingPoint num="0" id="3" />
+<TGConnectingPoint num="1" id="4" />
+<TGConnectingPoint num="2" id="5" />
+<TGConnectingPoint num="3" id="6" />
+<TGConnectingPoint num="4" id="7" />
+<TGConnectingPoint num="5" id="8" />
+<TGConnectingPoint num="6" id="9" />
+<TGConnectingPoint num="7" id="10" />
+<TGConnectingPoint num="8" id="11" />
+<TGConnectingPoint num="9" id="12" />
+<TGConnectingPoint num="10" id="13" />
+<TGConnectingPoint num="11" id="14" />
+<TGConnectingPoint num="12" id="15" />
+<TGConnectingPoint num="13" id="16" />
+<TGConnectingPoint num="14" id="17" />
+<TGConnectingPoint num="15" id="18" />
+<TGConnectingPoint num="16" id="19" />
+<TGConnectingPoint num="17" id="20" />
+<TGConnectingPoint num="18" id="21" />
+<TGConnectingPoint num="19" id="22" />
+<TGConnectingPoint num="20" id="23" />
+<TGConnectingPoint num="21" id="24" />
+<TGConnectingPoint num="22" id="25" />
+<TGConnectingPoint num="23" id="26" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="x" value="" type="8" typeOther="" />
+<Signal value="in mysig(int x)" attached="true" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="52" >
+<cdparam x="166" y="79" />
+<sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block0" value="MainBlock" />
+<TGConnectingPoint num="0" id="28" />
+<TGConnectingPoint num="1" id="29" />
+<TGConnectingPoint num="2" id="30" />
+<TGConnectingPoint num="3" id="31" />
+<TGConnectingPoint num="4" id="32" />
+<TGConnectingPoint num="5" id="33" />
+<TGConnectingPoint num="6" id="34" />
+<TGConnectingPoint num="7" id="35" />
+<TGConnectingPoint num="8" id="36" />
+<TGConnectingPoint num="9" id="37" />
+<TGConnectingPoint num="10" id="38" />
+<TGConnectingPoint num="11" id="39" />
+<TGConnectingPoint num="12" id="40" />
+<TGConnectingPoint num="13" id="41" />
+<TGConnectingPoint num="14" id="42" />
+<TGConnectingPoint num="15" id="43" />
+<TGConnectingPoint num="16" id="44" />
+<TGConnectingPoint num="17" id="45" />
+<TGConnectingPoint num="18" id="46" />
+<TGConnectingPoint num="19" id="47" />
+<TGConnectingPoint num="20" id="48" />
+<TGConnectingPoint num="21" id="49" />
+<TGConnectingPoint num="22" id="50" />
+<TGConnectingPoint num="23" id="51" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" id="x" value="" type="8" typeOther="" />
+<Signal value="out mysig(int x)" attached="true" />
+</extraparam>
+</COMPONENT>
+
+
+</AVATARBlockDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="MainBlock" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="59" >
+<cdparam x="407" y="70" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="58" />
+<P1  x="407" y="60" id="90" />
+<P2  x="407" y="101" id="87" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="57" >
+<father id="59" num="0" />
+<cdparam x="358" y="83" />
+<sizeparam width="33" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="53" />
+<TGConnectingPoint num="1" id="54" />
+<TGConnectingPoint num="2" id="55" />
+<TGConnectingPoint num="3" id="56" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="x = 5" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="66" >
+<cdparam x="407" y="131" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="65" />
+<P1  x="407" y="131" id="88" />
+<P2  x="407" y="153" id="76" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="64" >
+<father id="66" num="0" />
+<cdparam x="411" y="141" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="60" />
+<TGConnectingPoint num="1" id="61" />
+<TGConnectingPoint num="2" id="62" />
+<TGConnectingPoint num="3" id="63" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="73" >
+<cdparam x="407" y="183" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="72" />
+<P1  x="407" y="183" id="77" />
+<P2  x="407" y="207" id="74" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="71" >
+<father id="73" num="0" />
+<cdparam x="408" y="195" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="67" />
+<TGConnectingPoint num="1" id="68" />
+<TGConnectingPoint num="2" id="69" />
+<TGConnectingPoint num="3" id="70" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5101" id="75" >
+<cdparam x="397" y="212" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="74" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="86" >
+<cdparam x="378" y="158" />
+<sizeparam width="58" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="mysig(x)" />
+<TGConnectingPoint num="0" id="76" />
+<TGConnectingPoint num="1" id="77" />
+<TGConnectingPoint num="2" id="78" />
+<TGConnectingPoint num="3" id="79" />
+<TGConnectingPoint num="4" id="80" />
+<TGConnectingPoint num="5" id="81" />
+<TGConnectingPoint num="6" id="82" />
+<TGConnectingPoint num="7" id="83" />
+<TGConnectingPoint num="8" id="84" />
+<TGConnectingPoint num="9" id="85" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="89" >
+<cdparam x="292" y="106" />
+<sizeparam width="231" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="TGComponent" value="null" />
+<TGConnectingPoint num="0" id="87" />
+<TGConnectingPoint num="1" id="88" />
+<extraparam>
+<Data variable="x" minValue="x" maxValue="x+10*x-40+x-x" functionId="1" extraAttribute1="" extraAttribute2="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="91" >
+<cdparam x="400" y="40" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="90" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="Receiver" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="98" >
+<cdparam x="352" y="284" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="97" />
+<P1  x="352" y="284" id="454" />
+<P2  x="212" y="337" id="167" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="96" >
+<father id="98" num="0" />
+<cdparam x="296" y="311" />
+<sizeparam width="45" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="92" />
+<TGConnectingPoint num="1" id="93" />
+<TGConnectingPoint num="2" id="94" />
+<TGConnectingPoint num="3" id="95" />
+<extraparam>
+<guard value="[ x &lt; 5]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="105" >
+<cdparam x="462" y="291" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="104" />
+<P1  x="462" y="291" id="437" />
+<P2  x="741" y="412" id="215" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="103" >
+<father id="105" num="0" />
+<cdparam x="601" y="351" />
+<sizeparam width="53" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="99" />
+<TGConnectingPoint num="1" id="100" />
+<TGConnectingPoint num="2" id="101" />
+<TGConnectingPoint num="3" id="102" />
+<extraparam>
+<guard value="[ x &gt; 15]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="112" >
+<cdparam x="407" y="70" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="111" />
+<P1  x="407" y="70" id="590" />
+<P2  x="410" y="90" id="566" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="110" >
+<father id="112" num="0" />
+<cdparam x="410" y="80" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="106" />
+<TGConnectingPoint num="1" id="107" />
+<TGConnectingPoint num="2" id="108" />
+<TGConnectingPoint num="3" id="109" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="119" >
+<cdparam x="429" y="140" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="118" />
+<P1  x="429" y="140" id="555" />
+<P2  x="437" y="173" id="506" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="117" >
+<father id="119" num="0" />
+<cdparam x="433" y="156" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="113" />
+<TGConnectingPoint num="1" id="114" />
+<TGConnectingPoint num="2" id="115" />
+<TGConnectingPoint num="3" id="116" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="126" >
+<cdparam x="437" y="203" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="125" />
+<P1  x="437" y="203" id="507" />
+<P2  x="434" y="266" id="474" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="124" >
+<father id="126" num="0" />
+<cdparam x="432" y="234" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="120" />
+<TGConnectingPoint num="1" id="121" />
+<TGConnectingPoint num="2" id="122" />
+<TGConnectingPoint num="3" id="123" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="133" >
+<cdparam x="352" y="316" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="132" />
+<P1  x="352" y="316" id="470" />
+<P2  x="337" y="412" id="394" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="131" >
+<father id="133" num="0" />
+<cdparam x="339" y="364" />
+<sizeparam width="53" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="127" />
+<TGConnectingPoint num="1" id="128" />
+<TGConnectingPoint num="2" id="129" />
+<TGConnectingPoint num="3" id="130" />
+<extraparam>
+<guard value="[ x &lt; 10]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="140" >
+<cdparam x="462" y="316" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="139" />
+<P1  x="462" y="316" id="472" />
+<P2  x="498" y="414" id="336" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="138" >
+<father id="140" num="0" />
+<cdparam x="468" y="365" />
+<sizeparam width="53" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="134" />
+<TGConnectingPoint num="1" id="135" />
+<TGConnectingPoint num="2" id="136" />
+<TGConnectingPoint num="3" id="137" />
+<extraparam>
+<guard value="[ x &lt; 15]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5106" id="213" >
+<cdparam x="112" y="306" />
+<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="LessThan5" />
+<TGConnectingPoint num="0" id="141" />
+<TGConnectingPoint num="1" id="142" />
+<TGConnectingPoint num="2" id="143" />
+<TGConnectingPoint num="3" id="144" />
+<TGConnectingPoint num="4" id="145" />
+<TGConnectingPoint num="5" id="146" />
+<TGConnectingPoint num="6" id="147" />
+<TGConnectingPoint num="7" id="148" />
+<TGConnectingPoint num="8" id="149" />
+<TGConnectingPoint num="9" id="150" />
+<TGConnectingPoint num="10" id="151" />
+<TGConnectingPoint num="11" id="152" />
+<TGConnectingPoint num="12" id="153" />
+<TGConnectingPoint num="13" id="154" />
+<TGConnectingPoint num="14" id="155" />
+<TGConnectingPoint num="15" id="156" />
+<TGConnectingPoint num="16" id="157" />
+<TGConnectingPoint num="17" id="158" />
+<TGConnectingPoint num="18" id="159" />
+<TGConnectingPoint num="19" id="160" />
+<TGConnectingPoint num="20" id="161" />
+<TGConnectingPoint num="21" id="162" />
+<TGConnectingPoint num="22" id="163" />
+<TGConnectingPoint num="23" id="164" />
+<TGConnectingPoint num="24" id="165" />
+<TGConnectingPoint num="25" id="166" />
+<TGConnectingPoint num="26" id="167" />
+<TGConnectingPoint num="27" id="168" />
+<TGConnectingPoint num="28" id="169" />
+<TGConnectingPoint num="29" id="170" />
+<TGConnectingPoint num="30" id="171" />
+<TGConnectingPoint num="31" id="172" />
+<TGConnectingPoint num="32" id="173" />
+<TGConnectingPoint num="33" id="174" />
+<TGConnectingPoint num="34" id="175" />
+<TGConnectingPoint num="35" id="176" />
+<TGConnectingPoint num="36" id="177" />
+<TGConnectingPoint num="37" id="178" />
+<TGConnectingPoint num="38" id="179" />
+<TGConnectingPoint num="39" id="180" />
+<TGConnectingPoint num="40" id="181" />
+<TGConnectingPoint num="41" id="182" />
+<TGConnectingPoint num="42" id="183" />
+<TGConnectingPoint num="43" id="184" />
+<TGConnectingPoint num="44" id="185" />
+<TGConnectingPoint num="45" id="186" />
+<TGConnectingPoint num="46" id="187" />
+<TGConnectingPoint num="47" id="188" />
+<TGConnectingPoint num="48" id="189" />
+<TGConnectingPoint num="49" id="190" />
+<TGConnectingPoint num="50" id="191" />
+<TGConnectingPoint num="51" id="192" />
+<TGConnectingPoint num="52" id="193" />
+<TGConnectingPoint num="53" id="194" />
+<TGConnectingPoint num="54" id="195" />
+<TGConnectingPoint num="55" id="196" />
+<TGConnectingPoint num="56" id="197" />
+<TGConnectingPoint num="57" id="198" />
+<TGConnectingPoint num="58" id="199" />
+<TGConnectingPoint num="59" id="200" />
+<TGConnectingPoint num="60" id="201" />
+<TGConnectingPoint num="61" id="202" />
+<TGConnectingPoint num="62" id="203" />
+<TGConnectingPoint num="63" id="204" />
+<TGConnectingPoint num="64" id="205" />
+<TGConnectingPoint num="65" id="206" />
+<TGConnectingPoint num="66" id="207" />
+<TGConnectingPoint num="67" id="208" />
+<TGConnectingPoint num="68" id="209" />
+<TGConnectingPoint num="69" id="210" />
+<TGConnectingPoint num="70" id="211" />
+<TGConnectingPoint num="71" id="212" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="286" >
+<cdparam x="686" y="412" />
+<sizeparam width="110" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="MoreThan15" />
+<TGConnectingPoint num="0" id="214" />
+<TGConnectingPoint num="1" id="215" />
+<TGConnectingPoint num="2" id="216" />
+<TGConnectingPoint num="3" id="217" />
+<TGConnectingPoint num="4" id="218" />
+<TGConnectingPoint num="5" id="219" />
+<TGConnectingPoint num="6" id="220" />
+<TGConnectingPoint num="7" id="221" />
+<TGConnectingPoint num="8" id="222" />
+<TGConnectingPoint num="9" id="223" />
+<TGConnectingPoint num="10" id="224" />
+<TGConnectingPoint num="11" id="225" />
+<TGConnectingPoint num="12" id="226" />
+<TGConnectingPoint num="13" id="227" />
+<TGConnectingPoint num="14" id="228" />
+<TGConnectingPoint num="15" id="229" />
+<TGConnectingPoint num="16" id="230" />
+<TGConnectingPoint num="17" id="231" />
+<TGConnectingPoint num="18" id="232" />
+<TGConnectingPoint num="19" id="233" />
+<TGConnectingPoint num="20" id="234" />
+<TGConnectingPoint num="21" id="235" />
+<TGConnectingPoint num="22" id="236" />
+<TGConnectingPoint num="23" id="237" />
+<TGConnectingPoint num="24" id="238" />
+<TGConnectingPoint num="25" id="239" />
+<TGConnectingPoint num="26" id="240" />
+<TGConnectingPoint num="27" id="241" />
+<TGConnectingPoint num="28" id="242" />
+<TGConnectingPoint num="29" id="243" />
+<TGConnectingPoint num="30" id="244" />
+<TGConnectingPoint num="31" id="245" />
+<TGConnectingPoint num="32" id="246" />
+<TGConnectingPoint num="33" id="247" />
+<TGConnectingPoint num="34" id="248" />
+<TGConnectingPoint num="35" id="249" />
+<TGConnectingPoint num="36" id="250" />
+<TGConnectingPoint num="37" id="251" />
+<TGConnectingPoint num="38" id="252" />
+<TGConnectingPoint num="39" id="253" />
+<TGConnectingPoint num="40" id="254" />
+<TGConnectingPoint num="41" id="255" />
+<TGConnectingPoint num="42" id="256" />
+<TGConnectingPoint num="43" id="257" />
+<TGConnectingPoint num="44" id="258" />
+<TGConnectingPoint num="45" id="259" />
+<TGConnectingPoint num="46" id="260" />
+<TGConnectingPoint num="47" id="261" />
+<TGConnectingPoint num="48" id="262" />
+<TGConnectingPoint num="49" id="263" />
+<TGConnectingPoint num="50" id="264" />
+<TGConnectingPoint num="51" id="265" />
+<TGConnectingPoint num="52" id="266" />
+<TGConnectingPoint num="53" id="267" />
+<TGConnectingPoint num="54" id="268" />
+<TGConnectingPoint num="55" id="269" />
+<TGConnectingPoint num="56" id="270" />
+<TGConnectingPoint num="57" id="271" />
+<TGConnectingPoint num="58" id="272" />
+<TGConnectingPoint num="59" id="273" />
+<TGConnectingPoint num="60" id="274" />
+<TGConnectingPoint num="61" id="275" />
+<TGConnectingPoint num="62" id="276" />
+<TGConnectingPoint num="63" id="277" />
+<TGConnectingPoint num="64" id="278" />
+<TGConnectingPoint num="65" id="279" />
+<TGConnectingPoint num="66" id="280" />
+<TGConnectingPoint num="67" id="281" />
+<TGConnectingPoint num="68" id="282" />
+<TGConnectingPoint num="69" id="283" />
+<TGConnectingPoint num="70" id="284" />
+<TGConnectingPoint num="71" id="285" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="359" >
+<cdparam x="437" y="414" />
+<sizeparam width="165" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="LessEqualThan15" />
+<TGConnectingPoint num="0" id="287" />
+<TGConnectingPoint num="1" id="288" />
+<TGConnectingPoint num="2" id="289" />
+<TGConnectingPoint num="3" id="290" />
+<TGConnectingPoint num="4" id="291" />
+<TGConnectingPoint num="5" id="292" />
+<TGConnectingPoint num="6" id="293" />
+<TGConnectingPoint num="7" id="294" />
+<TGConnectingPoint num="8" id="295" />
+<TGConnectingPoint num="9" id="296" />
+<TGConnectingPoint num="10" id="297" />
+<TGConnectingPoint num="11" id="298" />
+<TGConnectingPoint num="12" id="299" />
+<TGConnectingPoint num="13" id="300" />
+<TGConnectingPoint num="14" id="301" />
+<TGConnectingPoint num="15" id="302" />
+<TGConnectingPoint num="16" id="303" />
+<TGConnectingPoint num="17" id="304" />
+<TGConnectingPoint num="18" id="305" />
+<TGConnectingPoint num="19" id="306" />
+<TGConnectingPoint num="20" id="307" />
+<TGConnectingPoint num="21" id="308" />
+<TGConnectingPoint num="22" id="309" />
+<TGConnectingPoint num="23" id="310" />
+<TGConnectingPoint num="24" id="311" />
+<TGConnectingPoint num="25" id="312" />
+<TGConnectingPoint num="26" id="313" />
+<TGConnectingPoint num="27" id="314" />
+<TGConnectingPoint num="28" id="315" />
+<TGConnectingPoint num="29" id="316" />
+<TGConnectingPoint num="30" id="317" />
+<TGConnectingPoint num="31" id="318" />
+<TGConnectingPoint num="32" id="319" />
+<TGConnectingPoint num="33" id="320" />
+<TGConnectingPoint num="34" id="321" />
+<TGConnectingPoint num="35" id="322" />
+<TGConnectingPoint num="36" id="323" />
+<TGConnectingPoint num="37" id="324" />
+<TGConnectingPoint num="38" id="325" />
+<TGConnectingPoint num="39" id="326" />
+<TGConnectingPoint num="40" id="327" />
+<TGConnectingPoint num="41" id="328" />
+<TGConnectingPoint num="42" id="329" />
+<TGConnectingPoint num="43" id="330" />
+<TGConnectingPoint num="44" id="331" />
+<TGConnectingPoint num="45" id="332" />
+<TGConnectingPoint num="46" id="333" />
+<TGConnectingPoint num="47" id="334" />
+<TGConnectingPoint num="48" id="335" />
+<TGConnectingPoint num="49" id="336" />
+<TGConnectingPoint num="50" id="337" />
+<TGConnectingPoint num="51" id="338" />
+<TGConnectingPoint num="52" id="339" />
+<TGConnectingPoint num="53" id="340" />
+<TGConnectingPoint num="54" id="341" />
+<TGConnectingPoint num="55" id="342" />
+<TGConnectingPoint num="56" id="343" />
+<TGConnectingPoint num="57" id="344" />
+<TGConnectingPoint num="58" id="345" />
+<TGConnectingPoint num="59" id="346" />
+<TGConnectingPoint num="60" id="347" />
+<TGConnectingPoint num="61" id="348" />
+<TGConnectingPoint num="62" id="349" />
+<TGConnectingPoint num="63" id="350" />
+<TGConnectingPoint num="64" id="351" />
+<TGConnectingPoint num="65" id="352" />
+<TGConnectingPoint num="66" id="353" />
+<TGConnectingPoint num="67" id="354" />
+<TGConnectingPoint num="68" id="355" />
+<TGConnectingPoint num="69" id="356" />
+<TGConnectingPoint num="70" id="357" />
+<TGConnectingPoint num="71" id="358" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="432" >
+<cdparam x="227" y="412" />
+<sizeparam width="110" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="LessThan10" />
+<TGConnectingPoint num="0" id="360" />
+<TGConnectingPoint num="1" id="361" />
+<TGConnectingPoint num="2" id="362" />
+<TGConnectingPoint num="3" id="363" />
+<TGConnectingPoint num="4" id="364" />
+<TGConnectingPoint num="5" id="365" />
+<TGConnectingPoint num="6" id="366" />
+<TGConnectingPoint num="7" id="367" />
+<TGConnectingPoint num="8" id="368" />
+<TGConnectingPoint num="9" id="369" />
+<TGConnectingPoint num="10" id="370" />
+<TGConnectingPoint num="11" id="371" />
+<TGConnectingPoint num="12" id="372" />
+<TGConnectingPoint num="13" id="373" />
+<TGConnectingPoint num="14" id="374" />
+<TGConnectingPoint num="15" id="375" />
+<TGConnectingPoint num="16" id="376" />
+<TGConnectingPoint num="17" id="377" />
+<TGConnectingPoint num="18" id="378" />
+<TGConnectingPoint num="19" id="379" />
+<TGConnectingPoint num="20" id="380" />
+<TGConnectingPoint num="21" id="381" />
+<TGConnectingPoint num="22" id="382" />
+<TGConnectingPoint num="23" id="383" />
+<TGConnectingPoint num="24" id="384" />
+<TGConnectingPoint num="25" id="385" />
+<TGConnectingPoint num="26" id="386" />
+<TGConnectingPoint num="27" id="387" />
+<TGConnectingPoint num="28" id="388" />
+<TGConnectingPoint num="29" id="389" />
+<TGConnectingPoint num="30" id="390" />
+<TGConnectingPoint num="31" id="391" />
+<TGConnectingPoint num="32" id="392" />
+<TGConnectingPoint num="33" id="393" />
+<TGConnectingPoint num="34" id="394" />
+<TGConnectingPoint num="35" id="395" />
+<TGConnectingPoint num="36" id="396" />
+<TGConnectingPoint num="37" id="397" />
+<TGConnectingPoint num="38" id="398" />
+<TGConnectingPoint num="39" id="399" />
+<TGConnectingPoint num="40" id="400" />
+<TGConnectingPoint num="41" id="401" />
+<TGConnectingPoint num="42" id="402" />
+<TGConnectingPoint num="43" id="403" />
+<TGConnectingPoint num="44" id="404" />
+<TGConnectingPoint num="45" id="405" />
+<TGConnectingPoint num="46" id="406" />
+<TGConnectingPoint num="47" id="407" />
+<TGConnectingPoint num="48" id="408" />
+<TGConnectingPoint num="49" id="409" />
+<TGConnectingPoint num="50" id="410" />
+<TGConnectingPoint num="51" id="411" />
+<TGConnectingPoint num="52" id="412" />
+<TGConnectingPoint num="53" id="413" />
+<TGConnectingPoint num="54" id="414" />
+<TGConnectingPoint num="55" id="415" />
+<TGConnectingPoint num="56" id="416" />
+<TGConnectingPoint num="57" id="417" />
+<TGConnectingPoint num="58" id="418" />
+<TGConnectingPoint num="59" id="419" />
+<TGConnectingPoint num="60" id="420" />
+<TGConnectingPoint num="61" id="421" />
+<TGConnectingPoint num="62" id="422" />
+<TGConnectingPoint num="63" id="423" />
+<TGConnectingPoint num="64" id="424" />
+<TGConnectingPoint num="65" id="425" />
+<TGConnectingPoint num="66" id="426" />
+<TGConnectingPoint num="67" id="427" />
+<TGConnectingPoint num="68" id="428" />
+<TGConnectingPoint num="69" id="429" />
+<TGConnectingPoint num="70" id="430" />
+<TGConnectingPoint num="71" id="431" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="505" >
+<cdparam x="352" y="266" />
+<sizeparam width="110" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="MainChoice" />
+<TGConnectingPoint num="0" id="433" />
+<TGConnectingPoint num="1" id="434" />
+<TGConnectingPoint num="2" id="435" />
+<TGConnectingPoint num="3" id="436" />
+<TGConnectingPoint num="4" id="437" />
+<TGConnectingPoint num="5" id="438" />
+<TGConnectingPoint num="6" id="439" />
+<TGConnectingPoint num="7" id="440" />
+<TGConnectingPoint num="8" id="441" />
+<TGConnectingPoint num="9" id="442" />
+<TGConnectingPoint num="10" id="443" />
+<TGConnectingPoint num="11" id="444" />
+<TGConnectingPoint num="12" id="445" />
+<TGConnectingPoint num="13" id="446" />
+<TGConnectingPoint num="14" id="447" />
+<TGConnectingPoint num="15" id="448" />
+<TGConnectingPoint num="16" id="449" />
+<TGConnectingPoint num="17" id="450" />
+<TGConnectingPoint num="18" id="451" />
+<TGConnectingPoint num="19" id="452" />
+<TGConnectingPoint num="20" id="453" />
+<TGConnectingPoint num="21" id="454" />
+<TGConnectingPoint num="22" id="455" />
+<TGConnectingPoint num="23" id="456" />
+<TGConnectingPoint num="24" id="457" />
+<TGConnectingPoint num="25" id="458" />
+<TGConnectingPoint num="26" id="459" />
+<TGConnectingPoint num="27" id="460" />
+<TGConnectingPoint num="28" id="461" />
+<TGConnectingPoint num="29" id="462" />
+<TGConnectingPoint num="30" id="463" />
+<TGConnectingPoint num="31" id="464" />
+<TGConnectingPoint num="32" id="465" />
+<TGConnectingPoint num="33" id="466" />
+<TGConnectingPoint num="34" id="467" />
+<TGConnectingPoint num="35" id="468" />
+<TGConnectingPoint num="36" id="469" />
+<TGConnectingPoint num="37" id="470" />
+<TGConnectingPoint num="38" id="471" />
+<TGConnectingPoint num="39" id="472" />
+<TGConnectingPoint num="40" id="473" />
+<TGConnectingPoint num="41" id="474" />
+<TGConnectingPoint num="42" id="475" />
+<TGConnectingPoint num="43" id="476" />
+<TGConnectingPoint num="44" id="477" />
+<TGConnectingPoint num="45" id="478" />
+<TGConnectingPoint num="46" id="479" />
+<TGConnectingPoint num="47" id="480" />
+<TGConnectingPoint num="48" id="481" />
+<TGConnectingPoint num="49" id="482" />
+<TGConnectingPoint num="50" id="483" />
+<TGConnectingPoint num="51" id="484" />
+<TGConnectingPoint num="52" id="485" />
+<TGConnectingPoint num="53" id="486" />
+<TGConnectingPoint num="54" id="487" />
+<TGConnectingPoint num="55" id="488" />
+<TGConnectingPoint num="56" id="489" />
+<TGConnectingPoint num="57" id="490" />
+<TGConnectingPoint num="58" id="491" />
+<TGConnectingPoint num="59" id="492" />
+<TGConnectingPoint num="60" id="493" />
+<TGConnectingPoint num="61" id="494" />
+<TGConnectingPoint num="62" id="495" />
+<TGConnectingPoint num="63" id="496" />
+<TGConnectingPoint num="64" id="497" />
+<TGConnectingPoint num="65" id="498" />
+<TGConnectingPoint num="66" id="499" />
+<TGConnectingPoint num="67" id="500" />
+<TGConnectingPoint num="68" id="501" />
+<TGConnectingPoint num="69" id="502" />
+<TGConnectingPoint num="70" id="503" />
+<TGConnectingPoint num="71" id="504" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="516" >
+<cdparam x="404" y="178" />
+<sizeparam width="66" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="mysig(x)" />
+<TGConnectingPoint num="0" id="506" />
+<TGConnectingPoint num="1" id="507" />
+<TGConnectingPoint num="2" id="508" />
+<TGConnectingPoint num="3" id="509" />
+<TGConnectingPoint num="4" id="510" />
+<TGConnectingPoint num="5" id="511" />
+<TGConnectingPoint num="6" id="512" />
+<TGConnectingPoint num="7" id="513" />
+<TGConnectingPoint num="8" id="514" />
+<TGConnectingPoint num="9" id="515" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="589" >
+<cdparam x="358" y="90" />
+<sizeparam width="143" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="WaitingForSig" />
+<TGConnectingPoint num="0" id="517" />
+<TGConnectingPoint num="1" id="518" />
+<TGConnectingPoint num="2" id="519" />
+<TGConnectingPoint num="3" id="520" />
+<TGConnectingPoint num="4" id="521" />
+<TGConnectingPoint num="5" id="522" />
+<TGConnectingPoint num="6" id="523" />
+<TGConnectingPoint num="7" id="524" />
+<TGConnectingPoint num="8" id="525" />
+<TGConnectingPoint num="9" id="526" />
+<TGConnectingPoint num="10" id="527" />
+<TGConnectingPoint num="11" id="528" />
+<TGConnectingPoint num="12" id="529" />
+<TGConnectingPoint num="13" id="530" />
+<TGConnectingPoint num="14" id="531" />
+<TGConnectingPoint num="15" id="532" />
+<TGConnectingPoint num="16" id="533" />
+<TGConnectingPoint num="17" id="534" />
+<TGConnectingPoint num="18" id="535" />
+<TGConnectingPoint num="19" id="536" />
+<TGConnectingPoint num="20" id="537" />
+<TGConnectingPoint num="21" id="538" />
+<TGConnectingPoint num="22" id="539" />
+<TGConnectingPoint num="23" id="540" />
+<TGConnectingPoint num="24" id="541" />
+<TGConnectingPoint num="25" id="542" />
+<TGConnectingPoint num="26" id="543" />
+<TGConnectingPoint num="27" id="544" />
+<TGConnectingPoint num="28" id="545" />
+<TGConnectingPoint num="29" id="546" />
+<TGConnectingPoint num="30" id="547" />
+<TGConnectingPoint num="31" id="548" />
+<TGConnectingPoint num="32" id="549" />
+<TGConnectingPoint num="33" id="550" />
+<TGConnectingPoint num="34" id="551" />
+<TGConnectingPoint num="35" id="552" />
+<TGConnectingPoint num="36" id="553" />
+<TGConnectingPoint num="37" id="554" />
+<TGConnectingPoint num="38" id="555" />
+<TGConnectingPoint num="39" id="556" />
+<TGConnectingPoint num="40" id="557" />
+<TGConnectingPoint num="41" id="558" />
+<TGConnectingPoint num="42" id="559" />
+<TGConnectingPoint num="43" id="560" />
+<TGConnectingPoint num="44" id="561" />
+<TGConnectingPoint num="45" id="562" />
+<TGConnectingPoint num="46" id="563" />
+<TGConnectingPoint num="47" id="564" />
+<TGConnectingPoint num="48" id="565" />
+<TGConnectingPoint num="49" id="566" />
+<TGConnectingPoint num="50" id="567" />
+<TGConnectingPoint num="51" id="568" />
+<TGConnectingPoint num="52" id="569" />
+<TGConnectingPoint num="53" id="570" />
+<TGConnectingPoint num="54" id="571" />
+<TGConnectingPoint num="55" id="572" />
+<TGConnectingPoint num="56" id="573" />
+<TGConnectingPoint num="57" id="574" />
+<TGConnectingPoint num="58" id="575" />
+<TGConnectingPoint num="59" id="576" />
+<TGConnectingPoint num="60" id="577" />
+<TGConnectingPoint num="61" id="578" />
+<TGConnectingPoint num="62" id="579" />
+<TGConnectingPoint num="63" id="580" />
+<TGConnectingPoint num="64" id="581" />
+<TGConnectingPoint num="65" id="582" />
+<TGConnectingPoint num="66" id="583" />
+<TGConnectingPoint num="67" id="584" />
+<TGConnectingPoint num="68" id="585" />
+<TGConnectingPoint num="69" id="586" />
+<TGConnectingPoint num="70" id="587" />
+<TGConnectingPoint num="71" id="588" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="591" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="590" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+</Modeling>
+
+
+
+
+</TURTLEGMODELING>
\ No newline at end of file