diff --git a/modeling/SmartCardProtocol.xml b/modeling/SmartCardProtocol.xml
index ac964c238357433d2e0cf69de360c97ed4984bfb..1e52b72faccf0b2cfbe69b17e2db5829616c4a23 100755
--- a/modeling/SmartCardProtocol.xml
+++ b/modeling/SmartCardProtocol.xml
@@ -4,95 +4,95 @@
 
 <Modeling type="Diplodocus Methodology" nameTab="DIPLODOCUS_Methodology" >
 <DiplodocusMethodologyDiagramPanel name="DIPLODOCUS_Methodology" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
-<COMPONENT type="6003" id="2088" >
+<COMPONENT type="6003" id="5" >
 <cdparam x="50" y="150" />
 <sizeparam width="200" height="120" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="TGComponent" value="Requirements" />
-<TGConnectingPoint num="0" id="2092" />
-<TGConnectingPoint num="1" id="2093" />
-<TGConnectingPoint num="2" id="2094" />
-<TGConnectingPoint num="3" id="2095" />
+<TGConnectingPoint num="0" id="1" />
+<TGConnectingPoint num="1" id="2" />
+<TGConnectingPoint num="2" id="3" />
+<TGConnectingPoint num="3" id="4" />
 </COMPONENT>
 
-<CONNECTOR type="6004" id="2086" >
-<cdparam x="950" y="220" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="2087" />
-<P1  x="950" y="220" id="2060" />
-<P2  x="740" y="300" id="2069" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="6004" id="2084" >
-<cdparam x="700" y="220" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="2085" />
-<P1  x="700" y="220" id="2078" />
-<P2  x="700" y="300" id="2070" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="6004" id="2082" >
-<cdparam x="450" y="220" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="2083" />
-<P1  x="450" y="220" id="2052" />
-<P2  x="660" y="300" id="2068" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="6006" id="2074" >
+<COMPONENT type="6006" id="10" >
 <cdparam x="600" y="100" />
 <sizeparam width="200" height="120" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="TGComponent" value="Com. Patterns" />
-<TGConnectingPoint num="0" id="2078" />
-<TGConnectingPoint num="1" id="2079" />
-<TGConnectingPoint num="2" id="2080" />
-<TGConnectingPoint num="3" id="2081" />
+<TGConnectingPoint num="0" id="6" />
+<TGConnectingPoint num="1" id="7" />
+<TGConnectingPoint num="2" id="8" />
+<TGConnectingPoint num="3" id="9" />
 </COMPONENT>
 
-<COMPONENT type="6002" id="2064" >
+<COMPONENT type="6002" id="17" >
 <cdparam x="600" y="300" />
 <sizeparam width="200" height="120" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="TGComponent" value="Mapping" />
-<TGConnectingPoint num="0" id="2068" />
-<TGConnectingPoint num="1" id="2069" />
-<TGConnectingPoint num="2" id="2070" />
-<TGConnectingPoint num="3" id="2071" />
-<TGConnectingPoint num="4" id="2072" />
-<TGConnectingPoint num="5" id="2073" />
+<TGConnectingPoint num="0" id="11" />
+<TGConnectingPoint num="1" id="12" />
+<TGConnectingPoint num="2" id="13" />
+<TGConnectingPoint num="3" id="14" />
+<TGConnectingPoint num="4" id="15" />
+<TGConnectingPoint num="5" id="16" />
 </COMPONENT>
 
-<COMPONENT type="6001" id="2056" >
+<COMPONENT type="6001" id="22" >
 <cdparam x="850" y="100" />
 <sizeparam width="200" height="120" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="TGComponent" value="Architecture" />
-<TGConnectingPoint num="0" id="2060" />
-<TGConnectingPoint num="1" id="2061" />
-<TGConnectingPoint num="2" id="2062" />
-<TGConnectingPoint num="3" id="2063" />
+<TGConnectingPoint num="0" id="18" />
+<TGConnectingPoint num="1" id="19" />
+<TGConnectingPoint num="2" id="20" />
+<TGConnectingPoint num="3" id="21" />
 </COMPONENT>
 
-<COMPONENT type="6000" id="2048" >
+<COMPONENT type="6000" id="27" >
 <cdparam x="350" y="100" />
 <sizeparam width="200" height="120" minWidth="10" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="2052" />
-<TGConnectingPoint num="1" id="2053" />
-<TGConnectingPoint num="2" id="2054" />
-<TGConnectingPoint num="3" id="2055" />
+<TGConnectingPoint num="0" id="23" />
+<TGConnectingPoint num="1" id="24" />
+<TGConnectingPoint num="2" id="25" />
+<TGConnectingPoint num="3" id="26" />
 </COMPONENT>
 
+<CONNECTOR type="6004" id="29" >
+<cdparam x="950" y="220" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="28" />
+<P1  x="950" y="220" id="18" />
+<P2  x="740" y="300" id="12" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="6004" id="31" >
+<cdparam x="700" y="220" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="30" />
+<P1  x="700" y="220" id="6" />
+<P2  x="700" y="300" id="13" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="6004" id="33" >
+<cdparam x="450" y="220" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="32" />
+<P1  x="450" y="220" id="23" />
+<P2  x="660" y="300" id="11" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 
 </DiplodocusMethodologyDiagramPanel>
 
@@ -102,33 +102,33 @@
 
 
 <Modeling type="TML Component Design" nameTab="AppC" >
-<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="3" maxX="1394" minY="3" maxY="985" channels="true" events="true" requests="true" zoom="0.8000000000000013" >
-<CONNECTOR type="126" id="1" >
+<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="2" maxX="1116" minY="2" maxY="789" channels="true" events="true" requests="true" zoom="0.8000000000000013" >
+<CONNECTOR type="126" id="34" >
 <cdparam x="387" y="199" />
 <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="369" y="189" id="61" />
-<P2  x="469" y="189" id="94" />
+<P1  x="379" y="199" id="94" />
+<P2  x="459" y="199" id="509" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="2" >
+<CONNECTOR type="126" id="35" >
 <cdparam x="967" y="112" />
 <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="707" y="116" id="361" />
-<P2  x="629" y="116" id="102" />
+<P1  x="707" y="102" id="225" />
+<P2  x="639" y="126" id="501" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="4" >
+<CONNECTOR type="126" id="37" >
 <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="831" y="152" id="164" />
-<P2  x="707" y="136" id="366" />
+<P1  x="831" y="152" id="430" />
+<P2  x="707" y="122" id="230" />
 <Point x="832" y="126" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3" >
-<father id="4" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="36" >
+<father id="37" num="0" />
 <cdparam x="832" y="126" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -136,16 +136,16 @@
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="6" >
+<CONNECTOR type="126" id="39" >
 <cdparam x="337" y="99" />
 <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="427" y="75" id="465" />
-<P2  x="318" y="94" id="67" />
+<P1  x="417" y="85" id="130" />
+<P2  x="318" y="94" id="88" />
 <Point x="326" y="85" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="5" >
-<father id="6" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="38" >
+<father id="39" num="0" />
 <cdparam x="326" y="85" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -153,16 +153,16 @@
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="8" >
+<CONNECTOR type="126" id="41" >
 <cdparam x="440" y="107" />
 <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="515" y="95" id="100" />
-<P2  x="427" y="95" id="470" />
+<P1  x="515" y="95" id="503" />
+<P2  x="437" y="85" id="135" />
 <Point x="515" y="85" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="7" >
-<father id="8" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="40" >
+<father id="41" num="0" />
 <cdparam x="515" y="85" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -170,160 +170,160 @@
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="9" >
+<CONNECTOR type="126" id="42" >
 <cdparam x="337" y="286" />
 <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="427" y="285" id="446" />
-<P2  x="369" y="285" id="65" />
+<P1  x="417" y="295" id="149" />
+<P2  x="379" y="295" id="90" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="10" >
+<CONNECTOR type="126" id="43" >
 <cdparam x="396" y="285" />
 <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="469" y="285" id="98" />
-<P2  x="427" y="305" id="451" />
+<P1  x="459" y="295" id="505" />
+<P2  x="437" y="295" id="154" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="11" >
+<CONNECTOR type="126" id="44" >
 <cdparam x="337" y="237" />
 <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="427" y="225" id="427" />
-<P2  x="369" y="225" id="63" />
+<P1  x="417" y="235" id="168" />
+<P2  x="379" y="235" id="92" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="12" >
+<CONNECTOR type="126" id="45" >
 <cdparam x="396" y="236" />
 <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="469" y="225" id="96" />
-<P2  x="427" y="245" id="432" />
+<P1  x="459" y="235" id="507" />
+<P2  x="437" y="235" id="173" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="13" >
+<CONNECTOR type="126" id="46" >
 <cdparam x="353" y="181" />
 <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="427" y="279" id="413" />
-<P2  x="469" y="259" id="92" />
+<P1  x="437" y="269" id="192" />
+<P2  x="459" y="269" id="511" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="14" >
+<CONNECTOR type="126" id="47" >
 <cdparam x="235" y="186" />
 <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="369" y="259" id="59" />
-<P2  x="427" y="259" id="408" />
+<P1  x="379" y="269" id="96" />
+<P2  x="417" y="269" id="187" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="15" >
+<CONNECTOR type="126" id="48" >
 <cdparam x="353" y="161" />
 <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="427" y="172" id="489" />
-<P2  x="469" y="152" id="90" />
+<P1  x="437" y="162" id="116" />
+<P2  x="459" y="162" id="513" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="16" >
+<CONNECTOR type="126" id="49" >
 <cdparam x="235" y="160" />
 <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="369" y="152" id="57" />
-<P2  x="427" y="152" id="484" />
+<P1  x="379" y="162" id="98" />
+<P2  x="417" y="162" id="111" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="17" >
+<CONNECTOR type="126" id="50" >
 <cdparam x="787" y="206" />
 <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="707" y="243" id="342" />
-<P2  x="629" y="243" id="88" />
+<P1  x="661" y="253" id="244" />
+<P2  x="639" y="253" id="515" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="18" >
+<CONNECTOR type="126" id="51" >
 <cdparam x="867" 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="767" y="243" id="158" />
-<P2  x="707" y="263" id="347" />
+<P1  x="757" y="253" id="436" />
+<P2  x="681" y="253" id="249" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="19" >
+<CONNECTOR type="126" id="52" >
 <cdparam x="803" y="180" />
 <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="707" y="234" id="328" />
-<P2  x="767" y="214" id="160" />
+<P1  x="681" y="224" id="268" />
+<P2  x="757" y="224" id="434" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="20" >
+<CONNECTOR type="126" id="53" >
 <cdparam x="655" y="211" />
 <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="629" y="214" id="86" />
-<P2  x="707" y="214" id="323" />
+<P1  x="639" y="224" id="517" />
+<P2  x="661" y="224" id="263" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="21" >
+<CONNECTOR type="126" id="54" >
 <cdparam x="803" y="159" />
 <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="707" y="199" id="309" />
-<P2  x="767" y="179" id="162" />
+<P1  x="681" y="189" id="287" />
+<P2  x="757" y="189" id="432" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="22" >
+<CONNECTOR type="126" id="55" >
 <cdparam x="655" y="182" />
 <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="629" y="179" id="84" />
-<P2  x="707" y="179" id="304" />
+<P1  x="639" y="189" id="519" />
+<P2  x="661" y="189" id="282" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="23" >
+<CONNECTOR type="126" id="56" >
 <cdparam x="655" y="151" />
 <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="628" y="286" id="82" />
-<P2  x="707" y="304" id="286" />
+<P1  x="628" y="306" id="521" />
+<P2  x="661" y="314" id="302" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="24" >
+<CONNECTOR type="126" id="57" >
 <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="545" y="288" id="78" />
-<P2  x="545" y="323" id="113" />
+<P1  x="545" y="304" id="525" />
+<P2  x="545" y="323" id="490" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="25" >
+<CONNECTOR type="126" id="58" >
 <cdparam x="1307" y="853" />
 <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="707" y="324" id="290" />
-<P2  x="767" y="306" id="156" />
+<P1  x="681" y="314" id="306" />
+<P2  x="759" y="314" id="438" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="26" >
+<CONNECTOR type="126" id="59" >
 <cdparam x="1154" y="902" />
 <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="633" y="323" id="125" />
-<P2  x="707" y="304" id="285" />
+<P1  x="633" y="323" id="478" />
+<P2  x="661" y="314" id="301" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="28" >
+<CONNECTOR type="126" id="61" >
 <cdparam x="1307" y="807" />
 <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="707" y="444" id="233" />
-<P2  x="826" y="409" id="154" />
+<P1  x="707" y="438" id="363" />
+<P2  x="826" y="425" id="440" />
 <Point x="826" y="434" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="27" >
-<father id="28" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="60" >
+<father id="61" num="0" />
 <cdparam x="826" y="434" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -331,113 +331,113 @@
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="29" >
+<CONNECTOR type="126" id="62" >
 <cdparam x="1154" y="856" />
 <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="656" y="426" id="121" />
-<P2  x="707" y="424" id="228" />
+<P1  x="664" y="434" id="482" />
+<P2  x="707" y="458" id="358" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="30" >
+<CONNECTOR type="126" id="63" >
 <cdparam x="1307" y="761" />
 <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="707" y="423" id="214" />
-<P2  x="767" y="405" id="152" />
+<P1  x="707" y="438" id="382" />
+<P2  x="759" y="413" id="442" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="31" >
+<CONNECTOR type="126" id="64" >
 <cdparam x="1154" y="811" />
 <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="656" y="405" id="119" />
-<P2  x="707" y="403" id="209" />
+<P1  x="664" y="413" id="484" />
+<P2  x="707" y="458" id="377" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="32" >
+<CONNECTOR type="126" id="65" >
 <cdparam x="1626" y="770" />
 <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="707" y="381" id="190" />
-<P2  x="656" y="383" id="117" />
+<P1  x="661" y="391" id="396" />
+<P2  x="664" y="391" id="486" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="33" >
+<CONNECTOR type="126" id="66" >
 <cdparam x="1799" y="785" />
 <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="767" y="383" id="146" />
-<P2  x="707" y="401" id="195" />
+<P1  x="759" y="391" id="448" />
+<P2  x="681" y="391" id="401" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="34" >
+<CONNECTOR type="126" id="67" >
 <cdparam x="1438" y="869" />
 <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="656" y="358" id="115" />
-<P2  x="707" y="356" id="247" />
+<P1  x="664" y="366" id="488" />
+<P2  x="661" y="366" id="339" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="35" >
+<CONNECTOR type="126" id="68" >
 <cdparam x="1699" y="736" />
 <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="707" y="376" id="252" />
-<P2  x="767" y="358" id="148" />
+<P1  x="681" y="366" id="344" />
+<P2  x="759" y="366" id="446" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="36" >
+<CONNECTOR type="126" id="69" >
 <cdparam x="1626" y="659" />
 <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="707" y="334" id="266" />
-<P2  x="656" y="336" id="123" />
+<P1  x="661" y="344" id="320" />
+<P2  x="664" y="344" id="480" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="37" >
+<CONNECTOR type="126" id="70" >
 <cdparam x="1799" y="673" />
 <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="767" y="336" id="150" />
-<P2  x="707" y="354" id="271" />
+<P1  x="759" y="344" id="444" />
+<P2  x="681" y="344" id="325" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="38" >
+<CONNECTOR type="126" id="71" >
 <cdparam x="1304" y="321" />
 <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="1022" y="236" id="179" />
-<P2  x="957" y="236" id="144" />
+<P1  x="996" y="244" id="415" />
+<P2  x="965" y="244" id="450" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="39" >
+<CONNECTOR type="126" id="72" >
 <cdparam x="1168" y="455" />
 <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="957" y="265" id="142" />
-<P2  x="1022" y="265" id="177" />
+<P1  x="965" y="273" id="452" />
+<P2  x="996" y="273" id="417" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="42" >
+<CONNECTOR type="126" id="75" >
 <cdparam x="1037" y="180" />
 <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="957" y="166" id="140" />
-<P2  x="957" y="198" id="138" />
+<P1  x="965" y="174" id="454" />
+<P2  x="965" y="206" id="456" />
 <Point x="1017" y="174" />
 <Point x="1017" y="206" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="40" >
-<father id="42" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="73" >
+<father id="75" num="0" />
 <cdparam x="1017" y="174" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="41" >
-<father id="42" num="1" />
+<SUBCOMPONENT type="-1" id="74" >
+<father id="75" num="1" />
 <cdparam x="1017" y="206" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -445,64 +445,64 @@
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="43" >
+<CONNECTOR type="126" id="76" >
 <cdparam x="873" y="361" />
 <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="957" y="296" id="136" />
-<P2  x="1022" y="296" id="175" />
+<P1  x="965" y="304" id="458" />
+<P2  x="996" y="304" id="419" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="44" >
+<CONNECTOR type="126" id="77" >
 <cdparam x="361" y="136" />
 <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="427" y="138" id="394" />
-<P2  x="469" y="120" id="80" />
+<P1  x="437" y="128" id="211" />
+<P2  x="461" y="128" id="523" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="45" >
+<CONNECTOR type="126" id="78" >
 <cdparam x="306" y="210" />
 <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="369" y="120" id="55" />
-<P2  x="427" y="118" id="389" />
+<P1  x="377" y="128" id="100" />
+<P2  x="417" y="128" id="206" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<COMPONENT type="1205" id="54" >
+<COMPONENT type="1205" id="87" >
 <cdparam x="978" y="353" />
 <sizeparam width="165" height="84" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="3" maxX="1394" minY="3" maxY="985" />
+<cdrectangleparam minX="2" maxX="1116" minY="2" maxY="789" />
 <infoparam name="Record component" value="TCP_CTRL" />
-<TGConnectingPoint num="0" id="46" />
-<TGConnectingPoint num="1" id="47" />
-<TGConnectingPoint num="2" id="48" />
-<TGConnectingPoint num="3" id="49" />
-<TGConnectingPoint num="4" id="50" />
-<TGConnectingPoint num="5" id="51" />
-<TGConnectingPoint num="6" id="52" />
-<TGConnectingPoint num="7" id="53" />
+<TGConnectingPoint num="0" id="79" />
+<TGConnectingPoint num="1" id="80" />
+<TGConnectingPoint num="2" id="81" />
+<TGConnectingPoint num="3" id="82" />
+<TGConnectingPoint num="4" id="83" />
+<TGConnectingPoint num="5" id="84" />
+<TGConnectingPoint num="6" id="85" />
+<TGConnectingPoint num="7" id="86" />
 <extraparam>
 <Attribute access="2" id="a" value="" type="0" typeOther="" />
 <Attribute access="2" id="state" value="" type="0" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1202" id="77" >
+<COMPONENT type="1202" id="110" >
 <cdparam x="128" y="104" />
 <sizeparam width="241" height="216" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="3" maxX="1394" minY="3" maxY="985" />
+<cdrectangleparam minX="2" maxX="1116" minY="2" maxY="789" />
 <infoparam name="TGComponent" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="69" />
-<TGConnectingPoint num="1" id="70" />
-<TGConnectingPoint num="2" id="71" />
-<TGConnectingPoint num="3" id="72" />
-<TGConnectingPoint num="4" id="73" />
-<TGConnectingPoint num="5" id="74" />
-<TGConnectingPoint num="6" id="75" />
-<TGConnectingPoint num="7" id="76" />
+<TGConnectingPoint num="0" id="102" />
+<TGConnectingPoint num="1" id="103" />
+<TGConnectingPoint num="2" id="104" />
+<TGConnectingPoint num="3" id="105" />
+<TGConnectingPoint num="4" id="106" />
+<TGConnectingPoint num="5" id="107" />
+<TGConnectingPoint num="6" id="108" />
+<TGConnectingPoint num="7" id="109" />
 <extraparam>
 <Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
 <Attribute access="2" id="x" value="0" type="0" typeOther="" />
@@ -510,16 +510,16 @@
 <Attribute access="2" id="nbOfComputedPackets" value="1" type="0" typeOther="" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1203" id="56" >
-<father id="77" num="0" />
-<cdparam x="361" y="120" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="89" >
+<father id="110" num="0" />
+<cdparam x="308" y="94" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="233" minY="-8" maxY="208" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="55" />
+<cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="88" />
 <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="" associatedEvent="" />
+<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -527,16 +527,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="58" >
-<father id="77" num="1" />
-<cdparam x="359" y="152" />
+<SUBCOMPONENT type="1203" id="91" >
+<father id="110" num="1" />
+<cdparam x="359" y="285" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="57" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="90" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -544,16 +544,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="60" >
-<father id="77" num="2" />
-<cdparam x="359" y="259" />
+<SUBCOMPONENT type="1203" id="93" >
+<father id="110" num="2" />
+<cdparam x="359" y="225" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="59" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="92" />
 <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="" associatedEvent="" />
+<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -561,14 +561,14 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="62" >
-<father id="77" num="3" />
+<SUBCOMPONENT type="1203" id="95" >
+<father id="110" num="3" />
 <cdparam x="359" y="189" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
 <infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="61" />
+<TGConnectingPoint num="0" id="94" />
 <extraparam>
 <Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
 <Type type="0" typeOther="" />
@@ -578,16 +578,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="64" >
-<father id="77" num="4" />
-<cdparam x="359" y="225" />
+<SUBCOMPONENT type="1203" id="97" >
+<father id="110" num="4" />
+<cdparam x="359" y="259" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="63" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="96" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -595,16 +595,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="66" >
-<father id="77" num="5" />
-<cdparam x="359" y="285" />
+<SUBCOMPONENT type="1203" id="99" >
+<father id="110" num="5" />
+<cdparam x="359" y="152" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="65" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="98" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -612,16 +612,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="68" >
-<father id="77" num="6" />
-<cdparam x="308" y="94" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="101" >
+<father id="110" num="6" />
+<cdparam x="361" y="120" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
-<TGConnectingPoint num="0" id="67" />
+<cdrectangleparam minX="-8" maxX="233" minY="-8" maxY="208" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="100" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -630,59 +630,488 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1200" id="511" >
+<COMPONENT type="1200" id="544" >
 <cdparam x="427" y="70" />
 <sizeparam width="736" height="390" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="3" maxX="1394" minY="3" maxY="985" />
+<cdrectangleparam minX="2" maxX="1116" minY="2" maxY="789" />
 <infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="503" />
-<TGConnectingPoint num="1" id="504" />
-<TGConnectingPoint num="2" id="505" />
-<TGConnectingPoint num="3" id="506" />
-<TGConnectingPoint num="4" id="507" />
-<TGConnectingPoint num="5" id="508" />
-<TGConnectingPoint num="6" id="509" />
-<TGConnectingPoint num="7" id="510" />
+<TGConnectingPoint num="0" id="536" />
+<TGConnectingPoint num="1" id="537" />
+<TGConnectingPoint num="2" id="538" />
+<TGConnectingPoint num="3" id="539" />
+<TGConnectingPoint num="4" id="540" />
+<TGConnectingPoint num="5" id="541" />
+<TGConnectingPoint num="6" id="542" />
+<TGConnectingPoint num="7" id="543" />
 <extraparam>
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1202" id="112" >
-<father id="511" num="0" />
-<cdparam x="469" y="105" />
-<sizeparam width="160" height="191" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1201" id="129" >
+<father id="544" num="0" />
+<cdparam x="417" y="152" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="576" minY="0" maxY="199" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="104" />
-<TGConnectingPoint num="1" id="105" />
-<TGConnectingPoint num="2" id="106" />
-<TGConnectingPoint num="3" id="107" />
-<TGConnectingPoint num="4" id="108" />
-<TGConnectingPoint num="5" id="109" />
-<TGConnectingPoint num="6" id="110" />
-<TGConnectingPoint num="7" id="111" />
+<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="111" />
+<TGConnectingPoint num="1" id="112" />
+<TGConnectingPoint num="2" id="113" />
+<TGConnectingPoint num="3" id="114" />
+<TGConnectingPoint num="4" id="115" />
+<TGConnectingPoint num="5" id="116" />
+<TGConnectingPoint num="6" id="117" />
+<TGConnectingPoint num="7" id="118" />
+<TGConnectingPoint num="8" id="119" />
+<TGConnectingPoint num="9" id="120" />
+<TGConnectingPoint num="10" id="121" />
+<TGConnectingPoint num="11" id="122" />
+<TGConnectingPoint num="12" id="123" />
+<TGConnectingPoint num="13" id="124" />
+<TGConnectingPoint num="14" id="125" />
+<TGConnectingPoint num="15" id="126" />
+<TGConnectingPoint num="16" id="127" />
+<TGConnectingPoint num="17" id="128" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="148" >
+<father id="544" num="1" />
+<cdparam x="417" y="75" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="130" />
+<TGConnectingPoint num="1" id="131" />
+<TGConnectingPoint num="2" id="132" />
+<TGConnectingPoint num="3" id="133" />
+<TGConnectingPoint num="4" id="134" />
+<TGConnectingPoint num="5" id="135" />
+<TGConnectingPoint num="6" id="136" />
+<TGConnectingPoint num="7" id="137" />
+<TGConnectingPoint num="8" id="138" />
+<TGConnectingPoint num="9" id="139" />
+<TGConnectingPoint num="10" id="140" />
+<TGConnectingPoint num="11" id="141" />
+<TGConnectingPoint num="12" id="142" />
+<TGConnectingPoint num="13" id="143" />
+<TGConnectingPoint num="14" id="144" />
+<TGConnectingPoint num="15" id="145" />
+<TGConnectingPoint num="16" id="146" />
+<TGConnectingPoint num="17" id="147" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="167" >
+<father id="544" num="2" />
+<cdparam x="417" y="285" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="149" />
+<TGConnectingPoint num="1" id="150" />
+<TGConnectingPoint num="2" id="151" />
+<TGConnectingPoint num="3" id="152" />
+<TGConnectingPoint num="4" id="153" />
+<TGConnectingPoint num="5" id="154" />
+<TGConnectingPoint num="6" id="155" />
+<TGConnectingPoint num="7" id="156" />
+<TGConnectingPoint num="8" id="157" />
+<TGConnectingPoint num="9" id="158" />
+<TGConnectingPoint num="10" id="159" />
+<TGConnectingPoint num="11" id="160" />
+<TGConnectingPoint num="12" id="161" />
+<TGConnectingPoint num="13" id="162" />
+<TGConnectingPoint num="14" id="163" />
+<TGConnectingPoint num="15" id="164" />
+<TGConnectingPoint num="16" id="165" />
+<TGConnectingPoint num="17" id="166" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="186" >
+<father id="544" num="3" />
+<cdparam x="417" y="225" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="168" />
+<TGConnectingPoint num="1" id="169" />
+<TGConnectingPoint num="2" id="170" />
+<TGConnectingPoint num="3" id="171" />
+<TGConnectingPoint num="4" id="172" />
+<TGConnectingPoint num="5" id="173" />
+<TGConnectingPoint num="6" id="174" />
+<TGConnectingPoint num="7" id="175" />
+<TGConnectingPoint num="8" id="176" />
+<TGConnectingPoint num="9" id="177" />
+<TGConnectingPoint num="10" id="178" />
+<TGConnectingPoint num="11" id="179" />
+<TGConnectingPoint num="12" id="180" />
+<TGConnectingPoint num="13" id="181" />
+<TGConnectingPoint num="14" id="182" />
+<TGConnectingPoint num="15" id="183" />
+<TGConnectingPoint num="16" id="184" />
+<TGConnectingPoint num="17" id="185" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="205" >
+<father id="544" num="4" />
+<cdparam x="417" y="259" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="187" />
+<TGConnectingPoint num="1" id="188" />
+<TGConnectingPoint num="2" id="189" />
+<TGConnectingPoint num="3" id="190" />
+<TGConnectingPoint num="4" id="191" />
+<TGConnectingPoint num="5" id="192" />
+<TGConnectingPoint num="6" id="193" />
+<TGConnectingPoint num="7" id="194" />
+<TGConnectingPoint num="8" id="195" />
+<TGConnectingPoint num="9" id="196" />
+<TGConnectingPoint num="10" id="197" />
+<TGConnectingPoint num="11" id="198" />
+<TGConnectingPoint num="12" id="199" />
+<TGConnectingPoint num="13" id="200" />
+<TGConnectingPoint num="14" id="201" />
+<TGConnectingPoint num="15" id="202" />
+<TGConnectingPoint num="16" id="203" />
+<TGConnectingPoint num="17" id="204" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="224" >
+<father id="544" num="5" />
+<cdparam x="417" y="118" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="206" />
+<TGConnectingPoint num="1" id="207" />
+<TGConnectingPoint num="2" id="208" />
+<TGConnectingPoint num="3" id="209" />
+<TGConnectingPoint num="4" id="210" />
+<TGConnectingPoint num="5" id="211" />
+<TGConnectingPoint num="6" id="212" />
+<TGConnectingPoint num="7" id="213" />
+<TGConnectingPoint num="8" id="214" />
+<TGConnectingPoint num="9" id="215" />
+<TGConnectingPoint num="10" id="216" />
+<TGConnectingPoint num="11" id="217" />
+<TGConnectingPoint num="12" id="218" />
+<TGConnectingPoint num="13" id="219" />
+<TGConnectingPoint num="14" id="220" />
+<TGConnectingPoint num="15" id="221" />
+<TGConnectingPoint num="16" id="222" />
+<TGConnectingPoint num="17" id="223" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1200" id="477" >
+<father id="544" num="6" />
+<cdparam x="671" y="112" />
+<sizeparam width="445" height="336" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="291" minY="0" maxY="54" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="469" />
+<TGConnectingPoint num="1" id="470" />
+<TGConnectingPoint num="2" id="471" />
+<TGConnectingPoint num="3" id="472" />
+<TGConnectingPoint num="4" id="473" />
+<TGConnectingPoint num="5" id="474" />
+<TGConnectingPoint num="6" id="475" />
+<TGConnectingPoint num="7" id="476" />
+<extraparam>
+<info hiddeni="false" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="243" >
+<father id="477" num="0" />
+<cdparam x="697" y="102" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="225" />
+<TGConnectingPoint num="1" id="226" />
+<TGConnectingPoint num="2" id="227" />
+<TGConnectingPoint num="3" id="228" />
+<TGConnectingPoint num="4" id="229" />
+<TGConnectingPoint num="5" id="230" />
+<TGConnectingPoint num="6" id="231" />
+<TGConnectingPoint num="7" id="232" />
+<TGConnectingPoint num="8" id="233" />
+<TGConnectingPoint num="9" id="234" />
+<TGConnectingPoint num="10" id="235" />
+<TGConnectingPoint num="11" id="236" />
+<TGConnectingPoint num="12" id="237" />
+<TGConnectingPoint num="13" id="238" />
+<TGConnectingPoint num="14" id="239" />
+<TGConnectingPoint num="15" id="240" />
+<TGConnectingPoint num="16" id="241" />
+<TGConnectingPoint num="17" id="242" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="262" >
+<father id="477" num="1" />
+<cdparam x="661" y="243" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="244" />
+<TGConnectingPoint num="1" id="245" />
+<TGConnectingPoint num="2" id="246" />
+<TGConnectingPoint num="3" id="247" />
+<TGConnectingPoint num="4" id="248" />
+<TGConnectingPoint num="5" id="249" />
+<TGConnectingPoint num="6" id="250" />
+<TGConnectingPoint num="7" id="251" />
+<TGConnectingPoint num="8" id="252" />
+<TGConnectingPoint num="9" id="253" />
+<TGConnectingPoint num="10" id="254" />
+<TGConnectingPoint num="11" id="255" />
+<TGConnectingPoint num="12" id="256" />
+<TGConnectingPoint num="13" id="257" />
+<TGConnectingPoint num="14" id="258" />
+<TGConnectingPoint num="15" id="259" />
+<TGConnectingPoint num="16" id="260" />
+<TGConnectingPoint num="17" id="261" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="281" >
+<father id="477" num="2" />
+<cdparam x="661" y="214" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<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" />
+<TGConnectingPoint num="8" id="271" />
+<TGConnectingPoint num="9" id="272" />
+<TGConnectingPoint num="10" id="273" />
+<TGConnectingPoint num="11" id="274" />
+<TGConnectingPoint num="12" id="275" />
+<TGConnectingPoint num="13" id="276" />
+<TGConnectingPoint num="14" id="277" />
+<TGConnectingPoint num="15" id="278" />
+<TGConnectingPoint num="16" id="279" />
+<TGConnectingPoint num="17" id="280" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="300" >
+<father id="477" num="3" />
+<cdparam x="661" y="179" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="282" />
+<TGConnectingPoint num="1" id="283" />
+<TGConnectingPoint num="2" id="284" />
+<TGConnectingPoint num="3" id="285" />
+<TGConnectingPoint num="4" id="286" />
+<TGConnectingPoint num="5" id="287" />
+<TGConnectingPoint num="6" id="288" />
+<TGConnectingPoint num="7" id="289" />
+<TGConnectingPoint num="8" id="290" />
+<TGConnectingPoint num="9" id="291" />
+<TGConnectingPoint num="10" id="292" />
+<TGConnectingPoint num="11" id="293" />
+<TGConnectingPoint num="12" id="294" />
+<TGConnectingPoint num="13" id="295" />
+<TGConnectingPoint num="14" id="296" />
+<TGConnectingPoint num="15" id="297" />
+<TGConnectingPoint num="16" id="298" />
+<TGConnectingPoint num="17" id="299" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="319" >
+<father id="477" num="4" />
+<cdparam x="661" y="304" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<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" />
+<TGConnectingPoint num="8" id="309" />
+<TGConnectingPoint num="9" id="310" />
+<TGConnectingPoint num="10" id="311" />
+<TGConnectingPoint num="11" id="312" />
+<TGConnectingPoint num="12" id="313" />
+<TGConnectingPoint num="13" id="314" />
+<TGConnectingPoint num="14" id="315" />
+<TGConnectingPoint num="15" id="316" />
+<TGConnectingPoint num="16" id="317" />
+<TGConnectingPoint num="17" id="318" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="338" >
+<father id="477" num="5" />
+<cdparam x="661" y="334" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="320" />
+<TGConnectingPoint num="1" id="321" />
+<TGConnectingPoint num="2" id="322" />
+<TGConnectingPoint num="3" id="323" />
+<TGConnectingPoint num="4" id="324" />
+<TGConnectingPoint num="5" id="325" />
+<TGConnectingPoint num="6" id="326" />
+<TGConnectingPoint num="7" id="327" />
+<TGConnectingPoint num="8" id="328" />
+<TGConnectingPoint num="9" id="329" />
+<TGConnectingPoint num="10" id="330" />
+<TGConnectingPoint num="11" id="331" />
+<TGConnectingPoint num="12" id="332" />
+<TGConnectingPoint num="13" id="333" />
+<TGConnectingPoint num="14" id="334" />
+<TGConnectingPoint num="15" id="335" />
+<TGConnectingPoint num="16" id="336" />
+<TGConnectingPoint num="17" id="337" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="357" >
+<father id="477" num="6" />
+<cdparam x="661" y="356" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="339" />
+<TGConnectingPoint num="1" id="340" />
+<TGConnectingPoint num="2" id="341" />
+<TGConnectingPoint num="3" id="342" />
+<TGConnectingPoint num="4" id="343" />
+<TGConnectingPoint num="5" id="344" />
+<TGConnectingPoint num="6" id="345" />
+<TGConnectingPoint num="7" id="346" />
+<TGConnectingPoint num="8" id="347" />
+<TGConnectingPoint num="9" id="348" />
+<TGConnectingPoint num="10" id="349" />
+<TGConnectingPoint num="11" id="350" />
+<TGConnectingPoint num="12" id="351" />
+<TGConnectingPoint num="13" id="352" />
+<TGConnectingPoint num="14" id="353" />
+<TGConnectingPoint num="15" id="354" />
+<TGConnectingPoint num="16" id="355" />
+<TGConnectingPoint num="17" id="356" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="376" >
+<father id="477" num="7" />
+<cdparam x="697" y="438" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="358" />
+<TGConnectingPoint num="1" id="359" />
+<TGConnectingPoint num="2" id="360" />
+<TGConnectingPoint num="3" id="361" />
+<TGConnectingPoint num="4" id="362" />
+<TGConnectingPoint num="5" id="363" />
+<TGConnectingPoint num="6" id="364" />
+<TGConnectingPoint num="7" id="365" />
+<TGConnectingPoint num="8" id="366" />
+<TGConnectingPoint num="9" id="367" />
+<TGConnectingPoint num="10" id="368" />
+<TGConnectingPoint num="11" id="369" />
+<TGConnectingPoint num="12" id="370" />
+<TGConnectingPoint num="13" id="371" />
+<TGConnectingPoint num="14" id="372" />
+<TGConnectingPoint num="15" id="373" />
+<TGConnectingPoint num="16" id="374" />
+<TGConnectingPoint num="17" id="375" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="395" >
+<father id="477" num="8" />
+<cdparam x="697" y="438" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="377" />
+<TGConnectingPoint num="1" id="378" />
+<TGConnectingPoint num="2" id="379" />
+<TGConnectingPoint num="3" id="380" />
+<TGConnectingPoint num="4" id="381" />
+<TGConnectingPoint num="5" id="382" />
+<TGConnectingPoint num="6" id="383" />
+<TGConnectingPoint num="7" id="384" />
+<TGConnectingPoint num="8" id="385" />
+<TGConnectingPoint num="9" id="386" />
+<TGConnectingPoint num="10" id="387" />
+<TGConnectingPoint num="11" id="388" />
+<TGConnectingPoint num="12" id="389" />
+<TGConnectingPoint num="13" id="390" />
+<TGConnectingPoint num="14" id="391" />
+<TGConnectingPoint num="15" id="392" />
+<TGConnectingPoint num="16" id="393" />
+<TGConnectingPoint num="17" id="394" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="414" >
+<father id="477" num="9" />
+<cdparam x="661" y="381" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="396" />
+<TGConnectingPoint num="1" id="397" />
+<TGConnectingPoint num="2" id="398" />
+<TGConnectingPoint num="3" id="399" />
+<TGConnectingPoint num="4" id="400" />
+<TGConnectingPoint num="5" id="401" />
+<TGConnectingPoint num="6" id="402" />
+<TGConnectingPoint num="7" id="403" />
+<TGConnectingPoint num="8" id="404" />
+<TGConnectingPoint num="9" id="405" />
+<TGConnectingPoint num="10" id="406" />
+<TGConnectingPoint num="11" id="407" />
+<TGConnectingPoint num="12" id="408" />
+<TGConnectingPoint num="13" id="409" />
+<TGConnectingPoint num="14" id="410" />
+<TGConnectingPoint num="15" id="411" />
+<TGConnectingPoint num="16" id="412" />
+<TGConnectingPoint num="17" id="413" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="429" >
+<father id="477" num="10" />
+<cdparam x="1004" y="219" />
+<sizeparam width="112" height="113" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="333" minY="0" maxY="223" />
+<infoparam name="TGComponent" value="Timer" />
+<TGConnectingPoint num="0" id="421" />
+<TGConnectingPoint num="1" id="422" />
+<TGConnectingPoint num="2" id="423" />
+<TGConnectingPoint num="3" id="424" />
+<TGConnectingPoint num="4" id="425" />
+<TGConnectingPoint num="5" id="426" />
+<TGConnectingPoint num="6" id="427" />
+<TGConnectingPoint num="7" id="428" />
 <extraparam>
-<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="0" type="0" 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" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="79" >
-<father id="112" num="0" />
-<cdparam x="537" y="288" />
+<SUBCOMPONENT type="1203" id="416" >
+<father id="429" num="0" />
+<cdparam x="996" y="236" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="152" minY="-8" maxY="183" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="78" />
+<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="415" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -690,16 +1119,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="81" >
-<father id="112" num="1" />
-<cdparam x="461" y="120" />
+<SUBCOMPONENT type="1203" id="418" >
+<father id="429" num="1" />
+<cdparam x="996" y="265" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="152" minY="-8" maxY="183" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="80" />
+<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="417" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -707,16 +1136,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="83" >
-<father id="112" num="2" />
-<cdparam x="618" y="286" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="420" >
+<father id="429" num="2" />
+<cdparam x="996" y="296" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="82" />
+<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="419" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -724,16 +1153,41 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="85" >
-<father id="112" num="3" />
-<cdparam x="619" y="179" />
+<SUBCOMPONENT type="1202" id="468" >
+<father id="477" num="11" />
+<cdparam x="767" y="162" />
+<sizeparam width="190" height="255" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="255" minY="0" maxY="81" />
+<infoparam name="TGComponent" value="TCPIP" />
+<TGConnectingPoint num="0" id="460" />
+<TGConnectingPoint num="1" id="461" />
+<TGConnectingPoint num="2" id="462" />
+<TGConnectingPoint num="3" id="463" />
+<TGConnectingPoint num="4" id="464" />
+<TGConnectingPoint num="5" id="465" />
+<TGConnectingPoint num="6" id="466" />
+<TGConnectingPoint num="7" id="467" />
+<extraparam>
+<Attribute access="2" id="wind" value="64" 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" />
+<Attribute access="2" id="seqi" value="0" type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="431" >
+<father id="468" num="0" />
+<cdparam x="821" y="152" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="84" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="430" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -741,16 +1195,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="87" >
-<father id="112" num="4" />
-<cdparam x="619" y="214" />
+<SUBCOMPONENT type="1203" id="433" >
+<father id="468" num="1" />
+<cdparam x="757" y="179" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="86" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="432" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -758,16 +1212,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="89" >
-<father id="112" num="5" />
-<cdparam x="619" y="243" />
+<SUBCOMPONENT type="1203" id="435" >
+<father id="468" num="2" />
+<cdparam x="757" y="214" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="88" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="434" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -775,16 +1229,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="91" >
-<father id="112" num="6" />
-<cdparam x="459" y="152" />
+<SUBCOMPONENT type="1203" id="437" >
+<father id="468" num="3" />
+<cdparam x="757" y="243" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="90" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="436" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -792,16 +1246,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="93" >
-<father id="112" num="7" />
-<cdparam x="459" y="259" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="439" >
+<father id="468" num="4" />
+<cdparam x="759" y="306" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="92" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="438" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -809,16 +1263,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="95" >
-<father id="112" num="8" />
-<cdparam x="459" y="189" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="441" >
+<father id="468" num="5" />
+<cdparam x="818" y="409" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromDtoSC0" />
-<TGConnectingPoint num="0" id="94" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="440" />
 <extraparam>
-<Prop commName="fromDtoSC0" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -826,16 +1280,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="97" >
-<father id="112" num="9" />
-<cdparam x="459" y="225" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="443" >
+<father id="468" num="6" />
+<cdparam x="759" y="405" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="96" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="442" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -843,16 +1297,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="99" >
-<father id="112" num="10" />
-<cdparam x="459" y="285" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="445" >
+<father id="468" num="7" />
+<cdparam x="759" y="336" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="98" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="444" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -860,16 +1314,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="101" >
-<father id="112" num="11" />
-<cdparam x="505" y="95" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="447" >
+<father id="468" num="8" />
+<cdparam x="759" y="358" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
-<TGConnectingPoint num="0" id="100" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="446" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -877,16 +1331,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="103" >
-<father id="112" num="12" />
-<cdparam x="619" y="116" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="449" >
+<father id="468" num="9" />
+<cdparam x="759" y="383" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="102" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="448" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -894,34 +1348,33 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="135" >
-<father id="511" num="1" />
-<cdparam x="464" y="331" />
-<sizeparam width="192" height="116" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="451" >
+<father id="468" num="10" />
+<cdparam x="949" y="236" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="544" minY="0" maxY="274" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="127" />
-<TGConnectingPoint num="1" id="128" />
-<TGConnectingPoint num="2" id="129" />
-<TGConnectingPoint num="3" id="130" />
-<TGConnectingPoint num="4" id="131" />
-<TGConnectingPoint num="5" id="132" />
-<TGConnectingPoint num="6" id="133" />
-<TGConnectingPoint num="7" id="134" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="450" />
 <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="" associatedEvent="" />
+<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="114" >
-<father id="135" num="0" />
-<cdparam x="537" y="323" />
+<SUBCOMPONENT type="1203" id="453" >
+<father id="468" num="11" />
+<cdparam x="949" y="265" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="113" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="452" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -929,16 +1382,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="116" >
-<father id="135" num="1" />
-<cdparam x="648" y="358" />
+<SUBCOMPONENT type="1203" id="455" >
+<father id="468" num="12" />
+<cdparam x="949" y="166" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="115" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="454" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -946,16 +1399,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="118" >
-<father id="135" num="2" />
-<cdparam x="648" y="383" />
+<SUBCOMPONENT type="1203" id="457" >
+<father id="468" num="13" />
+<cdparam x="949" y="198" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="117" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="456" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -963,16 +1416,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="120" >
-<father id="135" num="3" />
-<cdparam x="648" y="405" />
+<SUBCOMPONENT type="1203" id="459" >
+<father id="468" num="14" />
+<cdparam x="949" y="296" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="119" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="458" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -980,16 +1433,34 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="122" >
-<father id="135" num="4" />
-<cdparam x="648" y="426" />
+<SUBCOMPONENT type="1202" id="500" >
+<father id="544" num="7" />
+<cdparam x="464" y="331" />
+<sizeparam width="192" height="116" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="544" minY="0" maxY="274" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="492" />
+<TGConnectingPoint num="1" id="493" />
+<TGConnectingPoint num="2" id="494" />
+<TGConnectingPoint num="3" id="495" />
+<TGConnectingPoint num="4" id="496" />
+<TGConnectingPoint num="5" id="497" />
+<TGConnectingPoint num="6" id="498" />
+<TGConnectingPoint num="7" id="499" />
+<extraparam>
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="479" >
+<father id="500" num="0" />
+<cdparam x="625" y="323" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="121" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="478" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -997,14 +1468,14 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="124" >
-<father id="135" num="5" />
+<SUBCOMPONENT type="1203" id="481" >
+<father id="500" num="1" />
 <cdparam x="648" y="336" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
 <infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="123" />
+<TGConnectingPoint num="0" id="480" />
 <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="" associatedEvent="" />
 <Type type="0" typeOther="" />
@@ -1014,16 +1485,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="126" >
-<father id="135" num="6" />
-<cdparam x="625" y="323" />
+<SUBCOMPONENT type="1203" id="483" >
+<father id="500" num="2" />
+<cdparam x="648" y="426" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="125" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="482" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1031,60 +1502,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1200" id="388" >
-<father id="511" num="2" />
-<cdparam x="707" y="112" />
-<sizeparam width="445" height="336" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="291" minY="0" maxY="54" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="380" />
-<TGConnectingPoint num="1" id="381" />
-<TGConnectingPoint num="2" id="382" />
-<TGConnectingPoint num="3" id="383" />
-<TGConnectingPoint num="4" id="384" />
-<TGConnectingPoint num="5" id="385" />
-<TGConnectingPoint num="6" id="386" />
-<TGConnectingPoint num="7" id="387" />
-<extraparam>
-<info hiddeni="false" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="174" >
-<father id="388" num="0" />
-<cdparam x="767" y="162" />
-<sizeparam width="190" height="255" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="255" minY="0" maxY="81" />
-<infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="166" />
-<TGConnectingPoint num="1" id="167" />
-<TGConnectingPoint num="2" id="168" />
-<TGConnectingPoint num="3" id="169" />
-<TGConnectingPoint num="4" id="170" />
-<TGConnectingPoint num="5" id="171" />
-<TGConnectingPoint num="6" id="172" />
-<TGConnectingPoint num="7" id="173" />
-<extraparam>
-<Attribute access="2" id="wind" value="64" 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" />
-<Attribute access="2" id="seqi" value="0" type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="137" >
-<father id="174" num="0" />
-<cdparam x="949" y="296" />
+<SUBCOMPONENT type="1203" id="485" >
+<father id="500" num="3" />
+<cdparam x="648" y="405" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="136" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="484" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1092,16 +1519,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="139" >
-<father id="174" num="1" />
-<cdparam x="949" y="198" />
+<SUBCOMPONENT type="1203" id="487" >
+<father id="500" num="4" />
+<cdparam x="648" y="383" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="138" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="486" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1109,16 +1536,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="141" >
-<father id="174" num="2" />
-<cdparam x="949" y="166" />
+<SUBCOMPONENT type="1203" id="489" >
+<father id="500" num="5" />
+<cdparam x="648" y="358" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="140" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="488" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1126,16 +1553,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="143" >
-<father id="174" num="3" />
-<cdparam x="949" y="265" />
+<SUBCOMPONENT type="1203" id="491" >
+<father id="500" num="6" />
+<cdparam x="537" y="323" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="142" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="490" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1143,33 +1570,41 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="145" >
-<father id="174" num="4" />
-<cdparam x="949" y="236" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="535" >
+<father id="544" num="8" />
+<cdparam x="469" y="105" />
+<sizeparam width="160" height="191" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="144" />
+<cdrectangleparam minX="0" maxX="576" minY="0" maxY="199" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="527" />
+<TGConnectingPoint num="1" id="528" />
+<TGConnectingPoint num="2" id="529" />
+<TGConnectingPoint num="3" id="530" />
+<TGConnectingPoint num="4" id="531" />
+<TGConnectingPoint num="5" id="532" />
+<TGConnectingPoint num="6" id="533" />
+<TGConnectingPoint num="7" id="534" />
 <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="" associatedEvent="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<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="0" type="0" 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" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="147" >
-<father id="174" num="5" />
-<cdparam x="759" y="383" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="502" >
+<father id="535" num="0" />
+<cdparam x="619" y="116" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="146" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="501" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1177,16 +1612,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="149" >
-<father id="174" num="6" />
-<cdparam x="759" y="358" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="504" >
+<father id="535" num="1" />
+<cdparam x="505" y="95" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="148" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="503" />
 <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="" associatedEvent="" />
+<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1194,16 +1629,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="151" >
-<father id="174" num="7" />
-<cdparam x="759" y="336" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="506" >
+<father id="535" num="2" />
+<cdparam x="459" y="285" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="150" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="505" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1211,16 +1646,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="153" >
-<father id="174" num="8" />
-<cdparam x="759" y="405" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="508" >
+<father id="535" num="3" />
+<cdparam x="459" y="225" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="152" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="507" />
 <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="" associatedEvent="" />
+<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1228,16 +1663,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="155" >
-<father id="174" num="9" />
-<cdparam x="818" y="409" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="510" >
+<father id="535" num="4" />
+<cdparam x="459" y="189" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="154" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromDtoSC0" />
+<TGConnectingPoint num="0" id="509" />
 <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="" associatedEvent="" />
+<Prop commName="fromDtoSC0" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1245,16 +1680,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="157" >
-<father id="174" num="10" />
-<cdparam x="759" y="306" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="512" >
+<father id="535" num="5" />
+<cdparam x="459" y="259" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="156" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="511" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1262,16 +1697,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="159" >
-<father id="174" num="11" />
-<cdparam x="757" y="243" />
+<SUBCOMPONENT type="1203" id="514" >
+<father id="535" num="6" />
+<cdparam x="459" y="152" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="158" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="513" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1279,16 +1714,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="161" >
-<father id="174" num="12" />
-<cdparam x="757" y="214" />
+<SUBCOMPONENT type="1203" id="516" >
+<father id="535" num="7" />
+<cdparam x="619" y="243" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="160" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="515" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1296,16 +1731,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="163" >
-<father id="174" num="13" />
-<cdparam x="757" y="179" />
+<SUBCOMPONENT type="1203" id="518" >
+<father id="535" num="8" />
+<cdparam x="619" y="214" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="162" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="517" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1313,16 +1748,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="165" >
-<father id="174" num="14" />
-<cdparam x="821" y="152" />
+<SUBCOMPONENT type="1203" id="520" >
+<father id="535" num="9" />
+<cdparam x="619" y="179" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="164" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="519" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1330,35 +1765,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="189" >
-<father id="388" num="1" />
-<cdparam x="1022" y="219" />
-<sizeparam width="112" height="113" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="333" minY="0" maxY="223" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="181" />
-<TGConnectingPoint num="1" id="182" />
-<TGConnectingPoint num="2" id="183" />
-<TGConnectingPoint num="3" id="184" />
-<TGConnectingPoint num="4" id="185" />
-<TGConnectingPoint num="5" id="186" />
-<TGConnectingPoint num="6" id="187" />
-<TGConnectingPoint num="7" id="188" />
-<extraparam>
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="176" >
-<father id="189" num="0" />
-<cdparam x="1014" y="296" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="522" >
+<father id="535" num="10" />
+<cdparam x="618" y="286" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="175" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="521" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1366,16 +1782,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="178" >
-<father id="189" num="1" />
-<cdparam x="1014" y="265" />
+<SUBCOMPONENT type="1203" id="524" >
+<father id="535" num="11" />
+<cdparam x="461" y="120" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="177" />
+<cdrectangleparam minX="-8" maxX="152" minY="-8" maxY="183" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="523" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1383,16 +1799,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="180" >
-<father id="189" num="2" />
-<cdparam x="1014" y="236" />
+<SUBCOMPONENT type="1203" id="526" >
+<father id="535" num="12" />
+<cdparam x="537" y="288" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="179" />
+<cdrectangleparam minX="-8" maxX="152" minY="-8" maxY="183" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="525" />
 <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="" associatedEvent="" />
+<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="" associatedEvent="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1400,456 +1816,40 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="208" >
-<father id="388" num="2" />
-<cdparam x="697" y="381" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="190" />
-<TGConnectingPoint num="1" id="191" />
-<TGConnectingPoint num="2" id="192" />
-<TGConnectingPoint num="3" id="193" />
-<TGConnectingPoint num="4" id="194" />
-<TGConnectingPoint num="5" id="195" />
-<TGConnectingPoint num="6" id="196" />
-<TGConnectingPoint num="7" id="197" />
-<TGConnectingPoint num="8" id="198" />
-<TGConnectingPoint num="9" id="199" />
-<TGConnectingPoint num="10" id="200" />
-<TGConnectingPoint num="11" id="201" />
-<TGConnectingPoint num="12" id="202" />
-<TGConnectingPoint num="13" id="203" />
-<TGConnectingPoint num="14" id="204" />
-<TGConnectingPoint num="15" id="205" />
-<TGConnectingPoint num="16" id="206" />
-<TGConnectingPoint num="17" id="207" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="227" >
-<father id="388" num="3" />
-<cdparam x="697" y="403" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="209" />
-<TGConnectingPoint num="1" id="210" />
-<TGConnectingPoint num="2" id="211" />
-<TGConnectingPoint num="3" id="212" />
-<TGConnectingPoint num="4" id="213" />
-<TGConnectingPoint num="5" id="214" />
-<TGConnectingPoint num="6" id="215" />
-<TGConnectingPoint num="7" id="216" />
-<TGConnectingPoint num="8" id="217" />
-<TGConnectingPoint num="9" id="218" />
-<TGConnectingPoint num="10" id="219" />
-<TGConnectingPoint num="11" id="220" />
-<TGConnectingPoint num="12" id="221" />
-<TGConnectingPoint num="13" id="222" />
-<TGConnectingPoint num="14" id="223" />
-<TGConnectingPoint num="15" id="224" />
-<TGConnectingPoint num="16" id="225" />
-<TGConnectingPoint num="17" id="226" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="246" >
-<father id="388" num="4" />
-<cdparam x="697" y="424" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="228" />
-<TGConnectingPoint num="1" id="229" />
-<TGConnectingPoint num="2" id="230" />
-<TGConnectingPoint num="3" id="231" />
-<TGConnectingPoint num="4" id="232" />
-<TGConnectingPoint num="5" id="233" />
-<TGConnectingPoint num="6" id="234" />
-<TGConnectingPoint num="7" id="235" />
-<TGConnectingPoint num="8" id="236" />
-<TGConnectingPoint num="9" id="237" />
-<TGConnectingPoint num="10" id="238" />
-<TGConnectingPoint num="11" id="239" />
-<TGConnectingPoint num="12" id="240" />
-<TGConnectingPoint num="13" id="241" />
-<TGConnectingPoint num="14" id="242" />
-<TGConnectingPoint num="15" id="243" />
-<TGConnectingPoint num="16" id="244" />
-<TGConnectingPoint num="17" id="245" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="265" >
-<father id="388" num="5" />
-<cdparam x="697" y="356" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="247" />
-<TGConnectingPoint num="1" id="248" />
-<TGConnectingPoint num="2" id="249" />
-<TGConnectingPoint num="3" id="250" />
-<TGConnectingPoint num="4" id="251" />
-<TGConnectingPoint num="5" id="252" />
-<TGConnectingPoint num="6" id="253" />
-<TGConnectingPoint num="7" id="254" />
-<TGConnectingPoint num="8" id="255" />
-<TGConnectingPoint num="9" id="256" />
-<TGConnectingPoint num="10" id="257" />
-<TGConnectingPoint num="11" id="258" />
-<TGConnectingPoint num="12" id="259" />
-<TGConnectingPoint num="13" id="260" />
-<TGConnectingPoint num="14" id="261" />
-<TGConnectingPoint num="15" id="262" />
-<TGConnectingPoint num="16" id="263" />
-<TGConnectingPoint num="17" id="264" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="284" >
-<father id="388" num="6" />
-<cdparam x="697" y="334" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="266" />
-<TGConnectingPoint num="1" id="267" />
-<TGConnectingPoint num="2" id="268" />
-<TGConnectingPoint num="3" id="269" />
-<TGConnectingPoint num="4" id="270" />
-<TGConnectingPoint num="5" id="271" />
-<TGConnectingPoint num="6" id="272" />
-<TGConnectingPoint num="7" id="273" />
-<TGConnectingPoint num="8" id="274" />
-<TGConnectingPoint num="9" id="275" />
-<TGConnectingPoint num="10" id="276" />
-<TGConnectingPoint num="11" id="277" />
-<TGConnectingPoint num="12" id="278" />
-<TGConnectingPoint num="13" id="279" />
-<TGConnectingPoint num="14" id="280" />
-<TGConnectingPoint num="15" id="281" />
-<TGConnectingPoint num="16" id="282" />
-<TGConnectingPoint num="17" id="283" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="303" >
-<father id="388" num="7" />
-<cdparam x="697" y="304" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="285" />
-<TGConnectingPoint num="1" id="286" />
-<TGConnectingPoint num="2" id="287" />
-<TGConnectingPoint num="3" id="288" />
-<TGConnectingPoint num="4" id="289" />
-<TGConnectingPoint num="5" id="290" />
-<TGConnectingPoint num="6" id="291" />
-<TGConnectingPoint num="7" id="292" />
-<TGConnectingPoint num="8" id="293" />
-<TGConnectingPoint num="9" id="294" />
-<TGConnectingPoint num="10" id="295" />
-<TGConnectingPoint num="11" id="296" />
-<TGConnectingPoint num="12" id="297" />
-<TGConnectingPoint num="13" id="298" />
-<TGConnectingPoint num="14" id="299" />
-<TGConnectingPoint num="15" id="300" />
-<TGConnectingPoint num="16" id="301" />
-<TGConnectingPoint num="17" id="302" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="322" >
-<father id="388" num="8" />
-<cdparam x="697" y="179" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="304" />
-<TGConnectingPoint num="1" id="305" />
-<TGConnectingPoint num="2" id="306" />
-<TGConnectingPoint num="3" id="307" />
-<TGConnectingPoint num="4" id="308" />
-<TGConnectingPoint num="5" id="309" />
-<TGConnectingPoint num="6" id="310" />
-<TGConnectingPoint num="7" id="311" />
-<TGConnectingPoint num="8" id="312" />
-<TGConnectingPoint num="9" id="313" />
-<TGConnectingPoint num="10" id="314" />
-<TGConnectingPoint num="11" id="315" />
-<TGConnectingPoint num="12" id="316" />
-<TGConnectingPoint num="13" id="317" />
-<TGConnectingPoint num="14" id="318" />
-<TGConnectingPoint num="15" id="319" />
-<TGConnectingPoint num="16" id="320" />
-<TGConnectingPoint num="17" id="321" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="341" >
-<father id="388" num="9" />
-<cdparam x="697" y="214" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="323" />
-<TGConnectingPoint num="1" id="324" />
-<TGConnectingPoint num="2" id="325" />
-<TGConnectingPoint num="3" id="326" />
-<TGConnectingPoint num="4" id="327" />
-<TGConnectingPoint num="5" id="328" />
-<TGConnectingPoint num="6" id="329" />
-<TGConnectingPoint num="7" id="330" />
-<TGConnectingPoint num="8" id="331" />
-<TGConnectingPoint num="9" id="332" />
-<TGConnectingPoint num="10" id="333" />
-<TGConnectingPoint num="11" id="334" />
-<TGConnectingPoint num="12" id="335" />
-<TGConnectingPoint num="13" id="336" />
-<TGConnectingPoint num="14" id="337" />
-<TGConnectingPoint num="15" id="338" />
-<TGConnectingPoint num="16" id="339" />
-<TGConnectingPoint num="17" id="340" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="360" >
-<father id="388" num="10" />
-<cdparam x="697" y="243" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="342" />
-<TGConnectingPoint num="1" id="343" />
-<TGConnectingPoint num="2" id="344" />
-<TGConnectingPoint num="3" id="345" />
-<TGConnectingPoint num="4" id="346" />
-<TGConnectingPoint num="5" id="347" />
-<TGConnectingPoint num="6" id="348" />
-<TGConnectingPoint num="7" id="349" />
-<TGConnectingPoint num="8" id="350" />
-<TGConnectingPoint num="9" id="351" />
-<TGConnectingPoint num="10" id="352" />
-<TGConnectingPoint num="11" id="353" />
-<TGConnectingPoint num="12" id="354" />
-<TGConnectingPoint num="13" id="355" />
-<TGConnectingPoint num="14" id="356" />
-<TGConnectingPoint num="15" id="357" />
-<TGConnectingPoint num="16" id="358" />
-<TGConnectingPoint num="17" id="359" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="379" >
-<father id="388" num="11" />
-<cdparam x="697" y="116" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="326" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="361" />
-<TGConnectingPoint num="1" id="362" />
-<TGConnectingPoint num="2" id="363" />
-<TGConnectingPoint num="3" id="364" />
-<TGConnectingPoint num="4" id="365" />
-<TGConnectingPoint num="5" id="366" />
-<TGConnectingPoint num="6" id="367" />
-<TGConnectingPoint num="7" id="368" />
-<TGConnectingPoint num="8" id="369" />
-<TGConnectingPoint num="9" id="370" />
-<TGConnectingPoint num="10" id="371" />
-<TGConnectingPoint num="11" id="372" />
-<TGConnectingPoint num="12" id="373" />
-<TGConnectingPoint num="13" id="374" />
-<TGConnectingPoint num="14" id="375" />
-<TGConnectingPoint num="15" id="376" />
-<TGConnectingPoint num="16" id="377" />
-<TGConnectingPoint num="17" id="378" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="407" >
-<father id="511" num="3" />
-<cdparam x="417" y="118" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="389" />
-<TGConnectingPoint num="1" id="390" />
-<TGConnectingPoint num="2" id="391" />
-<TGConnectingPoint num="3" id="392" />
-<TGConnectingPoint num="4" id="393" />
-<TGConnectingPoint num="5" id="394" />
-<TGConnectingPoint num="6" id="395" />
-<TGConnectingPoint num="7" id="396" />
-<TGConnectingPoint num="8" id="397" />
-<TGConnectingPoint num="9" id="398" />
-<TGConnectingPoint num="10" id="399" />
-<TGConnectingPoint num="11" id="400" />
-<TGConnectingPoint num="12" id="401" />
-<TGConnectingPoint num="13" id="402" />
-<TGConnectingPoint num="14" id="403" />
-<TGConnectingPoint num="15" id="404" />
-<TGConnectingPoint num="16" id="405" />
-<TGConnectingPoint num="17" id="406" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="426" >
-<father id="511" num="4" />
-<cdparam x="417" y="259" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="408" />
-<TGConnectingPoint num="1" id="409" />
-<TGConnectingPoint num="2" id="410" />
-<TGConnectingPoint num="3" id="411" />
-<TGConnectingPoint num="4" id="412" />
-<TGConnectingPoint num="5" id="413" />
-<TGConnectingPoint num="6" id="414" />
-<TGConnectingPoint num="7" id="415" />
-<TGConnectingPoint num="8" id="416" />
-<TGConnectingPoint num="9" id="417" />
-<TGConnectingPoint num="10" id="418" />
-<TGConnectingPoint num="11" id="419" />
-<TGConnectingPoint num="12" id="420" />
-<TGConnectingPoint num="13" id="421" />
-<TGConnectingPoint num="14" id="422" />
-<TGConnectingPoint num="15" id="423" />
-<TGConnectingPoint num="16" id="424" />
-<TGConnectingPoint num="17" id="425" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="445" >
-<father id="511" num="5" />
-<cdparam x="417" y="225" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="427" />
-<TGConnectingPoint num="1" id="428" />
-<TGConnectingPoint num="2" id="429" />
-<TGConnectingPoint num="3" id="430" />
-<TGConnectingPoint num="4" id="431" />
-<TGConnectingPoint num="5" id="432" />
-<TGConnectingPoint num="6" id="433" />
-<TGConnectingPoint num="7" id="434" />
-<TGConnectingPoint num="8" id="435" />
-<TGConnectingPoint num="9" id="436" />
-<TGConnectingPoint num="10" id="437" />
-<TGConnectingPoint num="11" id="438" />
-<TGConnectingPoint num="12" id="439" />
-<TGConnectingPoint num="13" id="440" />
-<TGConnectingPoint num="14" id="441" />
-<TGConnectingPoint num="15" id="442" />
-<TGConnectingPoint num="16" id="443" />
-<TGConnectingPoint num="17" id="444" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="464" >
-<father id="511" num="6" />
-<cdparam x="417" y="285" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="446" />
-<TGConnectingPoint num="1" id="447" />
-<TGConnectingPoint num="2" id="448" />
-<TGConnectingPoint num="3" id="449" />
-<TGConnectingPoint num="4" id="450" />
-<TGConnectingPoint num="5" id="451" />
-<TGConnectingPoint num="6" id="452" />
-<TGConnectingPoint num="7" id="453" />
-<TGConnectingPoint num="8" id="454" />
-<TGConnectingPoint num="9" id="455" />
-<TGConnectingPoint num="10" id="456" />
-<TGConnectingPoint num="11" id="457" />
-<TGConnectingPoint num="12" id="458" />
-<TGConnectingPoint num="13" id="459" />
-<TGConnectingPoint num="14" id="460" />
-<TGConnectingPoint num="15" id="461" />
-<TGConnectingPoint num="16" id="462" />
-<TGConnectingPoint num="17" id="463" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="483" >
-<father id="511" num="7" />
-<cdparam x="417" y="75" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="465" />
-<TGConnectingPoint num="1" id="466" />
-<TGConnectingPoint num="2" id="467" />
-<TGConnectingPoint num="3" id="468" />
-<TGConnectingPoint num="4" id="469" />
-<TGConnectingPoint num="5" id="470" />
-<TGConnectingPoint num="6" id="471" />
-<TGConnectingPoint num="7" id="472" />
-<TGConnectingPoint num="8" id="473" />
-<TGConnectingPoint num="9" id="474" />
-<TGConnectingPoint num="10" id="475" />
-<TGConnectingPoint num="11" id="476" />
-<TGConnectingPoint num="12" id="477" />
-<TGConnectingPoint num="13" id="478" />
-<TGConnectingPoint num="14" id="479" />
-<TGConnectingPoint num="15" id="480" />
-<TGConnectingPoint num="16" id="481" />
-<TGConnectingPoint num="17" id="482" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="502" >
-<father id="511" num="8" />
-<cdparam x="417" y="152" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="484" />
-<TGConnectingPoint num="1" id="485" />
-<TGConnectingPoint num="2" id="486" />
-<TGConnectingPoint num="3" id="487" />
-<TGConnectingPoint num="4" id="488" />
-<TGConnectingPoint num="5" id="489" />
-<TGConnectingPoint num="6" id="490" />
-<TGConnectingPoint num="7" id="491" />
-<TGConnectingPoint num="8" id="492" />
-<TGConnectingPoint num="9" id="493" />
-<TGConnectingPoint num="10" id="494" />
-<TGConnectingPoint num="11" id="495" />
-<TGConnectingPoint num="12" id="496" />
-<TGConnectingPoint num="13" id="497" />
-<TGConnectingPoint num="14" id="498" />
-<TGConnectingPoint num="15" id="499" />
-<TGConnectingPoint num="16" id="500" />
-<TGConnectingPoint num="17" id="501" />
-</SUBCOMPONENT>
 
 
 </TMLComponentTaskDiagramPanel>
 
 <TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="519" >
+<COMPONENT type="1012" id="552" >
 <cdparam x="553" y="376" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="515" />
-<TGConnectingPoint num="1" id="516" />
-<TGConnectingPoint num="2" id="517" />
-<TGConnectingPoint num="3" id="518" />
+<TGConnectingPoint num="0" id="548" />
+<TGConnectingPoint num="1" id="549" />
+<TGConnectingPoint num="2" id="550" />
+<TGConnectingPoint num="3" id="551" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="512" >
-<father id="519" num="0" />
+<SUBCOMPONENT type="-1" id="545" >
+<father id="552" num="0" />
 <cdparam x="528" y="386" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="513" >
-<father id="519" num="1" />
+<SUBCOMPONENT type="-1" id="546" >
+<father id="552" num="1" />
 <cdparam x="588" y="386" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="514" >
-<father id="519" num="2" />
+<SUBCOMPONENT type="-1" id="547" >
+<father id="552" num="2" />
 <cdparam x="573" y="421" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -1857,35 +1857,35 @@
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="527" >
+<COMPONENT type="1012" id="560" >
 <cdparam x="644" y="517" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="523" />
-<TGConnectingPoint num="1" id="524" />
-<TGConnectingPoint num="2" id="525" />
-<TGConnectingPoint num="3" id="526" />
+<TGConnectingPoint num="0" id="556" />
+<TGConnectingPoint num="1" id="557" />
+<TGConnectingPoint num="2" id="558" />
+<TGConnectingPoint num="3" id="559" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="520" >
-<father id="527" num="0" />
+<SUBCOMPONENT type="-1" id="553" >
+<father id="560" num="0" />
 <cdparam x="599" y="527" />
 <sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="521" >
-<father id="527" num="1" />
+<SUBCOMPONENT type="-1" id="554" >
+<father id="560" num="1" />
 <cdparam x="679" y="527" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="522" >
-<father id="527" num="2" />
+<SUBCOMPONENT type="-1" id="555" >
+<father id="560" num="2" />
 <cdparam x="664" y="562" />
 <sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -1893,262 +1893,262 @@
 <infoparam name="guard 3" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="529" >
+<COMPONENT type="1000" id="562" >
 <cdparam x="221" y="37" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="528" />
+<TGConnectingPoint num="0" id="561" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="532" >
+<COMPONENT type="1007" id="565" >
 <cdparam x="188" y="137" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send request" value="activation()" />
-<TGConnectingPoint num="0" id="530" />
-<TGConnectingPoint num="1" id="531" />
+<TGConnectingPoint num="0" id="563" />
+<TGConnectingPoint num="1" id="564" />
 <extraparam>
 <Data requestName="activation" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="535" >
+<COMPONENT type="1008" id="568" >
 <cdparam x="202" y="237" />
 <sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="reset()" />
-<TGConnectingPoint num="0" id="533" />
-<TGConnectingPoint num="1" id="534" />
+<TGConnectingPoint num="0" id="566" />
+<TGConnectingPoint num="1" id="567" />
 <extraparam>
 <Data eventName="reset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="538" >
+<COMPONENT type="1010" id="571" >
 <cdparam x="167" y="288" />
 <sizeparam width="120" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="answerToReset() " />
-<TGConnectingPoint num="0" id="536" />
-<TGConnectingPoint num="1" id="537" />
+<TGConnectingPoint num="0" id="569" />
+<TGConnectingPoint num="1" id="570" />
 <extraparam>
 <Data eventName="answerToReset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="541" >
+<COMPONENT type="1008" id="574" >
 <cdparam x="207" y="337" />
 <sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="pTS()" />
-<TGConnectingPoint num="0" id="539" />
-<TGConnectingPoint num="1" id="540" />
+<TGConnectingPoint num="0" id="572" />
+<TGConnectingPoint num="1" id="573" />
 <extraparam>
 <Data eventName="pTS" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="544" >
+<COMPONENT type="1010" id="577" >
 <cdparam x="356" y="165" />
 <sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="pTSConfirm() " />
-<TGConnectingPoint num="0" id="542" />
-<TGConnectingPoint num="1" id="543" />
+<TGConnectingPoint num="0" id="575" />
+<TGConnectingPoint num="1" id="576" />
 <breakpoint />
 <extraparam>
 <Data eventName="pTSConfirm" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="561" >
+<COMPONENT type="301" id="594" >
 <cdparam x="367" y="222" />
 <sizeparam width="110" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="UML Note" value="data exchange
 " />
-<TGConnectingPoint num="0" id="545" />
-<TGConnectingPoint num="1" id="546" />
-<TGConnectingPoint num="2" id="547" />
-<TGConnectingPoint num="3" id="548" />
-<TGConnectingPoint num="4" id="549" />
-<TGConnectingPoint num="5" id="550" />
-<TGConnectingPoint num="6" id="551" />
-<TGConnectingPoint num="7" id="552" />
-<TGConnectingPoint num="8" id="553" />
-<TGConnectingPoint num="9" id="554" />
-<TGConnectingPoint num="10" id="555" />
-<TGConnectingPoint num="11" id="556" />
-<TGConnectingPoint num="12" id="557" />
-<TGConnectingPoint num="13" id="558" />
-<TGConnectingPoint num="14" id="559" />
-<TGConnectingPoint num="15" id="560" />
+<TGConnectingPoint num="0" id="578" />
+<TGConnectingPoint num="1" id="579" />
+<TGConnectingPoint num="2" id="580" />
+<TGConnectingPoint num="3" id="581" />
+<TGConnectingPoint num="4" id="582" />
+<TGConnectingPoint num="5" id="583" />
+<TGConnectingPoint num="6" id="584" />
+<TGConnectingPoint num="7" id="585" />
+<TGConnectingPoint num="8" id="586" />
+<TGConnectingPoint num="9" id="587" />
+<TGConnectingPoint num="10" id="588" />
+<TGConnectingPoint num="11" id="589" />
+<TGConnectingPoint num="12" id="590" />
+<TGConnectingPoint num="13" id="591" />
+<TGConnectingPoint num="14" id="592" />
+<TGConnectingPoint num="15" id="593" />
 <extraparam>
 <Line value="data exchange" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="564" >
+<COMPONENT type="1006" id="597" >
 <cdparam x="429" y="448" />
 <sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="write channel" value="fromDtoSC(1)" />
-<TGConnectingPoint num="0" id="562" />
-<TGConnectingPoint num="1" id="563" />
+<TGConnectingPoint num="0" id="595" />
+<TGConnectingPoint num="1" id="596" />
 <extraparam>
 <Data channelName="fromDtoSC" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="567" >
+<COMPONENT type="1008" id="600" >
 <cdparam x="430" y="507" />
 <sizeparam width="93" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="data_Ready()" />
-<TGConnectingPoint num="0" id="565" />
-<TGConnectingPoint num="1" id="566" />
+<TGConnectingPoint num="0" id="598" />
+<TGConnectingPoint num="1" id="599" />
 <extraparam>
 <Data eventName="data_Ready" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="569" >
+<COMPONENT type="1001" id="602" >
 <cdparam x="466" y="570" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="568" />
+<TGConnectingPoint num="0" id="601" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="572" >
+<COMPONENT type="1017" id="605" >
 <cdparam x="588" y="447" />
 <sizeparam width="142" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="notified event" value="x=?data_Ready_SC()" />
-<TGConnectingPoint num="0" id="570" />
-<TGConnectingPoint num="1" id="571" />
+<TGConnectingPoint num="0" id="603" />
+<TGConnectingPoint num="1" id="604" />
 <extraparam>
 <Data eventName="data_Ready_SC" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="574" >
+<COMPONENT type="1001" id="607" >
 <cdparam x="569" y="577" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="573" />
+<TGConnectingPoint num="0" id="606" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="577" >
+<COMPONENT type="1009" id="610" >
 <cdparam x="610" y="700" />
 <sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="read channel" value="fromSCtoD(1) " />
-<TGConnectingPoint num="0" id="575" />
-<TGConnectingPoint num="1" id="576" />
+<TGConnectingPoint num="0" id="608" />
+<TGConnectingPoint num="1" id="609" />
 <extraparam>
 <Data channelName="fromSCtoD" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="580" >
+<COMPONENT type="1010" id="613" >
 <cdparam x="600" y="619" />
 <sizeparam width="119" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="data_Ready_SC() " />
-<TGConnectingPoint num="0" id="578" />
-<TGConnectingPoint num="1" id="579" />
+<TGConnectingPoint num="0" id="611" />
+<TGConnectingPoint num="1" id="612" />
 <accessibility />
 <extraparam>
 <Data eventName="data_Ready_SC" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="582" >
+<COMPONENT type="1001" id="615" >
 <cdparam x="649" y="774" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="581" />
+<TGConnectingPoint num="0" id="614" />
 </COMPONENT>
 
-<COMPONENT type="1014" id="586" >
+<COMPONENT type="1014" id="619" >
 <cdparam x="300" y="287" />
 <sizeparam width="268" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="for loop" value="for(i=0;i&lt;nbOfComputedPackets;i = i +1)" />
-<TGConnectingPoint num="0" id="583" />
-<TGConnectingPoint num="1" id="584" />
-<TGConnectingPoint num="2" id="585" />
+<TGConnectingPoint num="0" id="616" />
+<TGConnectingPoint num="1" id="617" />
+<TGConnectingPoint num="2" id="618" />
 <extraparam>
 <Data init="i=0" condition="i&lt;nbOfComputedPackets" increment="i = i +1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="588" >
+<COMPONENT type="1001" id="621" >
 <cdparam x="382" y="380" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="587" />
+<TGConnectingPoint num="0" id="620" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="593" >
+<CONNECTOR type="115" id="626" >
 <cdparam x="78" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="362" id="540" />
-<P2  x="403" y="160" id="542" />
+<P1  x="228" y="362" id="573" />
+<P2  x="403" y="160" id="575" />
 <Point x="228" y="383" />
 <Point x="307" y="383" />
 <Point x="307" y="140" />
 <Point x="403" y="140" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="589" >
-<father id="593" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="622" >
+<father id="626" num="0" />
 <cdparam x="228" y="383" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="590" >
-<father id="593" num="1" />
+<SUBCOMPONENT type="-1" id="623" >
+<father id="626" num="1" />
 <cdparam x="307" y="383" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="591" >
-<father id="593" num="2" />
+<SUBCOMPONENT type="-1" id="624" >
+<father id="626" num="2" />
 <cdparam x="307" y="140" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="592" >
-<father id="593" num="3" />
+<SUBCOMPONENT type="-1" id="625" >
+<father id="626" num="3" />
 <cdparam x="403" y="140" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2156,1412 +2156,1929 @@
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="115" id="594" >
+<CONNECTOR type="115" id="627" >
 <cdparam x="228" y="57" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to send request" value="null" />
-<P1  x="228" y="57" id="528" />
-<P2  x="228" y="132" id="530" />
+<P1  x="228" y="57" id="561" />
+<P2  x="228" y="132" id="563" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="595" >
+<CONNECTOR type="115" id="628" >
 <cdparam x="228" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send request to send event" value="null" />
-<P1  x="228" y="162" id="531" />
-<P2  x="228" y="232" id="533" />
+<P1  x="228" y="162" id="564" />
+<P2  x="228" y="232" id="566" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="596" >
+<CONNECTOR type="115" id="629" >
 <cdparam x="228" y="284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to send event" value="null" />
-<P1  x="227" y="313" id="537" />
-<P2  x="228" y="332" id="539" />
+<P1  x="227" y="313" id="570" />
+<P2  x="228" y="332" id="572" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="597" >
+<CONNECTOR type="115" id="630" >
 <cdparam x="528" y="391" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to write channel" value="null" />
-<P1  x="528" y="391" id="516" />
-<P2  x="476" y="443" id="562" />
+<P1  x="528" y="391" id="549" />
+<P2  x="476" y="443" id="595" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="598" >
+<CONNECTOR type="115" id="631" >
 <cdparam x="476" y="473" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="476" y="473" id="563" />
-<P2  x="476" y="502" id="565" />
+<P1  x="476" y="473" id="596" />
+<P2  x="476" y="502" id="598" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="599" >
+<CONNECTOR type="115" id="632" >
 <cdparam x="471" y="529" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to stop state" value="null" />
-<P1  x="476" y="532" id="566" />
-<P2  x="476" y="565" id="568" />
+<P1  x="476" y="532" id="599" />
+<P2  x="476" y="565" id="601" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="600" >
+<CONNECTOR type="115" id="633" >
 <cdparam x="619" y="532" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="619" y="532" id="524" />
-<P2  x="579" y="572" id="573" />
+<P1  x="619" y="532" id="557" />
+<P2  x="579" y="572" id="606" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="601" >
+<CONNECTOR type="115" id="634" >
 <cdparam x="580" y="405" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to notified event" value="null" />
-<P1  x="608" y="391" id="517" />
-<P2  x="659" y="442" id="570" />
+<P1  x="608" y="391" id="550" />
+<P2  x="659" y="442" id="603" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="602" >
+<CONNECTOR type="115" id="635" >
 <cdparam x="659" y="472" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from notified event to choice" value="null" />
-<P1  x="659" y="472" id="571" />
-<P2  x="659" y="507" id="523" />
+<P1  x="659" y="472" id="604" />
+<P2  x="659" y="507" id="556" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="603" >
+<CONNECTOR type="115" id="636" >
 <cdparam x="659" y="572" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="659" y="572" id="526" />
-<P2  x="659" y="614" id="578" />
+<P1  x="659" y="572" id="559" />
+<P2  x="659" y="614" id="611" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="604" >
+<CONNECTOR type="115" id="637" >
 <cdparam x="670" y="644" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="659" y="644" id="579" />
-<P2  x="659" y="695" id="575" />
+<P1  x="659" y="644" id="612" />
+<P2  x="659" y="695" id="608" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="605" >
+<CONNECTOR type="115" id="638" >
 <cdparam x="659" y="725" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to stop state" value="null" />
-<P1  x="659" y="725" id="576" />
-<P2  x="659" y="769" id="581" />
+<P1  x="659" y="725" id="609" />
+<P2  x="659" y="769" id="614" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="606" >
+<CONNECTOR type="115" id="639" >
 <cdparam x="491" y="302" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to choice" value="null" />
-<P1  x="568" y="301" id="584" />
-<P2  x="568" y="366" id="515" />
+<P1  x="568" y="301" id="617" />
+<P2  x="568" y="366" id="548" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="607" >
+<CONNECTOR type="115" id="640" >
 <cdparam x="403" y="190" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to for loop" value="null" />
-<P1  x="403" y="190" id="543" />
-<P2  x="434" y="282" id="583" />
+<P1  x="403" y="190" id="576" />
+<P2  x="434" y="282" id="616" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="608" >
+<CONNECTOR type="115" id="641" >
 <cdparam x="437" y="313" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to stop state" value="null" />
-<P1  x="434" y="312" id="585" />
-<P2  x="392" y="375" id="587" />
+<P1  x="434" y="312" id="618" />
+<P2  x="392" y="375" id="620" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="609" >
+<CONNECTOR type="115" id="642" >
 <cdparam x="228" y="262" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="262" id="534" />
-<P2  x="227" y="283" id="536" />
+<P1  x="228" y="262" id="567" />
+<P2  x="227" y="283" id="569" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="617" >
-<cdparam x="509" y="222" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="613" />
-<TGConnectingPoint num="1" id="614" />
-<TGConnectingPoint num="2" id="615" />
-<TGConnectingPoint num="3" id="616" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="610" >
-<father id="617" num="0" />
-<cdparam x="464" y="232" />
-<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ x==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="611" >
-<father id="617" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ x&gt;0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="612" >
-<father id="617" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="619" >
-<cdparam x="517" y="87" />
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1000" id="644" >
+<cdparam x="159" y="66" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="618" />
+<TGConnectingPoint num="0" id="643" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="621" >
-<cdparam x="417" y="367" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="647" >
+<cdparam x="138" y="129" />
+<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="620" />
+<infoparam name="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="645" />
+<TGConnectingPoint num="1" id="646" />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="624" >
-<cdparam x="393" y="299" />
-<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="650" >
+<cdparam x="108" y="182" />
+<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="timeOut()" />
-<TGConnectingPoint num="0" id="622" />
-<TGConnectingPoint num="1" id="623" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="648" />
+<TGConnectingPoint num="1" id="649" />
 <extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
+<Data eventName="answerToReset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="627" >
-<cdparam x="596" y="300" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="653" >
+<cdparam x="143" y="237" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="stop() " />
-<TGConnectingPoint num="0" id="625" />
-<TGConnectingPoint num="1" id="626" />
+<infoparam name="wait event" value="pTS() " />
+<TGConnectingPoint num="0" id="651" />
+<TGConnectingPoint num="1" id="652" />
 <extraparam>
-<Data eventName="stop" nbOfParams="5" />
+<Data eventName="pTS" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="629" >
-<cdparam x="612" y="365" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="628" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="632" >
-<cdparam x="487" y="150" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="656" >
+<cdparam x="121" y="308" />
+<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?stop()" />
-<TGConnectingPoint num="0" id="630" />
-<TGConnectingPoint num="1" id="631" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="654" />
+<TGConnectingPoint num="1" id="655" />
 <extraparam>
-<Data eventName="stop" variable="x" />
+<Data eventName="pTSConfirm" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="633" >
-<cdparam x="427" y="324" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="427" y="324" id="623" />
-<P2  x="427" y="362" id="620" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="634" >
-<cdparam x="622" y="325" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="622" y="325" id="626" />
-<P2  x="622" y="360" id="628" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="635" >
-<cdparam x="524" y="107" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to notified event" value="null" />
-<P1  x="524" y="107" id="618" />
-<P2  x="524" y="145" id="630" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="636" >
-<cdparam x="524" y="175" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="524" y="175" id="631" />
-<P2  x="524" y="212" id="613" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="637" >
-<cdparam x="484" y="237" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="484" y="237" id="614" />
-<P2  x="427" y="294" id="622" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="638" >
-<cdparam x="564" y="237" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="564" y="237" id="615" />
-<P2  x="622" y="295" id="625" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1012" id="646" >
-<cdparam x="2086" y="1378" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="673" >
+<cdparam x="376" y="98" />
+<sizeparam width="237" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="642" />
-<TGConnectingPoint num="1" id="643" />
-<TGConnectingPoint num="2" id="644" />
-<TGConnectingPoint num="3" id="645" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="UML Note" value="The first two layers of the OSI model 
+are used to communicate between 
+the smart card and the terminal
+" />
+<TGConnectingPoint num="0" id="657" />
+<TGConnectingPoint num="1" id="658" />
+<TGConnectingPoint num="2" id="659" />
+<TGConnectingPoint num="3" id="660" />
+<TGConnectingPoint num="4" id="661" />
+<TGConnectingPoint num="5" id="662" />
+<TGConnectingPoint num="6" id="663" />
+<TGConnectingPoint num="7" id="664" />
+<TGConnectingPoint num="8" id="665" />
+<TGConnectingPoint num="9" id="666" />
+<TGConnectingPoint num="10" id="667" />
+<TGConnectingPoint num="11" id="668" />
+<TGConnectingPoint num="12" id="669" />
+<TGConnectingPoint num="13" id="670" />
+<TGConnectingPoint num="14" id="671" />
+<TGConnectingPoint num="15" id="672" />
+<extraparam>
+<Line value="The first two layers of the OSI model " />
+<Line value="are used to communicate between " />
+<Line value="the smart card and the terminal" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="639" >
-<father id="646" num="0" />
-<cdparam x="2061" y="1388" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="640" >
-<father id="646" num="1" />
-<cdparam x="2121" y="1388" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="641" >
-<father id="646" num="2" />
-<cdparam x="2106" y="1426" />
-<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="654" >
-<cdparam x="2262" y="951" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="676" >
+<cdparam x="250" y="97" />
+<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="650" />
-<TGConnectingPoint num="1" id="651" />
-<TGConnectingPoint num="2" id="652" />
-<TGConnectingPoint num="3" id="653" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="674" />
+<TGConnectingPoint num="1" id="675" />
+<extraparam>
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="647" >
-<father id="654" num="0" />
-<cdparam x="2212" y="961" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="648" >
-<father id="654" num="1" />
-<cdparam x="2297" y="961" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="649" >
-<father id="654" num="2" />
-<cdparam x="2282" y="996" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ else ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="662" >
-<cdparam x="1981" y="1346" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="679" >
+<cdparam x="236" y="148" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="658" />
-<TGConnectingPoint num="1" id="659" />
-<TGConnectingPoint num="2" id="660" />
-<TGConnectingPoint num="3" id="661" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_Application()" />
+<TGConnectingPoint num="0" id="677" />
+<TGConnectingPoint num="1" id="678" />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="655" >
-<father id="662" num="0" />
-<cdparam x="1934" y="1356" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="656" >
-<father id="662" num="1" />
-<cdparam x="2016" y="1356" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="657" >
-<father id="662" num="2" />
-<cdparam x="2001" y="1391" />
-<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="670" >
-<cdparam x="1811" y="1269" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="681" >
+<cdparam x="515" y="428" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="666" />
-<TGConnectingPoint num="1" id="667" />
-<TGConnectingPoint num="2" id="668" />
-<TGConnectingPoint num="3" id="669" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="680" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="663" >
-<father id="670" num="0" />
-<cdparam x="1762" y="1279" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="664" >
-<father id="670" num="1" />
-<cdparam x="1846" y="1279" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="665" >
-<father id="670" num="2" />
-<cdparam x="1831" y="1314" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="678" >
-<cdparam x="1716" y="1141" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="684" >
+<cdparam x="305" y="350" />
+<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="674" />
-<TGConnectingPoint num="1" id="675" />
-<TGConnectingPoint num="2" id="676" />
-<TGConnectingPoint num="3" id="677" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="data_Ready_SC()" />
+<TGConnectingPoint num="0" id="682" />
+<TGConnectingPoint num="1" id="683" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="671" >
-<father id="678" num="0" />
-<cdparam x="1691" y="1151" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="672" >
-<father id="678" num="1" />
-<cdparam x="1751" y="1151" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="673" >
-<father id="678" num="2" />
-<cdparam x="1736" y="1186" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="682" >
-<cdparam x="1524" y="1254" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="686" >
+<cdparam x="352" y="426" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="680" />
-<TGConnectingPoint num="1" id="681" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="685" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="679" >
-<father id="682" num="0" />
-<cdparam x="1539" y="1274" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="686" >
-<cdparam x="1524" y="1064" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="689" >
+<cdparam x="318" y="308" />
+<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="684" />
-<TGConnectingPoint num="1" id="685" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromTtoP(1) " />
+<TGConnectingPoint num="0" id="687" />
+<TGConnectingPoint num="1" id="688" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="683" >
-<father id="686" num="0" />
-<cdparam x="1538" y="1088" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="694" >
-<cdparam x="1592" y="1006" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="692" >
+<cdparam x="335" y="264" />
+<sizeparam width="55" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="send() " />
 <TGConnectingPoint num="0" id="690" />
 <TGConnectingPoint num="1" id="691" />
-<TGConnectingPoint num="2" id="692" />
-<TGConnectingPoint num="3" id="693" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="687" >
-<father id="694" num="0" />
-<cdparam x="1542" y="1016" />
-<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1006" id="695" >
+<cdparam x="315" y="392" />
+<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="688" >
-<father id="694" num="1" />
-<cdparam x="1627" y="1016" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="689" >
-<father id="694" num="2" />
-<cdparam x="1612" y="1051" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromSCtoD(1)" />
+<TGConnectingPoint num="0" id="693" />
+<TGConnectingPoint num="1" id="694" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1012" id="702" >
-<cdparam x="1713" y="875" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="698" >
+<cdparam x="493" y="350" />
+<sizeparam width="65" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="698" />
-<TGConnectingPoint num="1" id="699" />
-<TGConnectingPoint num="2" id="700" />
-<TGConnectingPoint num="3" id="701" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="receive()" />
+<TGConnectingPoint num="0" id="696" />
+<TGConnectingPoint num="1" id="697" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="695" >
-<father id="702" num="0" />
-<cdparam x="1688" y="885" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="696" >
-<father id="702" num="1" />
-<cdparam x="1748" y="885" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="697" >
-<father id="702" num="2" />
-<cdparam x="1733" y="920" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1009" id="701" >
+<cdparam x="472" y="311" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromDtoSC0(1) " />
+<TGConnectingPoint num="0" id="699" />
+<TGConnectingPoint num="1" id="700" />
+<extraparam>
+<Data channelName="fromDtoSC0" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1013" id="706" >
-<cdparam x="1636" y="1235" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="704" >
+<cdparam x="483" y="387" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="704" />
-<TGConnectingPoint num="1" id="705" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="702" />
+<TGConnectingPoint num="1" id="703" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="703" >
-<father id="706" num="0" />
-<cdparam x="1655" y="1254" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1010" id="707" >
+<cdparam x="477" y="268" />
+<sizeparam width="97" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="data_Ready() " />
+<TGConnectingPoint num="0" id="705" />
+<TGConnectingPoint num="1" id="706" />
+<breakpoint />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1013" id="710" >
-<cdparam x="2213" y="1059" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="711" >
+<cdparam x="236" y="202" />
+<sizeparam width="124" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
 <TGConnectingPoint num="0" id="708" />
 <TGConnectingPoint num="1" id="709" />
+<TGConnectingPoint num="2" id="710" />
+<extraparam>
+<Data init="j=0" condition="x==0" increment="j = j" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="707" >
-<father id="710" num="0" />
-<cdparam x="2200" y="1083" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="714" >
-<cdparam x="2336" y="1024" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="713" >
+<cdparam x="297" y="231" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
 <TGConnectingPoint num="0" id="712" />
-<TGConnectingPoint num="1" id="713" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="711" >
-<father id="714" num="0" />
-<cdparam x="2312" y="1044" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1018" id="724" >
+<cdparam x="424" y="226" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="714" />
+<TGConnectingPoint num="1" id="715" />
+<TGConnectingPoint num="2" id="716" />
+<TGConnectingPoint num="3" id="717" />
+<TGConnectingPoint num="4" id="718" />
+<TGConnectingPoint num="5" id="719" />
+<TGConnectingPoint num="6" id="720" />
+<TGConnectingPoint num="7" id="721" />
+<TGConnectingPoint num="8" id="722" />
+<TGConnectingPoint num="9" id="723" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="729" >
+<cdparam x="111" y="331" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="166" y="333" id="655" />
+<P2  x="298" y="92" id="674" />
+<Point x="166" y="351" />
+<Point x="231" y="351" />
+<Point x="231" y="72" />
+<Point x="298" y="72" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="725" >
+<father id="729" num="0" />
+<cdparam x="166" y="351" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="726" >
+<father id="729" num="1" />
+<cdparam x="231" y="351" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="727" >
+<father id="729" num="2" />
+<cdparam x="231" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="728" >
+<father id="729" num="3" />
+<cdparam x="298" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="722" >
-<cdparam x="1193" y="1020" />
+<CONNECTOR type="115" id="730" >
+<cdparam x="166" y="64" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to wait event" value="null" />
+<P1  x="166" y="86" id="643" />
+<P2  x="166" y="124" id="645" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="731" >
+<cdparam x="166" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="154" id="646" />
+<P2  x="166" y="177" id="648" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="732" >
+<cdparam x="312" y="133" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to send request" value="null" />
+<P1  x="298" y="122" id="675" />
+<P2  x="298" y="143" id="677" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="733" >
+<cdparam x="355" y="300" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="362" y="289" id="691" />
+<P2  x="362" y="303" id="687" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="734" >
+<cdparam x="355" y="365" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="362" y="333" id="688" />
+<P2  x="362" y="345" id="682" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="735" >
+<cdparam x="355" y="417" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="362" y="375" id="683" />
+<P2  x="362" y="387" id="693" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="736" >
+<cdparam x="355" y="473" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="362" y="417" id="694" />
+<P2  x="362" y="421" id="685" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="737" >
+<cdparam x="541" y="358" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="525" y="336" id="700" />
+<P2  x="525" y="345" id="696" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="738" >
+<cdparam x="540" y="402" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="525" y="375" id="697" />
+<P2  x="525" y="382" id="702" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="739" >
+<cdparam x="543" y="305" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="525" y="293" id="706" />
+<P2  x="525" y="306" id="699" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="740" >
+<cdparam x="540" y="464" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="525" y="412" id="703" />
+<P2  x="525" y="423" id="680" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="741" >
+<cdparam x="298" y="173" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to for loop" value="null" />
+<P1  x="298" y="173" id="678" />
+<P2  x="298" y="197" id="708" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="742" >
+<cdparam x="328" y="232" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to stop state" value="null" />
+<P1  x="298" y="227" id="710" />
+<P2  x="307" y="226" id="712" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="743" >
+<cdparam x="395" y="283" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="399" y="241" id="715" />
+<P2  x="362" y="259" id="690" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="744" >
+<cdparam x="543" y="341" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="479" y="241" id="716" />
+<P2  x="525" y="263" id="705" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="745" >
+<cdparam x="391" y="282" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="360" y="216" id="709" />
+<P2  x="439" y="216" id="714" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="746" >
+<cdparam x="164" y="262" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="262" id="652" />
+<P2  x="166" y="303" id="654" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="747" >
+<cdparam x="166" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="166" y="207" id="649" />
+<P2  x="166" y="232" id="651" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="755" >
+<cdparam x="491" y="277" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="718" />
-<TGConnectingPoint num="1" id="719" />
-<TGConnectingPoint num="2" id="720" />
-<TGConnectingPoint num="3" id="721" />
+<TGConnectingPoint num="0" id="751" />
+<TGConnectingPoint num="1" id="752" />
+<TGConnectingPoint num="2" id="753" />
+<TGConnectingPoint num="3" id="754" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="715" >
-<father id="722" num="0" />
-<cdparam x="1168" y="1030" />
+<SUBCOMPONENT type="-1" id="748" >
+<father id="755" num="0" />
+<cdparam x="466" y="287" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="716" >
-<father id="722" num="1" />
-<cdparam x="1228" y="1030" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="749" >
+<father id="755" num="1" />
+<cdparam x="526" y="287" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
+<infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="717" >
-<father id="722" num="2" />
-<cdparam x="1213" y="1065" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
+<SUBCOMPONENT type="-1" id="750" >
+<father id="755" num="2" />
+<cdparam x="511" y="322" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
+<infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="726" >
-<cdparam x="1203" y="1107" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="757" >
+<cdparam x="501" y="91" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="724" />
-<TGConnectingPoint num="1" id="725" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="756" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="723" >
-<father id="726" num="0" />
-<cdparam x="1218" y="1127" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1008" id="760" >
+<cdparam x="482" y="129" />
+<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="open()" />
+<TGConnectingPoint num="0" id="758" />
+<TGConnectingPoint num="1" id="759" />
+<extraparam>
+<Data eventName="open" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1012" id="734" >
-<cdparam x="557" y="712" />
+<COMPONENT type="1006" id="763" >
+<cdparam x="466" y="178" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="761" />
+<TGConnectingPoint num="1" id="762" />
+<extraparam>
+<Data channelName="fromAtoT" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="766" >
+<cdparam x="467" y="226" />
+<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="764" />
+<TGConnectingPoint num="1" id="765" />
+<extraparam>
+<Data eventName="send_TCP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="768" >
+<cdparam x="576" y="388" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="767" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="771" >
+<cdparam x="559" y="329" />
+<sizeparam width="54" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="abort()" />
+<TGConnectingPoint num="0" id="769" />
+<TGConnectingPoint num="1" id="770" />
+<extraparam>
+<Data eventName="abort" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="774" >
+<cdparam x="406" y="337" />
+<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="close()" />
+<TGConnectingPoint num="0" id="772" />
+<TGConnectingPoint num="1" id="773" />
+<extraparam>
+<Data eventName="close" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="776" >
+<cdparam x="422" y="386" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="775" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="777" >
+<cdparam x="509" y="94" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to send event" value="null" />
+<P1  x="508" y="111" id="756" />
+<P2  x="508" y="124" id="758" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="778" >
+<cdparam x="508" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="508" y="154" id="759" />
+<P2  x="508" y="173" id="761" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="779" >
+<cdparam x="508" y="222" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="508" y="203" id="762" />
+<P2  x="507" y="221" id="764" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="780" >
+<cdparam x="586" y="354" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="586" y="354" id="770" />
+<P2  x="586" y="383" id="767" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="781" >
+<cdparam x="508" y="298" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="507" y="251" id="765" />
+<P2  x="506" y="267" id="751" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="782" >
+<cdparam x="470" y="348" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="466" y="292" id="752" />
+<P2  x="432" y="332" id="772" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="783" >
+<cdparam x="432" y="362" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="432" y="362" id="773" />
+<P2  x="432" y="381" id="775" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="784" >
+<cdparam x="550" y="348" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="546" y="292" id="753" />
+<P2  x="586" y="324" id="769" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
+<COMPONENT type="1012" id="792" >
+<cdparam x="2086" y="1378" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="730" />
-<TGConnectingPoint num="1" id="731" />
-<TGConnectingPoint num="2" id="732" />
-<TGConnectingPoint num="3" id="733" />
+<TGConnectingPoint num="0" id="788" />
+<TGConnectingPoint num="1" id="789" />
+<TGConnectingPoint num="2" id="790" />
+<TGConnectingPoint num="3" id="791" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="727" >
-<father id="734" num="0" />
-<cdparam x="514" y="722" />
-<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="785" >
+<father id="792" num="0" />
+<cdparam x="2061" y="1388" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
+<infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="728" >
-<father id="734" num="1" />
-<cdparam x="592" y="722" />
+<SUBCOMPONENT type="-1" id="786" >
+<father id="792" num="1" />
+<cdparam x="2121" y="1388" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="729" >
-<father id="734" num="2" />
-<cdparam x="577" y="757" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="787" >
+<father id="792" num="2" />
+<cdparam x="2106" y="1426" />
+<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="738" >
-<cdparam x="717" y="694" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="800" >
+<cdparam x="2262" y="951" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="736" />
-<TGConnectingPoint num="1" id="737" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="796" />
+<TGConnectingPoint num="1" id="797" />
+<TGConnectingPoint num="2" id="798" />
+<TGConnectingPoint num="3" id="799" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="735" >
-<father id="738" num="0" />
-<cdparam x="732" y="714" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="793" >
+<father id="800" num="0" />
+<cdparam x="2212" y="961" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
 </SUBCOMPONENT>
-
-<COMPONENT type="1013" id="742" >
-<cdparam x="938" y="1025" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="794" >
+<father id="800" num="1" />
+<cdparam x="2297" y="961" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="740" />
-<TGConnectingPoint num="1" id="741" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="739" >
-<father id="742" num="0" />
-<cdparam x="953" y="1045" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="795" >
+<father id="800" num="2" />
+<cdparam x="2282" y="996" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="750" >
-<cdparam x="1034" y="939" />
+<COMPONENT type="1012" id="808" >
+<cdparam x="1981" y="1346" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="746" />
-<TGConnectingPoint num="1" id="747" />
-<TGConnectingPoint num="2" id="748" />
-<TGConnectingPoint num="3" id="749" />
+<TGConnectingPoint num="0" id="804" />
+<TGConnectingPoint num="1" id="805" />
+<TGConnectingPoint num="2" id="806" />
+<TGConnectingPoint num="3" id="807" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="743" >
-<father id="750" num="0" />
-<cdparam x="989" y="949" />
+<SUBCOMPONENT type="-1" id="801" >
+<father id="808" num="0" />
+<cdparam x="1934" y="1356" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="744" >
-<father id="750" num="1" />
-<cdparam x="1070" y="949" />
+<SUBCOMPONENT type="-1" id="802" >
+<father id="808" num="1" />
+<cdparam x="2016" y="1356" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="745" >
-<father id="750" num="2" />
-<cdparam x="1054" y="984" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="803" >
+<father id="808" num="2" />
+<cdparam x="2001" y="1391" />
+<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
+<infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="754" >
-<cdparam x="795" y="1009" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="816" >
+<cdparam x="1811" y="1269" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="752" />
-<TGConnectingPoint num="1" id="753" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="812" />
+<TGConnectingPoint num="1" id="813" />
+<TGConnectingPoint num="2" id="814" />
+<TGConnectingPoint num="3" id="815" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="751" >
-<father id="754" num="0" />
-<cdparam x="818" y="1031" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="809" >
+<father id="816" num="0" />
+<cdparam x="1762" y="1279" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="810" >
+<father id="816" num="1" />
+<cdparam x="1846" y="1279" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="811" >
+<father id="816" num="2" />
+<cdparam x="1831" y="1314" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="762" >
-<cdparam x="828" y="869" />
+<COMPONENT type="1012" id="824" >
+<cdparam x="1716" y="1141" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="758" />
-<TGConnectingPoint num="1" id="759" />
-<TGConnectingPoint num="2" id="760" />
-<TGConnectingPoint num="3" id="761" />
+<TGConnectingPoint num="0" id="820" />
+<TGConnectingPoint num="1" id="821" />
+<TGConnectingPoint num="2" id="822" />
+<TGConnectingPoint num="3" id="823" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="755" >
-<father id="762" num="0" />
-<cdparam x="753" y="885" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="817" >
+<father id="824" num="0" />
+<cdparam x="1691" y="1151" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
+<infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="756" >
-<father id="762" num="1" />
-<cdparam x="863" y="879" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="818" >
+<father id="824" num="1" />
+<cdparam x="1751" y="1151" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
+<infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="757" >
-<father id="762" num="2" />
-<cdparam x="848" y="914" />
-<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="819" >
+<father id="824" num="2" />
+<cdparam x="1736" y="1186" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
+<infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="766" >
-<cdparam x="341" y="764" />
+<COMPONENT type="1013" id="828" >
+<cdparam x="1524" y="1254" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="764" />
-<TGConnectingPoint num="1" id="765" />
+<TGConnectingPoint num="0" id="826" />
+<TGConnectingPoint num="1" id="827" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="763" >
-<father id="766" num="0" />
-<cdparam x="354" y="785" />
+<SUBCOMPONENT type="-1" id="825" >
+<father id="828" num="0" />
+<cdparam x="1539" y="1274" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="770" >
-<cdparam x="127" y="794" />
+<COMPONENT type="1013" id="832" >
+<cdparam x="1524" y="1064" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="768" />
-<TGConnectingPoint num="1" id="769" />
+<TGConnectingPoint num="0" id="830" />
+<TGConnectingPoint num="1" id="831" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="767" >
-<father id="770" num="0" />
-<cdparam x="146" y="818" />
+<SUBCOMPONENT type="-1" id="829" >
+<father id="832" num="0" />
+<cdparam x="1538" y="1088" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="778" >
-<cdparam x="993" y="780" />
+<COMPONENT type="1012" id="840" >
+<cdparam x="1592" y="1006" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="774" />
-<TGConnectingPoint num="1" id="775" />
-<TGConnectingPoint num="2" id="776" />
-<TGConnectingPoint num="3" id="777" />
+<TGConnectingPoint num="0" id="836" />
+<TGConnectingPoint num="1" id="837" />
+<TGConnectingPoint num="2" id="838" />
+<TGConnectingPoint num="3" id="839" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="771" >
-<father id="778" num="0" />
-<cdparam x="949" y="793" />
+<SUBCOMPONENT type="-1" id="833" >
+<father id="840" num="0" />
+<cdparam x="1542" y="1016" />
+<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="834" >
+<father id="840" num="1" />
+<cdparam x="1627" y="1016" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="835" >
+<father id="840" num="2" />
+<cdparam x="1612" y="1051" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1012" id="848" >
+<cdparam x="1713" y="875" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="844" />
+<TGConnectingPoint num="1" id="845" />
+<TGConnectingPoint num="2" id="846" />
+<TGConnectingPoint num="3" id="847" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="841" >
+<father id="848" num="0" />
+<cdparam x="1688" y="885" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="772" >
-<father id="778" num="1" />
-<cdparam x="1028" y="790" />
+<SUBCOMPONENT type="-1" id="842" >
+<father id="848" num="1" />
+<cdparam x="1748" y="885" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="773" >
-<father id="778" num="2" />
-<cdparam x="1013" y="825" />
+<SUBCOMPONENT type="-1" id="843" >
+<father id="848" num="2" />
+<cdparam x="1733" y="920" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="782" >
-<cdparam x="1003" y="701" />
+<COMPONENT type="1013" id="852" >
+<cdparam x="1636" y="1235" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="780" />
-<TGConnectingPoint num="1" id="781" />
+<TGConnectingPoint num="0" id="850" />
+<TGConnectingPoint num="1" id="851" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="779" >
-<father id="782" num="0" />
-<cdparam x="1018" y="721" />
+<SUBCOMPONENT type="-1" id="849" >
+<father id="852" num="0" />
+<cdparam x="1655" y="1254" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="786" >
-<cdparam x="434" y="783" />
+<COMPONENT type="1013" id="856" >
+<cdparam x="2213" y="1059" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="784" />
-<TGConnectingPoint num="1" id="785" />
+<TGConnectingPoint num="0" id="854" />
+<TGConnectingPoint num="1" id="855" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="783" >
-<father id="786" num="0" />
-<cdparam x="449" y="802" />
+<SUBCOMPONENT type="-1" id="853" >
+<father id="856" num="0" />
+<cdparam x="2200" y="1083" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="790" >
-<cdparam x="225" y="863" />
+<COMPONENT type="1013" id="860" >
+<cdparam x="2336" y="1024" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="788" />
-<TGConnectingPoint num="1" id="789" />
+<TGConnectingPoint num="0" id="858" />
+<TGConnectingPoint num="1" id="859" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="787" >
-<father id="790" num="0" />
-<cdparam x="245" y="885" />
+<SUBCOMPONENT type="-1" id="857" >
+<father id="860" num="0" />
+<cdparam x="2312" y="1044" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="794" >
-<cdparam x="1044" y="1057" />
+<COMPONENT type="1012" id="868" >
+<cdparam x="1193" y="1020" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="864" />
+<TGConnectingPoint num="1" id="865" />
+<TGConnectingPoint num="2" id="866" />
+<TGConnectingPoint num="3" id="867" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="861" >
+<father id="868" num="0" />
+<cdparam x="1168" y="1030" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="862" >
+<father id="868" num="1" />
+<cdparam x="1228" y="1030" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="863" >
+<father id="868" num="2" />
+<cdparam x="1213" y="1065" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1013" id="872" >
+<cdparam x="1203" y="1107" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="792" />
-<TGConnectingPoint num="1" id="793" />
+<TGConnectingPoint num="0" id="870" />
+<TGConnectingPoint num="1" id="871" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="791" >
-<father id="794" num="0" />
-<cdparam x="1059" y="1077" />
+<SUBCOMPONENT type="-1" id="869" >
+<father id="872" num="0" />
+<cdparam x="1218" y="1127" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="802" >
-<cdparam x="173" y="486" />
+<COMPONENT type="1012" id="880" >
+<cdparam x="557" y="712" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="798" />
-<TGConnectingPoint num="1" id="799" />
-<TGConnectingPoint num="2" id="800" />
-<TGConnectingPoint num="3" id="801" />
+<TGConnectingPoint num="0" id="876" />
+<TGConnectingPoint num="1" id="877" />
+<TGConnectingPoint num="2" id="878" />
+<TGConnectingPoint num="3" id="879" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="795" >
-<father id="802" num="0" />
-<cdparam x="98" y="496" />
-<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="873" >
+<father id="880" num="0" />
+<cdparam x="514" y="722" />
+<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
+<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="796" >
-<father id="802" num="1" />
-<cdparam x="208" y="496" />
+<SUBCOMPONENT type="-1" id="874" >
+<father id="880" num="1" />
+<cdparam x="592" y="722" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="797" >
-<father id="802" num="2" />
-<cdparam x="193" y="531" />
+<SUBCOMPONENT type="-1" id="875" >
+<father id="880" num="2" />
+<cdparam x="577" y="757" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="810" >
-<cdparam x="359" y="192" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="884" >
+<cdparam x="717" y="694" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="806" />
-<TGConnectingPoint num="1" id="807" />
-<TGConnectingPoint num="2" id="808" />
-<TGConnectingPoint num="3" id="809" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="882" />
+<TGConnectingPoint num="1" id="883" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="803" >
-<father id="810" num="0" />
-<cdparam x="317" y="202" />
-<sizeparam width="88" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="881" >
+<father id="884" num="0" />
+<cdparam x="732" y="714" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="804" >
-<father id="810" num="1" />
-<cdparam x="394" y="202" />
-<sizeparam width="98" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1013" id="888" >
+<cdparam x="938" y="1025" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="805" >
-<father id="810" num="2" />
-<cdparam x="379" y="237" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="886" />
+<TGConnectingPoint num="1" id="887" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="885" >
+<father id="888" num="0" />
+<cdparam x="953" y="1045" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="818" >
-<cdparam x="449" y="582" />
+<COMPONENT type="1012" id="896" >
+<cdparam x="1034" y="939" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="814" />
-<TGConnectingPoint num="1" id="815" />
-<TGConnectingPoint num="2" id="816" />
-<TGConnectingPoint num="3" id="817" />
+<TGConnectingPoint num="0" id="892" />
+<TGConnectingPoint num="1" id="893" />
+<TGConnectingPoint num="2" id="894" />
+<TGConnectingPoint num="3" id="895" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="811" >
-<father id="818" num="0" />
-<cdparam x="398" y="592" />
+<SUBCOMPONENT type="-1" id="889" >
+<father id="896" num="0" />
+<cdparam x="989" y="949" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="812" >
-<father id="818" num="1" />
-<cdparam x="500" y="599" />
+<SUBCOMPONENT type="-1" id="890" >
+<father id="896" num="1" />
+<cdparam x="1070" y="949" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="813" >
-<father id="818" num="2" />
-<cdparam x="469" y="627" />
-<sizeparam width="277" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="891" >
+<father id="896" num="2" />
+<cdparam x="1054" y="984" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
+<infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="826" >
-<cdparam x="274" y="564" />
+<COMPONENT type="1013" id="900" >
+<cdparam x="795" y="1009" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="898" />
+<TGConnectingPoint num="1" id="899" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="897" >
+<father id="900" num="0" />
+<cdparam x="818" y="1031" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1012" id="908" >
+<cdparam x="828" y="869" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="822" />
-<TGConnectingPoint num="1" id="823" />
-<TGConnectingPoint num="2" id="824" />
-<TGConnectingPoint num="3" id="825" />
+<TGConnectingPoint num="0" id="904" />
+<TGConnectingPoint num="1" id="905" />
+<TGConnectingPoint num="2" id="906" />
+<TGConnectingPoint num="3" id="907" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="819" >
-<father id="826" num="0" />
-<cdparam x="228" y="574" />
+<SUBCOMPONENT type="-1" id="901" >
+<father id="908" num="0" />
+<cdparam x="753" y="885" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="820" >
-<father id="826" num="1" />
-<cdparam x="317" y="584" />
+<SUBCOMPONENT type="-1" id="902" >
+<father id="908" num="1" />
+<cdparam x="863" y="879" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="821" >
-<father id="826" num="2" />
-<cdparam x="294" y="613" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="903" >
+<father id="908" num="2" />
+<cdparam x="848" y="914" />
+<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
+<infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="828" >
-<cdparam x="227" y="27" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="912" >
+<cdparam x="341" y="764" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="827" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="910" />
+<TGConnectingPoint num="1" id="911" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="909" >
+<father id="912" num="0" />
+<cdparam x="354" y="785" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="301" id="845" >
-<cdparam x="59" y="131" />
-<sizeparam width="112" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="916" >
+<cdparam x="127" y="794" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="0: closed
-1: Listen
-2: SYN rcvd
-3: SYN sent
-4: Estab
-5: Fin wait1
-6: Fin wait2
-7: closing
-8: Time wait
-9: close wait
-10:last ack
-" />
-<TGConnectingPoint num="0" id="829" />
-<TGConnectingPoint num="1" id="830" />
-<TGConnectingPoint num="2" id="831" />
-<TGConnectingPoint num="3" id="832" />
-<TGConnectingPoint num="4" id="833" />
-<TGConnectingPoint num="5" id="834" />
-<TGConnectingPoint num="6" id="835" />
-<TGConnectingPoint num="7" id="836" />
-<TGConnectingPoint num="8" id="837" />
-<TGConnectingPoint num="9" id="838" />
-<TGConnectingPoint num="10" id="839" />
-<TGConnectingPoint num="11" id="840" />
-<TGConnectingPoint num="12" id="841" />
-<TGConnectingPoint num="13" id="842" />
-<TGConnectingPoint num="14" id="843" />
-<TGConnectingPoint num="15" id="844" />
-<extraparam>
-<Line value="0: closed" />
-<Line value="1: Listen" />
-<Line value="2: SYN rcvd" />
-<Line value="3: SYN sent" />
-<Line value="4: Estab" />
-<Line value="5: Fin wait1" />
-<Line value="6: Fin wait2" />
-<Line value="7: closing" />
-<Line value="8: Time wait" />
-<Line value="9: close wait" />
-<Line value="10:last ack" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="914" />
+<TGConnectingPoint num="1" id="915" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="913" >
+<father id="916" num="0" />
+<cdparam x="146" y="818" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="848" >
-<cdparam x="72" y="549" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="924" >
+<cdparam x="993" y="780" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="846" />
-<TGConnectingPoint num="1" id="847" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="920" />
+<TGConnectingPoint num="1" id="921" />
+<TGConnectingPoint num="2" id="922" />
+<TGConnectingPoint num="3" id="923" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="917" >
+<father id="924" num="0" />
+<cdparam x="949" y="793" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="918" >
+<father id="924" num="1" />
+<cdparam x="1028" y="790" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="919" >
+<father id="924" num="2" />
+<cdparam x="1013" y="825" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="850" >
-<cdparam x="116" y="615" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="928" >
+<cdparam x="1003" y="701" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="849" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="926" />
+<TGConnectingPoint num="1" id="927" />
 </COMPONENT>
-
-<COMPONENT type="1009" id="853" >
+<SUBCOMPONENT type="-1" id="925" >
+<father id="928" num="0" />
+<cdparam x="1018" y="721" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1013" id="932" >
+<cdparam x="434" y="783" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="930" />
+<TGConnectingPoint num="1" id="931" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="929" >
+<father id="932" num="0" />
+<cdparam x="449" y="802" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1013" id="936" >
+<cdparam x="225" y="863" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="934" />
+<TGConnectingPoint num="1" id="935" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="933" >
+<father id="936" num="0" />
+<cdparam x="245" y="885" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1013" id="940" >
+<cdparam x="1044" y="1057" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="938" />
+<TGConnectingPoint num="1" id="939" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="937" >
+<father id="940" num="0" />
+<cdparam x="1059" y="1077" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1012" id="948" >
+<cdparam x="173" y="486" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="944" />
+<TGConnectingPoint num="1" id="945" />
+<TGConnectingPoint num="2" id="946" />
+<TGConnectingPoint num="3" id="947" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="941" >
+<father id="948" num="0" />
+<cdparam x="98" y="496" />
+<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="942" >
+<father id="948" num="1" />
+<cdparam x="208" y="496" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="943" >
+<father id="948" num="2" />
+<cdparam x="193" y="531" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1012" id="956" >
+<cdparam x="359" y="192" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="952" />
+<TGConnectingPoint num="1" id="953" />
+<TGConnectingPoint num="2" id="954" />
+<TGConnectingPoint num="3" id="955" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="949" >
+<father id="956" num="0" />
+<cdparam x="317" y="202" />
+<sizeparam width="88" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="950" >
+<father id="956" num="1" />
+<cdparam x="394" y="202" />
+<sizeparam width="98" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="951" >
+<father id="956" num="2" />
+<cdparam x="379" y="237" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1012" id="964" >
+<cdparam x="449" y="582" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="960" />
+<TGConnectingPoint num="1" id="961" />
+<TGConnectingPoint num="2" id="962" />
+<TGConnectingPoint num="3" id="963" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="957" >
+<father id="964" num="0" />
+<cdparam x="398" y="592" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="958" >
+<father id="964" num="1" />
+<cdparam x="500" y="599" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="959" >
+<father id="964" num="2" />
+<cdparam x="469" y="627" />
+<sizeparam width="277" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1012" id="972" >
+<cdparam x="274" y="564" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="968" />
+<TGConnectingPoint num="1" id="969" />
+<TGConnectingPoint num="2" id="970" />
+<TGConnectingPoint num="3" id="971" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="965" >
+<father id="972" num="0" />
+<cdparam x="228" y="574" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="966" >
+<father id="972" num="1" />
+<cdparam x="317" y="584" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="967" >
+<father id="972" num="2" />
+<cdparam x="294" y="613" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1000" id="974" >
+<cdparam x="227" y="27" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="973" />
+</COMPONENT>
+
+<COMPONENT type="301" id="991" >
+<cdparam x="59" y="131" />
+<sizeparam width="112" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="UML Note" value="0: closed
+1: Listen
+2: SYN rcvd
+3: SYN sent
+4: Estab
+5: Fin wait1
+6: Fin wait2
+7: closing
+8: Time wait
+9: close wait
+10:last ack
+" />
+<TGConnectingPoint num="0" id="975" />
+<TGConnectingPoint num="1" id="976" />
+<TGConnectingPoint num="2" id="977" />
+<TGConnectingPoint num="3" id="978" />
+<TGConnectingPoint num="4" id="979" />
+<TGConnectingPoint num="5" id="980" />
+<TGConnectingPoint num="6" id="981" />
+<TGConnectingPoint num="7" id="982" />
+<TGConnectingPoint num="8" id="983" />
+<TGConnectingPoint num="9" id="984" />
+<TGConnectingPoint num="10" id="985" />
+<TGConnectingPoint num="11" id="986" />
+<TGConnectingPoint num="12" id="987" />
+<TGConnectingPoint num="13" id="988" />
+<TGConnectingPoint num="14" id="989" />
+<TGConnectingPoint num="15" id="990" />
+<extraparam>
+<Line value="0: closed" />
+<Line value="1: Listen" />
+<Line value="2: SYN rcvd" />
+<Line value="3: SYN sent" />
+<Line value="4: Estab" />
+<Line value="5: Fin wait1" />
+<Line value="6: Fin wait2" />
+<Line value="7: closing" />
+<Line value="8: Time wait" />
+<Line value="9: close wait" />
+<Line value="10:last ack" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1011" id="994" >
+<cdparam x="72" y="549" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =1" />
+<TGConnectingPoint num="0" id="992" />
+<TGConnectingPoint num="1" id="993" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="996" >
+<cdparam x="116" y="615" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="995" />
+</COMPONENT>
+
+<COMPONENT type="1009" id="999" >
 <cdparam x="964" y="585" />
 <sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromPtoT(1) " />
-<TGConnectingPoint num="0" id="851" />
-<TGConnectingPoint num="1" id="852" />
+<TGConnectingPoint num="0" id="997" />
+<TGConnectingPoint num="1" id="998" />
 <extraparam>
 <Data channelName="fromPtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="857" >
+<COMPONENT type="1014" id="1003" >
 <cdparam x="144" y="79" />
 <sizeparam width="180" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" />
-<TGConnectingPoint num="0" id="854" />
-<TGConnectingPoint num="1" id="855" />
-<TGConnectingPoint num="2" id="856" />
+<TGConnectingPoint num="0" id="1000" />
+<TGConnectingPoint num="1" id="1001" />
+<TGConnectingPoint num="2" id="1002" />
 <extraparam>
 <Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="859" >
+<COMPONENT type="1001" id="1005" >
 <cdparam x="224" y="207" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="858" />
+<TGConnectingPoint num="0" id="1004" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="862" >
+<COMPONENT type="1011" id="1008" >
 <cdparam x="182" y="144" />
 <sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=0" />
-<TGConnectingPoint num="0" id="860" />
-<TGConnectingPoint num="1" id="861" />
+<TGConnectingPoint num="0" id="1006" />
+<TGConnectingPoint num="1" id="1007" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="865" >
+<COMPONENT type="1017" id="1011" >
 <cdparam x="311" y="133" />
 <sizeparam width="127" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="notified event" value="tcpctrl.a=?abort()" />
-<TGConnectingPoint num="0" id="863" />
-<TGConnectingPoint num="1" id="864" />
+<TGConnectingPoint num="0" id="1009" />
+<TGConnectingPoint num="1" id="1010" />
 <extraparam>
 <Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="868" >
+<COMPONENT type="1009" id="1014" >
 <cdparam x="690" y="589" />
 <sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="866" />
-<TGConnectingPoint num="1" id="867" />
+<TGConnectingPoint num="0" id="1012" />
+<TGConnectingPoint num="1" id="1013" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="871" >
+<COMPONENT type="1010" id="1017" >
 <cdparam x="686" y="534" />
 <sizeparam width="73" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="timeOut() " />
-<TGConnectingPoint num="0" id="869" />
-<TGConnectingPoint num="1" id="870" />
+<TGConnectingPoint num="0" id="1015" />
+<TGConnectingPoint num="1" id="1016" />
 <extraparam>
 <Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="874" >
+<COMPONENT type="1010" id="1020" >
 <cdparam x="974" y="528" />
 <sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="receive() " />
-<TGConnectingPoint num="0" id="872" />
-<TGConnectingPoint num="1" id="873" />
+<TGConnectingPoint num="0" id="1018" />
+<TGConnectingPoint num="1" id="1019" />
 <extraparam>
 <Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="877" >
+<COMPONENT type="1010" id="1023" >
 <cdparam x="436" y="492" />
 <sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="close() " />
-<TGConnectingPoint num="0" id="875" />
-<TGConnectingPoint num="1" id="876" />
+<TGConnectingPoint num="0" id="1021" />
+<TGConnectingPoint num="1" id="1022" />
 <extraparam>
 <Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="880" >
+<COMPONENT type="1010" id="1026" >
 <cdparam x="247" y="468" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="send_TCP() " />
-<TGConnectingPoint num="0" id="878" />
-<TGConnectingPoint num="1" id="879" />
+<TGConnectingPoint num="0" id="1024" />
+<TGConnectingPoint num="1" id="1025" />
 <extraparam>
 <Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="883" >
+<COMPONENT type="1010" id="1029" >
 <cdparam x="160" y="419" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="open() " />
-<TGConnectingPoint num="0" id="881" />
-<TGConnectingPoint num="1" id="882" />
+<TGConnectingPoint num="0" id="1027" />
+<TGConnectingPoint num="1" id="1028" />
 <breakpoint />
 <extraparam>
 <Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1018" id="894" >
+<COMPONENT type="1018" id="1040" >
 <cdparam x="449" y="267" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="884" />
-<TGConnectingPoint num="1" id="885" />
-<TGConnectingPoint num="2" id="886" />
-<TGConnectingPoint num="3" id="887" />
-<TGConnectingPoint num="4" id="888" />
-<TGConnectingPoint num="5" id="889" />
-<TGConnectingPoint num="6" id="890" />
-<TGConnectingPoint num="7" id="891" />
-<TGConnectingPoint num="8" id="892" />
-<TGConnectingPoint num="9" id="893" />
+<TGConnectingPoint num="0" id="1030" />
+<TGConnectingPoint num="1" id="1031" />
+<TGConnectingPoint num="2" id="1032" />
+<TGConnectingPoint num="3" id="1033" />
+<TGConnectingPoint num="4" id="1034" />
+<TGConnectingPoint num="5" id="1035" />
+<TGConnectingPoint num="6" id="1036" />
+<TGConnectingPoint num="7" id="1037" />
+<TGConnectingPoint num="8" id="1038" />
+<TGConnectingPoint num="9" id="1039" />
 <breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="896" >
+<COMPONENT type="1001" id="1042" >
 <cdparam x="226" y="529" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="895" />
+<TGConnectingPoint num="0" id="1041" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="898" >
+<COMPONENT type="1001" id="1044" >
 <cdparam x="343" y="614" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="897" />
+<TGConnectingPoint num="0" id="1043" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="901" >
+<COMPONENT type="1010" id="1047" >
 <cdparam x="272" y="228" />
 <sizeparam width="58" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="abort() " />
-<TGConnectingPoint num="0" id="899" />
-<TGConnectingPoint num="1" id="900" />
+<TGConnectingPoint num="0" id="1045" />
+<TGConnectingPoint num="1" id="1046" />
 <extraparam>
 <Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="903" >
+<COMPONENT type="1001" id="1049" >
 <cdparam x="291" y="290" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="902" />
+<TGConnectingPoint num="0" id="1048" />
 </COMPONENT>
 
-<COMPONENT type="301" id="920" >
+<COMPONENT type="301" id="1066" >
 <cdparam x="602" y="86" />
 <sizeparam width="407" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3571,22 +4088,22 @@ ou depaquitiser un paquet TCP
 
 On prend b=1 comme exemple
 " />
-<TGConnectingPoint num="0" id="904" />
-<TGConnectingPoint num="1" id="905" />
-<TGConnectingPoint num="2" id="906" />
-<TGConnectingPoint num="3" id="907" />
-<TGConnectingPoint num="4" id="908" />
-<TGConnectingPoint num="5" id="909" />
-<TGConnectingPoint num="6" id="910" />
-<TGConnectingPoint num="7" id="911" />
-<TGConnectingPoint num="8" id="912" />
-<TGConnectingPoint num="9" id="913" />
-<TGConnectingPoint num="10" id="914" />
-<TGConnectingPoint num="11" id="915" />
-<TGConnectingPoint num="12" id="916" />
-<TGConnectingPoint num="13" id="917" />
-<TGConnectingPoint num="14" id="918" />
-<TGConnectingPoint num="15" id="919" />
+<TGConnectingPoint num="0" id="1050" />
+<TGConnectingPoint num="1" id="1051" />
+<TGConnectingPoint num="2" id="1052" />
+<TGConnectingPoint num="3" id="1053" />
+<TGConnectingPoint num="4" id="1054" />
+<TGConnectingPoint num="5" id="1055" />
+<TGConnectingPoint num="6" id="1056" />
+<TGConnectingPoint num="7" id="1057" />
+<TGConnectingPoint num="8" id="1058" />
+<TGConnectingPoint num="9" id="1059" />
+<TGConnectingPoint num="10" id="1060" />
+<TGConnectingPoint num="11" id="1061" />
+<TGConnectingPoint num="12" id="1062" />
+<TGConnectingPoint num="13" id="1063" />
+<TGConnectingPoint num="14" id="1064" />
+<TGConnectingPoint num="15" id="1065" />
 <extraparam>
 <Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
 <Line value="ou depaquitiser un paquet TCP" />
@@ -3595,3151 +4112,2634 @@ On prend b=1 comme exemple
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="923" >
+<COMPONENT type="1009" id="1069" >
 <cdparam x="186" y="808" />
 <sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromAtoT(1) " />
-<TGConnectingPoint num="0" id="921" />
-<TGConnectingPoint num="1" id="922" />
+<TGConnectingPoint num="0" id="1067" />
+<TGConnectingPoint num="1" id="1068" />
 <extraparam>
 <Data channelName="fromAtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="926" >
+<COMPONENT type="1006" id="1072" >
 <cdparam x="188" y="1002" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="924" />
-<TGConnectingPoint num="1" id="925" />
+<TGConnectingPoint num="0" id="1070" />
+<TGConnectingPoint num="1" id="1071" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="928" >
+<COMPONENT type="1001" id="1074" >
 <cdparam x="219" y="1237" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="927" />
+<TGConnectingPoint num="0" id="1073" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="931" >
+<COMPONENT type="1011" id="1077" >
 <cdparam x="384" y="1032" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =5" />
-<TGConnectingPoint num="0" id="929" />
-<TGConnectingPoint num="1" id="930" />
+<TGConnectingPoint num="0" id="1075" />
+<TGConnectingPoint num="1" id="1076" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="933" >
+<COMPONENT type="1001" id="1079" >
 <cdparam x="428" y="1213" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="932" />
+<TGConnectingPoint num="0" id="1078" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="936" >
+<COMPONENT type="1011" id="1082" >
 <cdparam x="80" y="1041" />
 <sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=3" />
-<TGConnectingPoint num="0" id="934" />
-<TGConnectingPoint num="1" id="935" />
+<TGConnectingPoint num="0" id="1080" />
+<TGConnectingPoint num="1" id="1081" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="939" >
+<COMPONENT type="1006" id="1085" >
 <cdparam x="90" y="938" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="937" />
-<TGConnectingPoint num="1" id="938" />
+<TGConnectingPoint num="0" id="1083" />
+<TGConnectingPoint num="1" id="1084" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="942" >
+<COMPONENT type="1011" id="1088" >
 <cdparam x="288" y="1026" />
 <sizeparam width="117" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =10" />
-<TGConnectingPoint num="0" id="940" />
-<TGConnectingPoint num="1" id="941" />
+<TGConnectingPoint num="0" id="1086" />
+<TGConnectingPoint num="1" id="1087" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="944" >
+<COMPONENT type="1001" id="1090" >
 <cdparam x="334" y="1229" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="943" />
+<TGConnectingPoint num="0" id="1089" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="947" >
+<COMPONENT type="1006" id="1093" >
 <cdparam x="397" y="941" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="945" />
-<TGConnectingPoint num="1" id="946" />
+<TGConnectingPoint num="0" id="1091" />
+<TGConnectingPoint num="1" id="1092" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="950" >
+<COMPONENT type="1006" id="1096" >
 <cdparam x="304" y="900" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="948" />
-<TGConnectingPoint num="1" id="949" />
+<TGConnectingPoint num="0" id="1094" />
+<TGConnectingPoint num="1" id="1095" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="952" >
+<COMPONENT type="1001" id="1098" >
 <cdparam x="789" y="1270" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="951" />
+<TGConnectingPoint num="0" id="1097" />
 </COMPONENT>
 
-<COMPONENT type="301" id="969" >
+<COMPONENT type="301" id="1115" >
 <cdparam x="998" y="850" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Fin
 " />
-<TGConnectingPoint num="0" id="953" />
-<TGConnectingPoint num="1" id="954" />
-<TGConnectingPoint num="2" id="955" />
-<TGConnectingPoint num="3" id="956" />
-<TGConnectingPoint num="4" id="957" />
-<TGConnectingPoint num="5" id="958" />
-<TGConnectingPoint num="6" id="959" />
-<TGConnectingPoint num="7" id="960" />
-<TGConnectingPoint num="8" id="961" />
-<TGConnectingPoint num="9" id="962" />
-<TGConnectingPoint num="10" id="963" />
-<TGConnectingPoint num="11" id="964" />
-<TGConnectingPoint num="12" id="965" />
-<TGConnectingPoint num="13" id="966" />
-<TGConnectingPoint num="14" id="967" />
-<TGConnectingPoint num="15" id="968" />
+<TGConnectingPoint num="0" id="1099" />
+<TGConnectingPoint num="1" id="1100" />
+<TGConnectingPoint num="2" id="1101" />
+<TGConnectingPoint num="3" id="1102" />
+<TGConnectingPoint num="4" id="1103" />
+<TGConnectingPoint num="5" id="1104" />
+<TGConnectingPoint num="6" id="1105" />
+<TGConnectingPoint num="7" id="1106" />
+<TGConnectingPoint num="8" id="1107" />
+<TGConnectingPoint num="9" id="1108" />
+<TGConnectingPoint num="10" id="1109" />
+<TGConnectingPoint num="11" id="1110" />
+<TGConnectingPoint num="12" id="1111" />
+<TGConnectingPoint num="13" id="1112" />
+<TGConnectingPoint num="14" id="1113" />
+<TGConnectingPoint num="15" id="1114" />
 <extraparam>
 <Line value="Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="972" >
+<COMPONENT type="1011" id="1118" >
 <cdparam x="674" y="965" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="970" />
-<TGConnectingPoint num="1" id="971" />
+<TGConnectingPoint num="0" id="1116" />
+<TGConnectingPoint num="1" id="1117" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="974" >
+<COMPONENT type="1001" id="1120" >
 <cdparam x="718" y="1032" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="973" />
+<TGConnectingPoint num="0" id="1119" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="977" >
+<COMPONENT type="1006" id="1123" >
 <cdparam x="758" y="1086" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="975" />
-<TGConnectingPoint num="1" id="976" />
+<TGConnectingPoint num="0" id="1121" />
+<TGConnectingPoint num="1" id="1122" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="994" >
+<COMPONENT type="301" id="1140" >
 <cdparam x="781" y="950" />
 <sizeparam width="99" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Active Open
 " />
-<TGConnectingPoint num="0" id="978" />
-<TGConnectingPoint num="1" id="979" />
-<TGConnectingPoint num="2" id="980" />
-<TGConnectingPoint num="3" id="981" />
-<TGConnectingPoint num="4" id="982" />
-<TGConnectingPoint num="5" id="983" />
-<TGConnectingPoint num="6" id="984" />
-<TGConnectingPoint num="7" id="985" />
-<TGConnectingPoint num="8" id="986" />
-<TGConnectingPoint num="9" id="987" />
-<TGConnectingPoint num="10" id="988" />
-<TGConnectingPoint num="11" id="989" />
-<TGConnectingPoint num="12" id="990" />
-<TGConnectingPoint num="13" id="991" />
-<TGConnectingPoint num="14" id="992" />
-<TGConnectingPoint num="15" id="993" />
+<TGConnectingPoint num="0" id="1124" />
+<TGConnectingPoint num="1" id="1125" />
+<TGConnectingPoint num="2" id="1126" />
+<TGConnectingPoint num="3" id="1127" />
+<TGConnectingPoint num="4" id="1128" />
+<TGConnectingPoint num="5" id="1129" />
+<TGConnectingPoint num="6" id="1130" />
+<TGConnectingPoint num="7" id="1131" />
+<TGConnectingPoint num="8" id="1132" />
+<TGConnectingPoint num="9" id="1133" />
+<TGConnectingPoint num="10" id="1134" />
+<TGConnectingPoint num="11" id="1135" />
+<TGConnectingPoint num="12" id="1136" />
+<TGConnectingPoint num="13" id="1137" />
+<TGConnectingPoint num="14" id="1138" />
+<TGConnectingPoint num="15" id="1139" />
 <extraparam>
 <Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1011" >
+<COMPONENT type="301" id="1157" >
 <cdparam x="715" y="907" />
 <sizeparam width="105" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Passive Open
 " />
-<TGConnectingPoint num="0" id="995" />
-<TGConnectingPoint num="1" id="996" />
-<TGConnectingPoint num="2" id="997" />
-<TGConnectingPoint num="3" id="998" />
-<TGConnectingPoint num="4" id="999" />
-<TGConnectingPoint num="5" id="1000" />
-<TGConnectingPoint num="6" id="1001" />
-<TGConnectingPoint num="7" id="1002" />
-<TGConnectingPoint num="8" id="1003" />
-<TGConnectingPoint num="9" id="1004" />
-<TGConnectingPoint num="10" id="1005" />
-<TGConnectingPoint num="11" id="1006" />
-<TGConnectingPoint num="12" id="1007" />
-<TGConnectingPoint num="13" id="1008" />
-<TGConnectingPoint num="14" id="1009" />
-<TGConnectingPoint num="15" id="1010" />
+<TGConnectingPoint num="0" id="1141" />
+<TGConnectingPoint num="1" id="1142" />
+<TGConnectingPoint num="2" id="1143" />
+<TGConnectingPoint num="3" id="1144" />
+<TGConnectingPoint num="4" id="1145" />
+<TGConnectingPoint num="5" id="1146" />
+<TGConnectingPoint num="6" id="1147" />
+<TGConnectingPoint num="7" id="1148" />
+<TGConnectingPoint num="8" id="1149" />
+<TGConnectingPoint num="9" id="1150" />
+<TGConnectingPoint num="10" id="1151" />
+<TGConnectingPoint num="11" id="1152" />
+<TGConnectingPoint num="12" id="1153" />
+<TGConnectingPoint num="13" id="1154" />
+<TGConnectingPoint num="14" id="1155" />
+<TGConnectingPoint num="15" id="1156" />
 <extraparam>
 <Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1014" >
+<COMPONENT type="1011" id="1160" >
 <cdparam x="745" y="1193" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =3" />
-<TGConnectingPoint num="0" id="1012" />
-<TGConnectingPoint num="1" id="1013" />
+<TGConnectingPoint num="0" id="1158" />
+<TGConnectingPoint num="1" id="1159" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1017" >
+<COMPONENT type="1011" id="1163" >
 <cdparam x="442" y="768" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1015" />
-<TGConnectingPoint num="1" id="1016" />
+<TGConnectingPoint num="0" id="1161" />
+<TGConnectingPoint num="1" id="1162" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1019" >
+<COMPONENT type="1001" id="1165" >
 <cdparam x="486" y="830" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1018" />
+<TGConnectingPoint num="0" id="1164" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1022" >
+<COMPONENT type="1006" id="1168" >
 <cdparam x="901" y="1123" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1020" />
-<TGConnectingPoint num="1" id="1021" />
-<extraparam>
+<TGConnectingPoint num="0" id="1166" />
+<TGConnectingPoint num="1" id="1167" />
+<extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1039" >
+<COMPONENT type="301" id="1185" >
 <cdparam x="884" y="1068" />
 <sizeparam width="118" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="1023" />
-<TGConnectingPoint num="1" id="1024" />
-<TGConnectingPoint num="2" id="1025" />
-<TGConnectingPoint num="3" id="1026" />
-<TGConnectingPoint num="4" id="1027" />
-<TGConnectingPoint num="5" id="1028" />
-<TGConnectingPoint num="6" id="1029" />
-<TGConnectingPoint num="7" id="1030" />
-<TGConnectingPoint num="8" id="1031" />
-<TGConnectingPoint num="9" id="1032" />
-<TGConnectingPoint num="10" id="1033" />
-<TGConnectingPoint num="11" id="1034" />
-<TGConnectingPoint num="12" id="1035" />
-<TGConnectingPoint num="13" id="1036" />
-<TGConnectingPoint num="14" id="1037" />
-<TGConnectingPoint num="15" id="1038" />
+<TGConnectingPoint num="0" id="1169" />
+<TGConnectingPoint num="1" id="1170" />
+<TGConnectingPoint num="2" id="1171" />
+<TGConnectingPoint num="3" id="1172" />
+<TGConnectingPoint num="4" id="1173" />
+<TGConnectingPoint num="5" id="1174" />
+<TGConnectingPoint num="6" id="1175" />
+<TGConnectingPoint num="7" id="1176" />
+<TGConnectingPoint num="8" id="1177" />
+<TGConnectingPoint num="9" id="1178" />
+<TGConnectingPoint num="10" id="1179" />
+<TGConnectingPoint num="11" id="1180" />
+<TGConnectingPoint num="12" id="1181" />
+<TGConnectingPoint num="13" id="1182" />
+<TGConnectingPoint num="14" id="1183" />
+<TGConnectingPoint num="15" id="1184" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1042" >
+<COMPONENT type="1011" id="1188" >
 <cdparam x="889" y="1234" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =9" />
-<TGConnectingPoint num="0" id="1040" />
-<TGConnectingPoint num="1" id="1041" />
+<TGConnectingPoint num="0" id="1186" />
+<TGConnectingPoint num="1" id="1187" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1044" >
+<COMPONENT type="1001" id="1190" >
 <cdparam x="933" y="1311" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1043" />
+<TGConnectingPoint num="0" id="1189" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1047" >
+<COMPONENT type="1006" id="1193" >
 <cdparam x="1007" y="1155" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1045" />
-<TGConnectingPoint num="1" id="1046" />
+<TGConnectingPoint num="0" id="1191" />
+<TGConnectingPoint num="1" id="1192" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1064" >
+<COMPONENT type="301" id="1210" >
 <cdparam x="1000" y="1094" />
 <sizeparam width="118" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="1048" />
-<TGConnectingPoint num="1" id="1049" />
-<TGConnectingPoint num="2" id="1050" />
-<TGConnectingPoint num="3" id="1051" />
-<TGConnectingPoint num="4" id="1052" />
-<TGConnectingPoint num="5" id="1053" />
-<TGConnectingPoint num="6" id="1054" />
-<TGConnectingPoint num="7" id="1055" />
-<TGConnectingPoint num="8" id="1056" />
-<TGConnectingPoint num="9" id="1057" />
-<TGConnectingPoint num="10" id="1058" />
-<TGConnectingPoint num="11" id="1059" />
-<TGConnectingPoint num="12" id="1060" />
-<TGConnectingPoint num="13" id="1061" />
-<TGConnectingPoint num="14" id="1062" />
-<TGConnectingPoint num="15" id="1063" />
+<TGConnectingPoint num="0" id="1194" />
+<TGConnectingPoint num="1" id="1195" />
+<TGConnectingPoint num="2" id="1196" />
+<TGConnectingPoint num="3" id="1197" />
+<TGConnectingPoint num="4" id="1198" />
+<TGConnectingPoint num="5" id="1199" />
+<TGConnectingPoint num="6" id="1200" />
+<TGConnectingPoint num="7" id="1201" />
+<TGConnectingPoint num="8" id="1202" />
+<TGConnectingPoint num="9" id="1203" />
+<TGConnectingPoint num="10" id="1204" />
+<TGConnectingPoint num="11" id="1205" />
+<TGConnectingPoint num="12" id="1206" />
+<TGConnectingPoint num="13" id="1207" />
+<TGConnectingPoint num="14" id="1208" />
+<TGConnectingPoint num="15" id="1209" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1067" >
+<COMPONENT type="1011" id="1213" >
 <cdparam x="995" y="1266" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =7" />
-<TGConnectingPoint num="0" id="1065" />
-<TGConnectingPoint num="1" id="1066" />
+<TGConnectingPoint num="0" id="1211" />
+<TGConnectingPoint num="1" id="1212" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1069" >
+<COMPONENT type="1001" id="1215" >
 <cdparam x="1039" y="1341" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1068" />
+<TGConnectingPoint num="0" id="1214" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1072" >
+<COMPONENT type="1006" id="1218" >
 <cdparam x="680" y="758" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1070" />
-<TGConnectingPoint num="1" id="1071" />
+<TGConnectingPoint num="0" id="1216" />
+<TGConnectingPoint num="1" id="1217" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1074" >
+<COMPONENT type="1001" id="1220" >
 <cdparam x="712" y="865" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1073" />
+<TGConnectingPoint num="0" id="1219" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1077" >
+<COMPONENT type="1007" id="1223" >
 <cdparam x="92" y="1100" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1075" />
-<TGConnectingPoint num="1" id="1076" />
+<TGConnectingPoint num="0" id="1221" />
+<TGConnectingPoint num="1" id="1222" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1080" >
+<COMPONENT type="1006" id="1226" >
 <cdparam x="102" y="1167" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1078" />
-<TGConnectingPoint num="1" id="1079" />
+<TGConnectingPoint num="0" id="1224" />
+<TGConnectingPoint num="1" id="1225" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1082" >
+<COMPONENT type="1001" id="1228" >
 <cdparam x="122" y="1236" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1081" />
+<TGConnectingPoint num="0" id="1227" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1085" >
+<COMPONENT type="1007" id="1231" >
 <cdparam x="189" y="1102" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1083" />
-<TGConnectingPoint num="1" id="1084" />
+<TGConnectingPoint num="0" id="1229" />
+<TGConnectingPoint num="1" id="1230" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1088" >
+<COMPONENT type="1006" id="1234" >
 <cdparam x="199" y="1169" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1086" />
-<TGConnectingPoint num="1" id="1087" />
+<TGConnectingPoint num="0" id="1232" />
+<TGConnectingPoint num="1" id="1233" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1091" >
+<COMPONENT type="1007" id="1237" >
 <cdparam x="306" y="1106" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1089" />
-<TGConnectingPoint num="1" id="1090" />
+<TGConnectingPoint num="0" id="1235" />
+<TGConnectingPoint num="1" id="1236" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1094" >
+<COMPONENT type="1006" id="1240" >
 <cdparam x="316" y="1173" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1092" />
-<TGConnectingPoint num="1" id="1093" />
+<TGConnectingPoint num="0" id="1238" />
+<TGConnectingPoint num="1" id="1239" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1097" >
+<COMPONENT type="1007" id="1243" >
 <cdparam x="398" y="1090" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1095" />
-<TGConnectingPoint num="1" id="1096" />
+<TGConnectingPoint num="0" id="1241" />
+<TGConnectingPoint num="1" id="1242" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1100" >
+<COMPONENT type="1006" id="1246" >
 <cdparam x="408" y="1159" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1098" />
-<TGConnectingPoint num="1" id="1099" />
+<TGConnectingPoint num="0" id="1244" />
+<TGConnectingPoint num="1" id="1245" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1103" >
+<COMPONENT type="1011" id="1249" >
 <cdparam x="69" y="861" />
 <sizeparam width="126" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqi = seqi + wind" />
-<TGConnectingPoint num="0" id="1101" />
-<TGConnectingPoint num="1" id="1102" />
+<TGConnectingPoint num="0" id="1247" />
+<TGConnectingPoint num="1" id="1248" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1106" >
+<COMPONENT type="1011" id="1252" >
 <cdparam x="167" y="940" />
 <sizeparam width="126" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqi = seqi + wind" />
-<TGConnectingPoint num="0" id="1104" />
-<TGConnectingPoint num="1" id="1105" />
+<TGConnectingPoint num="0" id="1250" />
+<TGConnectingPoint num="1" id="1251" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1109" >
+<COMPONENT type="1011" id="1255" >
 <cdparam x="376" y="865" />
 <sizeparam width="126" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqi = seqi + wind" />
-<TGConnectingPoint num="0" id="1107" />
-<TGConnectingPoint num="1" id="1108" />
+<TGConnectingPoint num="0" id="1253" />
+<TGConnectingPoint num="1" id="1254" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1112" >
+<COMPONENT type="1011" id="1258" >
 <cdparam x="283" y="831" />
 <sizeparam width="126" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqi = seqi + wind" />
-<TGConnectingPoint num="0" id="1110" />
-<TGConnectingPoint num="1" id="1111" />
+<TGConnectingPoint num="0" id="1256" />
+<TGConnectingPoint num="1" id="1257" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1115" >
+<COMPONENT type="1008" id="1261" >
 <cdparam x="204" y="1052" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1113" />
-<TGConnectingPoint num="1" id="1114" />
+<TGConnectingPoint num="0" id="1259" />
+<TGConnectingPoint num="1" id="1260" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1118" >
+<COMPONENT type="1008" id="1264" >
 <cdparam x="321" y="962" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1116" />
-<TGConnectingPoint num="1" id="1117" />
+<TGConnectingPoint num="0" id="1262" />
+<TGConnectingPoint num="1" id="1263" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1121" >
+<COMPONENT type="1008" id="1267" >
 <cdparam x="413" y="983" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1119" />
-<TGConnectingPoint num="1" id="1120" />
+<TGConnectingPoint num="0" id="1265" />
+<TGConnectingPoint num="1" id="1266" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1124" >
+<COMPONENT type="1008" id="1270" >
 <cdparam x="107" y="986" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1122" />
-<TGConnectingPoint num="1" id="1123" />
+<TGConnectingPoint num="0" id="1268" />
+<TGConnectingPoint num="1" id="1269" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1127" >
+<COMPONENT type="1008" id="1273" >
 <cdparam x="697" y="813" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1125" />
-<TGConnectingPoint num="1" id="1126" />
+<TGConnectingPoint num="0" id="1271" />
+<TGConnectingPoint num="1" id="1272" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1130" >
+<COMPONENT type="1008" id="1276" >
 <cdparam x="773" y="1141" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1128" />
-<TGConnectingPoint num="1" id="1129" />
+<TGConnectingPoint num="0" id="1274" />
+<TGConnectingPoint num="1" id="1275" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1133" >
+<COMPONENT type="1008" id="1279" >
 <cdparam x="918" y="1178" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1131" />
-<TGConnectingPoint num="1" id="1132" />
+<TGConnectingPoint num="0" id="1277" />
+<TGConnectingPoint num="1" id="1278" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1136" >
+<COMPONENT type="1008" id="1282" >
 <cdparam x="1024" y="1211" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1134" />
-<TGConnectingPoint num="1" id="1135" />
+<TGConnectingPoint num="0" id="1280" />
+<TGConnectingPoint num="1" id="1281" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1138" >
+<COMPONENT type="1001" id="1284" >
 <cdparam x="612" y="762" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1137" />
+<TGConnectingPoint num="0" id="1283" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1140" >
+<COMPONENT type="1001" id="1286" >
 <cdparam x="899" y="922" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1139" />
+<TGConnectingPoint num="0" id="1285" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1143" >
+<COMPONENT type="1006" id="1289" >
 <cdparam x="1166" y="1214" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1141" />
-<TGConnectingPoint num="1" id="1142" />
+<TGConnectingPoint num="0" id="1287" />
+<TGConnectingPoint num="1" id="1288" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1160" >
+<COMPONENT type="301" id="1306" >
 <cdparam x="1159" y="1153" />
 <sizeparam width="118" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="1144" />
-<TGConnectingPoint num="1" id="1145" />
-<TGConnectingPoint num="2" id="1146" />
-<TGConnectingPoint num="3" id="1147" />
-<TGConnectingPoint num="4" id="1148" />
-<TGConnectingPoint num="5" id="1149" />
-<TGConnectingPoint num="6" id="1150" />
-<TGConnectingPoint num="7" id="1151" />
-<TGConnectingPoint num="8" id="1152" />
-<TGConnectingPoint num="9" id="1153" />
-<TGConnectingPoint num="10" id="1154" />
-<TGConnectingPoint num="11" id="1155" />
-<TGConnectingPoint num="12" id="1156" />
-<TGConnectingPoint num="13" id="1157" />
-<TGConnectingPoint num="14" id="1158" />
-<TGConnectingPoint num="15" id="1159" />
+<TGConnectingPoint num="0" id="1290" />
+<TGConnectingPoint num="1" id="1291" />
+<TGConnectingPoint num="2" id="1292" />
+<TGConnectingPoint num="3" id="1293" />
+<TGConnectingPoint num="4" id="1294" />
+<TGConnectingPoint num="5" id="1295" />
+<TGConnectingPoint num="6" id="1296" />
+<TGConnectingPoint num="7" id="1297" />
+<TGConnectingPoint num="8" id="1298" />
+<TGConnectingPoint num="9" id="1299" />
+<TGConnectingPoint num="10" id="1300" />
+<TGConnectingPoint num="11" id="1301" />
+<TGConnectingPoint num="12" id="1302" />
+<TGConnectingPoint num="13" id="1303" />
+<TGConnectingPoint num="14" id="1304" />
+<TGConnectingPoint num="15" id="1305" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1163" >
+<COMPONENT type="1011" id="1309" >
 <cdparam x="1154" y="1295" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="1161" />
-<TGConnectingPoint num="1" id="1162" />
+<TGConnectingPoint num="0" id="1307" />
+<TGConnectingPoint num="1" id="1308" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1165" >
+<COMPONENT type="1001" id="1311" >
 <cdparam x="1197" y="1471" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1164" />
+<TGConnectingPoint num="0" id="1310" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1168" >
+<COMPONENT type="1011" id="1314" >
 <cdparam x="1153" y="1402" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1166" />
-<TGConnectingPoint num="1" id="1167" />
+<TGConnectingPoint num="0" id="1312" />
+<TGConnectingPoint num="1" id="1313" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1171" >
+<COMPONENT type="1008" id="1317" >
 <cdparam x="1183" y="1351" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1169" />
-<TGConnectingPoint num="1" id="1170" />
+<TGConnectingPoint num="0" id="1315" />
+<TGConnectingPoint num="1" id="1316" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1173" >
+<COMPONENT type="1001" id="1319" >
 <cdparam x="1277" y="1070" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1172" />
+<TGConnectingPoint num="0" id="1318" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1175" >
+<COMPONENT type="1001" id="1321" >
 <cdparam x="1519" y="1457" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1174" />
+<TGConnectingPoint num="0" id="1320" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1178" >
+<COMPONENT type="1006" id="1324" >
 <cdparam x="1487" y="1132" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoA(1)" />
-<TGConnectingPoint num="0" id="1176" />
-<TGConnectingPoint num="1" id="1177" />
+<TGConnectingPoint num="0" id="1322" />
+<TGConnectingPoint num="1" id="1323" />
 <extraparam>
 <Data channelName="fromTtoA" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1181" >
+<COMPONENT type="1006" id="1327" >
 <cdparam x="1487" y="1348" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1179" />
-<TGConnectingPoint num="1" id="1180" />
+<TGConnectingPoint num="0" id="1325" />
+<TGConnectingPoint num="1" id="1326" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1184" >
+<COMPONENT type="1008" id="1330" >
 <cdparam x="1707" y="1026" />
 <sizeparam width="48" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="stop()" />
-<TGConnectingPoint num="0" id="1182" />
-<TGConnectingPoint num="1" id="1183" />
+<TGConnectingPoint num="0" id="1328" />
+<TGConnectingPoint num="1" id="1329" />
 <extraparam>
 <Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1201" >
+<COMPONENT type="301" id="1347" >
 <cdparam x="1759" y="1192" />
 <sizeparam width="92" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Correct ack
 " />
-<TGConnectingPoint num="0" id="1185" />
-<TGConnectingPoint num="1" id="1186" />
-<TGConnectingPoint num="2" id="1187" />
-<TGConnectingPoint num="3" id="1188" />
-<TGConnectingPoint num="4" id="1189" />
-<TGConnectingPoint num="5" id="1190" />
-<TGConnectingPoint num="6" id="1191" />
-<TGConnectingPoint num="7" id="1192" />
-<TGConnectingPoint num="8" id="1193" />
-<TGConnectingPoint num="9" id="1194" />
-<TGConnectingPoint num="10" id="1195" />
-<TGConnectingPoint num="11" id="1196" />
-<TGConnectingPoint num="12" id="1197" />
-<TGConnectingPoint num="13" id="1198" />
-<TGConnectingPoint num="14" id="1199" />
-<TGConnectingPoint num="15" id="1200" />
+<TGConnectingPoint num="0" id="1331" />
+<TGConnectingPoint num="1" id="1332" />
+<TGConnectingPoint num="2" id="1333" />
+<TGConnectingPoint num="3" id="1334" />
+<TGConnectingPoint num="4" id="1335" />
+<TGConnectingPoint num="5" id="1336" />
+<TGConnectingPoint num="6" id="1337" />
+<TGConnectingPoint num="7" id="1338" />
+<TGConnectingPoint num="8" id="1339" />
+<TGConnectingPoint num="9" id="1340" />
+<TGConnectingPoint num="10" id="1341" />
+<TGConnectingPoint num="11" id="1342" />
+<TGConnectingPoint num="12" id="1343" />
+<TGConnectingPoint num="13" id="1344" />
+<TGConnectingPoint num="14" id="1345" />
+<TGConnectingPoint num="15" id="1346" />
 <extraparam>
 <Line value="Correct ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1218" >
+<COMPONENT type="301" id="1364" >
 <cdparam x="1635" y="1168" />
 <sizeparam width="79" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="false ack
 " />
-<TGConnectingPoint num="0" id="1202" />
-<TGConnectingPoint num="1" id="1203" />
-<TGConnectingPoint num="2" id="1204" />
-<TGConnectingPoint num="3" id="1205" />
-<TGConnectingPoint num="4" id="1206" />
-<TGConnectingPoint num="5" id="1207" />
-<TGConnectingPoint num="6" id="1208" />
-<TGConnectingPoint num="7" id="1209" />
-<TGConnectingPoint num="8" id="1210" />
-<TGConnectingPoint num="9" id="1211" />
-<TGConnectingPoint num="10" id="1212" />
-<TGConnectingPoint num="11" id="1213" />
-<TGConnectingPoint num="12" id="1214" />
-<TGConnectingPoint num="13" id="1215" />
-<TGConnectingPoint num="14" id="1216" />
-<TGConnectingPoint num="15" id="1217" />
+<TGConnectingPoint num="0" id="1348" />
+<TGConnectingPoint num="1" id="1349" />
+<TGConnectingPoint num="2" id="1350" />
+<TGConnectingPoint num="3" id="1351" />
+<TGConnectingPoint num="4" id="1352" />
+<TGConnectingPoint num="5" id="1353" />
+<TGConnectingPoint num="6" id="1354" />
+<TGConnectingPoint num="7" id="1355" />
+<TGConnectingPoint num="8" id="1356" />
+<TGConnectingPoint num="9" id="1357" />
+<TGConnectingPoint num="10" id="1358" />
+<TGConnectingPoint num="11" id="1359" />
+<TGConnectingPoint num="12" id="1360" />
+<TGConnectingPoint num="13" id="1361" />
+<TGConnectingPoint num="14" id="1362" />
+<TGConnectingPoint num="15" id="1363" />
 <extraparam>
 <Line value="false ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1221" >
+<COMPONENT type="1006" id="1367" >
 <cdparam x="1599" y="1299" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1219" />
-<TGConnectingPoint num="1" id="1220" />
+<TGConnectingPoint num="0" id="1365" />
+<TGConnectingPoint num="1" id="1366" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1223" >
+<COMPONENT type="1001" id="1369" >
 <cdparam x="1632" y="1468" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1222" />
+<TGConnectingPoint num="0" id="1368" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1240" >
+<COMPONENT type="301" id="1386" >
 <cdparam x="1469" y="1295" />
 <sizeparam width="138" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="return acknowldge
 " />
-<TGConnectingPoint num="0" id="1224" />
-<TGConnectingPoint num="1" id="1225" />
-<TGConnectingPoint num="2" id="1226" />
-<TGConnectingPoint num="3" id="1227" />
-<TGConnectingPoint num="4" id="1228" />
-<TGConnectingPoint num="5" id="1229" />
-<TGConnectingPoint num="6" id="1230" />
-<TGConnectingPoint num="7" id="1231" />
-<TGConnectingPoint num="8" id="1232" />
-<TGConnectingPoint num="9" id="1233" />
-<TGConnectingPoint num="10" id="1234" />
-<TGConnectingPoint num="11" id="1235" />
-<TGConnectingPoint num="12" id="1236" />
-<TGConnectingPoint num="13" id="1237" />
-<TGConnectingPoint num="14" id="1238" />
-<TGConnectingPoint num="15" id="1239" />
+<TGConnectingPoint num="0" id="1370" />
+<TGConnectingPoint num="1" id="1371" />
+<TGConnectingPoint num="2" id="1372" />
+<TGConnectingPoint num="3" id="1373" />
+<TGConnectingPoint num="4" id="1374" />
+<TGConnectingPoint num="5" id="1375" />
+<TGConnectingPoint num="6" id="1376" />
+<TGConnectingPoint num="7" id="1377" />
+<TGConnectingPoint num="8" id="1378" />
+<TGConnectingPoint num="9" id="1379" />
+<TGConnectingPoint num="10" id="1380" />
+<TGConnectingPoint num="11" id="1381" />
+<TGConnectingPoint num="12" id="1382" />
+<TGConnectingPoint num="13" id="1383" />
+<TGConnectingPoint num="14" id="1384" />
+<TGConnectingPoint num="15" id="1385" />
 <extraparam>
 <Line value="return acknowldge" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1257" >
+<COMPONENT type="301" id="1403" >
 <cdparam x="1620" y="927" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="data
 " />
-<TGConnectingPoint num="0" id="1241" />
-<TGConnectingPoint num="1" id="1242" />
-<TGConnectingPoint num="2" id="1243" />
-<TGConnectingPoint num="3" id="1244" />
-<TGConnectingPoint num="4" id="1245" />
-<TGConnectingPoint num="5" id="1246" />
-<TGConnectingPoint num="6" id="1247" />
-<TGConnectingPoint num="7" id="1248" />
-<TGConnectingPoint num="8" id="1249" />
-<TGConnectingPoint num="9" id="1250" />
-<TGConnectingPoint num="10" id="1251" />
-<TGConnectingPoint num="11" id="1252" />
-<TGConnectingPoint num="12" id="1253" />
-<TGConnectingPoint num="13" id="1254" />
-<TGConnectingPoint num="14" id="1255" />
-<TGConnectingPoint num="15" id="1256" />
+<TGConnectingPoint num="0" id="1387" />
+<TGConnectingPoint num="1" id="1388" />
+<TGConnectingPoint num="2" id="1389" />
+<TGConnectingPoint num="3" id="1390" />
+<TGConnectingPoint num="4" id="1391" />
+<TGConnectingPoint num="5" id="1392" />
+<TGConnectingPoint num="6" id="1393" />
+<TGConnectingPoint num="7" id="1394" />
+<TGConnectingPoint num="8" id="1395" />
+<TGConnectingPoint num="9" id="1396" />
+<TGConnectingPoint num="10" id="1397" />
+<TGConnectingPoint num="11" id="1398" />
+<TGConnectingPoint num="12" id="1399" />
+<TGConnectingPoint num="13" id="1400" />
+<TGConnectingPoint num="14" id="1401" />
+<TGConnectingPoint num="15" id="1402" />
 <extraparam>
 <Line value="data" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1260" >
+<COMPONENT type="1008" id="1406" >
 <cdparam x="1504" y="1405" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1258" />
-<TGConnectingPoint num="1" id="1259" />
+<TGConnectingPoint num="0" id="1404" />
+<TGConnectingPoint num="1" id="1405" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1263" >
+<COMPONENT type="1008" id="1409" >
 <cdparam x="1617" y="1348" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1261" />
-<TGConnectingPoint num="1" id="1262" />
+<TGConnectingPoint num="0" id="1407" />
+<TGConnectingPoint num="1" id="1408" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1266" >
+<COMPONENT type="1006" id="1412" >
 <cdparam x="1612" y="1404" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1264" />
-<TGConnectingPoint num="1" id="1265" />
+<TGConnectingPoint num="0" id="1410" />
+<TGConnectingPoint num="1" id="1411" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1268" >
+<COMPONENT type="1001" id="1414" >
 <cdparam x="1730" y="1335" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1267" />
+<TGConnectingPoint num="0" id="1413" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1271" >
+<COMPONENT type="1011" id="1417" >
 <cdparam x="1772" y="1349" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =4" />
-<TGConnectingPoint num="0" id="1269" />
-<TGConnectingPoint num="1" id="1270" />
+<TGConnectingPoint num="0" id="1415" />
+<TGConnectingPoint num="1" id="1416" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1273" >
+<COMPONENT type="1001" id="1419" >
 <cdparam x="1818" y="1457" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1272" />
+<TGConnectingPoint num="0" id="1418" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1276" >
+<COMPONENT type="1011" id="1422" >
 <cdparam x="1866" y="1411" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =6" />
-<TGConnectingPoint num="0" id="1274" />
-<TGConnectingPoint num="1" id="1275" />
+<TGConnectingPoint num="0" id="1420" />
+<TGConnectingPoint num="1" id="1421" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1278" >
+<COMPONENT type="1001" id="1424" >
 <cdparam x="1910" y="1481" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1277" />
+<TGConnectingPoint num="0" id="1423" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1280" >
+<COMPONENT type="1001" id="1426" >
 <cdparam x="1986" y="1543" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1279" />
+<TGConnectingPoint num="0" id="1425" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1283" >
+<COMPONENT type="1011" id="1429" >
 <cdparam x="2047" y="1466" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1281" />
-<TGConnectingPoint num="1" id="1282" />
+<TGConnectingPoint num="0" id="1427" />
+<TGConnectingPoint num="1" id="1428" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1285" >
+<COMPONENT type="1001" id="1431" >
 <cdparam x="2091" y="1537" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1284" />
+<TGConnectingPoint num="0" id="1430" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1288" >
+<COMPONENT type="1011" id="1434" >
 <cdparam x="1942" y="1493" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1286" />
-<TGConnectingPoint num="1" id="1287" />
+<TGConnectingPoint num="0" id="1432" />
+<TGConnectingPoint num="1" id="1433" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1291" >
+<COMPONENT type="1011" id="1437" >
 <cdparam x="1942" y="1434" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="1289" />
-<TGConnectingPoint num="1" id="1290" />
+<TGConnectingPoint num="0" id="1435" />
+<TGConnectingPoint num="1" id="1436" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1308" >
+<COMPONENT type="301" id="1454" >
 <cdparam x="1825" y="889" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Syn
 " />
-<TGConnectingPoint num="0" id="1292" />
-<TGConnectingPoint num="1" id="1293" />
-<TGConnectingPoint num="2" id="1294" />
-<TGConnectingPoint num="3" id="1295" />
-<TGConnectingPoint num="4" id="1296" />
-<TGConnectingPoint num="5" id="1297" />
-<TGConnectingPoint num="6" id="1298" />
-<TGConnectingPoint num="7" id="1299" />
-<TGConnectingPoint num="8" id="1300" />
-<TGConnectingPoint num="9" id="1301" />
-<TGConnectingPoint num="10" id="1302" />
-<TGConnectingPoint num="11" id="1303" />
-<TGConnectingPoint num="12" id="1304" />
-<TGConnectingPoint num="13" id="1305" />
-<TGConnectingPoint num="14" id="1306" />
-<TGConnectingPoint num="15" id="1307" />
+<TGConnectingPoint num="0" id="1438" />
+<TGConnectingPoint num="1" id="1439" />
+<TGConnectingPoint num="2" id="1440" />
+<TGConnectingPoint num="3" id="1441" />
+<TGConnectingPoint num="4" id="1442" />
+<TGConnectingPoint num="5" id="1443" />
+<TGConnectingPoint num="6" id="1444" />
+<TGConnectingPoint num="7" id="1445" />
+<TGConnectingPoint num="8" id="1446" />
+<TGConnectingPoint num="9" id="1447" />
+<TGConnectingPoint num="10" id="1448" />
+<TGConnectingPoint num="11" id="1449" />
+<TGConnectingPoint num="12" id="1450" />
+<TGConnectingPoint num="13" id="1451" />
+<TGConnectingPoint num="14" id="1452" />
+<TGConnectingPoint num="15" id="1453" />
 <extraparam>
 <Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1325" >
+<COMPONENT type="301" id="1471" >
 <cdparam x="1707" y="945" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="ack
 " />
-<TGConnectingPoint num="0" id="1309" />
-<TGConnectingPoint num="1" id="1310" />
-<TGConnectingPoint num="2" id="1311" />
-<TGConnectingPoint num="3" id="1312" />
-<TGConnectingPoint num="4" id="1313" />
-<TGConnectingPoint num="5" id="1314" />
-<TGConnectingPoint num="6" id="1315" />
-<TGConnectingPoint num="7" id="1316" />
-<TGConnectingPoint num="8" id="1317" />
-<TGConnectingPoint num="9" id="1318" />
-<TGConnectingPoint num="10" id="1319" />
-<TGConnectingPoint num="11" id="1320" />
-<TGConnectingPoint num="12" id="1321" />
-<TGConnectingPoint num="13" id="1322" />
-<TGConnectingPoint num="14" id="1323" />
-<TGConnectingPoint num="15" id="1324" />
+<TGConnectingPoint num="0" id="1455" />
+<TGConnectingPoint num="1" id="1456" />
+<TGConnectingPoint num="2" id="1457" />
+<TGConnectingPoint num="3" id="1458" />
+<TGConnectingPoint num="4" id="1459" />
+<TGConnectingPoint num="5" id="1460" />
+<TGConnectingPoint num="6" id="1461" />
+<TGConnectingPoint num="7" id="1462" />
+<TGConnectingPoint num="8" id="1463" />
+<TGConnectingPoint num="9" id="1464" />
+<TGConnectingPoint num="10" id="1465" />
+<TGConnectingPoint num="11" id="1466" />
+<TGConnectingPoint num="12" id="1467" />
+<TGConnectingPoint num="13" id="1468" />
+<TGConnectingPoint num="14" id="1469" />
+<TGConnectingPoint num="15" id="1470" />
 <extraparam>
 <Line value="ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1328" >
+<COMPONENT type="1006" id="1474" >
 <cdparam x="2176" y="1198" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1326" />
-<TGConnectingPoint num="1" id="1327" />
+<TGConnectingPoint num="0" id="1472" />
+<TGConnectingPoint num="1" id="1473" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1330" >
+<COMPONENT type="1001" id="1476" >
 <cdparam x="2207" y="1483" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1329" />
+<TGConnectingPoint num="0" id="1475" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1333" >
+<COMPONENT type="1007" id="1479" >
 <cdparam x="2177" y="1298" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1331" />
-<TGConnectingPoint num="1" id="1332" />
+<TGConnectingPoint num="0" id="1477" />
+<TGConnectingPoint num="1" id="1478" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1336" >
+<COMPONENT type="1006" id="1482" >
 <cdparam x="2187" y="1365" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1334" />
-<TGConnectingPoint num="1" id="1335" />
+<TGConnectingPoint num="0" id="1480" />
+<TGConnectingPoint num="1" id="1481" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1339" >
+<COMPONENT type="1011" id="1485" >
 <cdparam x="2155" y="1136" />
 <sizeparam width="126" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqi = seqi + wind" />
-<TGConnectingPoint num="0" id="1337" />
-<TGConnectingPoint num="1" id="1338" />
+<TGConnectingPoint num="0" id="1483" />
+<TGConnectingPoint num="1" id="1484" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1342" >
+<COMPONENT type="1008" id="1488" >
 <cdparam x="2192" y="1248" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1340" />
-<TGConnectingPoint num="1" id="1341" />
+<TGConnectingPoint num="0" id="1486" />
+<TGConnectingPoint num="1" id="1487" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1345" >
+<COMPONENT type="1011" id="1491" >
 <cdparam x="2163" y="1424" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="1343" />
-<TGConnectingPoint num="1" id="1344" />
+<TGConnectingPoint num="0" id="1489" />
+<TGConnectingPoint num="1" id="1490" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1348" >
+<COMPONENT type="1006" id="1494" >
 <cdparam x="2299" y="1122" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1346" />
-<TGConnectingPoint num="1" id="1347" />
+<TGConnectingPoint num="0" id="1492" />
+<TGConnectingPoint num="1" id="1493" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1365" >
+<COMPONENT type="301" id="1511" >
 <cdparam x="2283" y="1065" />
 <sizeparam width="125" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of SYN
 " />
-<TGConnectingPoint num="0" id="1349" />
-<TGConnectingPoint num="1" id="1350" />
-<TGConnectingPoint num="2" id="1351" />
-<TGConnectingPoint num="3" id="1352" />
-<TGConnectingPoint num="4" id="1353" />
-<TGConnectingPoint num="5" id="1354" />
-<TGConnectingPoint num="6" id="1355" />
-<TGConnectingPoint num="7" id="1356" />
-<TGConnectingPoint num="8" id="1357" />
-<TGConnectingPoint num="9" id="1358" />
-<TGConnectingPoint num="10" id="1359" />
-<TGConnectingPoint num="11" id="1360" />
-<TGConnectingPoint num="12" id="1361" />
-<TGConnectingPoint num="13" id="1362" />
-<TGConnectingPoint num="14" id="1363" />
-<TGConnectingPoint num="15" id="1364" />
+<TGConnectingPoint num="0" id="1495" />
+<TGConnectingPoint num="1" id="1496" />
+<TGConnectingPoint num="2" id="1497" />
+<TGConnectingPoint num="3" id="1498" />
+<TGConnectingPoint num="4" id="1499" />
+<TGConnectingPoint num="5" id="1500" />
+<TGConnectingPoint num="6" id="1501" />
+<TGConnectingPoint num="7" id="1502" />
+<TGConnectingPoint num="8" id="1503" />
+<TGConnectingPoint num="9" id="1504" />
+<TGConnectingPoint num="10" id="1505" />
+<TGConnectingPoint num="11" id="1506" />
+<TGConnectingPoint num="12" id="1507" />
+<TGConnectingPoint num="13" id="1508" />
+<TGConnectingPoint num="14" id="1509" />
+<TGConnectingPoint num="15" id="1510" />
 <extraparam>
 <Line value="send Ack of SYN" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1368" >
+<COMPONENT type="1011" id="1514" >
 <cdparam x="2287" y="1267" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="1366" />
-<TGConnectingPoint num="1" id="1367" />
+<TGConnectingPoint num="0" id="1512" />
+<TGConnectingPoint num="1" id="1513" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1370" >
+<COMPONENT type="1001" id="1516" >
 <cdparam x="2330" y="1324" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1369" />
+<TGConnectingPoint num="0" id="1515" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1373" >
+<COMPONENT type="1008" id="1519" >
 <cdparam x="2316" y="1199" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1371" />
-<TGConnectingPoint num="1" id="1372" />
+<TGConnectingPoint num="0" id="1517" />
+<TGConnectingPoint num="1" id="1518" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1375" >
+<COMPONENT type="1001" id="1521" >
 <cdparam x="1649" y="1057" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1374" />
+<TGConnectingPoint num="0" id="1520" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1377" >
+<COMPONENT type="1001" id="1523" >
 <cdparam x="2168" y="1421" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1376" />
+<TGConnectingPoint num="0" id="1522" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1379" >
+<COMPONENT type="1001" id="1525" >
 <cdparam x="2268" y="1039" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1378" />
+<TGConnectingPoint num="0" id="1524" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1382" >
+<COMPONENT type="1008" id="1528" >
 <cdparam x="1459" y="1192" />
 <sizeparam width="140" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="receive_Application()" />
-<TGConnectingPoint num="0" id="1380" />
-<TGConnectingPoint num="1" id="1381" />
+<TGConnectingPoint num="0" id="1526" />
+<TGConnectingPoint num="1" id="1527" />
 <extraparam>
 <Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1385" >
+<COMPONENT type="1009" id="1531" >
 <cdparam x="1699" y="1086" />
 <sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="1383" />
-<TGConnectingPoint num="1" id="1384" />
+<TGConnectingPoint num="0" id="1529" />
+<TGConnectingPoint num="1" id="1530" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="1386" >
+<CONNECTOR type="115" id="1532" >
 <cdparam x="1048" y="795" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="1048" y="795" id="776" />
-<P2  x="1728" y="865" id="698" />
+<P1  x="1048" y="795" id="922" />
+<P2  x="1728" y="865" id="844" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1387" >
+<CONNECTOR type="115" id="1533" >
 <cdparam x="1048" y="795" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="1089" y="954" id="748" />
-<P2  x="1208" y="1010" id="718" />
+<P1  x="1089" y="954" id="894" />
+<P2  x="1208" y="1010" id="864" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1388" >
+<CONNECTOR type="115" id="1534" >
 <cdparam x="1008" y="610" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to execI" value="null" />
-<P1  x="1008" y="610" id="852" />
-<P2  x="1008" y="696" id="780" />
+<P1  x="1008" y="610" id="998" />
+<P2  x="1008" y="696" id="926" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1389" >
+<CONNECTOR type="115" id="1535" >
 <cdparam x="722" y="614" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to execI" value="null" />
-<P1  x="722" y="614" id="867" />
-<P2  x="722" y="689" id="736" />
+<P1  x="722" y="614" id="1013" />
+<P2  x="722" y="689" id="882" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1390" >
+<CONNECTOR type="115" id="1536" >
 <cdparam x="504" y="597" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="504" y="597" id="816" />
-<P2  x="572" y="702" id="730" />
+<P1  x="504" y="597" id="962" />
+<P2  x="572" y="702" id="876" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1391" >
+<CONNECTOR type="115" id="1537" >
 <cdparam x="464" y="637" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="464" y="637" id="817" />
-<P2  x="439" y="778" id="784" />
+<P1  x="464" y="637" id="963" />
+<P2  x="439" y="778" id="930" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1392" >
+<CONNECTOR type="115" id="1538" >
 <cdparam x="424" y="597" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="424" y="597" id="815" />
-<P2  x="346" y="759" id="764" />
+<P1  x="424" y="597" id="961" />
+<P2  x="346" y="759" id="910" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1393" >
+<CONNECTOR type="115" id="1539" >
 <cdparam x="289" y="619" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to read channel" value="null" />
-<P1  x="289" y="619" id="825" />
-<P2  x="230" y="803" id="921" />
+<P1  x="289" y="619" id="971" />
+<P2  x="230" y="803" id="1067" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1394" >
+<CONNECTOR type="115" id="1540" >
 <cdparam x="249" y="579" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="249" y="579" id="823" />
-<P2  x="132" y="789" id="768" />
+<P1  x="249" y="579" id="969" />
+<P2  x="132" y="789" id="914" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1395" >
+<CONNECTOR type="115" id="1541" >
 <cdparam x="371" y="93" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to notified event" value="null" />
-<P1  x="324" y="93" id="855" />
-<P2  x="374" y="128" id="863" />
+<P1  x="324" y="93" id="1001" />
+<P2  x="374" y="128" id="1009" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1396" >
+<CONNECTOR type="115" id="1542" >
 <cdparam x="234" y="169" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="234" y="169" id="861" />
-<P2  x="234" y="202" id="858" />
+<P1  x="234" y="169" id="1007" />
+<P2  x="234" y="202" id="1004" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1397" >
+<CONNECTOR type="115" id="1543" >
 <cdparam x="234" y="104" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to action state" value="null" />
-<P1  x="234" y="104" id="856" />
-<P2  x="234" y="139" id="860" />
+<P1  x="234" y="104" id="1002" />
+<P2  x="234" y="139" id="1006" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1398" >
+<CONNECTOR type="115" id="1544" >
 <cdparam x="234" y="47" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to for loop" value="null" />
-<P1  x="234" y="47" id="827" />
-<P2  x="234" y="74" id="854" />
+<P1  x="234" y="47" id="973" />
+<P2  x="234" y="74" id="1000" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1399" >
+<CONNECTOR type="115" id="1545" >
 <cdparam x="425" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from notified event to choice" value="null" />
-<P1  x="374" y="158" id="864" />
-<P2  x="374" y="182" id="806" />
+<P1  x="374" y="158" id="1010" />
+<P2  x="374" y="182" id="952" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1400" >
+<CONNECTOR type="115" id="1546" >
 <cdparam x="564" y="482" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="890" />
-<P2  x="722" y="529" id="869" />
+<P1  x="464" y="322" id="1036" />
+<P2  x="722" y="529" id="1015" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1401" >
+<CONNECTOR type="115" id="1547" >
 <cdparam x="722" y="559" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="722" y="559" id="870" />
-<P2  x="722" y="584" id="866" />
+<P1  x="722" y="559" id="1016" />
+<P2  x="722" y="584" id="1012" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1402" >
+<CONNECTOR type="115" id="1548" >
 <cdparam x="604" y="442" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="504" y="282" id="886" />
-<P2  x="1008" y="523" id="872" />
+<P1  x="504" y="282" id="1032" />
+<P2  x="1008" y="523" id="1018" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1403" >
+<CONNECTOR type="115" id="1549" >
 <cdparam x="1007" y="553" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="1008" y="553" id="873" />
-<P2  x="1008" y="580" id="851" />
+<P1  x="1008" y="553" id="1019" />
+<P2  x="1008" y="580" id="997" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1404" >
+<CONNECTOR type="115" id="1550" >
 <cdparam x="524" y="442" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="887" />
-<P2  x="464" y="487" id="875" />
+<P1  x="464" y="322" id="1033" />
+<P2  x="464" y="487" id="1021" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1405" >
+<CONNECTOR type="115" id="1551" >
 <cdparam x="330" y="428" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="888" />
-<P2  x="289" y="463" id="878" />
+<P1  x="424" y="282" id="1034" />
+<P2  x="289" y="463" id="1024" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1406" >
+<CONNECTOR type="115" id="1552" >
 <cdparam x="318" y="520" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to choice" value="null" />
-<P1  x="289" y="493" id="879" />
-<P2  x="289" y="554" id="822" />
+<P1  x="289" y="493" id="1025" />
+<P2  x="289" y="554" id="968" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1407" >
+<CONNECTOR type="115" id="1553" >
 <cdparam x="160" y="481" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to action state" value="null" />
-<P1  x="148" y="501" id="799" />
-<P2  x="126" y="544" id="846" />
+<P1  x="148" y="501" id="945" />
+<P2  x="126" y="544" id="992" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1408" >
+<CONNECTOR type="115" id="1554" >
 <cdparam x="290" y="388" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="885" />
-<P2  x="188" y="414" id="881" />
+<P1  x="424" y="282" id="1031" />
+<P2  x="188" y="414" id="1027" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1409" >
+<CONNECTOR type="115" id="1555" >
 <cdparam x="229" y="467" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to choice" value="null" />
-<P1  x="188" y="444" id="882" />
-<P2  x="188" y="476" id="798" />
+<P1  x="188" y="444" id="1028" />
+<P2  x="188" y="476" id="944" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1410" >
+<CONNECTOR type="115" id="1556" >
 <cdparam x="228" y="501" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="228" y="501" id="800" />
-<P2  x="236" y="524" id="895" />
+<P1  x="228" y="501" id="946" />
+<P2  x="236" y="524" id="1041" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1411" >
+<CONNECTOR type="115" id="1557" >
 <cdparam x="334" y="207" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="334" y="207" id="807" />
-<P2  x="301" y="223" id="899" />
+<P1  x="334" y="207" id="953" />
+<P2  x="301" y="223" id="1045" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1412" >
+<CONNECTOR type="115" id="1558" >
 <cdparam x="301" y="253" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="301" y="253" id="900" />
-<P2  x="301" y="285" id="902" />
+<P1  x="301" y="253" id="1046" />
+<P2  x="301" y="285" id="1048" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1413" >
+<CONNECTOR type="115" id="1559" >
 <cdparam x="464" y="517" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to choice" value="null" />
-<P1  x="464" y="517" id="876" />
-<P2  x="464" y="572" id="814" />
+<P1  x="464" y="517" id="1022" />
+<P2  x="464" y="572" id="960" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1414" >
+<CONNECTOR type="115" id="1560" >
 <cdparam x="329" y="579" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="329" y="579" id="824" />
-<P2  x="353" y="609" id="897" />
+<P1  x="329" y="579" id="970" />
+<P2  x="353" y="609" id="1043" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1415" >
+<CONNECTOR type="115" id="1561" >
 <cdparam x="126" y="574" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="126" y="574" id="847" />
-<P2  x="126" y="610" id="849" />
+<P1  x="126" y="574" id="993" />
+<P2  x="126" y="610" id="995" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1416" >
+<CONNECTOR type="115" id="1562" >
 <cdparam x="414" y="207" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to select" value="null" />
-<P1  x="414" y="207" id="808" />
-<P2  x="464" y="257" id="884" />
+<P1  x="414" y="207" id="954" />
+<P2  x="464" y="257" id="1030" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1417" >
+<CONNECTOR type="115" id="1563" >
 <cdparam x="230" y="833" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to execI" value="null" />
-<P1  x="230" y="833" id="922" />
-<P2  x="230" y="858" id="788" />
+<P1  x="230" y="833" id="1068" />
+<P2  x="230" y="858" id="934" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1418" >
+<CONNECTOR type="115" id="1564" >
 <cdparam x="716" y="749" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="968" y="795" id="775" />
-<P2  x="843" y="859" id="758" />
+<P1  x="968" y="795" id="921" />
+<P2  x="843" y="859" id="904" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1419" >
+<CONNECTOR type="115" id="1565" >
 <cdparam x="720" y="1074" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="728" y="990" id="971" />
-<P2  x="728" y="1027" id="973" />
+<P1  x="728" y="990" id="1117" />
+<P2  x="728" y="1027" id="1119" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1420" >
+<CONNECTOR type="115" id="1566" >
 <cdparam x="733" y="899" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to action state" value="null" />
-<P1  x="803" y="884" id="759" />
-<P2  x="728" y="960" id="970" />
+<P1  x="803" y="884" id="905" />
+<P2  x="728" y="960" id="1116" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1421" >
+<CONNECTOR type="115" id="1567" >
 <cdparam x="800" y="938" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="843" y="924" id="761" />
-<P2  x="800" y="1004" id="752" />
+<P1  x="843" y="924" id="907" />
+<P2  x="800" y="1004" id="898" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1422" >
+<CONNECTOR type="115" id="1568" >
 <cdparam x="800" y="1057" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="800" y="1044" id="753" />
-<P2  x="800" y="1081" id="975" />
+<P1  x="800" y="1044" id="899" />
+<P2  x="800" y="1081" id="1121" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1423" >
+<CONNECTOR type="115" id="1569" >
 <cdparam x="132" y="886" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to write channel" value="null" />
-<P1  x="132" y="886" id="1102" />
-<P2  x="132" y="933" id="937" />
+<P1  x="132" y="886" id="1248" />
+<P2  x="132" y="933" id="1083" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1424" >
+<CONNECTOR type="115" id="1570" >
 <cdparam x="943" y="1061" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="943" y="1060" id="741" />
-<P2  x="943" y="1118" id="1020" />
+<P1  x="943" y="1060" id="887" />
+<P2  x="943" y="1118" id="1166" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1425" >
+<CONNECTOR type="115" id="1571" >
 <cdparam x="1049" y="1093" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1049" y="1092" id="793" />
-<P2  x="1049" y="1150" id="1045" />
+<P1  x="1049" y="1092" id="939" />
+<P2  x="1049" y="1150" id="1191" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1426" >
+<CONNECTOR type="115" id="1572" >
 <cdparam x="1049" y="994" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="1049" y="994" id="749" />
-<P2  x="1049" y="1052" id="792" />
+<P1  x="1049" y="994" id="895" />
+<P2  x="1049" y="1052" id="938" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1427" >
+<CONNECTOR type="115" id="1573" >
 <cdparam x="696" y="742" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="722" y="729" id="737" />
-<P2  x="722" y="753" id="1070" />
+<P1  x="722" y="729" id="883" />
+<P2  x="722" y="753" id="1216" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1428" >
+<CONNECTOR type="115" id="1574" >
 <cdparam x="132" y="1125" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send request to write channel" value="null" />
-<P1  x="132" y="1125" id="1076" />
-<P2  x="132" y="1162" id="1078" />
+<P1  x="132" y="1125" id="1222" />
+<P2  x="132" y="1162" id="1224" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1429" >
+<CONNECTOR type="115" id="1575" >
 <cdparam x="132" y="1192" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="132" y="1192" id="1079" />
-<P2  x="132" y="1231" id="1081" />
+<P1  x="132" y="1192" id="1225" />
+<P2  x="132" y="1231" id="1227" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1430" >
+<CONNECTOR type="115" id="1576" >
 <cdparam x="132" y="1066" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to send request" value="null" />
-<P1  x="132" y="1066" id="935" />
-<P2  x="132" y="1095" id="1075" />
+<P1  x="132" y="1066" id="1081" />
+<P2  x="132" y="1095" id="1221" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1431" >
+<CONNECTOR type="115" id="1577" >
 <cdparam x="229" y="1127" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send request to write channel" value="null" />
-<P1  x="229" y="1127" id="1084" />
-<P2  x="229" y="1164" id="1086" />
+<P1  x="229" y="1127" id="1230" />
+<P2  x="229" y="1164" id="1232" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1432" >
+<CONNECTOR type="115" id="1578" >
 <cdparam x="346" y="1131" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send request to write channel" value="null" />
-<P1  x="346" y="1131" id="1090" />
-<P2  x="346" y="1168" id="1092" />
+<P1  x="346" y="1131" id="1236" />
+<P2  x="346" y="1168" id="1238" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1433" >
+<CONNECTOR type="115" id="1579" >
 <cdparam x="346" y="1051" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to send request" value="null" />
-<P1  x="346" y="1051" id="941" />
-<P2  x="346" y="1101" id="1089" />
+<P1  x="346" y="1051" id="1087" />
+<P2  x="346" y="1101" id="1235" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1434" >
+<CONNECTOR type="115" id="1580" >
 <cdparam x="437" y="1118" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send request to write channel" value="null" />
-<P1  x="438" y="1115" id="1096" />
-<P2  x="438" y="1154" id="1098" />
+<P1  x="438" y="1115" id="1242" />
+<P2  x="438" y="1154" id="1244" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1435" >
+<CONNECTOR type="115" id="1581" >
 <cdparam x="438" y="1057" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to send request" value="null" />
-<P1  x="438" y="1057" id="930" />
-<P2  x="438" y="1085" id="1095" />
+<P1  x="438" y="1057" id="1076" />
+<P2  x="438" y="1085" id="1241" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1436" >
+<CONNECTOR type="115" id="1582" >
 <cdparam x="132" y="808" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to action state" value="null" />
-<P1  x="132" y="829" id="769" />
-<P2  x="132" y="856" id="1101" />
+<P1  x="132" y="829" id="915" />
+<P2  x="132" y="856" id="1247" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1437" >
+<CONNECTOR type="115" id="1583" >
 <cdparam x="230" y="898" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to action state" value="null" />
-<P1  x="230" y="898" id="789" />
-<P2  x="230" y="935" id="1104" />
+<P1  x="230" y="898" id="935" />
+<P2  x="230" y="935" id="1250" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1438" >
+<CONNECTOR type="115" id="1584" >
 <cdparam x="230" y="965" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to write channel" value="null" />
-<P1  x="230" y="965" id="1105" />
-<P2  x="230" y="997" id="924" />
+<P1  x="230" y="965" id="1251" />
+<P2  x="230" y="997" id="1070" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1439" >
+<CONNECTOR type="115" id="1585" >
 <cdparam x="346" y="799" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to action state" value="null" />
-<P1  x="346" y="799" id="765" />
-<P2  x="346" y="826" id="1110" />
+<P1  x="346" y="799" id="911" />
+<P2  x="346" y="826" id="1256" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1440" >
+<CONNECTOR type="115" id="1586" >
 <cdparam x="346" y="856" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to write channel" value="null" />
-<P1  x="346" y="856" id="1111" />
-<P2  x="346" y="895" id="948" />
+<P1  x="346" y="856" id="1257" />
+<P2  x="346" y="895" id="1094" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1441" >
+<CONNECTOR type="115" id="1587" >
 <cdparam x="439" y="818" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to action state" value="null" />
-<P1  x="439" y="818" id="785" />
-<P2  x="439" y="860" id="1107" />
+<P1  x="439" y="818" id="931" />
+<P2  x="439" y="860" id="1253" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1442" >
+<CONNECTOR type="115" id="1588" >
 <cdparam x="439" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to write channel" value="null" />
-<P1  x="439" y="890" id="1108" />
-<P2  x="439" y="936" id="945" />
+<P1  x="439" y="890" id="1254" />
+<P2  x="439" y="936" id="1091" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1443" >
+<CONNECTOR type="115" id="1589" >
 <cdparam x="132" y="963" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="132" y="963" id="938" />
-<P2  x="132" y="981" id="1122" />
+<P1  x="132" y="963" id="1084" />
+<P2  x="132" y="981" id="1268" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1444" >
+<CONNECTOR type="115" id="1590" >
 <cdparam x="132" y="1011" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to action state" value="null" />
-<P1  x="132" y="1011" id="1123" />
-<P2  x="132" y="1036" id="934" />
+<P1  x="132" y="1011" id="1269" />
+<P2  x="132" y="1036" id="1080" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1445" >
+<CONNECTOR type="115" id="1591" >
 <cdparam x="230" y="1027" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="230" y="1027" id="925" />
-<P2  x="229" y="1047" id="1113" />
+<P1  x="230" y="1027" id="1071" />
+<P2  x="229" y="1047" id="1259" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1446" >
+<CONNECTOR type="115" id="1592" >
 <cdparam x="228" y="1088" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to send request" value="null" />
-<P1  x="229" y="1077" id="1114" />
-<P2  x="229" y="1097" id="1083" />
+<P1  x="229" y="1077" id="1260" />
+<P2  x="229" y="1097" id="1229" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1447" >
+<CONNECTOR type="115" id="1593" >
 <cdparam x="346" y="925" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="346" y="925" id="949" />
-<P2  x="346" y="957" id="1116" />
+<P1  x="346" y="925" id="1095" />
+<P2  x="346" y="957" id="1262" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1448" >
+<CONNECTOR type="115" id="1594" >
 <cdparam x="348" y="987" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to action state" value="null" />
-<P1  x="346" y="987" id="1117" />
-<P2  x="346" y="1021" id="940" />
+<P1  x="346" y="987" id="1263" />
+<P2  x="346" y="1021" id="1086" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1449" >
+<CONNECTOR type="115" id="1595" >
 <cdparam x="439" y="966" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="439" y="966" id="946" />
-<P2  x="438" y="978" id="1119" />
+<P1  x="439" y="966" id="1092" />
+<P2  x="438" y="978" id="1265" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1450" >
+<CONNECTOR type="115" id="1596" >
 <cdparam x="438" y="1008" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to action state" value="null" />
-<P1  x="438" y="1008" id="1120" />
-<P2  x="438" y="1027" id="929" />
+<P1  x="438" y="1008" id="1266" />
+<P2  x="438" y="1027" id="1075" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1451" >
+<CONNECTOR type="115" id="1597" >
 <cdparam x="722" y="783" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="722" y="783" id="1071" />
-<P2  x="722" y="808" id="1125" />
+<P1  x="722" y="783" id="1217" />
+<P2  x="722" y="808" id="1271" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1452" >
+<CONNECTOR type="115" id="1598" >
 <cdparam x="722" y="838" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to stop state" value="null" />
-<P1  x="722" y="838" id="1126" />
-<P2  x="722" y="860" id="1073" />
+<P1  x="722" y="838" id="1272" />
+<P2  x="722" y="860" id="1219" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1453" >
+<CONNECTOR type="115" id="1599" >
 <cdparam x="800" y="1111" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="800" y="1111" id="976" />
-<P2  x="798" y="1136" id="1128" />
+<P1  x="800" y="1111" id="1122" />
+<P2  x="798" y="1136" id="1274" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1454" >
+<CONNECTOR type="115" id="1600" >
 <cdparam x="798" y="1166" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to action state" value="null" />
-<P1  x="798" y="1166" id="1129" />
-<P2  x="799" y="1188" id="1012" />
+<P1  x="798" y="1166" id="1275" />
+<P2  x="799" y="1188" id="1158" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1455" >
+<CONNECTOR type="115" id="1601" >
 <cdparam x="943" y="1148" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="943" y="1148" id="1021" />
-<P2  x="943" y="1173" id="1131" />
+<P1  x="943" y="1148" id="1167" />
+<P2  x="943" y="1173" id="1277" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1456" >
+<CONNECTOR type="115" id="1602" >
 <cdparam x="950" y="1201" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to action state" value="null" />
-<P1  x="943" y="1203" id="1132" />
-<P2  x="943" y="1229" id="1040" />
+<P1  x="943" y="1203" id="1278" />
+<P2  x="943" y="1229" id="1186" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1457" >
+<CONNECTOR type="115" id="1603" >
 <cdparam x="1049" y="1180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1049" y="1180" id="1046" />
-<P2  x="1049" y="1206" id="1134" />
+<P1  x="1049" y="1180" id="1192" />
+<P2  x="1049" y="1206" id="1280" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1458" >
+<CONNECTOR type="115" id="1604" >
 <cdparam x="1049" y="1223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to action state" value="null" />
-<P1  x="1049" y="1236" id="1135" />
-<P2  x="1049" y="1261" id="1065" />
+<P1  x="1049" y="1236" id="1281" />
+<P2  x="1049" y="1261" id="1211" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1459" >
+<CONNECTOR type="115" id="1605" >
 <cdparam x="883" y="884" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="883" y="884" id="760" />
-<P2  x="909" y="917" id="1139" />
+<P1  x="883" y="884" id="906" />
+<P2  x="909" y="917" id="1285" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1460" >
+<CONNECTOR type="115" id="1606" >
 <cdparam x="612" y="727" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="612" y="727" id="732" />
-<P2  x="622" y="757" id="1137" />
+<P1  x="612" y="727" id="878" />
+<P2  x="622" y="757" id="1283" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1461" >
+<CONNECTOR type="115" id="1607" >
 <cdparam x="532" y="727" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to action state" value="null" />
-<P1  x="532" y="727" id="731" />
-<P2  x="496" y="763" id="1015" />
+<P1  x="532" y="727" id="877" />
+<P2  x="496" y="763" id="1161" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1462" >
+<CONNECTOR type="115" id="1608" >
 <cdparam x="799" y="1218" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="799" y="1218" id="1013" />
-<P2  x="799" y="1265" id="951" />
+<P1  x="799" y="1218" id="1159" />
+<P2  x="799" y="1265" id="1097" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1463" >
+<CONNECTOR type="115" id="1609" >
 <cdparam x="1009" y="954" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="1009" y="954" id="747" />
-<P2  x="943" y="1020" id="740" />
+<P1  x="1009" y="954" id="893" />
+<P2  x="943" y="1020" id="886" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1464" >
+<CONNECTOR type="115" id="1610" >
 <cdparam x="229" y="1194" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="229" y="1194" id="1087" />
-<P2  x="229" y="1232" id="927" />
+<P1  x="229" y="1194" id="1233" />
+<P2  x="229" y="1232" id="1073" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1465" >
+<CONNECTOR type="115" id="1611" >
 <cdparam x="346" y="1198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="346" y="1198" id="1093" />
-<P2  x="344" y="1224" id="943" />
+<P1  x="346" y="1198" id="1239" />
+<P2  x="344" y="1224" id="1089" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1466" >
+<CONNECTOR type="115" id="1612" >
 <cdparam x="438" y="1184" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="438" y="1184" id="1099" />
-<P2  x="438" y="1208" id="932" />
+<P1  x="438" y="1184" id="1245" />
+<P2  x="438" y="1208" id="1078" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1467" >
+<CONNECTOR type="115" id="1613" >
 <cdparam x="496" y="793" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="496" y="793" id="1016" />
-<P2  x="496" y="825" id="1018" />
+<P1  x="496" y="793" id="1162" />
+<P2  x="496" y="825" id="1164" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1468" >
+<CONNECTOR type="115" id="1614" >
 <cdparam x="943" y="1259" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="943" y="1259" id="1041" />
-<P2  x="943" y="1306" id="1043" />
+<P1  x="943" y="1259" id="1187" />
+<P2  x="943" y="1306" id="1189" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1469" >
+<CONNECTOR type="115" id="1615" >
 <cdparam x="1008" y="736" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to choice" value="null" />
-<P1  x="1008" y="736" id="781" />
-<P2  x="1008" y="770" id="774" />
+<P1  x="1008" y="736" id="927" />
+<P2  x="1008" y="770" id="920" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1470" >
+<CONNECTOR type="115" id="1616" >
 <cdparam x="1008" y="835" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="1008" y="835" id="777" />
-<P2  x="1049" y="929" id="746" />
+<P1  x="1008" y="835" id="923" />
+<P2  x="1049" y="929" id="892" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1471" >
+<CONNECTOR type="115" id="1617" >
 <cdparam x="1049" y="1291" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1049" y="1291" id="1066" />
-<P2  x="1049" y="1336" id="1068" />
+<P1  x="1049" y="1291" id="1212" />
+<P2  x="1049" y="1336" id="1214" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1472" >
+<CONNECTOR type="115" id="1618" >
 <cdparam x="1208" y="1152" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1208" y="1142" id="725" />
-<P2  x="1208" y="1209" id="1141" />
+<P1  x="1208" y="1142" id="871" />
+<P2  x="1208" y="1209" id="1287" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1473" >
+<CONNECTOR type="115" id="1619" >
 <cdparam x="1208" y="1239" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to action state" value="null" />
-<P1  x="1208" y="1239" id="1142" />
-<P2  x="1208" y="1290" id="1161" />
+<P1  x="1208" y="1239" id="1288" />
+<P2  x="1208" y="1290" id="1307" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1474" >
+<CONNECTOR type="115" id="1620" >
 <cdparam x="1208" y="1320" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to send event" value="null" />
-<P1  x="1208" y="1320" id="1162" />
-<P2  x="1208" y="1346" id="1169" />
+<P1  x="1208" y="1320" id="1308" />
+<P2  x="1208" y="1346" id="1315" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1475" >
+<CONNECTOR type="115" id="1621" >
 <cdparam x="1206" y="1385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to action state" value="null" />
-<P1  x="1208" y="1376" id="1170" />
-<P2  x="1207" y="1397" id="1166" />
+<P1  x="1208" y="1376" id="1316" />
+<P2  x="1207" y="1397" id="1312" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1476" >
+<CONNECTOR type="115" id="1622" >
 <cdparam x="1206" y="1088" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="1208" y="1075" id="721" />
-<P2  x="1208" y="1102" id="724" />
+<P1  x="1208" y="1075" id="867" />
+<P2  x="1208" y="1102" id="870" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1477" >
+<CONNECTOR type="115" id="1623" >
 <cdparam x="1248" y="1035" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1248" y="1035" id="720" />
-<P2  x="1287" y="1065" id="1172" />
+<P1  x="1248" y="1035" id="866" />
+<P2  x="1287" y="1065" id="1318" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1478" >
+<CONNECTOR type="115" id="1624" >
 <cdparam x="1207" y="1427" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1207" y="1427" id="1167" />
-<P2  x="1207" y="1466" id="1164" />
+<P1  x="1207" y="1427" id="1313" />
+<P2  x="1207" y="1466" id="1310" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1479" >
+<CONNECTOR type="115" id="1625" >
 <cdparam x="1553" y="1019" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="1567" y="1021" id="691" />
-<P2  x="1529" y="1059" id="684" />
+<P1  x="1567" y="1021" id="837" />
+<P2  x="1529" y="1059" id="830" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1480" >
+<CONNECTOR type="115" id="1626" >
 <cdparam x="1529" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1289" id="681" />
-<P2  x="1529" y="1343" id="1179" />
+<P1  x="1529" y="1289" id="827" />
+<P2  x="1529" y="1343" id="1325" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1481" >
+<CONNECTOR type="115" id="1627" >
 <cdparam x="1684" y="929" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to send event" value="null" />
-<P1  x="1728" y="930" id="701" />
-<P2  x="1731" y="1021" id="1182" />
+<P1  x="1728" y="930" id="847" />
+<P2  x="1731" y="1021" id="1328" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1482" >
+<CONNECTOR type="115" id="1628" >
 <cdparam x="1615" y="1283" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1641" y="1270" id="705" />
-<P2  x="1641" y="1294" id="1219" />
+<P1  x="1641" y="1270" id="851" />
+<P2  x="1641" y="1294" id="1365" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1483" >
+<CONNECTOR type="115" id="1629" >
 <cdparam x="1641" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1641" y="1324" id="1220" />
-<P2  x="1642" y="1343" id="1261" />
+<P1  x="1641" y="1324" id="1366" />
+<P2  x="1642" y="1343" id="1407" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1484" >
+<CONNECTOR type="115" id="1630" >
 <cdparam x="1529" y="1373" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1373" id="1180" />
-<P2  x="1529" y="1400" id="1258" />
+<P1  x="1529" y="1373" id="1326" />
+<P2  x="1529" y="1400" id="1404" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1485" >
+<CONNECTOR type="115" id="1631" >
 <cdparam x="1529" y="1422" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to stop state" value="null" />
-<P1  x="1529" y="1430" id="1259" />
-<P2  x="1529" y="1452" id="1174" />
+<P1  x="1529" y="1430" id="1405" />
+<P2  x="1529" y="1452" id="1320" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1486" >
+<CONNECTOR type="115" id="1632" >
 <cdparam x="1642" y="1373" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to write channel" value="null" />
-<P1  x="1642" y="1373" id="1262" />
-<P2  x="1642" y="1399" id="1264" />
+<P1  x="1642" y="1373" id="1408" />
+<P2  x="1642" y="1399" id="1410" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1487" >
+<CONNECTOR type="115" id="1633" >
 <cdparam x="1956" y="1361" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to action state" value="null" />
-<P1  x="1956" y="1361" id="659" />
-<P2  x="1920" y="1406" id="1274" />
+<P1  x="1956" y="1361" id="805" />
+<P2  x="1920" y="1406" id="1420" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1488" >
+<CONNECTOR type="115" id="1634" >
 <cdparam x="2100" y="1490" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2101" y="1491" id="1282" />
-<P2  x="2101" y="1532" id="1284" />
+<P1  x="2101" y="1491" id="1428" />
+<P2  x="2101" y="1532" id="1430" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1489" >
+<CONNECTOR type="115" id="1635" >
 <cdparam x="1996" y="1401" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to action state" value="null" />
-<P1  x="1996" y="1401" id="661" />
-<P2  x="1996" y="1429" id="1289" />
+<P1  x="1996" y="1401" id="807" />
+<P2  x="1996" y="1429" id="1435" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1490" >
+<CONNECTOR type="115" id="1636" >
 <cdparam x="1996" y="1459" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to action state" value="null" />
-<P1  x="1996" y="1459" id="1290" />
-<P2  x="1996" y="1488" id="1286" />
+<P1  x="1996" y="1459" id="1436" />
+<P2  x="1996" y="1488" id="1432" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1491" >
+<CONNECTOR type="115" id="1637" >
 <cdparam x="2021" y="1038" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="2237" y="966" id="651" />
-<P2  x="2218" y="1054" id="708" />
+<P1  x="2237" y="966" id="797" />
+<P2  x="2218" y="1054" id="854" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1492" >
+<CONNECTOR type="115" id="1638" >
 <cdparam x="2217" y="1323" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send request to write channel" value="null" />
-<P1  x="2217" y="1323" id="1332" />
-<P2  x="2217" y="1360" id="1334" />
+<P1  x="2217" y="1323" id="1478" />
+<P2  x="2217" y="1360" id="1480" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1493" >
+<CONNECTOR type="115" id="1639" >
 <cdparam x="2218" y="1094" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to action state" value="null" />
-<P1  x="2218" y="1094" id="709" />
-<P2  x="2218" y="1131" id="1337" />
+<P1  x="2218" y="1094" id="855" />
+<P2  x="2218" y="1131" id="1483" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1494" >
+<CONNECTOR type="115" id="1640" >
 <cdparam x="2218" y="1161" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to write channel" value="null" />
-<P1  x="2218" y="1161" id="1338" />
-<P2  x="2218" y="1193" id="1326" />
+<P1  x="2218" y="1161" id="1484" />
+<P2  x="2218" y="1193" id="1472" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1495" >
+<CONNECTOR type="115" id="1641" >
 <cdparam x="2218" y="1223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2218" y="1223" id="1327" />
-<P2  x="2217" y="1243" id="1340" />
+<P1  x="2218" y="1223" id="1473" />
+<P2  x="2217" y="1243" id="1486" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1496" >
+<CONNECTOR type="115" id="1642" >
 <cdparam x="2216" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to send request" value="null" />
-<P1  x="2217" y="1273" id="1341" />
-<P2  x="2217" y="1293" id="1331" />
+<P1  x="2217" y="1273" id="1487" />
+<P2  x="2217" y="1293" id="1477" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1497" >
+<CONNECTOR type="115" id="1643" >
 <cdparam x="2217" y="1390" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to action state" value="null" />
-<P1  x="2217" y="1390" id="1335" />
-<P2  x="2217" y="1419" id="1343" />
+<P1  x="2217" y="1390" id="1481" />
+<P2  x="2217" y="1419" id="1489" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1498" >
+<CONNECTOR type="115" id="1644" >
 <cdparam x="2341" y="1060" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="2341" y="1059" id="713" />
-<P2  x="2341" y="1117" id="1346" />
+<P1  x="2341" y="1059" id="859" />
+<P2  x="2341" y="1117" id="1492" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1499" >
+<CONNECTOR type="115" id="1645" >
 <cdparam x="1529" y="1099" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1099" id="685" />
-<P2  x="1529" y="1127" id="1176" />
+<P1  x="1529" y="1099" id="831" />
+<P2  x="1529" y="1127" id="1322" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1500" >
+<CONNECTOR type="115" id="1646" >
 <cdparam x="2101" y="1433" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="2101" y="1433" id="645" />
-<P2  x="2101" y="1461" id="1281" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1501" >
-<cdparam x="2158" y="1460" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2141" y="1393" id="644" />
-<P2  x="2178" y="1416" id="1376" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1502" >
-<cdparam x="1688" y="890" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1688" y="890" id="699" />
-<P2  x="1607" y="996" id="690" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1503" >
-<cdparam x="1768" y="890" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1768" y="890" id="700" />
-<P2  x="2277" y="941" id="650" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1504" >
-<cdparam x="2317" y="966" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="2317" y="966" id="652" />
-<P2  x="2341" y="1019" id="712" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1505" >
-<cdparam x="2341" y="1147" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2341" y="1147" id="1347" />
-<P2  x="2341" y="1194" id="1371" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1506" >
-<cdparam x="2341" y="1224" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send event" value="null" />
-<P1  x="2341" y="1224" id="1372" />
-<P2  x="2341" y="1262" id="1366" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1507" >
-<cdparam x="1731" y="1051" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to choice" value="null" />
-<P1  x="1731" y="1051" id="1183" />
-<P2  x="1731" y="1081" id="1383" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1508" >
-<cdparam x="1647" y="1021" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1647" y="1021" id="692" />
-<P2  x="1659" y="1052" id="1374" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1509" >
-<cdparam x="1826" y="1324" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1826" y="1324" id="669" />
-<P2  x="1826" y="1344" id="1269" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1510" >
-<cdparam x="1826" y="1374" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1826" y="1374" id="1270" />
-<P2  x="1828" y="1452" id="1272" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1511" >
-<cdparam x="1786" y="1284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1786" y="1284" id="667" />
-<P2  x="1740" y="1330" id="1267" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1512" >
-<cdparam x="1920" y="1436" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1920" y="1436" id="1275" />
-<P2  x="1920" y="1476" id="1277" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1513" >
-<cdparam x="1996" y="1518" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1996" y="1518" id="1287" />
-<P2  x="1996" y="1538" id="1279" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1514" >
-<cdparam x="2036" y="1361" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="2036" y="1361" id="660" />
-<P2  x="2101" y="1368" id="642" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1515" >
-<cdparam x="1866" y="1284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1866" y="1284" id="668" />
-<P2  x="1996" y="1336" id="658" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1516" >
-<cdparam x="2341" y="1292" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2341" y="1292" id="1367" />
-<P2  x="2340" y="1319" id="1369" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1517" >
-<cdparam x="2217" y="1449" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2217" y="1449" id="1344" />
-<P2  x="2217" y="1478" id="1329" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1518" >
-<cdparam x="2277" y="1006" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2277" y="1006" id="653" />
-<P2  x="2278" y="1034" id="1378" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1519" >
-<cdparam x="1642" y="1429" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="1642" y="1429" id="1265" />
-<P2  x="1642" y="1463" id="1222" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1520" >
-<cdparam x="1529" y="1157" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1157" id="1177" />
-<P2  x="1529" y="1187" id="1380" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1521" >
-<cdparam x="1529" y="1217" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to execI" value="null" />
-<P1  x="1529" y="1217" id="1381" />
-<P2  x="1529" y="1249" id="680" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1522" >
-<cdparam x="1691" y="1156" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1691" y="1156" id="675" />
-<P2  x="1641" y="1230" id="704" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1523" >
-<cdparam x="1771" y="1156" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1771" y="1156" id="676" />
-<P2  x="1826" y="1259" id="666" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1524" >
-<cdparam x="1731" y="1111" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to choice" value="null" />
-<P1  x="1731" y="1111" id="1384" />
-<P2  x="1731" y="1131" id="674" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1532" >
-<cdparam x="491" y="277" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1528" />
-<TGConnectingPoint num="1" id="1529" />
-<TGConnectingPoint num="2" id="1530" />
-<TGConnectingPoint num="3" id="1531" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1525" >
-<father id="1532" num="0" />
-<cdparam x="466" y="287" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1526" >
-<father id="1532" num="1" />
-<cdparam x="526" y="287" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1527" >
-<father id="1532" num="2" />
-<cdparam x="511" y="322" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="1534" >
-<cdparam x="501" y="91" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1533" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1537" >
-<cdparam x="482" y="129" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="open()" />
-<TGConnectingPoint num="0" id="1535" />
-<TGConnectingPoint num="1" id="1536" />
-<extraparam>
-<Data eventName="open" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1540" >
-<cdparam x="466" y="178" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="1538" />
-<TGConnectingPoint num="1" id="1539" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1543" >
-<cdparam x="467" y="226" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="send_TCP()" />
-<TGConnectingPoint num="0" id="1541" />
-<TGConnectingPoint num="1" id="1542" />
-<extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1545" >
-<cdparam x="576" y="388" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1544" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1548" >
-<cdparam x="559" y="329" />
-<sizeparam width="54" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="1546" />
-<TGConnectingPoint num="1" id="1547" />
-<extraparam>
-<Data eventName="abort" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1551" >
-<cdparam x="406" y="337" />
-<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="close()" />
-<TGConnectingPoint num="0" id="1549" />
-<TGConnectingPoint num="1" id="1550" />
-<extraparam>
-<Data eventName="close" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1553" >
-<cdparam x="422" y="386" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1552" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="1554" >
-<cdparam x="509" y="94" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to send event" value="null" />
-<P1  x="508" y="111" id="1533" />
-<P2  x="508" y="124" id="1535" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1555" >
-<cdparam x="508" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="508" y="154" id="1536" />
-<P2  x="508" y="173" id="1538" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1556" >
-<cdparam x="508" y="222" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="508" y="203" id="1539" />
-<P2  x="507" y="221" id="1541" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1557" >
-<cdparam x="586" y="354" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="586" y="354" id="1547" />
-<P2  x="586" y="383" id="1544" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1558" >
-<cdparam x="508" y="298" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to choice" value="null" />
-<P1  x="507" y="251" id="1542" />
-<P2  x="506" y="267" id="1528" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1559" >
-<cdparam x="470" y="348" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="466" y="292" id="1529" />
-<P2  x="432" y="332" id="1549" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1560" >
-<cdparam x="432" y="362" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="432" y="362" id="1550" />
-<P2  x="432" y="381" id="1552" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1561" >
-<cdparam x="550" y="348" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="546" y="292" id="1530" />
-<P2  x="586" y="324" id="1546" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1000" id="1563" >
-<cdparam x="159" y="66" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1562" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="1566" >
-<cdparam x="138" y="129" />
-<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="reset() " />
-<TGConnectingPoint num="0" id="1564" />
-<TGConnectingPoint num="1" id="1565" />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1569" >
-<cdparam x="108" y="182" />
-<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="answerToReset()" />
-<TGConnectingPoint num="0" id="1567" />
-<TGConnectingPoint num="1" id="1568" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1572" >
-<cdparam x="143" y="237" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTS() " />
-<TGConnectingPoint num="0" id="1570" />
-<TGConnectingPoint num="1" id="1571" />
-<extraparam>
-<Data eventName="pTS" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1575" >
-<cdparam x="121" y="308" />
-<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTSConfirm()" />
-<TGConnectingPoint num="0" id="1573" />
-<TGConnectingPoint num="1" id="1574" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="1592" >
-<cdparam x="376" y="98" />
-<sizeparam width="237" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="The first two layers of the OSI model 
-are used to communicate between 
-the smart card and the terminal
-" />
-<TGConnectingPoint num="0" id="1576" />
-<TGConnectingPoint num="1" id="1577" />
-<TGConnectingPoint num="2" id="1578" />
-<TGConnectingPoint num="3" id="1579" />
-<TGConnectingPoint num="4" id="1580" />
-<TGConnectingPoint num="5" id="1581" />
-<TGConnectingPoint num="6" id="1582" />
-<TGConnectingPoint num="7" id="1583" />
-<TGConnectingPoint num="8" id="1584" />
-<TGConnectingPoint num="9" id="1585" />
-<TGConnectingPoint num="10" id="1586" />
-<TGConnectingPoint num="11" id="1587" />
-<TGConnectingPoint num="12" id="1588" />
-<TGConnectingPoint num="13" id="1589" />
-<TGConnectingPoint num="14" id="1590" />
-<TGConnectingPoint num="15" id="1591" />
-<extraparam>
-<Line value="The first two layers of the OSI model " />
-<Line value="are used to communicate between " />
-<Line value="the smart card and the terminal" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="1595" >
-<cdparam x="250" y="97" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_TCP_IP()" />
-<TGConnectingPoint num="0" id="1593" />
-<TGConnectingPoint num="1" id="1594" />
-<extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="1598" >
-<cdparam x="236" y="148" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="1596" />
-<TGConnectingPoint num="1" id="1597" />
-<extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1600" >
-<cdparam x="515" y="428" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1599" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1603" >
-<cdparam x="305" y="350" />
-<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready_SC()" />
-<TGConnectingPoint num="0" id="1601" />
-<TGConnectingPoint num="1" id="1602" />
-<extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1605" >
-<cdparam x="352" y="426" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1604" />
-</COMPONENT>
-
-<COMPONENT type="1009" id="1608" >
-<cdparam x="318" y="308" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="1606" />
-<TGConnectingPoint num="1" id="1607" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1611" >
-<cdparam x="335" y="264" />
-<sizeparam width="55" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="send() " />
-<TGConnectingPoint num="0" id="1609" />
-<TGConnectingPoint num="1" id="1610" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1614" >
-<cdparam x="315" y="392" />
-<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromSCtoD(1)" />
-<TGConnectingPoint num="0" id="1612" />
-<TGConnectingPoint num="1" id="1613" />
-<extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1617" >
-<cdparam x="493" y="350" />
-<sizeparam width="65" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="1615" />
-<TGConnectingPoint num="1" id="1616" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1009" id="1620" >
-<cdparam x="472" y="311" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC0(1) " />
-<TGConnectingPoint num="0" id="1618" />
-<TGConnectingPoint num="1" id="1619" />
-<extraparam>
-<Data channelName="fromDtoSC0" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1623" >
-<cdparam x="483" y="387" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="1621" />
-<TGConnectingPoint num="1" id="1622" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1626" >
-<cdparam x="477" y="268" />
-<sizeparam width="97" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready() " />
-<TGConnectingPoint num="0" id="1624" />
-<TGConnectingPoint num="1" id="1625" />
-<breakpoint />
-<extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1014" id="1630" >
-<cdparam x="236" y="202" />
-<sizeparam width="124" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
-<TGConnectingPoint num="0" id="1627" />
-<TGConnectingPoint num="1" id="1628" />
-<TGConnectingPoint num="2" id="1629" />
-<extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1632" >
-<cdparam x="297" y="231" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1631" />
-</COMPONENT>
-
-<COMPONENT type="1018" id="1643" >
-<cdparam x="424" y="226" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="1633" />
-<TGConnectingPoint num="1" id="1634" />
-<TGConnectingPoint num="2" id="1635" />
-<TGConnectingPoint num="3" id="1636" />
-<TGConnectingPoint num="4" id="1637" />
-<TGConnectingPoint num="5" id="1638" />
-<TGConnectingPoint num="6" id="1639" />
-<TGConnectingPoint num="7" id="1640" />
-<TGConnectingPoint num="8" id="1641" />
-<TGConnectingPoint num="9" id="1642" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="1648" >
-<cdparam x="111" y="331" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="166" y="333" id="1574" />
-<P2  x="298" y="92" id="1593" />
-<Point x="166" y="351" />
-<Point x="231" y="351" />
-<Point x="231" y="72" />
-<Point x="298" y="72" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1644" >
-<father id="1648" num="0" />
-<cdparam x="166" y="351" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1645" >
-<father id="1648" num="1" />
-<cdparam x="231" y="351" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1646" >
-<father id="1648" num="2" />
-<cdparam x="231" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1647" >
-<father id="1648" num="3" />
-<cdparam x="298" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="2101" y="1433" id="791" />
+<P2  x="2101" y="1461" id="1427" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1647" >
+<cdparam x="2158" y="1460" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2141" y="1393" id="790" />
+<P2  x="2178" y="1416" id="1522" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1648" >
+<cdparam x="1688" y="890" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1688" y="890" id="845" />
+<P2  x="1607" y="996" id="836" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 <CONNECTOR type="115" id="1649" >
-<cdparam x="166" y="64" />
+<cdparam x="1768" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to wait event" value="null" />
-<P1  x="166" y="86" id="1562" />
-<P2  x="166" y="124" id="1564" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="890" id="846" />
+<P2  x="2277" y="941" id="796" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1650" >
-<cdparam x="166" y="154" />
+<cdparam x="2317" y="966" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="154" id="1565" />
-<P2  x="166" y="177" id="1567" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2317" y="966" id="798" />
+<P2  x="2341" y="1019" id="858" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1651" >
-<cdparam x="312" y="133" />
+<cdparam x="2341" y="1147" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to send request" value="null" />
-<P1  x="298" y="122" id="1594" />
-<P2  x="298" y="143" id="1596" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="2341" y="1147" id="1493" />
+<P2  x="2341" y="1194" id="1517" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1652" >
-<cdparam x="355" y="300" />
+<cdparam x="2341" y="1224" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="362" y="289" id="1610" />
-<P2  x="362" y="303" id="1606" />
+<infoparam name="connector from send event to send event" value="null" />
+<P1  x="2341" y="1224" id="1518" />
+<P2  x="2341" y="1262" id="1512" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1653" >
-<cdparam x="355" y="365" />
+<cdparam x="1731" y="1051" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="362" y="333" id="1607" />
-<P2  x="362" y="345" id="1601" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="1731" y="1051" id="1329" />
+<P2  x="1731" y="1081" id="1529" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1654" >
-<cdparam x="355" y="417" />
+<cdparam x="1647" y="1021" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="362" y="375" id="1602" />
-<P2  x="362" y="387" id="1612" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1647" y="1021" id="838" />
+<P2  x="1659" y="1052" id="1520" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1655" >
-<cdparam x="355" y="473" />
+<cdparam x="1826" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="362" y="417" id="1613" />
-<P2  x="362" y="421" id="1604" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1826" y="1324" id="815" />
+<P2  x="1826" y="1344" id="1415" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1656" >
-<cdparam x="541" y="358" />
+<cdparam x="1826" y="1374" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="525" y="336" id="1619" />
-<P2  x="525" y="345" id="1615" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1826" y="1374" id="1416" />
+<P2  x="1828" y="1452" id="1418" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1657" >
-<cdparam x="540" y="402" />
+<cdparam x="1786" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="525" y="375" id="1616" />
-<P2  x="525" y="382" id="1621" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1786" y="1284" id="813" />
+<P2  x="1740" y="1330" id="1413" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1658" >
-<cdparam x="543" y="305" />
+<cdparam x="1920" y="1436" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="525" y="293" id="1625" />
-<P2  x="525" y="306" id="1618" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1920" y="1436" id="1421" />
+<P2  x="1920" y="1476" id="1423" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1659" >
-<cdparam x="540" y="464" />
+<cdparam x="1996" y="1518" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="525" y="412" id="1622" />
-<P2  x="525" y="423" id="1599" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1996" y="1518" id="1433" />
+<P2  x="1996" y="1538" id="1425" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1660" >
-<cdparam x="298" y="173" />
+<cdparam x="2036" y="1361" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to for loop" value="null" />
-<P1  x="298" y="173" id="1597" />
-<P2  x="298" y="197" id="1627" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="2036" y="1361" id="806" />
+<P2  x="2101" y="1368" id="788" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1661" >
-<cdparam x="328" y="232" />
+<cdparam x="1866" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to stop state" value="null" />
-<P1  x="298" y="227" id="1629" />
-<P2  x="307" y="226" id="1631" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1866" y="1284" id="814" />
+<P2  x="1996" y="1336" id="804" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1662" >
-<cdparam x="395" y="283" />
+<cdparam x="2341" y="1292" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="399" y="241" id="1634" />
-<P2  x="362" y="259" id="1609" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2341" y="1292" id="1513" />
+<P2  x="2340" y="1319" id="1515" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1663" >
-<cdparam x="543" y="341" />
+<cdparam x="2217" y="1449" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="479" y="241" id="1635" />
-<P2  x="525" y="263" id="1624" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2217" y="1449" id="1490" />
+<P2  x="2217" y="1478" id="1475" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1664" >
-<cdparam x="391" y="282" />
+<cdparam x="2277" y="1006" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to select" value="null" />
-<P1  x="360" y="216" id="1628" />
-<P2  x="439" y="216" id="1633" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2277" y="1006" id="799" />
+<P2  x="2278" y="1034" id="1524" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1665" >
-<cdparam x="164" y="262" />
+<cdparam x="1642" y="1429" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="262" id="1571" />
-<P2  x="166" y="303" id="1573" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="1642" y="1429" id="1411" />
+<P2  x="1642" y="1463" id="1368" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1666" >
-<cdparam x="166" y="207" />
+<cdparam x="1529" y="1157" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="166" y="207" id="1568" />
-<P2  x="166" y="232" id="1570" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1529" y="1157" id="1323" />
+<P2  x="1529" y="1187" id="1526" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1667" >
+<cdparam x="1529" y="1217" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to execI" value="null" />
+<P1  x="1529" y="1217" id="1527" />
+<P2  x="1529" y="1249" id="826" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1668" >
+<cdparam x="1691" y="1156" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1691" y="1156" id="821" />
+<P2  x="1641" y="1230" id="850" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1669" >
+<cdparam x="1771" y="1156" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1771" y="1156" id="822" />
+<P2  x="1826" y="1259" id="812" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1670" >
+<cdparam x="1731" y="1111" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to choice" value="null" />
+<P1  x="1731" y="1111" id="1530" />
+<P2  x="1731" y="1131" id="820" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="1678" >
+<cdparam x="509" y="222" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="1674" />
+<TGConnectingPoint num="1" id="1675" />
+<TGConnectingPoint num="2" id="1676" />
+<TGConnectingPoint num="3" id="1677" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="1671" >
+<father id="1678" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ x==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="1672" >
+<father id="1678" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ x&gt;0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="1673" >
+<father id="1678" num="2" />
+<cdparam x="529" y="267" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1000" id="1680" >
+<cdparam x="517" y="87" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="1679" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1682" >
+<cdparam x="417" y="367" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1681" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1685" >
+<cdparam x="393" y="299" />
+<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="1683" />
+<TGConnectingPoint num="1" id="1684" />
+<extraparam>
+<Data eventName="timeOut" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1688" >
+<cdparam x="596" y="300" />
+<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="1686" />
+<TGConnectingPoint num="1" id="1687" />
+<extraparam>
+<Data eventName="stop" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1690" >
+<cdparam x="612" y="365" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1689" />
+</COMPONENT>
+
+<COMPONENT type="1017" id="1693" >
+<cdparam x="487" y="150" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="1691" />
+<TGConnectingPoint num="1" id="1692" />
+<extraparam>
+<Data eventName="stop" variable="x" />
+</extraparam>
+</COMPONENT>
+
+<CONNECTOR type="115" id="1694" >
+<cdparam x="427" y="324" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="427" y="324" id="1684" />
+<P2  x="427" y="362" id="1681" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1695" >
+<cdparam x="622" y="325" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="622" y="325" id="1687" />
+<P2  x="622" y="360" id="1689" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1696" >
+<cdparam x="524" y="107" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to notified event" value="null" />
+<P1  x="524" y="107" id="1679" />
+<P2  x="524" y="145" id="1691" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1697" >
+<cdparam x="524" y="175" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="524" y="175" id="1692" />
+<P2  x="524" y="212" id="1674" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1698" >
+<cdparam x="484" y="237" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="484" y="237" id="1675" />
+<P2  x="427" y="294" id="1683" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1699" >
+<cdparam x="564" y="237" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="564" y="237" id="1676" />
+<P2  x="622" y="295" id="1686" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -6752,36 +6752,36 @@ the smart card and the terminal
 
 <Modeling type="TML Architecture" nameTab="Architecture1" >
 <TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1100" id="1691" >
+<COMPONENT type="1100" id="1724" >
 <cdparam x="51" y="90" />
 <sizeparam width="459" height="321" minWidth="150" minHeight="150" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="cpu0" value="name" />
-<TGConnectingPoint num="0" id="1667" />
-<TGConnectingPoint num="1" id="1668" />
-<TGConnectingPoint num="2" id="1669" />
-<TGConnectingPoint num="3" id="1670" />
-<TGConnectingPoint num="4" id="1671" />
-<TGConnectingPoint num="5" id="1672" />
-<TGConnectingPoint num="6" id="1673" />
-<TGConnectingPoint num="7" id="1674" />
-<TGConnectingPoint num="8" id="1675" />
-<TGConnectingPoint num="9" id="1676" />
-<TGConnectingPoint num="10" id="1677" />
-<TGConnectingPoint num="11" id="1678" />
-<TGConnectingPoint num="12" id="1679" />
-<TGConnectingPoint num="13" id="1680" />
-<TGConnectingPoint num="14" id="1681" />
-<TGConnectingPoint num="15" id="1682" />
-<TGConnectingPoint num="16" id="1683" />
-<TGConnectingPoint num="17" id="1684" />
-<TGConnectingPoint num="18" id="1685" />
-<TGConnectingPoint num="19" id="1686" />
-<TGConnectingPoint num="20" id="1687" />
-<TGConnectingPoint num="21" id="1688" />
-<TGConnectingPoint num="22" id="1689" />
-<TGConnectingPoint num="23" id="1690" />
+<TGConnectingPoint num="0" id="1700" />
+<TGConnectingPoint num="1" id="1701" />
+<TGConnectingPoint num="2" id="1702" />
+<TGConnectingPoint num="3" id="1703" />
+<TGConnectingPoint num="4" id="1704" />
+<TGConnectingPoint num="5" id="1705" />
+<TGConnectingPoint num="6" id="1706" />
+<TGConnectingPoint num="7" id="1707" />
+<TGConnectingPoint num="8" id="1708" />
+<TGConnectingPoint num="9" id="1709" />
+<TGConnectingPoint num="10" id="1710" />
+<TGConnectingPoint num="11" id="1711" />
+<TGConnectingPoint num="12" id="1712" />
+<TGConnectingPoint num="13" id="1713" />
+<TGConnectingPoint num="14" id="1714" />
+<TGConnectingPoint num="15" id="1715" />
+<TGConnectingPoint num="16" id="1716" />
+<TGConnectingPoint num="17" id="1717" />
+<TGConnectingPoint num="18" id="1718" />
+<TGConnectingPoint num="19" id="1719" />
+<TGConnectingPoint num="20" id="1720" />
+<TGConnectingPoint num="21" id="1721" />
+<TGConnectingPoint num="22" id="1722" />
+<TGConnectingPoint num="23" id="1723" />
 <extraparam>
 <info stereotype="CPURRPB" nodeName="cpu0" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="1"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="99"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
@@ -6798,225 +6798,225 @@ the smart card and the terminal
 
 <Modeling type="TML Architecture" nameTab="Architecture2" >
 <TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1105" id="1716" >
+<COMPONENT type="1105" id="1749" >
 <cdparam x="290" y="308" />
 <sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Memory0" value="name" />
-<TGConnectingPoint num="0" id="1692" />
-<TGConnectingPoint num="1" id="1693" />
-<TGConnectingPoint num="2" id="1694" />
-<TGConnectingPoint num="3" id="1695" />
-<TGConnectingPoint num="4" id="1696" />
-<TGConnectingPoint num="5" id="1697" />
-<TGConnectingPoint num="6" id="1698" />
-<TGConnectingPoint num="7" id="1699" />
-<TGConnectingPoint num="8" id="1700" />
-<TGConnectingPoint num="9" id="1701" />
-<TGConnectingPoint num="10" id="1702" />
-<TGConnectingPoint num="11" id="1703" />
-<TGConnectingPoint num="12" id="1704" />
-<TGConnectingPoint num="13" id="1705" />
-<TGConnectingPoint num="14" id="1706" />
-<TGConnectingPoint num="15" id="1707" />
-<TGConnectingPoint num="16" id="1708" />
-<TGConnectingPoint num="17" id="1709" />
-<TGConnectingPoint num="18" id="1710" />
-<TGConnectingPoint num="19" id="1711" />
-<TGConnectingPoint num="20" id="1712" />
-<TGConnectingPoint num="21" id="1713" />
-<TGConnectingPoint num="22" id="1714" />
-<TGConnectingPoint num="23" id="1715" />
+<TGConnectingPoint num="0" id="1725" />
+<TGConnectingPoint num="1" id="1726" />
+<TGConnectingPoint num="2" id="1727" />
+<TGConnectingPoint num="3" id="1728" />
+<TGConnectingPoint num="4" id="1729" />
+<TGConnectingPoint num="5" id="1730" />
+<TGConnectingPoint num="6" id="1731" />
+<TGConnectingPoint num="7" id="1732" />
+<TGConnectingPoint num="8" id="1733" />
+<TGConnectingPoint num="9" id="1734" />
+<TGConnectingPoint num="10" id="1735" />
+<TGConnectingPoint num="11" id="1736" />
+<TGConnectingPoint num="12" id="1737" />
+<TGConnectingPoint num="13" id="1738" />
+<TGConnectingPoint num="14" id="1739" />
+<TGConnectingPoint num="15" id="1740" />
+<TGConnectingPoint num="16" id="1741" />
+<TGConnectingPoint num="17" id="1742" />
+<TGConnectingPoint num="18" id="1743" />
+<TGConnectingPoint num="19" id="1744" />
+<TGConnectingPoint num="20" id="1745" />
+<TGConnectingPoint num="21" id="1746" />
+<TGConnectingPoint num="22" id="1747" />
+<TGConnectingPoint num="23" id="1748" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="1741" >
+<COMPONENT type="1102" id="1774" >
 <cdparam x="259" y="219" />
 <sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Bus0" value="name" />
-<TGConnectingPoint num="0" id="1717" />
-<TGConnectingPoint num="1" id="1718" />
-<TGConnectingPoint num="2" id="1719" />
-<TGConnectingPoint num="3" id="1720" />
-<TGConnectingPoint num="4" id="1721" />
-<TGConnectingPoint num="5" id="1722" />
-<TGConnectingPoint num="6" id="1723" />
-<TGConnectingPoint num="7" id="1724" />
-<TGConnectingPoint num="8" id="1725" />
-<TGConnectingPoint num="9" id="1726" />
-<TGConnectingPoint num="10" id="1727" />
-<TGConnectingPoint num="11" id="1728" />
-<TGConnectingPoint num="12" id="1729" />
-<TGConnectingPoint num="13" id="1730" />
-<TGConnectingPoint num="14" id="1731" />
-<TGConnectingPoint num="15" id="1732" />
-<TGConnectingPoint num="16" id="1733" />
-<TGConnectingPoint num="17" id="1734" />
-<TGConnectingPoint num="18" id="1735" />
-<TGConnectingPoint num="19" id="1736" />
-<TGConnectingPoint num="20" id="1737" />
-<TGConnectingPoint num="21" id="1738" />
-<TGConnectingPoint num="22" id="1739" />
-<TGConnectingPoint num="23" id="1740" />
+<TGConnectingPoint num="0" id="1750" />
+<TGConnectingPoint num="1" id="1751" />
+<TGConnectingPoint num="2" id="1752" />
+<TGConnectingPoint num="3" id="1753" />
+<TGConnectingPoint num="4" id="1754" />
+<TGConnectingPoint num="5" id="1755" />
+<TGConnectingPoint num="6" id="1756" />
+<TGConnectingPoint num="7" id="1757" />
+<TGConnectingPoint num="8" id="1758" />
+<TGConnectingPoint num="9" id="1759" />
+<TGConnectingPoint num="10" id="1760" />
+<TGConnectingPoint num="11" id="1761" />
+<TGConnectingPoint num="12" id="1762" />
+<TGConnectingPoint num="13" id="1763" />
+<TGConnectingPoint num="14" id="1764" />
+<TGConnectingPoint num="15" id="1765" />
+<TGConnectingPoint num="16" id="1766" />
+<TGConnectingPoint num="17" id="1767" />
+<TGConnectingPoint num="18" id="1768" />
+<TGConnectingPoint num="19" id="1769" />
+<TGConnectingPoint num="20" id="1770" />
+<TGConnectingPoint num="21" id="1771" />
+<TGConnectingPoint num="22" id="1772" />
+<TGConnectingPoint num="23" id="1773" />
 <extraparam>
 <info stereotype="BUS" nodeName="Bus0" />
 <attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1766" >
+<COMPONENT type="1100" id="1799" >
 <cdparam x="555" y="177" />
 <sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="HW2" value="name" />
-<TGConnectingPoint num="0" id="1742" />
-<TGConnectingPoint num="1" id="1743" />
-<TGConnectingPoint num="2" id="1744" />
-<TGConnectingPoint num="3" id="1745" />
-<TGConnectingPoint num="4" id="1746" />
-<TGConnectingPoint num="5" id="1747" />
-<TGConnectingPoint num="6" id="1748" />
-<TGConnectingPoint num="7" id="1749" />
-<TGConnectingPoint num="8" id="1750" />
-<TGConnectingPoint num="9" id="1751" />
-<TGConnectingPoint num="10" id="1752" />
-<TGConnectingPoint num="11" id="1753" />
-<TGConnectingPoint num="12" id="1754" />
-<TGConnectingPoint num="13" id="1755" />
-<TGConnectingPoint num="14" id="1756" />
-<TGConnectingPoint num="15" id="1757" />
-<TGConnectingPoint num="16" id="1758" />
-<TGConnectingPoint num="17" id="1759" />
-<TGConnectingPoint num="18" id="1760" />
-<TGConnectingPoint num="19" id="1761" />
-<TGConnectingPoint num="20" id="1762" />
-<TGConnectingPoint num="21" id="1763" />
-<TGConnectingPoint num="22" id="1764" />
-<TGConnectingPoint num="23" id="1765" />
+<TGConnectingPoint num="0" id="1775" />
+<TGConnectingPoint num="1" id="1776" />
+<TGConnectingPoint num="2" id="1777" />
+<TGConnectingPoint num="3" id="1778" />
+<TGConnectingPoint num="4" id="1779" />
+<TGConnectingPoint num="5" id="1780" />
+<TGConnectingPoint num="6" id="1781" />
+<TGConnectingPoint num="7" id="1782" />
+<TGConnectingPoint num="8" id="1783" />
+<TGConnectingPoint num="9" id="1784" />
+<TGConnectingPoint num="10" id="1785" />
+<TGConnectingPoint num="11" id="1786" />
+<TGConnectingPoint num="12" id="1787" />
+<TGConnectingPoint num="13" id="1788" />
+<TGConnectingPoint num="14" id="1789" />
+<TGConnectingPoint num="15" id="1790" />
+<TGConnectingPoint num="16" id="1791" />
+<TGConnectingPoint num="17" id="1792" />
+<TGConnectingPoint num="18" id="1793" />
+<TGConnectingPoint num="19" id="1794" />
+<TGConnectingPoint num="20" id="1795" />
+<TGConnectingPoint num="21" id="1796" />
+<TGConnectingPoint num="22" id="1797" />
+<TGConnectingPoint num="23" id="1798" />
 <extraparam>
 <info stereotype="CPURR" nodeName="HW2" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1791" >
+<COMPONENT type="1100" id="1824" >
 <cdparam x="37" y="181" />
 <sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="HW1" value="name" />
-<TGConnectingPoint num="0" id="1767" />
-<TGConnectingPoint num="1" id="1768" />
-<TGConnectingPoint num="2" id="1769" />
-<TGConnectingPoint num="3" id="1770" />
-<TGConnectingPoint num="4" id="1771" />
-<TGConnectingPoint num="5" id="1772" />
-<TGConnectingPoint num="6" id="1773" />
-<TGConnectingPoint num="7" id="1774" />
-<TGConnectingPoint num="8" id="1775" />
-<TGConnectingPoint num="9" id="1776" />
-<TGConnectingPoint num="10" id="1777" />
-<TGConnectingPoint num="11" id="1778" />
-<TGConnectingPoint num="12" id="1779" />
-<TGConnectingPoint num="13" id="1780" />
-<TGConnectingPoint num="14" id="1781" />
-<TGConnectingPoint num="15" id="1782" />
-<TGConnectingPoint num="16" id="1783" />
-<TGConnectingPoint num="17" id="1784" />
-<TGConnectingPoint num="18" id="1785" />
-<TGConnectingPoint num="19" id="1786" />
-<TGConnectingPoint num="20" id="1787" />
-<TGConnectingPoint num="21" id="1788" />
-<TGConnectingPoint num="22" id="1789" />
-<TGConnectingPoint num="23" id="1790" />
+<TGConnectingPoint num="0" id="1800" />
+<TGConnectingPoint num="1" id="1801" />
+<TGConnectingPoint num="2" id="1802" />
+<TGConnectingPoint num="3" id="1803" />
+<TGConnectingPoint num="4" id="1804" />
+<TGConnectingPoint num="5" id="1805" />
+<TGConnectingPoint num="6" id="1806" />
+<TGConnectingPoint num="7" id="1807" />
+<TGConnectingPoint num="8" id="1808" />
+<TGConnectingPoint num="9" id="1809" />
+<TGConnectingPoint num="10" id="1810" />
+<TGConnectingPoint num="11" id="1811" />
+<TGConnectingPoint num="12" id="1812" />
+<TGConnectingPoint num="13" id="1813" />
+<TGConnectingPoint num="14" id="1814" />
+<TGConnectingPoint num="15" id="1815" />
+<TGConnectingPoint num="16" id="1816" />
+<TGConnectingPoint num="17" id="1817" />
+<TGConnectingPoint num="18" id="1818" />
+<TGConnectingPoint num="19" id="1819" />
+<TGConnectingPoint num="20" id="1820" />
+<TGConnectingPoint num="21" id="1821" />
+<TGConnectingPoint num="22" id="1822" />
+<TGConnectingPoint num="23" id="1823" />
 <extraparam>
 <info stereotype="CPURR" nodeName="HW1" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1816" >
+<COMPONENT type="1100" id="1849" >
 <cdparam x="250" y="27" />
 <sizeparam width="268" height="144" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="CPU0" value="name" />
-<TGConnectingPoint num="0" id="1792" />
-<TGConnectingPoint num="1" id="1793" />
-<TGConnectingPoint num="2" id="1794" />
-<TGConnectingPoint num="3" id="1795" />
-<TGConnectingPoint num="4" id="1796" />
-<TGConnectingPoint num="5" id="1797" />
-<TGConnectingPoint num="6" id="1798" />
-<TGConnectingPoint num="7" id="1799" />
-<TGConnectingPoint num="8" id="1800" />
-<TGConnectingPoint num="9" id="1801" />
-<TGConnectingPoint num="10" id="1802" />
-<TGConnectingPoint num="11" id="1803" />
-<TGConnectingPoint num="12" id="1804" />
-<TGConnectingPoint num="13" id="1805" />
-<TGConnectingPoint num="14" id="1806" />
-<TGConnectingPoint num="15" id="1807" />
-<TGConnectingPoint num="16" id="1808" />
-<TGConnectingPoint num="17" id="1809" />
-<TGConnectingPoint num="18" id="1810" />
-<TGConnectingPoint num="19" id="1811" />
-<TGConnectingPoint num="20" id="1812" />
-<TGConnectingPoint num="21" id="1813" />
-<TGConnectingPoint num="22" id="1814" />
-<TGConnectingPoint num="23" id="1815" />
+<TGConnectingPoint num="0" id="1825" />
+<TGConnectingPoint num="1" id="1826" />
+<TGConnectingPoint num="2" id="1827" />
+<TGConnectingPoint num="3" id="1828" />
+<TGConnectingPoint num="4" id="1829" />
+<TGConnectingPoint num="5" id="1830" />
+<TGConnectingPoint num="6" id="1831" />
+<TGConnectingPoint num="7" id="1832" />
+<TGConnectingPoint num="8" id="1833" />
+<TGConnectingPoint num="9" id="1834" />
+<TGConnectingPoint num="10" id="1835" />
+<TGConnectingPoint num="11" id="1836" />
+<TGConnectingPoint num="12" id="1837" />
+<TGConnectingPoint num="13" id="1838" />
+<TGConnectingPoint num="14" id="1839" />
+<TGConnectingPoint num="15" id="1840" />
+<TGConnectingPoint num="16" id="1841" />
+<TGConnectingPoint num="17" id="1842" />
+<TGConnectingPoint num="18" id="1843" />
+<TGConnectingPoint num="19" id="1844" />
+<TGConnectingPoint num="20" id="1845" />
+<TGConnectingPoint num="21" id="1846" />
+<TGConnectingPoint num="22" id="1847" />
+<TGConnectingPoint num="23" id="1848" />
 <extraparam>
 <info stereotype="CPURR" nodeName="CPU0" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="125" id="1817" >
+<CONNECTOR type="125" id="1850" >
 <cdparam x="383" y="317" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Memory0 to Bus0" value="{info}" />
-<P1  x="384" y="308" id="1693" />
-<P2  x="384" y="269" id="1723" />
+<P1  x="384" y="308" id="1726" />
+<P2  x="384" y="269" id="1756" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="1818" >
+<CONNECTOR type="125" id="1851" >
 <cdparam x="171" y="250" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from CPU1 to Bus0" value="{info}" />
-<P1  x="202" y="244" id="1771" />
-<P2  x="259" y="244" id="1720" />
+<P1  x="202" y="244" id="1804" />
+<P2  x="259" y="244" id="1753" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="1819" >
+<CONNECTOR type="125" id="1852" >
 <cdparam x="643" y="260" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from CPU2 to Bus0" value="{info}" />
-<P1  x="555" y="244" id="1745" />
-<P2  x="509" y="244" id="1721" />
+<P1  x="555" y="244" id="1778" />
+<P2  x="509" y="244" id="1754" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="1820" >
+<CONNECTOR type="125" id="1853" >
 <cdparam x="369" y="112" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from CPU0 to Bus0" value="{info}" />
-<P1  x="384" y="171" id="1798" />
-<P2  x="384" y="219" id="1718" />
+<P1  x="384" y="171" id="1831" />
+<P2  x="384" y="219" id="1751" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
@@ -7032,134 +7032,134 @@ the smart card and the terminal
 
 <Modeling type="TML Architecture" nameTab="Mapping1" >
 <TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1100" id="1890" >
+<COMPONENT type="1100" id="1923" >
 <cdparam x="51" y="90" />
 <sizeparam width="459" height="321" minWidth="150" minHeight="150" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="cpu0" value="name" />
-<TGConnectingPoint num="0" id="1866" />
-<TGConnectingPoint num="1" id="1867" />
-<TGConnectingPoint num="2" id="1868" />
-<TGConnectingPoint num="3" id="1869" />
-<TGConnectingPoint num="4" id="1870" />
-<TGConnectingPoint num="5" id="1871" />
-<TGConnectingPoint num="6" id="1872" />
-<TGConnectingPoint num="7" id="1873" />
-<TGConnectingPoint num="8" id="1874" />
-<TGConnectingPoint num="9" id="1875" />
-<TGConnectingPoint num="10" id="1876" />
-<TGConnectingPoint num="11" id="1877" />
-<TGConnectingPoint num="12" id="1878" />
-<TGConnectingPoint num="13" id="1879" />
-<TGConnectingPoint num="14" id="1880" />
-<TGConnectingPoint num="15" id="1881" />
-<TGConnectingPoint num="16" id="1882" />
-<TGConnectingPoint num="17" id="1883" />
-<TGConnectingPoint num="18" id="1884" />
-<TGConnectingPoint num="19" id="1885" />
-<TGConnectingPoint num="20" id="1886" />
-<TGConnectingPoint num="21" id="1887" />
-<TGConnectingPoint num="22" id="1888" />
-<TGConnectingPoint num="23" id="1889" />
+<TGConnectingPoint num="0" id="1899" />
+<TGConnectingPoint num="1" id="1900" />
+<TGConnectingPoint num="2" id="1901" />
+<TGConnectingPoint num="3" id="1902" />
+<TGConnectingPoint num="4" id="1903" />
+<TGConnectingPoint num="5" id="1904" />
+<TGConnectingPoint num="6" id="1905" />
+<TGConnectingPoint num="7" id="1906" />
+<TGConnectingPoint num="8" id="1907" />
+<TGConnectingPoint num="9" id="1908" />
+<TGConnectingPoint num="10" id="1909" />
+<TGConnectingPoint num="11" id="1910" />
+<TGConnectingPoint num="12" id="1911" />
+<TGConnectingPoint num="13" id="1912" />
+<TGConnectingPoint num="14" id="1913" />
+<TGConnectingPoint num="15" id="1914" />
+<TGConnectingPoint num="16" id="1915" />
+<TGConnectingPoint num="17" id="1916" />
+<TGConnectingPoint num="18" id="1917" />
+<TGConnectingPoint num="19" id="1918" />
+<TGConnectingPoint num="20" id="1919" />
+<TGConnectingPoint num="21" id="1920" />
+<TGConnectingPoint num="22" id="1921" />
+<TGConnectingPoint num="23" id="1922" />
 <extraparam>
 <info stereotype="CPURRPB" nodeName="cpu0" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="1"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="99"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="1829" >
-<father id="1890" num="0" />
-<cdparam x="92" y="154" />
-<sizeparam width="172" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1862" >
+<father id="1923" num="0" />
+<cdparam x="226" y="304" />
+<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="287" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="1821" />
-<TGConnectingPoint num="1" id="1822" />
-<TGConnectingPoint num="2" id="1823" />
-<TGConnectingPoint num="3" id="1824" />
-<TGConnectingPoint num="4" id="1825" />
-<TGConnectingPoint num="5" id="1826" />
-<TGConnectingPoint num="6" id="1827" />
-<TGConnectingPoint num="7" id="1828" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
+<TGConnectingPoint num="0" id="1854" />
+<TGConnectingPoint num="1" id="1855" />
+<TGConnectingPoint num="2" id="1856" />
+<TGConnectingPoint num="3" id="1857" />
+<TGConnectingPoint num="4" id="1858" />
+<TGConnectingPoint num="5" id="1859" />
+<TGConnectingPoint num="6" id="1860" />
+<TGConnectingPoint num="7" id="1861" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1838" >
-<father id="1890" num="1" />
-<cdparam x="291" y="153" />
-<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1871" >
+<father id="1923" num="1" />
+<cdparam x="290" y="234" />
+<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="1830" />
-<TGConnectingPoint num="1" id="1831" />
-<TGConnectingPoint num="2" id="1832" />
-<TGConnectingPoint num="3" id="1833" />
-<TGConnectingPoint num="4" id="1834" />
-<TGConnectingPoint num="5" id="1835" />
-<TGConnectingPoint num="6" id="1836" />
-<TGConnectingPoint num="7" id="1837" />
+<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
+<TGConnectingPoint num="0" id="1863" />
+<TGConnectingPoint num="1" id="1864" />
+<TGConnectingPoint num="2" id="1865" />
+<TGConnectingPoint num="3" id="1866" />
+<TGConnectingPoint num="4" id="1867" />
+<TGConnectingPoint num="5" id="1868" />
+<TGConnectingPoint num="6" id="1869" />
+<TGConnectingPoint num="7" id="1870" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1847" >
-<father id="1890" num="2" />
+<SUBCOMPONENT type="1101" id="1880" >
+<father id="1923" num="2" />
 <cdparam x="96" y="246" />
 <sizeparam width="109" height="50" minWidth="75" minHeight="0" 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::TCPIP" />
-<TGConnectingPoint num="0" id="1839" />
-<TGConnectingPoint num="1" id="1840" />
-<TGConnectingPoint num="2" id="1841" />
-<TGConnectingPoint num="3" id="1842" />
-<TGConnectingPoint num="4" id="1843" />
-<TGConnectingPoint num="5" id="1844" />
-<TGConnectingPoint num="6" id="1845" />
-<TGConnectingPoint num="7" id="1846" />
+<TGConnectingPoint num="0" id="1872" />
+<TGConnectingPoint num="1" id="1873" />
+<TGConnectingPoint num="2" id="1874" />
+<TGConnectingPoint num="3" id="1875" />
+<TGConnectingPoint num="4" id="1876" />
+<TGConnectingPoint num="5" id="1877" />
+<TGConnectingPoint num="6" id="1878" />
+<TGConnectingPoint num="7" id="1879" />
 <extraparam>
 <info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1856" >
-<father id="1890" num="3" />
-<cdparam x="290" y="234" />
-<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1889" >
+<father id="1923" num="3" />
+<cdparam x="291" y="153" />
+<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="1848" />
-<TGConnectingPoint num="1" id="1849" />
-<TGConnectingPoint num="2" id="1850" />
-<TGConnectingPoint num="3" id="1851" />
-<TGConnectingPoint num="4" id="1852" />
-<TGConnectingPoint num="5" id="1853" />
-<TGConnectingPoint num="6" id="1854" />
-<TGConnectingPoint num="7" id="1855" />
+<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="1881" />
+<TGConnectingPoint num="1" id="1882" />
+<TGConnectingPoint num="2" id="1883" />
+<TGConnectingPoint num="3" id="1884" />
+<TGConnectingPoint num="4" id="1885" />
+<TGConnectingPoint num="5" id="1886" />
+<TGConnectingPoint num="6" id="1887" />
+<TGConnectingPoint num="7" id="1888" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1865" >
-<father id="1890" num="4" />
-<cdparam x="226" y="304" />
-<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1898" >
+<father id="1923" num="4" />
+<cdparam x="92" y="154" />
+<sizeparam width="172" height="50" minWidth="75" minHeight="0" 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" />
-<TGConnectingPoint num="0" id="1857" />
-<TGConnectingPoint num="1" id="1858" />
-<TGConnectingPoint num="2" id="1859" />
-<TGConnectingPoint num="3" id="1860" />
-<TGConnectingPoint num="4" id="1861" />
-<TGConnectingPoint num="5" id="1862" />
-<TGConnectingPoint num="6" id="1863" />
-<TGConnectingPoint num="7" id="1864" />
+<cdrectangleparam minX="0" maxX="287" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<TGConnectingPoint num="0" id="1890" />
+<TGConnectingPoint num="1" id="1891" />
+<TGConnectingPoint num="2" id="1892" />
+<TGConnectingPoint num="3" id="1893" />
+<TGConnectingPoint num="4" id="1894" />
+<TGConnectingPoint num="5" id="1895" />
+<TGConnectingPoint num="6" id="1896" />
+<TGConnectingPoint num="7" id="1897" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -7173,282 +7173,282 @@ the smart card and the terminal
 
 <Modeling type="TML Architecture" nameTab="Mapping2" >
 <TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1105" id="1915" >
+<COMPONENT type="1105" id="1948" >
 <cdparam x="290" y="308" />
 <sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Memory0" value="name" />
-<TGConnectingPoint num="0" id="1891" />
-<TGConnectingPoint num="1" id="1892" />
-<TGConnectingPoint num="2" id="1893" />
-<TGConnectingPoint num="3" id="1894" />
-<TGConnectingPoint num="4" id="1895" />
-<TGConnectingPoint num="5" id="1896" />
-<TGConnectingPoint num="6" id="1897" />
-<TGConnectingPoint num="7" id="1898" />
-<TGConnectingPoint num="8" id="1899" />
-<TGConnectingPoint num="9" id="1900" />
-<TGConnectingPoint num="10" id="1901" />
-<TGConnectingPoint num="11" id="1902" />
-<TGConnectingPoint num="12" id="1903" />
-<TGConnectingPoint num="13" id="1904" />
-<TGConnectingPoint num="14" id="1905" />
-<TGConnectingPoint num="15" id="1906" />
-<TGConnectingPoint num="16" id="1907" />
-<TGConnectingPoint num="17" id="1908" />
-<TGConnectingPoint num="18" id="1909" />
-<TGConnectingPoint num="19" id="1910" />
-<TGConnectingPoint num="20" id="1911" />
-<TGConnectingPoint num="21" id="1912" />
-<TGConnectingPoint num="22" id="1913" />
-<TGConnectingPoint num="23" id="1914" />
+<TGConnectingPoint num="0" id="1924" />
+<TGConnectingPoint num="1" id="1925" />
+<TGConnectingPoint num="2" id="1926" />
+<TGConnectingPoint num="3" id="1927" />
+<TGConnectingPoint num="4" id="1928" />
+<TGConnectingPoint num="5" id="1929" />
+<TGConnectingPoint num="6" id="1930" />
+<TGConnectingPoint num="7" id="1931" />
+<TGConnectingPoint num="8" id="1932" />
+<TGConnectingPoint num="9" id="1933" />
+<TGConnectingPoint num="10" id="1934" />
+<TGConnectingPoint num="11" id="1935" />
+<TGConnectingPoint num="12" id="1936" />
+<TGConnectingPoint num="13" id="1937" />
+<TGConnectingPoint num="14" id="1938" />
+<TGConnectingPoint num="15" id="1939" />
+<TGConnectingPoint num="16" id="1940" />
+<TGConnectingPoint num="17" id="1941" />
+<TGConnectingPoint num="18" id="1942" />
+<TGConnectingPoint num="19" id="1943" />
+<TGConnectingPoint num="20" id="1944" />
+<TGConnectingPoint num="21" id="1945" />
+<TGConnectingPoint num="22" id="1946" />
+<TGConnectingPoint num="23" id="1947" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="1940" >
+<COMPONENT type="1102" id="1973" >
 <cdparam x="259" y="219" />
 <sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Bus0" value="name" />
-<TGConnectingPoint num="0" id="1916" />
-<TGConnectingPoint num="1" id="1917" />
-<TGConnectingPoint num="2" id="1918" />
-<TGConnectingPoint num="3" id="1919" />
-<TGConnectingPoint num="4" id="1920" />
-<TGConnectingPoint num="5" id="1921" />
-<TGConnectingPoint num="6" id="1922" />
-<TGConnectingPoint num="7" id="1923" />
-<TGConnectingPoint num="8" id="1924" />
-<TGConnectingPoint num="9" id="1925" />
-<TGConnectingPoint num="10" id="1926" />
-<TGConnectingPoint num="11" id="1927" />
-<TGConnectingPoint num="12" id="1928" />
-<TGConnectingPoint num="13" id="1929" />
-<TGConnectingPoint num="14" id="1930" />
-<TGConnectingPoint num="15" id="1931" />
-<TGConnectingPoint num="16" id="1932" />
-<TGConnectingPoint num="17" id="1933" />
-<TGConnectingPoint num="18" id="1934" />
-<TGConnectingPoint num="19" id="1935" />
-<TGConnectingPoint num="20" id="1936" />
-<TGConnectingPoint num="21" id="1937" />
-<TGConnectingPoint num="22" id="1938" />
-<TGConnectingPoint num="23" id="1939" />
+<TGConnectingPoint num="0" id="1949" />
+<TGConnectingPoint num="1" id="1950" />
+<TGConnectingPoint num="2" id="1951" />
+<TGConnectingPoint num="3" id="1952" />
+<TGConnectingPoint num="4" id="1953" />
+<TGConnectingPoint num="5" id="1954" />
+<TGConnectingPoint num="6" id="1955" />
+<TGConnectingPoint num="7" id="1956" />
+<TGConnectingPoint num="8" id="1957" />
+<TGConnectingPoint num="9" id="1958" />
+<TGConnectingPoint num="10" id="1959" />
+<TGConnectingPoint num="11" id="1960" />
+<TGConnectingPoint num="12" id="1961" />
+<TGConnectingPoint num="13" id="1962" />
+<TGConnectingPoint num="14" id="1963" />
+<TGConnectingPoint num="15" id="1964" />
+<TGConnectingPoint num="16" id="1965" />
+<TGConnectingPoint num="17" id="1966" />
+<TGConnectingPoint num="18" id="1967" />
+<TGConnectingPoint num="19" id="1968" />
+<TGConnectingPoint num="20" id="1969" />
+<TGConnectingPoint num="21" id="1970" />
+<TGConnectingPoint num="22" id="1971" />
+<TGConnectingPoint num="23" id="1972" />
 <extraparam>
 <info stereotype="BUS" nodeName="Bus0" />
 <attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1974" >
+<COMPONENT type="1100" id="2007" >
 <cdparam x="555" y="177" />
 <sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="HW2" value="name" />
-<TGConnectingPoint num="0" id="1950" />
-<TGConnectingPoint num="1" id="1951" />
-<TGConnectingPoint num="2" id="1952" />
-<TGConnectingPoint num="3" id="1953" />
-<TGConnectingPoint num="4" id="1954" />
-<TGConnectingPoint num="5" id="1955" />
-<TGConnectingPoint num="6" id="1956" />
-<TGConnectingPoint num="7" id="1957" />
-<TGConnectingPoint num="8" id="1958" />
-<TGConnectingPoint num="9" id="1959" />
-<TGConnectingPoint num="10" id="1960" />
-<TGConnectingPoint num="11" id="1961" />
-<TGConnectingPoint num="12" id="1962" />
-<TGConnectingPoint num="13" id="1963" />
-<TGConnectingPoint num="14" id="1964" />
-<TGConnectingPoint num="15" id="1965" />
-<TGConnectingPoint num="16" id="1966" />
-<TGConnectingPoint num="17" id="1967" />
-<TGConnectingPoint num="18" id="1968" />
-<TGConnectingPoint num="19" id="1969" />
-<TGConnectingPoint num="20" id="1970" />
-<TGConnectingPoint num="21" id="1971" />
-<TGConnectingPoint num="22" id="1972" />
-<TGConnectingPoint num="23" id="1973" />
+<TGConnectingPoint num="0" id="1983" />
+<TGConnectingPoint num="1" id="1984" />
+<TGConnectingPoint num="2" id="1985" />
+<TGConnectingPoint num="3" id="1986" />
+<TGConnectingPoint num="4" id="1987" />
+<TGConnectingPoint num="5" id="1988" />
+<TGConnectingPoint num="6" id="1989" />
+<TGConnectingPoint num="7" id="1990" />
+<TGConnectingPoint num="8" id="1991" />
+<TGConnectingPoint num="9" id="1992" />
+<TGConnectingPoint num="10" id="1993" />
+<TGConnectingPoint num="11" id="1994" />
+<TGConnectingPoint num="12" id="1995" />
+<TGConnectingPoint num="13" id="1996" />
+<TGConnectingPoint num="14" id="1997" />
+<TGConnectingPoint num="15" id="1998" />
+<TGConnectingPoint num="16" id="1999" />
+<TGConnectingPoint num="17" id="2000" />
+<TGConnectingPoint num="18" id="2001" />
+<TGConnectingPoint num="19" id="2002" />
+<TGConnectingPoint num="20" id="2003" />
+<TGConnectingPoint num="21" id="2004" />
+<TGConnectingPoint num="22" id="2005" />
+<TGConnectingPoint num="23" id="2006" />
 <extraparam>
 <info stereotype="CPURR" nodeName="HW2" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="1949" >
-<father id="1974" num="0" />
+<SUBCOMPONENT type="1101" id="1982" >
+<father id="2007" num="0" />
 <cdparam x="585" y="229" />
 <sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="65" minY="0" maxY="95" />
 <infoparam name="TGComponent" value="AppC::Timer" />
-<TGConnectingPoint num="0" id="1941" />
-<TGConnectingPoint num="1" id="1942" />
-<TGConnectingPoint num="2" id="1943" />
-<TGConnectingPoint num="3" id="1944" />
-<TGConnectingPoint num="4" id="1945" />
-<TGConnectingPoint num="5" id="1946" />
-<TGConnectingPoint num="6" id="1947" />
-<TGConnectingPoint num="7" id="1948" />
+<TGConnectingPoint num="0" id="1974" />
+<TGConnectingPoint num="1" id="1975" />
+<TGConnectingPoint num="2" id="1976" />
+<TGConnectingPoint num="3" id="1977" />
+<TGConnectingPoint num="4" id="1978" />
+<TGConnectingPoint num="5" id="1979" />
+<TGConnectingPoint num="6" id="1980" />
+<TGConnectingPoint num="7" id="1981" />
 <extraparam>
 <info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="2008" >
+<COMPONENT type="1100" id="2041" >
 <cdparam x="37" y="181" />
 <sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="HW1" value="name" />
-<TGConnectingPoint num="0" id="1984" />
-<TGConnectingPoint num="1" id="1985" />
-<TGConnectingPoint num="2" id="1986" />
-<TGConnectingPoint num="3" id="1987" />
-<TGConnectingPoint num="4" id="1988" />
-<TGConnectingPoint num="5" id="1989" />
-<TGConnectingPoint num="6" id="1990" />
-<TGConnectingPoint num="7" id="1991" />
-<TGConnectingPoint num="8" id="1992" />
-<TGConnectingPoint num="9" id="1993" />
-<TGConnectingPoint num="10" id="1994" />
-<TGConnectingPoint num="11" id="1995" />
-<TGConnectingPoint num="12" id="1996" />
-<TGConnectingPoint num="13" id="1997" />
-<TGConnectingPoint num="14" id="1998" />
-<TGConnectingPoint num="15" id="1999" />
-<TGConnectingPoint num="16" id="2000" />
-<TGConnectingPoint num="17" id="2001" />
-<TGConnectingPoint num="18" id="2002" />
-<TGConnectingPoint num="19" id="2003" />
-<TGConnectingPoint num="20" id="2004" />
-<TGConnectingPoint num="21" id="2005" />
-<TGConnectingPoint num="22" id="2006" />
-<TGConnectingPoint num="23" id="2007" />
+<TGConnectingPoint num="0" id="2017" />
+<TGConnectingPoint num="1" id="2018" />
+<TGConnectingPoint num="2" id="2019" />
+<TGConnectingPoint num="3" id="2020" />
+<TGConnectingPoint num="4" id="2021" />
+<TGConnectingPoint num="5" id="2022" />
+<TGConnectingPoint num="6" id="2023" />
+<TGConnectingPoint num="7" id="2024" />
+<TGConnectingPoint num="8" id="2025" />
+<TGConnectingPoint num="9" id="2026" />
+<TGConnectingPoint num="10" id="2027" />
+<TGConnectingPoint num="11" id="2028" />
+<TGConnectingPoint num="12" id="2029" />
+<TGConnectingPoint num="13" id="2030" />
+<TGConnectingPoint num="14" id="2031" />
+<TGConnectingPoint num="15" id="2032" />
+<TGConnectingPoint num="16" id="2033" />
+<TGConnectingPoint num="17" id="2034" />
+<TGConnectingPoint num="18" id="2035" />
+<TGConnectingPoint num="19" id="2036" />
+<TGConnectingPoint num="20" id="2037" />
+<TGConnectingPoint num="21" id="2038" />
+<TGConnectingPoint num="22" id="2039" />
+<TGConnectingPoint num="23" id="2040" />
 <extraparam>
 <info stereotype="CPURR" nodeName="HW1" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="1983" >
-<father id="2008" num="0" />
-<cdparam x="30" y="226" />
-<sizeparam width="172" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2016" >
+<father id="2041" num="0" />
+<cdparam x="37" y="226" />
+<sizeparam width="163" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="-7" minY="0" maxY="86" />
+<cdrectangleparam minX="0" maxX="2" minY="0" maxY="86" />
 <infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="1975" />
-<TGConnectingPoint num="1" id="1976" />
-<TGConnectingPoint num="2" id="1977" />
-<TGConnectingPoint num="3" id="1978" />
-<TGConnectingPoint num="4" id="1979" />
-<TGConnectingPoint num="5" id="1980" />
-<TGConnectingPoint num="6" id="1981" />
-<TGConnectingPoint num="7" id="1982" />
+<TGConnectingPoint num="0" id="2008" />
+<TGConnectingPoint num="1" id="2009" />
+<TGConnectingPoint num="2" id="2010" />
+<TGConnectingPoint num="3" id="2011" />
+<TGConnectingPoint num="4" id="2012" />
+<TGConnectingPoint num="5" id="2013" />
+<TGConnectingPoint num="6" id="2014" />
+<TGConnectingPoint num="7" id="2015" />
 <extraparam>
 <info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="2042" >
+<COMPONENT type="1100" id="2075" >
 <cdparam x="250" y="27" />
 <sizeparam width="268" height="144" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="CPU0" value="name" />
-<TGConnectingPoint num="0" id="2018" />
-<TGConnectingPoint num="1" id="2019" />
-<TGConnectingPoint num="2" id="2020" />
-<TGConnectingPoint num="3" id="2021" />
-<TGConnectingPoint num="4" id="2022" />
-<TGConnectingPoint num="5" id="2023" />
-<TGConnectingPoint num="6" id="2024" />
-<TGConnectingPoint num="7" id="2025" />
-<TGConnectingPoint num="8" id="2026" />
-<TGConnectingPoint num="9" id="2027" />
-<TGConnectingPoint num="10" id="2028" />
-<TGConnectingPoint num="11" id="2029" />
-<TGConnectingPoint num="12" id="2030" />
-<TGConnectingPoint num="13" id="2031" />
-<TGConnectingPoint num="14" id="2032" />
-<TGConnectingPoint num="15" id="2033" />
-<TGConnectingPoint num="16" id="2034" />
-<TGConnectingPoint num="17" id="2035" />
-<TGConnectingPoint num="18" id="2036" />
-<TGConnectingPoint num="19" id="2037" />
-<TGConnectingPoint num="20" id="2038" />
-<TGConnectingPoint num="21" id="2039" />
-<TGConnectingPoint num="22" id="2040" />
-<TGConnectingPoint num="23" id="2041" />
+<TGConnectingPoint num="0" id="2051" />
+<TGConnectingPoint num="1" id="2052" />
+<TGConnectingPoint num="2" id="2053" />
+<TGConnectingPoint num="3" id="2054" />
+<TGConnectingPoint num="4" id="2055" />
+<TGConnectingPoint num="5" id="2056" />
+<TGConnectingPoint num="6" id="2057" />
+<TGConnectingPoint num="7" id="2058" />
+<TGConnectingPoint num="8" id="2059" />
+<TGConnectingPoint num="9" id="2060" />
+<TGConnectingPoint num="10" id="2061" />
+<TGConnectingPoint num="11" id="2062" />
+<TGConnectingPoint num="12" id="2063" />
+<TGConnectingPoint num="13" id="2064" />
+<TGConnectingPoint num="14" id="2065" />
+<TGConnectingPoint num="15" id="2066" />
+<TGConnectingPoint num="16" id="2067" />
+<TGConnectingPoint num="17" id="2068" />
+<TGConnectingPoint num="18" id="2069" />
+<TGConnectingPoint num="19" id="2070" />
+<TGConnectingPoint num="20" id="2071" />
+<TGConnectingPoint num="21" id="2072" />
+<TGConnectingPoint num="22" id="2073" />
+<TGConnectingPoint num="23" id="2074" />
 <extraparam>
 <info stereotype="CPURR" nodeName="CPU0" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2017" >
-<father id="2042" num="0" />
+<SUBCOMPONENT type="1101" id="2050" >
+<father id="2075" num="0" />
 <cdparam x="313" y="110" />
-<sizeparam width="144" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="139" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="124" minY="0" maxY="104" />
+<cdrectangleparam minX="0" maxX="129" minY="0" maxY="104" />
 <infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="2009" />
-<TGConnectingPoint num="1" id="2010" />
-<TGConnectingPoint num="2" id="2011" />
-<TGConnectingPoint num="3" id="2012" />
-<TGConnectingPoint num="4" id="2013" />
-<TGConnectingPoint num="5" id="2014" />
-<TGConnectingPoint num="6" id="2015" />
-<TGConnectingPoint num="7" id="2016" />
+<TGConnectingPoint num="0" id="2042" />
+<TGConnectingPoint num="1" id="2043" />
+<TGConnectingPoint num="2" id="2044" />
+<TGConnectingPoint num="3" id="2045" />
+<TGConnectingPoint num="4" id="2046" />
+<TGConnectingPoint num="5" id="2047" />
+<TGConnectingPoint num="6" id="2048" />
+<TGConnectingPoint num="7" id="2049" />
 <extraparam>
 <info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="125" id="2043" >
+<CONNECTOR type="125" id="2076" >
 <cdparam x="384" y="308" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="{info}" />
-<P1  x="384" y="308" id="1892" />
-<P2  x="384" y="269" id="1922" />
+<P1  x="384" y="308" id="1925" />
+<P2  x="384" y="269" id="1955" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2044" >
+<CONNECTOR type="125" id="2077" >
 <cdparam x="555" y="244" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="{info}" />
-<P1  x="555" y="244" id="1953" />
-<P2  x="509" y="244" id="1920" />
+<P1  x="555" y="244" id="1986" />
+<P2  x="509" y="244" id="1953" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2045" >
+<CONNECTOR type="125" id="2078" >
 <cdparam x="202" y="244" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="{info}" />
-<P1  x="202" y="244" id="1988" />
-<P2  x="259" y="244" id="1919" />
+<P1  x="202" y="244" id="2021" />
+<P2  x="259" y="244" id="1952" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2046" >
+<CONNECTOR type="125" id="2079" >
 <cdparam x="369" y="112" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from CPU0 to Bus0" value="{info}" />
-<P1  x="384" y="171" id="2024" />
-<P2  x="384" y="219" id="1917" />
+<P1  x="384" y="171" id="2057" />
+<P2  x="384" y="219" id="1950" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
diff --git a/modeling/SysMLSec/SimpleTLS.xml b/modeling/SysMLSec/SimpleTLS.xml
deleted file mode 100644
index 379e7f895270fcaf5e741acf1e9b45dc7ea7b257..0000000000000000000000000000000000000000
--- a/modeling/SysMLSec/SimpleTLS.xml
+++ /dev/null
@@ -1,1428 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<TURTLEGMODELING version="0.98-beta3">
-
-<Modeling type="AVATAR Design" nameTab="AVATAR Design" >
-<AVATARBlockDiagramPanel name="AVATAR Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" >
-<MainCode value="void __user_init() {"/>
-<MainCode value="}"/>
-<Optimized value="true" />
-<Validated value="" />
-<Ignored value="" />
-
-<CONNECTOR type="5002" id="6" >
-<cdparam x="103" y="135" />
-<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="3" />
-<TGConnectingPoint num="1" id="4" />
-<TGConnectingPoint num="2" id="5" />
-<P1  x="103" y="135" id="102" />
-<P2  x="103" y="232" id="95" />
-<Point x="58" y="135" />
-<Point x="58" y="232" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<iso value="in chIn(Message m)" />
-<osd value="out chOut(Message m)" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" />
-</extraparam>
-</CONNECTOR><SUBCOMPONENT type="-1" id="1" >
-<father id="6" num="0" />
-<cdparam x="58" y="135" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" 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="2" >
-<father id="6" num="1" />
-<cdparam x="58" y="232" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" 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>
-
-<COMPONENT type="302" id="23" >
-<cdparam x="710" y="44" />
-<sizeparam width="80" height="136" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Proverif Pragma" value="#PrivatePublicKeys Server serverPrivK serverPubK
-#PrivatePublicKeys Server CAPrivK CAPubK
-#PrivatePublicKeys Client CAPrivK CAPubK
-#InitialSystemKnowledge Server.CAPrivK Client.CAPrivK
-
-#Authenticity Server.SendingMS.MS Client.sendMessage.MS
-#Confidentiality Client.secretMessage
-" />
-<TGConnectingPoint num="0" id="7" />
-<TGConnectingPoint num="1" id="8" />
-<TGConnectingPoint num="2" id="9" />
-<TGConnectingPoint num="3" id="10" />
-<TGConnectingPoint num="4" id="11" />
-<TGConnectingPoint num="5" id="12" />
-<TGConnectingPoint num="6" id="13" />
-<TGConnectingPoint num="7" id="14" />
-<TGConnectingPoint num="8" id="15" />
-<TGConnectingPoint num="9" id="16" />
-<TGConnectingPoint num="10" id="17" />
-<TGConnectingPoint num="11" id="18" />
-<TGConnectingPoint num="12" id="19" />
-<TGConnectingPoint num="13" id="20" />
-<TGConnectingPoint num="14" id="21" />
-<TGConnectingPoint num="15" id="22" />
-<extraparam>
-<Line value="#PrivatePublicKeys Server serverPrivK serverPubK" />
-<Line value="#PrivatePublicKeys Server CAPrivK CAPubK" />
-<Line value="#PrivatePublicKeys Client CAPrivK CAPubK" />
-<Line value="#InitialSystemKnowledge Server.CAPrivK Client.CAPrivK" />
-<Line value="" />
-<Line value="#Authenticity Server.SendingMS.MS Client.sendMessage.MS" />
-<Line value="#Confidentiality Client.secretMessage" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5003" id="32" >
-<cdparam x="448" y="451" />
-<sizeparam width="250" height="59" 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="DataType0" value="Key" />
-<TGConnectingPoint num="0" id="24" />
-<TGConnectingPoint num="1" id="25" />
-<TGConnectingPoint num="2" id="26" />
-<TGConnectingPoint num="3" id="27" />
-<TGConnectingPoint num="4" id="28" />
-<TGConnectingPoint num="5" id="29" />
-<TGConnectingPoint num="6" id="30" />
-<TGConnectingPoint num="7" id="31" />
-<extraparam>
-<Attribute access="0" id="data" value="" type="8" typeOther="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5003" id="41" >
-<cdparam x="171" y="450" />
-<sizeparam width="250" height="63" 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="DataType0" value="Message" />
-<TGConnectingPoint num="0" id="33" />
-<TGConnectingPoint num="1" id="34" />
-<TGConnectingPoint num="2" id="35" />
-<TGConnectingPoint num="3" id="36" />
-<TGConnectingPoint num="4" id="37" />
-<TGConnectingPoint num="5" id="38" />
-<TGConnectingPoint num="6" id="39" />
-<TGConnectingPoint num="7" id="40" />
-<extraparam>
-<Attribute access="0" id="data" value="" type="8" typeOther="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5000" id="116" >
-<cdparam x="103" y="38" />
-<sizeparam width="596" height="389" 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="System" />
-<TGConnectingPoint num="0" id="92" />
-<TGConnectingPoint num="1" id="93" />
-<TGConnectingPoint num="2" id="94" />
-<TGConnectingPoint num="3" id="95" />
-<TGConnectingPoint num="4" id="96" />
-<TGConnectingPoint num="5" id="97" />
-<TGConnectingPoint num="6" id="98" />
-<TGConnectingPoint num="7" id="99" />
-<TGConnectingPoint num="8" id="100" />
-<TGConnectingPoint num="9" id="101" />
-<TGConnectingPoint num="10" id="102" />
-<TGConnectingPoint num="11" id="103" />
-<TGConnectingPoint num="12" id="104" />
-<TGConnectingPoint num="13" id="105" />
-<TGConnectingPoint num="14" id="106" />
-<TGConnectingPoint num="15" id="107" />
-<TGConnectingPoint num="16" id="108" />
-<TGConnectingPoint num="17" id="109" />
-<TGConnectingPoint num="18" id="110" />
-<TGConnectingPoint num="19" id="111" />
-<TGConnectingPoint num="20" id="112" />
-<TGConnectingPoint num="21" id="113" />
-<TGConnectingPoint num="22" id="114" />
-<TGConnectingPoint num="23" id="115" />
-<extraparam>
-<CryptoBlock value="false" />
-<Signal value="in chIn(Message m)" />
-<Signal value="out chOut(Message m)" />
-</extraparam>
-</COMPONENT>
-<SUBCOMPONENT type="5000" id="66" >
-<father id="116" num="0" />
-<cdparam x="143" y="142" />
-<sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="346" minY="0" maxY="189" />
-<infoparam name="Block0" value="Client" />
-<TGConnectingPoint num="0" id="42" />
-<TGConnectingPoint num="1" id="43" />
-<TGConnectingPoint num="2" id="44" />
-<TGConnectingPoint num="3" id="45" />
-<TGConnectingPoint num="4" id="46" />
-<TGConnectingPoint num="5" id="47" />
-<TGConnectingPoint num="6" id="48" />
-<TGConnectingPoint num="7" id="49" />
-<TGConnectingPoint num="8" id="50" />
-<TGConnectingPoint num="9" id="51" />
-<TGConnectingPoint num="10" id="52" />
-<TGConnectingPoint num="11" id="53" />
-<TGConnectingPoint num="12" id="54" />
-<TGConnectingPoint num="13" id="55" />
-<TGConnectingPoint num="14" id="56" />
-<TGConnectingPoint num="15" id="57" />
-<TGConnectingPoint num="16" id="58" />
-<TGConnectingPoint num="17" id="59" />
-<TGConnectingPoint num="18" id="60" />
-<TGConnectingPoint num="19" id="61" />
-<TGConnectingPoint num="20" id="62" />
-<TGConnectingPoint num="21" id="63" />
-<TGConnectingPoint num="22" id="64" />
-<TGConnectingPoint num="23" id="65" />
-<extraparam>
-<CryptoBlock value="true" />
-<Attribute access="0" id="serverCert" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="serverPubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="PMS" value="" type="8" typeOther="Message" />
-<Attribute access="0" id="MS" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="CAPrivK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="certVerified" value="" type="4" typeOther="" />
-<Attribute access="0" id="filler1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="clientHello" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="serverHello" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="filler2" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="secretMessage" value="" type="5" typeOther="Message" />
-<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="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<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="91" >
-<father id="116" num="1" />
-<cdparam x="422" y="145" />
-<sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="346" minY="0" maxY="189" />
-<infoparam name="Block0" value="Server" />
-<TGConnectingPoint num="0" id="67" />
-<TGConnectingPoint num="1" id="68" />
-<TGConnectingPoint num="2" id="69" />
-<TGConnectingPoint num="3" id="70" />
-<TGConnectingPoint num="4" id="71" />
-<TGConnectingPoint num="5" id="72" />
-<TGConnectingPoint num="6" id="73" />
-<TGConnectingPoint num="7" id="74" />
-<TGConnectingPoint num="8" id="75" />
-<TGConnectingPoint num="9" id="76" />
-<TGConnectingPoint num="10" id="77" />
-<TGConnectingPoint num="11" id="78" />
-<TGConnectingPoint num="12" id="79" />
-<TGConnectingPoint num="13" id="80" />
-<TGConnectingPoint num="14" id="81" />
-<TGConnectingPoint num="15" id="82" />
-<TGConnectingPoint num="16" id="83" />
-<TGConnectingPoint num="17" id="84" />
-<TGConnectingPoint num="18" id="85" />
-<TGConnectingPoint num="19" id="86" />
-<TGConnectingPoint num="20" id="87" />
-<TGConnectingPoint num="21" id="88" />
-<TGConnectingPoint num="22" id="89" />
-<TGConnectingPoint num="23" id="90" />
-<extraparam>
-<CryptoBlock value="true" />
-<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="CAPrivK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="serverCert" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="serverPubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="serverPrivK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="PMS" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="MS" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="clientHello" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="serverHello" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="filler1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="secretMessage" value="" type="5" typeOther="Message" />
-<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="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<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>
-
-
-</AVATARBlockDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="System" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="118" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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="117" />
-</COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="Server" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="125" >
-<cdparam x="407" y="429" />
-<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="124" />
-<P1  x="407" y="429" id="181" />
-<P2  x="407" y="472" id="270" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="123" >
-<father id="125" num="0" />
-<cdparam x="407" y="469" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="119" />
-<TGConnectingPoint num="1" id="120" />
-<TGConnectingPoint num="2" id="121" />
-<TGConnectingPoint num="3" id="122" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="132" >
-<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="131" />
-<P1  x="407" y="70" id="314" />
-<P2  x="407" y="124" id="303" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="130" >
-<father id="132" num="0" />
-<cdparam x="416" y="96" />
-<sizeparam width="230" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="126" />
-<TGConnectingPoint num="1" id="127" />
-<TGConnectingPoint num="2" id="128" />
-<TGConnectingPoint num="3" id="129" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="filler1 = sign(serverPubK, CAPrivK)" />
-<actions value="serverCert = cert(serverPubK, filler1)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="139" >
-<cdparam x="407" y="207" />
-<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="138" />
-<P1  x="407" y="154" id="304" />
-<P2  x="407" y="212" id="292" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="137" >
-<father id="139" num="0" />
-<cdparam x="418" y="186" />
-<sizeparam width="256" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="133" />
-<TGConnectingPoint num="1" id="134" />
-<TGConnectingPoint num="2" id="135" />
-<TGConnectingPoint num="3" id="136" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="filler1 = concat2(serverHello, serverCert)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="146" >
-<cdparam x="407" y="242" />
-<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="145" />
-<P1  x="407" y="242" id="293" />
-<P2  x="407" y="265" id="281" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="144" >
-<father id="146" num="0" />
-<cdparam x="407" y="282" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="140" />
-<TGConnectingPoint num="1" id="141" />
-<TGConnectingPoint num="2" id="142" />
-<TGConnectingPoint num="3" id="143" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="153" >
-<cdparam x="407" y="329" />
-<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="152" />
-<P1  x="407" y="295" id="282" />
-<P2  x="407" y="379" id="176" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="151" >
-<father id="153" num="0" />
-<cdparam x="423" y="312" />
-<sizeparam width="294" height="60" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="147" />
-<TGConnectingPoint num="1" id="148" />
-<TGConnectingPoint num="2" id="149" />
-<TGConnectingPoint num="3" id="150" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="PMS = adecrypt(filler1, serverPrivK)" />
-<actions value="filler1 = concat3(PMS, clientHello, serverHello) " />
-<actions value="MS = hash(filler1)" />
-<actions value="filler1 = hash(MS)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="160" >
-<cdparam x="407" y="499" />
-<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="159" />
-<P1  x="407" y="502" id="271" />
-<P2  x="407" y="521" id="259" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="158" >
-<father id="160" num="0" />
-<cdparam x="407" y="539" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="154" />
-<TGConnectingPoint num="1" id="155" />
-<TGConnectingPoint num="2" id="156" />
-<TGConnectingPoint num="3" id="157" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="167" >
-<cdparam x="407" y="551" />
-<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="166" />
-<P1  x="407" y="551" id="260" />
-<P2  x="407" y="607" id="226" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="165" >
-<father id="167" num="0" />
-<cdparam x="415" y="579" />
-<sizeparam width="238" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="161" />
-<TGConnectingPoint num="1" id="162" />
-<TGConnectingPoint num="2" id="163" />
-<TGConnectingPoint num="3" id="164" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="secretMessage = sdecrypt(filler1, MS)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="174" >
-<cdparam x="453" y="657" />
-<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="173" />
-<P1  x="453" y="657" id="248" />
-<P2  x="453" y="710" id="216" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="172" >
-<father id="174" num="0" />
-<cdparam x="453" y="697" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="168" />
-<TGConnectingPoint num="1" id="169" />
-<TGConnectingPoint num="2" id="170" />
-<TGConnectingPoint num="3" id="171" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<COMPONENT type="5106" id="215" >
-<cdparam x="357" y="379" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="State" value="SendingMS" />
-<TGConnectingPoint num="0" id="175" />
-<TGConnectingPoint num="1" id="176" />
-<TGConnectingPoint num="2" id="177" />
-<TGConnectingPoint num="3" id="178" />
-<TGConnectingPoint num="4" id="179" />
-<TGConnectingPoint num="5" id="180" />
-<TGConnectingPoint num="6" id="181" />
-<TGConnectingPoint num="7" id="182" />
-<TGConnectingPoint num="8" id="183" />
-<TGConnectingPoint num="9" id="184" />
-<TGConnectingPoint num="10" id="185" />
-<TGConnectingPoint num="11" id="186" />
-<TGConnectingPoint num="12" id="187" />
-<TGConnectingPoint num="13" id="188" />
-<TGConnectingPoint num="14" id="189" />
-<TGConnectingPoint num="15" id="190" />
-<TGConnectingPoint num="16" id="191" />
-<TGConnectingPoint num="17" id="192" />
-<TGConnectingPoint num="18" id="193" />
-<TGConnectingPoint num="19" id="194" />
-<TGConnectingPoint num="20" id="195" />
-<TGConnectingPoint num="21" id="196" />
-<TGConnectingPoint num="22" id="197" />
-<TGConnectingPoint num="23" id="198" />
-<TGConnectingPoint num="24" id="199" />
-<TGConnectingPoint num="25" id="200" />
-<TGConnectingPoint num="26" id="201" />
-<TGConnectingPoint num="27" id="202" />
-<TGConnectingPoint num="28" id="203" />
-<TGConnectingPoint num="29" id="204" />
-<TGConnectingPoint num="30" id="205" />
-<TGConnectingPoint num="31" id="206" />
-<TGConnectingPoint num="32" id="207" />
-<TGConnectingPoint num="33" id="208" />
-<TGConnectingPoint num="34" id="209" />
-<TGConnectingPoint num="35" id="210" />
-<TGConnectingPoint num="36" id="211" />
-<TGConnectingPoint num="37" id="212" />
-<TGConnectingPoint num="38" id="213" />
-<TGConnectingPoint num="39" id="214" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5101" id="217" >
-<cdparam x="443" y="715" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" 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="216" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="258" >
-<cdparam x="376" y="607" />
-<sizeparam width="125" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="State" value="receiveMessage" />
-<TGConnectingPoint num="0" id="218" />
-<TGConnectingPoint num="1" id="219" />
-<TGConnectingPoint num="2" id="220" />
-<TGConnectingPoint num="3" id="221" />
-<TGConnectingPoint num="4" id="222" />
-<TGConnectingPoint num="5" id="223" />
-<TGConnectingPoint num="6" id="224" />
-<TGConnectingPoint num="7" id="225" />
-<TGConnectingPoint num="8" id="226" />
-<TGConnectingPoint num="9" id="227" />
-<TGConnectingPoint num="10" id="228" />
-<TGConnectingPoint num="11" id="229" />
-<TGConnectingPoint num="12" id="230" />
-<TGConnectingPoint num="13" id="231" />
-<TGConnectingPoint num="14" id="232" />
-<TGConnectingPoint num="15" id="233" />
-<TGConnectingPoint num="16" id="234" />
-<TGConnectingPoint num="17" id="235" />
-<TGConnectingPoint num="18" id="236" />
-<TGConnectingPoint num="19" id="237" />
-<TGConnectingPoint num="20" id="238" />
-<TGConnectingPoint num="21" id="239" />
-<TGConnectingPoint num="22" id="240" />
-<TGConnectingPoint num="23" id="241" />
-<TGConnectingPoint num="24" id="242" />
-<TGConnectingPoint num="25" id="243" />
-<TGConnectingPoint num="26" id="244" />
-<TGConnectingPoint num="27" id="245" />
-<TGConnectingPoint num="28" id="246" />
-<TGConnectingPoint num="29" id="247" />
-<TGConnectingPoint num="30" id="248" />
-<TGConnectingPoint num="31" id="249" />
-<TGConnectingPoint num="32" id="250" />
-<TGConnectingPoint num="33" id="251" />
-<TGConnectingPoint num="34" id="252" />
-<TGConnectingPoint num="35" id="253" />
-<TGConnectingPoint num="36" id="254" />
-<TGConnectingPoint num="37" id="255" />
-<TGConnectingPoint num="38" id="256" />
-<TGConnectingPoint num="39" id="257" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="269" >
-<cdparam x="363" y="526" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Receive signal" value="chIn(filler1)" />
-<TGConnectingPoint num="0" id="259" />
-<TGConnectingPoint num="1" id="260" />
-<TGConnectingPoint num="2" id="261" />
-<TGConnectingPoint num="3" id="262" />
-<TGConnectingPoint num="4" id="263" />
-<TGConnectingPoint num="5" id="264" />
-<TGConnectingPoint num="6" id="265" />
-<TGConnectingPoint num="7" id="266" />
-<TGConnectingPoint num="8" id="267" />
-<TGConnectingPoint num="9" id="268" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="280" >
-<cdparam x="362" y="477" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Send signal" value="chOut(filler1)" />
-<TGConnectingPoint num="0" id="270" />
-<TGConnectingPoint num="1" id="271" />
-<TGConnectingPoint num="2" id="272" />
-<TGConnectingPoint num="3" id="273" />
-<TGConnectingPoint num="4" id="274" />
-<TGConnectingPoint num="5" id="275" />
-<TGConnectingPoint num="6" id="276" />
-<TGConnectingPoint num="7" id="277" />
-<TGConnectingPoint num="8" id="278" />
-<TGConnectingPoint num="9" id="279" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="291" >
-<cdparam x="363" y="270" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Receive signal" value="chIn(filler1)" />
-<TGConnectingPoint num="0" id="281" />
-<TGConnectingPoint num="1" id="282" />
-<TGConnectingPoint num="2" id="283" />
-<TGConnectingPoint num="3" id="284" />
-<TGConnectingPoint num="4" id="285" />
-<TGConnectingPoint num="5" id="286" />
-<TGConnectingPoint num="6" id="287" />
-<TGConnectingPoint num="7" id="288" />
-<TGConnectingPoint num="8" id="289" />
-<TGConnectingPoint num="9" id="290" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="302" >
-<cdparam x="362" y="217" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Send signal" value="chOut(filler1)" />
-<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" />
-<TGConnectingPoint num="8" id="300" />
-<TGConnectingPoint num="9" id="301" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="313" >
-<cdparam x="348" y="129" />
-<sizeparam width="119" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Receive signal" value="chIn(clientHello)" />
-<TGConnectingPoint num="0" id="303" />
-<TGConnectingPoint num="1" id="304" />
-<TGConnectingPoint num="2" id="305" />
-<TGConnectingPoint num="3" id="306" />
-<TGConnectingPoint num="4" id="307" />
-<TGConnectingPoint num="5" id="308" />
-<TGConnectingPoint num="6" id="309" />
-<TGConnectingPoint num="7" id="310" />
-<TGConnectingPoint num="8" id="311" />
-<TGConnectingPoint num="9" id="312" />
-</COMPONENT>
-
-<COMPONENT type="5100" id="315" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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="314" />
-</COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="Client" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="322" >
-<cdparam x="407" y="35" />
-<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="321" />
-<P1  x="407" y="35" id="624" />
-<P2  x="407" y="91" id="613" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="320" >
-<father id="322" num="0" />
-<cdparam x="407" y="75" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="316" />
-<TGConnectingPoint num="1" id="317" />
-<TGConnectingPoint num="2" id="318" />
-<TGConnectingPoint num="3" id="319" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="329" >
-<cdparam x="528" y="626" />
-<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="328" />
-<P1  x="528" y="626" id="457" />
-<P2  x="242" y="496" id="546" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="327" >
-<father id="329" num="0" />
-<cdparam x="434" y="624" />
-<sizeparam width="44" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="323" />
-<TGConnectingPoint num="1" id="324" />
-<TGConnectingPoint num="2" id="325" />
-<TGConnectingPoint num="3" id="326" />
-<extraparam>
-<guard value="[ else ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="336" >
-<cdparam x="407" y="288" />
-<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="335" />
-<P1  x="407" y="288" id="575" />
-<P2  x="217" y="465" id="529" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="334" >
-<father id="336" num="0" />
-<cdparam x="261" y="362" />
-<sizeparam width="44" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="330" />
-<TGConnectingPoint num="1" id="331" />
-<TGConnectingPoint num="2" id="332" />
-<TGConnectingPoint num="3" id="333" />
-<extraparam>
-<guard value="[ else ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="343" >
-<cdparam x="407" y="107" />
-<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="342" />
-<P1  x="407" y="121" id="614" />
-<P2  x="407" y="143" id="602" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="341" >
-<father id="343" num="0" />
-<cdparam x="407" y="147" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="337" />
-<TGConnectingPoint num="1" id="338" />
-<TGConnectingPoint num="2" id="339" />
-<TGConnectingPoint num="3" id="340" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="350" >
-<cdparam x="407" y="198" />
-<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="349" />
-<P1  x="407" y="173" id="603" />
-<P2  x="407" y="238" id="569" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="348" >
-<father id="350" num="0" />
-<cdparam x="416" y="198" />
-<sizeparam width="278" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="344" />
-<TGConnectingPoint num="1" id="345" />
-<TGConnectingPoint num="2" id="346" />
-<TGConnectingPoint num="3" id="347" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="get2(filler1, serverHello, serverCert) " />
-<actions value="certVerified = verifyCert(serverCert, CAPubK)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="357" >
-<cdparam x="514" y="288" />
-<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="356" />
-<P1  x="514" y="288" id="592" />
-<P2  x="540" y="341" id="517" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="355" >
-<father id="357" num="0" />
-<cdparam x="546" y="308" />
-<sizeparam width="199" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="351" />
-<TGConnectingPoint num="1" id="352" />
-<TGConnectingPoint num="2" id="353" />
-<TGConnectingPoint num="3" id="354" />
-<extraparam>
-<guard value="[ certVerified ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="serverPubK = getpk(serverCert)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="364" >
-<cdparam x="540" y="371" />
-<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="363" />
-<P1  x="540" y="371" id="518" />
-<P2  x="540" y="423" id="506" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="362" >
-<father id="364" num="0" />
-<cdparam x="577" y="400" />
-<sizeparam width="229" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="358" />
-<TGConnectingPoint num="1" id="359" />
-<TGConnectingPoint num="2" id="360" />
-<TGConnectingPoint num="3" id="361" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="filler1.data = PMS" />
-<actions value="filler1 = aencrypt(filler1, serverPubK)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="371" >
-<cdparam x="540" y="453" />
-<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="370" />
-<P1  x="540" y="453" id="507" />
-<P2  x="540" y="490" id="495" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="369" >
-<father id="371" num="0" />
-<cdparam x="540" y="493" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="365" />
-<TGConnectingPoint num="1" id="366" />
-<TGConnectingPoint num="2" id="367" />
-<TGConnectingPoint num="3" id="368" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="378" >
-<cdparam x="540" y="520" />
-<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="377" />
-<P1  x="540" y="520" id="496" />
-<P2  x="540" y="601" id="470" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="376" >
-<father id="378" num="0" />
-<cdparam x="556" y="547" />
-<sizeparam width="290" height="45" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="372" />
-<TGConnectingPoint num="1" id="373" />
-<TGConnectingPoint num="2" id="374" />
-<TGConnectingPoint num="3" id="375" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="filler2 = concat3(PMS, clientHello, serverHello)" />
-<actions value="MS = hash(filler2)" />
-<actions value="filler2 = hash(MS)" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="385" >
-<cdparam x="578" y="651" />
-<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="384" />
-<P1  x="578" y="651" id="460" />
-<P2  x="578" y="692" id="414" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="383" >
-<father id="385" num="0" />
-<cdparam x="591" y="678" />
-<sizeparam width="180" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="379" />
-<TGConnectingPoint num="1" id="380" />
-<TGConnectingPoint num="2" id="381" />
-<TGConnectingPoint num="3" id="382" />
-<extraparam>
-<guard value="[ filler1.data == filler2.data ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="392" >
-<cdparam x="565" y="742" />
-<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="391" />
-<P1  x="565" y="742" id="442" />
-<P2  x="565" y="788" id="402" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="390" >
-<father id="392" num="0" />
-<cdparam x="584" y="771" />
-<sizeparam width="242" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="386" />
-<TGConnectingPoint num="1" id="387" />
-<TGConnectingPoint num="2" id="388" />
-<TGConnectingPoint num="3" id="389" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="filler1 = sencrypt(secretMessage, MS) " />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="399" >
-<cdparam x="565" y="803" />
-<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="398" />
-<P1  x="565" y="818" id="403" />
-<P2  x="565" y="833" id="400" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="397" >
-<father id="399" num="0" />
-<cdparam x="565" y="843" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<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="393" />
-<TGConnectingPoint num="1" id="394" />
-<TGConnectingPoint num="2" id="395" />
-<TGConnectingPoint num="3" id="396" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-</extraparam>
-</SUBCOMPONENT>
-
-<COMPONENT type="5101" id="401" >
-<cdparam x="555" y="838" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" 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="400" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="412" >
-<cdparam x="520" y="793" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Send signal" value="chOut(filler1)" />
-<TGConnectingPoint num="0" id="402" />
-<TGConnectingPoint num="1" id="403" />
-<TGConnectingPoint num="2" id="404" />
-<TGConnectingPoint num="3" id="405" />
-<TGConnectingPoint num="4" id="406" />
-<TGConnectingPoint num="5" id="407" />
-<TGConnectingPoint num="6" id="408" />
-<TGConnectingPoint num="7" id="409" />
-<TGConnectingPoint num="8" id="410" />
-<TGConnectingPoint num="9" id="411" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="453" >
-<cdparam x="528" y="692" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="State" value="sendMessage" />
-<TGConnectingPoint num="0" id="413" />
-<TGConnectingPoint num="1" id="414" />
-<TGConnectingPoint num="2" id="415" />
-<TGConnectingPoint num="3" id="416" />
-<TGConnectingPoint num="4" id="417" />
-<TGConnectingPoint num="5" id="418" />
-<TGConnectingPoint num="6" id="419" />
-<TGConnectingPoint num="7" id="420" />
-<TGConnectingPoint num="8" id="421" />
-<TGConnectingPoint num="9" id="422" />
-<TGConnectingPoint num="10" id="423" />
-<TGConnectingPoint num="11" id="424" />
-<TGConnectingPoint num="12" id="425" />
-<TGConnectingPoint num="13" id="426" />
-<TGConnectingPoint num="14" id="427" />
-<TGConnectingPoint num="15" id="428" />
-<TGConnectingPoint num="16" id="429" />
-<TGConnectingPoint num="17" id="430" />
-<TGConnectingPoint num="18" id="431" />
-<TGConnectingPoint num="19" id="432" />
-<TGConnectingPoint num="20" id="433" />
-<TGConnectingPoint num="21" id="434" />
-<TGConnectingPoint num="22" id="435" />
-<TGConnectingPoint num="23" id="436" />
-<TGConnectingPoint num="24" id="437" />
-<TGConnectingPoint num="25" id="438" />
-<TGConnectingPoint num="26" id="439" />
-<TGConnectingPoint num="27" id="440" />
-<TGConnectingPoint num="28" id="441" />
-<TGConnectingPoint num="29" id="442" />
-<TGConnectingPoint num="30" id="443" />
-<TGConnectingPoint num="31" id="444" />
-<TGConnectingPoint num="32" id="445" />
-<TGConnectingPoint num="33" id="446" />
-<TGConnectingPoint num="34" id="447" />
-<TGConnectingPoint num="35" id="448" />
-<TGConnectingPoint num="36" id="449" />
-<TGConnectingPoint num="37" id="450" />
-<TGConnectingPoint num="38" id="451" />
-<TGConnectingPoint num="39" id="452" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="494" >
-<cdparam x="528" y="601" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="State" value="checkMS" />
-<TGConnectingPoint num="0" id="454" />
-<TGConnectingPoint num="1" id="455" />
-<TGConnectingPoint num="2" id="456" />
-<TGConnectingPoint num="3" id="457" />
-<TGConnectingPoint num="4" id="458" />
-<TGConnectingPoint num="5" id="459" />
-<TGConnectingPoint num="6" id="460" />
-<TGConnectingPoint num="7" id="461" />
-<TGConnectingPoint num="8" id="462" />
-<TGConnectingPoint num="9" id="463" />
-<TGConnectingPoint num="10" id="464" />
-<TGConnectingPoint num="11" id="465" />
-<TGConnectingPoint num="12" id="466" />
-<TGConnectingPoint num="13" id="467" />
-<TGConnectingPoint num="14" id="468" />
-<TGConnectingPoint num="15" id="469" />
-<TGConnectingPoint num="16" id="470" />
-<TGConnectingPoint num="17" id="471" />
-<TGConnectingPoint num="18" id="472" />
-<TGConnectingPoint num="19" id="473" />
-<TGConnectingPoint num="20" id="474" />
-<TGConnectingPoint num="21" id="475" />
-<TGConnectingPoint num="22" id="476" />
-<TGConnectingPoint num="23" id="477" />
-<TGConnectingPoint num="24" id="478" />
-<TGConnectingPoint num="25" id="479" />
-<TGConnectingPoint num="26" id="480" />
-<TGConnectingPoint num="27" id="481" />
-<TGConnectingPoint num="28" id="482" />
-<TGConnectingPoint num="29" id="483" />
-<TGConnectingPoint num="30" id="484" />
-<TGConnectingPoint num="31" id="485" />
-<TGConnectingPoint num="32" id="486" />
-<TGConnectingPoint num="33" id="487" />
-<TGConnectingPoint num="34" id="488" />
-<TGConnectingPoint num="35" id="489" />
-<TGConnectingPoint num="36" id="490" />
-<TGConnectingPoint num="37" id="491" />
-<TGConnectingPoint num="38" id="492" />
-<TGConnectingPoint num="39" id="493" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="505" >
-<cdparam x="496" y="495" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Receive signal" value="chIn(filler1)" />
-<TGConnectingPoint num="0" id="495" />
-<TGConnectingPoint num="1" id="496" />
-<TGConnectingPoint num="2" id="497" />
-<TGConnectingPoint num="3" id="498" />
-<TGConnectingPoint num="4" id="499" />
-<TGConnectingPoint num="5" id="500" />
-<TGConnectingPoint num="6" id="501" />
-<TGConnectingPoint num="7" id="502" />
-<TGConnectingPoint num="8" id="503" />
-<TGConnectingPoint num="9" id="504" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="516" >
-<cdparam x="495" y="428" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Send signal" value="chOut(filler1)" />
-<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="5108" id="519" >
-<cdparam x="454" y="346" />
-<sizeparam width="173" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="517" />
-<TGConnectingPoint num="1" id="518" />
-<extraparam>
-<Data variable="PMS" minValue="0" maxValue="1000" functionId="0" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="560" >
-<cdparam x="142" y="465" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="State" value="error" />
-<TGConnectingPoint num="0" id="520" />
-<TGConnectingPoint num="1" id="521" />
-<TGConnectingPoint num="2" id="522" />
-<TGConnectingPoint num="3" id="523" />
-<TGConnectingPoint num="4" id="524" />
-<TGConnectingPoint num="5" id="525" />
-<TGConnectingPoint num="6" id="526" />
-<TGConnectingPoint num="7" id="527" />
-<TGConnectingPoint num="8" id="528" />
-<TGConnectingPoint num="9" id="529" />
-<TGConnectingPoint num="10" id="530" />
-<TGConnectingPoint num="11" id="531" />
-<TGConnectingPoint num="12" id="532" />
-<TGConnectingPoint num="13" id="533" />
-<TGConnectingPoint num="14" id="534" />
-<TGConnectingPoint num="15" id="535" />
-<TGConnectingPoint num="16" id="536" />
-<TGConnectingPoint num="17" id="537" />
-<TGConnectingPoint num="18" id="538" />
-<TGConnectingPoint num="19" id="539" />
-<TGConnectingPoint num="20" id="540" />
-<TGConnectingPoint num="21" id="541" />
-<TGConnectingPoint num="22" id="542" />
-<TGConnectingPoint num="23" id="543" />
-<TGConnectingPoint num="24" id="544" />
-<TGConnectingPoint num="25" id="545" />
-<TGConnectingPoint num="26" id="546" />
-<TGConnectingPoint num="27" id="547" />
-<TGConnectingPoint num="28" id="548" />
-<TGConnectingPoint num="29" id="549" />
-<TGConnectingPoint num="30" id="550" />
-<TGConnectingPoint num="31" id="551" />
-<TGConnectingPoint num="32" id="552" />
-<TGConnectingPoint num="33" id="553" />
-<TGConnectingPoint num="34" id="554" />
-<TGConnectingPoint num="35" id="555" />
-<TGConnectingPoint num="36" id="556" />
-<TGConnectingPoint num="37" id="557" />
-<TGConnectingPoint num="38" id="558" />
-<TGConnectingPoint num="39" id="559" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="601" >
-<cdparam x="364" y="238" />
-<sizeparam width="173" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="State" value="VerifyServerCert" />
-<TGConnectingPoint num="0" id="561" />
-<TGConnectingPoint num="1" id="562" />
-<TGConnectingPoint num="2" id="563" />
-<TGConnectingPoint num="3" id="564" />
-<TGConnectingPoint num="4" id="565" />
-<TGConnectingPoint num="5" id="566" />
-<TGConnectingPoint num="6" id="567" />
-<TGConnectingPoint num="7" id="568" />
-<TGConnectingPoint num="8" id="569" />
-<TGConnectingPoint num="9" id="570" />
-<TGConnectingPoint num="10" id="571" />
-<TGConnectingPoint num="11" id="572" />
-<TGConnectingPoint num="12" id="573" />
-<TGConnectingPoint num="13" id="574" />
-<TGConnectingPoint num="14" id="575" />
-<TGConnectingPoint num="15" id="576" />
-<TGConnectingPoint num="16" id="577" />
-<TGConnectingPoint num="17" id="578" />
-<TGConnectingPoint num="18" id="579" />
-<TGConnectingPoint num="19" id="580" />
-<TGConnectingPoint num="20" id="581" />
-<TGConnectingPoint num="21" id="582" />
-<TGConnectingPoint num="22" id="583" />
-<TGConnectingPoint num="23" id="584" />
-<TGConnectingPoint num="24" id="585" />
-<TGConnectingPoint num="25" id="586" />
-<TGConnectingPoint num="26" id="587" />
-<TGConnectingPoint num="27" id="588" />
-<TGConnectingPoint num="28" id="589" />
-<TGConnectingPoint num="29" id="590" />
-<TGConnectingPoint num="30" id="591" />
-<TGConnectingPoint num="31" id="592" />
-<TGConnectingPoint num="32" id="593" />
-<TGConnectingPoint num="33" id="594" />
-<TGConnectingPoint num="34" id="595" />
-<TGConnectingPoint num="35" id="596" />
-<TGConnectingPoint num="36" id="597" />
-<TGConnectingPoint num="37" id="598" />
-<TGConnectingPoint num="38" id="599" />
-<TGConnectingPoint num="39" id="600" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="612" >
-<cdparam x="363" y="148" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Receive signal" value="chIn(filler1)" />
-<TGConnectingPoint num="0" id="602" />
-<TGConnectingPoint num="1" id="603" />
-<TGConnectingPoint num="2" id="604" />
-<TGConnectingPoint num="3" id="605" />
-<TGConnectingPoint num="4" id="606" />
-<TGConnectingPoint num="5" id="607" />
-<TGConnectingPoint num="6" id="608" />
-<TGConnectingPoint num="7" id="609" />
-<TGConnectingPoint num="8" id="610" />
-<TGConnectingPoint num="9" id="611" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="623" >
-<cdparam x="346" y="96" />
-<sizeparam width="122" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Send signal" value="chOut(clientHello)" />
-<TGConnectingPoint num="0" id="613" />
-<TGConnectingPoint num="1" id="614" />
-<TGConnectingPoint num="2" id="615" />
-<TGConnectingPoint num="3" id="616" />
-<TGConnectingPoint num="4" id="617" />
-<TGConnectingPoint num="5" id="618" />
-<TGConnectingPoint num="6" id="619" />
-<TGConnectingPoint num="7" id="620" />
-<TGConnectingPoint num="8" id="621" />
-<TGConnectingPoint num="9" id="622" />
-</COMPONENT>
-
-<COMPONENT type="5100" id="625" >
-<cdparam x="400" y="15" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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="624" />
-</COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-</Modeling>
-
-
-
-
-</TURTLEGMODELING>
\ No newline at end of file
diff --git a/preinstallTTool/windows/TTool/bin/config.xml b/preinstallTTool/windows/TTool/bin/config.xml
index bab06fc4eaef59f4fde7a56bf6a26b4e4ad18980..58d839a7d6e876c229ad1aa6cffcea12b4cdc6a3 100755
--- a/preinstallTTool/windows/TTool/bin/config.xml
+++ b/preinstallTTool/windows/TTool/bin/config.xml
@@ -26,7 +26,7 @@
 <GTKWavePath data="/usr/bin/gtkwave" />
 <VCDPath data="../vcd/" />
 <UPPAALCodeDirectory data="../uppaal/" />
-<UPPAALVerifierPath data="../../uppaal/bin-Linux/verifyta.exe" />
+<UPPAALVerifierPath data="../../uppaal/bin-Win32/verifyta.exe" />
 <UPPAALVerifierHost data="localhost" />
 <ProVerifCodeDirectory data="../proverif/" />
 <ProVerifVerifierPath data="../../proverif/proverif.exe" />
@@ -40,7 +40,7 @@
 
 
 <ExternalCommand1Host data="localhost"/>
-<ExternalCommand1 data="/usr/bin/gtkwave ../simulators/c++2/vcddump.vcd"/>
+<ExternalCommand1 data="../../uppaal/uppaal ../uppaal/spec.xml"/>
 
 
 <ExternalServer data="localhost:12345"/>
diff --git a/preinstallTTool/windows/TTool/bin/ttool.jar b/preinstallTTool/windows/TTool/bin/ttool.jar
index 0863e55293cde0130fcef1df2fa8fdeb81efad45..8c225e8e27b8b79d197b8131a722f46bd3cca765 100644
Binary files a/preinstallTTool/windows/TTool/bin/ttool.jar and b/preinstallTTool/windows/TTool/bin/ttool.jar differ
diff --git a/preinstallTTool/windows/TTool/ttool.exe b/preinstallTTool/windows/TTool/ttool.exe
deleted file mode 100755
index afb0d3bbb09b023568a5361978e159701ff53032..0000000000000000000000000000000000000000
--- a/preinstallTTool/windows/TTool/ttool.exe
+++ /dev/null
@@ -1 +0,0 @@
-cd bin; java -Xmx1024m -jar ttool.jar -launcher -config config.xml -nc -diplodocus -avatar -proverif
diff --git a/src/ui/window/JDialogUPPAALValidation.java b/src/ui/window/JDialogUPPAALValidation.java
index afdec5d5420039eb7b5883c22c148d1e23501e36..f60509f35a77607911d99dcd784543985fa084f7 100755
--- a/src/ui/window/JDialogUPPAALValidation.java
+++ b/src/ui/window/JDialogUPPAALValidation.java
@@ -106,9 +106,13 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
         spec = _spec;
         host = _host;
         tp = _tp;
-	customQueries = mgui.gtm.getAvatarSpecification().getSafetyPragmas();
+        AvatarSpecification aspec = mgui.gtm.getAvatarSpecification();
+        if (aspec != null) {
+            customQueries = aspec.getSafetyPragmas();
+        }
+
         //TraceManager.addDev("Panel in UPPAAL Validation: " + mgui.getTabName(tp));
-	customChecks = new LinkedList<JCheckBox>();
+        customChecks = new LinkedList<JCheckBox>();
         initComponents();
         myInitComponents();
         pack();
@@ -173,40 +177,42 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
         stateL.setToolTipText("Study the fact that, if accessed,  a given state is eventually followed by another one");
         jp1.add(stateL, c1);
         stateL.setSelected(stateLChecked);
-	c1.gridwidth = GridBagConstraints.REMAINDER;
+        c1.gridwidth = GridBagConstraints.REMAINDER;
         custom = new JCheckBox("Custom verification");
         custom.addActionListener(this);
         jp1.add(custom, c1);
         custom.setSelected(customChecked);
-	for (String s: customQueries){
-	    c1.gridwidth = GridBagConstraints.RELATIVE;
-	    JLabel space = new JLabel("   ");
-	    c1.weightx=0.0;
-	    jp1.add(space, c1);
+        if (customQueries != null) {
+            for (String s: customQueries){
+                c1.gridwidth = GridBagConstraints.RELATIVE;
+                JLabel space = new JLabel("   ");
+                c1.weightx=0.0;
+                jp1.add(space, c1);
+                c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+                JCheckBox cqb = new JCheckBox(s);
+                cqb.addActionListener(this);
+                c1.weightx=1.0;
+                jp1.add(cqb, c1);
+                customChecks.add(cqb);
+
+            }
+        }
+        /*  jp1.add(new JLabel("Custom formula to translate = "), c1);
             c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-	    JCheckBox cqb = new JCheckBox(s);
-	    cqb.addActionListener(this);
-	    c1.weightx=1.0;
-	    jp1.add(cqb, c1);	
-	    customChecks.add(cqb);
-	    
-	}
-      /*  jp1.add(new JLabel("Custom formula to translate = "), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        customText = new JTextField("Type your CTL formulae here!", 80);
-        customText.addActionListener(this);
-        jp1.add(customText, c1);
-
-        c1.gridwidth = 1;
-	translateCustom = new JCheckBox("Use translated custom verification");
-        translateCustom.addActionListener(this);
-        jp1.add(translateCustom, c1);
-        custom.setSelected(translateChecked);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-	translatedText = new JTextField("Translated CTL formula here", 80);
-	customText.addActionListener(this);
-	jp1.add(translatedText,c1);
-	*/
+            customText = new JTextField("Type your CTL formulae here!", 80);
+            customText.addActionListener(this);
+            jp1.add(customText, c1);
+
+            c1.gridwidth = 1;
+            translateCustom = new JCheckBox("Use translated custom verification");
+            translateCustom.addActionListener(this);
+            jp1.add(translateCustom, c1);
+            custom.setSelected(translateChecked);
+            c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+            translatedText = new JTextField("Translated CTL formula here", 80);
+            customText.addActionListener(this);
+            jp1.add(translatedText,c1);
+        */
         generateTrace = new JCheckBox("Generate simulation trace");
         generateTrace.addActionListener(this);
         jp1.add(generateTrace, c1);
@@ -216,8 +222,8 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
         showDetails.addActionListener(this);
         jp1.add(showDetails, c1);
         showDetails.setSelected(showDetailsChecked);
-	
-	jp1.setMinimumSize(jp1.getPreferredSize());
+
+        jp1.setMinimumSize(jp1.getPreferredSize());
         c.add(jp1, BorderLayout.NORTH);
 
         jta = new ScrolledJTextArea();
@@ -352,7 +358,7 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
                         index = s.indexOf('$');
                         if ((index != -1) && (mode != NOT_STARTED)) {
                             name = s.substring(index+1, s.length());
-			    TraceManager.addDev("****\n name=" + name + " list=" + list + "\n****\n");
+                            TraceManager.addDev("****\n name=" + name + " list=" + list + "\n****\n");
                             query = s.substring(0, index);
                             //jta.append("\n\n--------------------------------------------\n");
                             jta.append("\nReachability of: " + name + "\n");
@@ -408,16 +414,16 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
                                 //TraceManager.addDev("name1=" + name1 + "\nname2=" + name2);
                                 //TraceManager.addDev("query1=" + s1 + "\nquery2=" + s2);
                                 if ((name1.compareTo(name2) != 0) && (name1.length() > 0) && (name2.length() > 0)) {
-				    if (!(showDetails.isSelected())) {
-					int indexName = name1.indexOf(":");
-					if (indexName != -1) {
-					    name1 = name1.substring(indexName+1, name1.length()).trim();
-					}
-					indexName = name2.indexOf(":");
-					if (indexName != -1) {
-					    name2 = name2.substring(indexName+1, name2.length()).trim();
-					}
-				    }
+                                    if (!(showDetails.isSelected())) {
+                                        int indexName = name1.indexOf(":");
+                                        if (indexName != -1) {
+                                            name1 = name1.substring(indexName+1, name1.length()).trim();
+                                        }
+                                        indexName = name2.indexOf(":");
+                                        if (indexName != -1) {
+                                            name2 = name2.substring(indexName+1, name2.length()).trim();
+                                        }
+                                    }
                                     jta.append("\nLeads to: " + name1 + "--> " + name2 + "\n");
                                     workQuery(query1 + " --> " + query2, fn, trace_id, rshc);
                                     trace_id++;
@@ -439,14 +445,14 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
                 jta.append("\n\n--------------------------------------------\n");
 
                 jta.append("Studying custom CTL formulae\n");
-		for (JCheckBox j: customChecks){
-		    if (j.isSelected()){
-			jta.append(j.getText()+"\n");
-		        String translation = translateCustomQuery(j.getText());
-  		        workQuery(translation, fn, trace_id, rshc);
+                for (JCheckBox j: customChecks){
+                    if (j.isSelected()){
+                        jta.append(j.getText()+"\n");
+                        String translation = translateCustomQuery(j.getText());
+                        workQuery(translation, fn, trace_id, rshc);
                         trace_id++;
-		    }
-		}
+                    }
+                }
             }
 
             //Removing files
@@ -484,48 +490,48 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
         setButtons();
     }
     private String translateCustomQuery(String query){
-	UPPAALSpec spec = mgui.gtm.getLastUPPAALSpecification();
-	AVATAR2UPPAAL avatar2uppaal = mgui.gtm.getAvatar2Uppaal();
-	AvatarSpecification avspec = mgui.gtm.getAvatarSpecification();
-	Hashtable <String, String> hash = avatar2uppaal.getHash();
-	String finQuery=query+" ";
-/*	String[] split = query.split("[\\s-()=]+");
-	for (String s: split){
-		System.out.println(s);
-	} */
-/*	Pattern p = Pattern.compile("[\\s-()=]+");
-	Matcher m = p.matcher(query);
-	int index1=0;
-	int index2=m.start();
-	while (m.find()){
-	    System.out.println("Finding ...");
-	    index2=m.start();
-	    String rep = hash.get(finQuery.substring(index1, index2));
-	    if (rep !=null){
-		System.out.println(finQuery.substring(index1, index2) + "--" + rep);
-		finQuery = finQuery.substring(0,index1) + rep + finQuery.substring(index2, finQuery.length());
-	    }
-	    index1=index2;
-	}*/
-	for (String str: hash.keySet()){
-	    finQuery = finQuery.replaceAll(str+"\\s", hash.get(str));
-	    finQuery = finQuery.replaceAll(str+"\\)", hash.get(str)+"\\)");
-	    finQuery = finQuery.replaceAll(str+"\\-", hash.get(str)+"\\-");
-	}
-	if (avspec==null){
-	    return "";
-	}
-
-	LinkedList<AvatarBlock> blocks = avspec.getListOfBlocks();
-	for (AvatarBlock block:blocks){
-	    UPPAALTemplate temp = spec.getTemplateByName(block.getName());
-	    if (temp !=null){
-		int index = avatar2uppaal.getIndexOfTranslatedTemplate(temp);
-		finQuery = finQuery.replaceAll(block.getName(), block.getName()+"__"+index);
-	    }
-	}
-	//translatedText.setText(finQuery);
-	return finQuery;
+        UPPAALSpec spec = mgui.gtm.getLastUPPAALSpecification();
+        AVATAR2UPPAAL avatar2uppaal = mgui.gtm.getAvatar2Uppaal();
+        AvatarSpecification avspec = mgui.gtm.getAvatarSpecification();
+        Hashtable <String, String> hash = avatar2uppaal.getHash();
+        String finQuery=query+" ";
+        /*      String[] split = query.split("[\\s-()=]+");
+                for (String s: split){
+                System.out.println(s);
+                } */
+        /*      Pattern p = Pattern.compile("[\\s-()=]+");
+                Matcher m = p.matcher(query);
+                int index1=0;
+                int index2=m.start();
+                while (m.find()){
+                System.out.println("Finding ...");
+                index2=m.start();
+                String rep = hash.get(finQuery.substring(index1, index2));
+                if (rep !=null){
+                System.out.println(finQuery.substring(index1, index2) + "--" + rep);
+                finQuery = finQuery.substring(0,index1) + rep + finQuery.substring(index2, finQuery.length());
+                }
+                index1=index2;
+                }*/
+        for (String str: hash.keySet()){
+            finQuery = finQuery.replaceAll(str+"\\s", hash.get(str));
+            finQuery = finQuery.replaceAll(str+"\\)", hash.get(str)+"\\)");
+            finQuery = finQuery.replaceAll(str+"\\-", hash.get(str)+"\\-");
+        }
+        if (avspec==null){
+            return "";
+        }
+
+        LinkedList<AvatarBlock> blocks = avspec.getListOfBlocks();
+        for (AvatarBlock block:blocks){
+            UPPAALTemplate temp = spec.getTemplateByName(block.getName());
+            if (temp !=null){
+                int index = avatar2uppaal.getIndexOfTranslatedTemplate(temp);
+                finQuery = finQuery.replaceAll(block.getName(), block.getName()+"__"+index);
+            }
+        }
+        //translatedText.setText(finQuery);
+        return finQuery;
     }
     private void workQuery(String query, String fn, int trace_id, RshClient rshc) throws LauncherException {
 
@@ -548,21 +554,21 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
         if(showDetails.isSelected()) {
             jta.append(data);
         }
-	//NOTE: [error] is only visible if Error Stream is parsed
+        //NOTE: [error] is only visible if Error Stream is parsed
         if (mode != NOT_STARTED) {
             if (data.trim().length() == 0) {
                 //jta.append("The verifier of UPPAAL could not be started: error\n");
                 throw new LauncherException("The verifier of UPPAAL could not be started.\nProbably, UPPAAL is badly installed, or TTool is badly configured:\nCheck for UPPAALVerifierPath and UPPAALVerifierHost configurations.");
             }
-	    else if (data.indexOf("Property is satisfied") >-1){
-		jta.append("-> property is satisfied\n");
-	    }
-	    else if (data.indexOf("Property is NOT satisfied") > -1) {
-		jta.append("-> property is NOT satisfied\n");
-	    }
-	    else {
-		jta.append("ERROR -> property could not be studied\n");
-	    }
+            else if (data.indexOf("Property is satisfied") >-1){
+                jta.append("-> property is satisfied\n");
+            }
+            else if (data.indexOf("Property is NOT satisfied") > -1) {
+                jta.append("-> property is NOT satisfied\n");
+            }
+            else {
+                jta.append("ERROR -> property could not be studied\n");
+            }
         } else {
             jta.append("** verification stopped **\n");
         }
@@ -614,9 +620,9 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
             stateL.setEnabled(true);
             generateTrace.setEnabled(true);
             showDetails.setEnabled(true);
-	    for (JCheckBox cb: customChecks){
-		cb.setEnabled(custom.isSelected());
-	    }
+            for (JCheckBox cb: customChecks){
+                cb.setEnabled(custom.isSelected());
+            }
             if (custom.isSelected() || /*deadlockE.isSelected() ||*/deadlockA.isSelected() || stateE.isSelected() || stateA.isSelected() || stateL.isSelected()) {
                 start.setEnabled(true);
             } else {
@@ -643,9 +649,9 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
             stop.setEnabled(true);
             close.setEnabled(false);
             eraseAll.setEnabled(false);
-	    for (JCheckBox cb: customChecks){
-		cb.setEnabled(false);
-	    }
+            for (JCheckBox cb: customChecks){
+                cb.setEnabled(false);
+            }
             getGlassPane().setVisible(true);
             break;
         case STOPPED:
@@ -663,9 +669,9 @@ public class JDialogUPPAALValidation extends javax.swing.JDialog implements Acti
             close.setEnabled(true);
             eraseAll.setEnabled(true);
             getGlassPane().setVisible(false);
-	    for (JCheckBox cb: customChecks){
-		cb.setEnabled(false);
-	    }
+            for (JCheckBox cb: customChecks){
+                cb.setEnabled(false);
+            }
             break;
         }
     }