diff --git a/bin/config.xml b/bin/config.xml
index 46d9f0ea510b2146ec41c7c1614c00c367a1b4e6..6e9a0b71963271c36f31ad169e80bd5eb04223eb 100755
--- a/bin/config.xml
+++ b/bin/config.xml
@@ -7,16 +7,16 @@
 <RG2TLSAPath data="/packages/RT-LOTOS.0.12/bin/rg2tlsa" />
 <RGSTRAPPath data="/packages/RT-LOTOS.0.12/bin/rgstrap" />
 <!--DOTTYPath data="/usr/bin/dot" /-->
-<DOTTYPath data="/usr/bin/dotty" />
+<DOTTYPath data="/bin/dotty" />
 <DOTTYHost data="localhost" />
 <AldebaranHost data="localhost" />
-<AldebaranPath data="/packages/cadp/com/aldebaran" />
-<BcgioPath data="/packages/cadp/bin.iX86/bcg_io" />
-<BcgminPath data="/packages/cadp/bin.iX86/bcg_min" />
-<BisimulatorPath data="/packages/cadp/com/bcg_open" />
-<BcgmergePath data="/packages/cadp/com/bcg_merge" />
-<CaesarPath data="/packages/cadp/bin.iX86/caesar" />
-<CaesarOpenPath data="/packages/cadp/com/caesar.open" />
+<AldebaranPath data="/home/enrici/cadp/com/aldebaran" />
+<BcgioPath data="/home/enrici/cadp/bin.iX86/bcg_io" />
+<BcgminPath data="/home/enrici/cadp/bin.iX86/bcg_min" />
+<BisimulatorPath data="/home/enrici/cadp/com/bcg_open" />
+<BcgmergePath data="/home/enrici/cadp/com/bcg_merge" />
+<CaesarPath data="/home/enrici/cadp/bin.iX86/caesar" />
+<CaesarOpenPath data="/home/enrici/cadp/com/caesar.open" />
 <FILEPath data="/home/enrici/TURTLE/modeling" />
 <LIBPath data="/home/enrici/TURTLE/lib" />
 <IMGPath data="/home/enrici/TURTLE/figure" />
@@ -38,6 +38,7 @@
 <SystemCCodeExecuteCommand data="/home/enrici/TURTLE/simulators/c++2/run.x -ovcd /home/enrici/TURTLE/simulators/c++2/vcddump.vcd" />
 <SystemCCodeInteractiveExecuteCommand data="/home/enrici/TURTLE/simulators/c++2/run.x -server" />
 <TMLCodeDirectory data="/home/enrici/TURTLE/tmlcode" />
+<CcodeDirectory data="/home/enrici/TURTLE/Ccode" />
 <GTKWavePath data="/usr/bin/gtkwave" />
 <VCDPath data="/home/enrici/TURTLE/vcd/" />
 <UPPAALCodeDirectory data="/home/enrici/TURTLE/uppaal/" />
@@ -60,16 +61,7 @@
 <ExternalCommand2Host data="localhost"/>
 <ExternalCommand2 data="/packages/uppaal(4.0.11/uppaal /home/enrici/TURTLE/uppaal/spec.xml"/>
 
-<LastOpenFile data="/home/hrua/stuxnet.xml"/>
-
-
-
-<LastWindowAttributes x="32" y="60" width="1333" height="595" max="false" />
-
-
+<LastOpenFile data="/home/enrici/embb/trunk/baseband/docs/andreae/Zigbee/models/MYZigbee_final.xml"/>
+<LastWindowAttributes x="-1" y="27" width="1368" height="742" max="true" />
+<LastWindowAttributes x="-1" y="0" width="1368" height="769" max="true" />
 </TURTLECONFIGURATION>
-
-
-
-
-
diff --git a/modeling/SmartCardProtocol.xml b/modeling/SmartCardProtocol.xml
index 11d6891df41d62f98b296da46096d03fde9d8033..d27d1216a41d35290e3d1d1e6d0046305d177e57 100755
--- a/modeling/SmartCardProtocol.xml
+++ b/modeling/SmartCardProtocol.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<TURTLEGMODELING version="0.96-beta1">
+<TURTLEGMODELING version="0.98-beta1">
 
 <Modeling type="Diplodocus Methodology" nameTab="DIPLODOCUS_Methodology" >
 <DiplodocusMethodologyDiagramPanel name="Diplodocus methodology" minX="10" maxX="1400" minY="10" maxY="900" zoom="0.8" >
@@ -30,19 +30,19 @@
 </COMPONENT>
 <SUBCOMPONENT type="6005" id="6" >
 <father id="13" num="0" />
-<cdparam x="442" y="265" />
+<cdparam x="442" y="278" />
 <sizeparam width="8" height="8" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="605" maxX="605" minY="340" maxY="340" />
-<infoparam name="value " value="Mapping1" />
+<cdrectangleparam minX="605" maxX="605" minY="355" maxY="355" />
+<infoparam name="value " value="Mapping2" />
 </SUBCOMPONENT>
 <SUBCOMPONENT type="6005" id="7" >
 <father id="13" num="1" />
-<cdparam x="442" y="278" />
+<cdparam x="442" y="265" />
 <sizeparam width="8" height="8" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="605" maxX="605" minY="355" maxY="355" />
-<infoparam name="value " value="Mapping2" />
+<cdrectangleparam minX="605" maxX="605" minY="340" maxY="340" />
+<infoparam name="value " value="Mapping1" />
 </SUBCOMPONENT>
 
 <COMPONENT type="6001" id="20" >
@@ -56,21 +56,21 @@
 <TGConnectingPoint num="2" id="18" />
 <TGConnectingPoint num="3" id="19" />
 </COMPONENT>
-<SUBCOMPONENT type="6005" id="2074" >
+<SUBCOMPONENT type="6005" id="14" >
 <father id="20" num="0" />
-<cdparam x="604" y="112" />
+<cdparam x="604" y="124" />
 <sizeparam width="8" height="8" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="604" maxX="604" minY="112" maxY="112" />
-<infoparam name="value " value="Architecture1" />
+<cdrectangleparam minX="604" maxX="604" minY="124" maxY="124" />
+<infoparam name="value " value="Architecture2" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="6005" id="2075" >
+<SUBCOMPONENT type="6005" id="15" >
 <father id="20" num="1" />
-<cdparam x="604" y="124" />
+<cdparam x="604" y="112" />
 <sizeparam width="8" height="8" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="604" maxX="604" minY="124" maxY="124" />
-<infoparam name="value " value="Architecture2" />
+<cdrectangleparam minX="604" maxX="604" minY="112" maxY="112" />
+<infoparam name="value " value="Architecture1" />
 </SUBCOMPONENT>
 
 <COMPONENT type="6000" id="26" >
@@ -125,16 +125,16 @@
 <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="697" y="126" id="242" />
-<P2  x="639" y="126" id="518" />
+<P1  x="697" y="126" id="392" />
+<P2  x="639" y="126" id="133" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="33" >
 <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="447" />
-<P2  x="717" y="126" id="247" />
+<P1  x="831" y="152" id="195" />
+<P2  x="717" y="126" id="397" />
 <Point x="832" y="126" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="32" >
@@ -150,8 +150,8 @@
 <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="417" y="85" id="128" />
-<P2  x="326" y="94" id="86" />
+<P1  x="417" y="85" id="515" />
+<P2  x="326" y="94" id="98" />
 <Point x="326" y="85" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="34" >
@@ -167,8 +167,8 @@
 <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="520" />
-<P2  x="437" y="85" id="133" />
+<P1  x="515" y="95" id="131" />
+<P2  x="437" y="85" id="520" />
 <Point x="515" y="85" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="36" >
@@ -184,40 +184,40 @@
 <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="417" y="295" id="147" />
-<P2  x="387" y="295" id="88" />
+<P1  x="417" y="295" id="496" />
+<P2  x="387" y="295" id="96" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="39" >
 <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="459" y="295" id="522" />
-<P2  x="437" y="295" id="152" />
+<P1  x="459" y="295" id="129" />
+<P2  x="437" y="295" id="501" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="40" >
 <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="417" y="235" id="166" />
-<P2  x="387" y="235" id="90" />
+<P1  x="417" y="235" id="477" />
+<P2  x="387" y="235" id="94" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="41" >
 <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="459" y="235" id="524" />
-<P2  x="437" y="235" id="171" />
+<P1  x="459" y="235" id="127" />
+<P2  x="437" y="235" id="482" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="42" >
 <cdparam x="353" y="208" />
 <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="437" y="199" id="190" />
-<P2  x="459" y="199" id="526" />
+<P1  x="437" y="199" id="463" />
+<P2  x="459" y="199" id="125" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="43" >
@@ -225,127 +225,127 @@
 <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="387" y="199" id="92" />
-<P2  x="417" y="199" id="185" />
+<P2  x="417" y="199" id="458" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="44" >
 <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="437" y="269" id="209" />
-<P2  x="459" y="269" id="528" />
+<P1  x="437" y="269" id="444" />
+<P2  x="459" y="269" id="123" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="45" >
 <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="387" y="269" id="94" />
-<P2  x="417" y="269" id="204" />
+<P1  x="387" y="269" id="90" />
+<P2  x="417" y="269" id="439" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="46" >
 <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="437" y="162" id="114" />
-<P2  x="459" y="162" id="530" />
+<P1  x="437" y="162" id="539" />
+<P2  x="459" y="162" id="121" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="47" >
 <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="387" y="162" id="96" />
-<P2  x="417" y="162" id="109" />
+<P1  x="387" y="162" id="88" />
+<P2  x="417" y="162" id="534" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="48" >
 <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="697" y="253" id="261" />
-<P2  x="639" y="253" id="532" />
+<P1  x="697" y="253" id="373" />
+<P2  x="639" y="253" id="119" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="49" >
 <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="757" y="253" id="453" />
-<P2  x="717" y="253" id="266" />
+<P1  x="757" y="253" id="189" />
+<P2  x="717" y="253" id="378" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="50" >
 <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="717" y="224" id="285" />
-<P2  x="757" y="224" id="451" />
+<P1  x="717" y="224" id="359" />
+<P2  x="757" y="224" id="191" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="51" >
 <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="639" y="224" id="534" />
-<P2  x="697" y="224" id="280" />
+<P1  x="639" y="224" id="117" />
+<P2  x="697" y="224" id="354" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="52" >
 <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="717" y="189" id="304" />
-<P2  x="757" y="189" id="449" />
+<P1  x="717" y="189" id="340" />
+<P2  x="757" y="189" id="193" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="53" >
 <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="639" y="189" id="536" />
-<P2  x="697" y="189" id="299" />
+<P1  x="639" y="189" id="115" />
+<P2  x="697" y="189" id="335" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="54" >
 <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="306" id="538" />
-<P2  x="697" y="314" id="319" />
+<P1  x="628" y="306" id="113" />
+<P2  x="697" y="314" id="317" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="55" >
 <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="304" id="542" />
-<P2  x="545" y="323" id="507" />
+<P1  x="545" y="304" id="109" />
+<P2  x="545" y="323" id="144" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="56" >
 <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="717" y="314" id="323" />
-<P2  x="759" y="314" id="455" />
+<P1  x="717" y="314" id="321" />
+<P2  x="759" y="314" id="187" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="57" >
 <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="495" />
-<P2  x="697" y="314" id="318" />
+<P1  x="633" y="323" id="156" />
+<P2  x="697" y="314" id="316" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="59" >
 <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="717" y="434" id="380" />
-<P2  x="826" y="425" id="457" />
+<P1  x="717" y="434" id="264" />
+<P2  x="826" y="425" id="185" />
 <Point x="826" y="434" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="58" >
@@ -361,96 +361,96 @@
 <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="664" y="434" id="499" />
-<P2  x="697" y="434" id="375" />
+<P1  x="664" y="434" id="152" />
+<P2  x="697" y="434" id="259" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="61" >
 <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="717" y="413" id="399" />
-<P2  x="759" y="413" id="459" />
+<P1  x="717" y="413" id="245" />
+<P2  x="759" y="413" id="183" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="62" >
 <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="664" y="413" id="501" />
-<P2  x="697" y="413" id="394" />
+<P1  x="664" y="413" id="150" />
+<P2  x="697" y="413" id="240" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="63" >
 <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="697" y="391" id="413" />
-<P2  x="664" y="391" id="503" />
+<P1  x="697" y="391" id="221" />
+<P2  x="664" y="391" id="148" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="64" >
 <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="759" y="391" id="465" />
-<P2  x="717" y="391" id="418" />
+<P1  x="759" y="391" id="177" />
+<P2  x="717" y="391" id="226" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="65" >
 <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="664" y="366" id="505" />
-<P2  x="697" y="366" id="356" />
+<P1  x="664" y="366" id="146" />
+<P2  x="697" y="366" id="278" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="66" >
 <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="717" y="366" id="361" />
-<P2  x="759" y="366" id="463" />
+<P1  x="717" y="366" id="283" />
+<P2  x="759" y="366" id="179" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="67" >
 <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="697" y="344" id="337" />
-<P2  x="664" y="344" id="497" />
+<P1  x="697" y="344" id="297" />
+<P2  x="664" y="344" id="154" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="68" >
 <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="759" y="344" id="461" />
-<P2  x="717" y="344" id="342" />
+<P1  x="759" y="344" id="181" />
+<P2  x="717" y="344" id="302" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="69" >
 <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="1014" y="244" id="432" />
-<P2  x="965" y="244" id="467" />
+<P1  x="1014" y="244" id="210" />
+<P2  x="965" y="244" id="175" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="70" >
 <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="965" y="273" id="469" />
-<P2  x="1014" y="273" id="434" />
+<P1  x="965" y="273" id="173" />
+<P2  x="1014" y="273" id="208" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="73" >
 <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="965" y="174" id="471" />
-<P2  x="965" y="206" id="473" />
+<P1  x="965" y="174" id="171" />
+<P2  x="965" y="206" id="169" />
 <Point x="1017" y="174" />
 <Point x="1017" y="206" />
 <AutomaticDrawing  data="true" />
@@ -475,24 +475,24 @@
 <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="965" y="304" id="475" />
-<P2  x="1014" y="304" id="436" />
+<P1  x="965" y="304" id="167" />
+<P2  x="1014" y="304" id="206" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="75" >
 <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="437" y="128" id="228" />
-<P2  x="461" y="128" id="540" />
+<P1  x="437" y="128" id="425" />
+<P2  x="461" y="128" id="111" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="76" >
 <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="385" y="128" id="98" />
-<P2  x="417" y="128" id="223" />
+<P1  x="385" y="128" id="86" />
+<P2  x="417" y="128" id="420" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <COMPONENT type="1205" id="85" >
@@ -538,14 +538,14 @@
 </COMPONENT>
 <SUBCOMPONENT type="1203" id="87" >
 <father id="108" num="0" />
-<cdparam x="316" y="94" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="369" 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" />
+<cdrectangleparam minX="-8" maxX="233" minY="-8" maxY="208" />
+<infoparam name="TGComponent" value="Request activation" />
 <TGConnectingPoint num="0" id="86" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -555,14 +555,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="89" >
 <father id="108" num="1" />
-<cdparam x="367" y="285" />
+<cdparam x="367" 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" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="88" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -572,14 +572,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="91" >
 <father id="108" num="2" />
-<cdparam x="367" y="225" />
+<cdparam x="367" 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" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
 <TGConnectingPoint num="0" id="90" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -596,7 +596,7 @@
 <infoparam name="TGComponent" value="Channel fromDtoSC" />
 <TGConnectingPoint num="0" id="92" />
 <extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -606,14 +606,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="95" >
 <father id="108" num="4" />
-<cdparam x="367" y="259" />
+<cdparam x="367" 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" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
 <TGConnectingPoint num="0" id="94" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -623,14 +623,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="97" >
 <father id="108" num="5" />
-<cdparam x="367" y="152" />
+<cdparam x="367" 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" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
 <TGConnectingPoint num="0" id="96" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -640,14 +640,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="99" >
 <father id="108" num="6" />
-<cdparam x="369" y="120" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="316" 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" />
+<cdrectangleparam minX="-10" maxX="231" minY="-10" maxY="206" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
 <TGConnectingPoint num="0" id="98" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -674,496 +674,41 @@
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1201" id="127" >
+<SUBCOMPONENT type="1202" id="143" >
 <father id="561" 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="-10" maxX="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="109" />
-<TGConnectingPoint num="1" id="110" />
-<TGConnectingPoint num="2" id="111" />
-<TGConnectingPoint num="3" id="112" />
-<TGConnectingPoint num="4" id="113" />
-<TGConnectingPoint num="5" id="114" />
-<TGConnectingPoint num="6" id="115" />
-<TGConnectingPoint num="7" id="116" />
-<TGConnectingPoint num="8" id="117" />
-<TGConnectingPoint num="9" id="118" />
-<TGConnectingPoint num="10" id="119" />
-<TGConnectingPoint num="11" id="120" />
-<TGConnectingPoint num="12" id="121" />
-<TGConnectingPoint num="13" id="122" />
-<TGConnectingPoint num="14" id="123" />
-<TGConnectingPoint num="15" id="124" />
-<TGConnectingPoint num="16" id="125" />
-<TGConnectingPoint num="17" id="126" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="146" >
-<father id="561" 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="128" />
-<TGConnectingPoint num="1" id="129" />
-<TGConnectingPoint num="2" id="130" />
-<TGConnectingPoint num="3" id="131" />
-<TGConnectingPoint num="4" id="132" />
-<TGConnectingPoint num="5" id="133" />
-<TGConnectingPoint num="6" id="134" />
-<TGConnectingPoint num="7" id="135" />
-<TGConnectingPoint num="8" id="136" />
-<TGConnectingPoint num="9" id="137" />
-<TGConnectingPoint num="10" id="138" />
-<TGConnectingPoint num="11" id="139" />
-<TGConnectingPoint num="12" id="140" />
-<TGConnectingPoint num="13" id="141" />
-<TGConnectingPoint num="14" id="142" />
-<TGConnectingPoint num="15" id="143" />
-<TGConnectingPoint num="16" id="144" />
-<TGConnectingPoint num="17" id="145" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="165" >
-<father id="561" 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="147" />
-<TGConnectingPoint num="1" id="148" />
-<TGConnectingPoint num="2" id="149" />
-<TGConnectingPoint num="3" id="150" />
-<TGConnectingPoint num="4" id="151" />
-<TGConnectingPoint num="5" id="152" />
-<TGConnectingPoint num="6" id="153" />
-<TGConnectingPoint num="7" id="154" />
-<TGConnectingPoint num="8" id="155" />
-<TGConnectingPoint num="9" id="156" />
-<TGConnectingPoint num="10" id="157" />
-<TGConnectingPoint num="11" id="158" />
-<TGConnectingPoint num="12" id="159" />
-<TGConnectingPoint num="13" id="160" />
-<TGConnectingPoint num="14" id="161" />
-<TGConnectingPoint num="15" id="162" />
-<TGConnectingPoint num="16" id="163" />
-<TGConnectingPoint num="17" id="164" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="184" >
-<father id="561" 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="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" />
-<TGConnectingPoint num="8" id="174" />
-<TGConnectingPoint num="9" id="175" />
-<TGConnectingPoint num="10" id="176" />
-<TGConnectingPoint num="11" id="177" />
-<TGConnectingPoint num="12" id="178" />
-<TGConnectingPoint num="13" id="179" />
-<TGConnectingPoint num="14" id="180" />
-<TGConnectingPoint num="15" id="181" />
-<TGConnectingPoint num="16" id="182" />
-<TGConnectingPoint num="17" id="183" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="203" >
-<father id="561" num="4" />
-<cdparam x="417" 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="726" minY="-10" maxY="380" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="185" />
-<TGConnectingPoint num="1" id="186" />
-<TGConnectingPoint num="2" id="187" />
-<TGConnectingPoint num="3" id="188" />
-<TGConnectingPoint num="4" id="189" />
-<TGConnectingPoint num="5" id="190" />
-<TGConnectingPoint num="6" id="191" />
-<TGConnectingPoint num="7" id="192" />
-<TGConnectingPoint num="8" id="193" />
-<TGConnectingPoint num="9" id="194" />
-<TGConnectingPoint num="10" id="195" />
-<TGConnectingPoint num="11" id="196" />
-<TGConnectingPoint num="12" id="197" />
-<TGConnectingPoint num="13" id="198" />
-<TGConnectingPoint num="14" id="199" />
-<TGConnectingPoint num="15" id="200" />
-<TGConnectingPoint num="16" id="201" />
-<TGConnectingPoint num="17" id="202" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="222" >
-<father id="561" num="5" />
-<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="204" />
-<TGConnectingPoint num="1" id="205" />
-<TGConnectingPoint num="2" id="206" />
-<TGConnectingPoint num="3" id="207" />
-<TGConnectingPoint num="4" id="208" />
-<TGConnectingPoint num="5" id="209" />
-<TGConnectingPoint num="6" id="210" />
-<TGConnectingPoint num="7" id="211" />
-<TGConnectingPoint num="8" id="212" />
-<TGConnectingPoint num="9" id="213" />
-<TGConnectingPoint num="10" id="214" />
-<TGConnectingPoint num="11" id="215" />
-<TGConnectingPoint num="12" id="216" />
-<TGConnectingPoint num="13" id="217" />
-<TGConnectingPoint num="14" id="218" />
-<TGConnectingPoint num="15" id="219" />
-<TGConnectingPoint num="16" id="220" />
-<TGConnectingPoint num="17" id="221" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="241" >
-<father id="561" num="6" />
-<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="223" />
-<TGConnectingPoint num="1" id="224" />
-<TGConnectingPoint num="2" id="225" />
-<TGConnectingPoint num="3" id="226" />
-<TGConnectingPoint num="4" id="227" />
-<TGConnectingPoint num="5" id="228" />
-<TGConnectingPoint num="6" id="229" />
-<TGConnectingPoint num="7" id="230" />
-<TGConnectingPoint num="8" id="231" />
-<TGConnectingPoint num="9" id="232" />
-<TGConnectingPoint num="10" id="233" />
-<TGConnectingPoint num="11" id="234" />
-<TGConnectingPoint num="12" id="235" />
-<TGConnectingPoint num="13" id="236" />
-<TGConnectingPoint num="14" id="237" />
-<TGConnectingPoint num="15" id="238" />
-<TGConnectingPoint num="16" id="239" />
-<TGConnectingPoint num="17" id="240" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1200" id="494" >
-<father id="561" num="7" />
-<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="486" />
-<TGConnectingPoint num="1" id="487" />
-<TGConnectingPoint num="2" id="488" />
-<TGConnectingPoint num="3" id="489" />
-<TGConnectingPoint num="4" id="490" />
-<TGConnectingPoint num="5" id="491" />
-<TGConnectingPoint num="6" id="492" />
-<TGConnectingPoint num="7" id="493" />
-<extraparam>
-<info hiddeni="false" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="260" >
-<father id="494" num="0" />
-<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="242" />
-<TGConnectingPoint num="1" id="243" />
-<TGConnectingPoint num="2" id="244" />
-<TGConnectingPoint num="3" id="245" />
-<TGConnectingPoint num="4" id="246" />
-<TGConnectingPoint num="5" id="247" />
-<TGConnectingPoint num="6" id="248" />
-<TGConnectingPoint num="7" id="249" />
-<TGConnectingPoint num="8" id="250" />
-<TGConnectingPoint num="9" id="251" />
-<TGConnectingPoint num="10" id="252" />
-<TGConnectingPoint num="11" id="253" />
-<TGConnectingPoint num="12" id="254" />
-<TGConnectingPoint num="13" id="255" />
-<TGConnectingPoint num="14" id="256" />
-<TGConnectingPoint num="15" id="257" />
-<TGConnectingPoint num="16" id="258" />
-<TGConnectingPoint num="17" id="259" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="279" >
-<father id="494" num="1" />
-<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="261" />
-<TGConnectingPoint num="1" id="262" />
-<TGConnectingPoint num="2" id="263" />
-<TGConnectingPoint num="3" id="264" />
-<TGConnectingPoint num="4" id="265" />
-<TGConnectingPoint num="5" id="266" />
-<TGConnectingPoint num="6" id="267" />
-<TGConnectingPoint num="7" id="268" />
-<TGConnectingPoint num="8" id="269" />
-<TGConnectingPoint num="9" id="270" />
-<TGConnectingPoint num="10" id="271" />
-<TGConnectingPoint num="11" id="272" />
-<TGConnectingPoint num="12" id="273" />
-<TGConnectingPoint num="13" id="274" />
-<TGConnectingPoint num="14" id="275" />
-<TGConnectingPoint num="15" id="276" />
-<TGConnectingPoint num="16" id="277" />
-<TGConnectingPoint num="17" id="278" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="298" >
-<father id="494" num="2" />
-<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="280" />
-<TGConnectingPoint num="1" id="281" />
-<TGConnectingPoint num="2" id="282" />
-<TGConnectingPoint num="3" id="283" />
-<TGConnectingPoint num="4" id="284" />
-<TGConnectingPoint num="5" id="285" />
-<TGConnectingPoint num="6" id="286" />
-<TGConnectingPoint num="7" id="287" />
-<TGConnectingPoint num="8" id="288" />
-<TGConnectingPoint num="9" id="289" />
-<TGConnectingPoint num="10" id="290" />
-<TGConnectingPoint num="11" id="291" />
-<TGConnectingPoint num="12" id="292" />
-<TGConnectingPoint num="13" id="293" />
-<TGConnectingPoint num="14" id="294" />
-<TGConnectingPoint num="15" id="295" />
-<TGConnectingPoint num="16" id="296" />
-<TGConnectingPoint num="17" id="297" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="317" >
-<father id="494" num="3" />
-<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="299" />
-<TGConnectingPoint num="1" id="300" />
-<TGConnectingPoint num="2" id="301" />
-<TGConnectingPoint num="3" id="302" />
-<TGConnectingPoint num="4" id="303" />
-<TGConnectingPoint num="5" id="304" />
-<TGConnectingPoint num="6" id="305" />
-<TGConnectingPoint num="7" id="306" />
-<TGConnectingPoint num="8" id="307" />
-<TGConnectingPoint num="9" id="308" />
-<TGConnectingPoint num="10" id="309" />
-<TGConnectingPoint num="11" id="310" />
-<TGConnectingPoint num="12" id="311" />
-<TGConnectingPoint num="13" id="312" />
-<TGConnectingPoint num="14" id="313" />
-<TGConnectingPoint num="15" id="314" />
-<TGConnectingPoint num="16" id="315" />
-<TGConnectingPoint num="17" id="316" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="336" >
-<father id="494" num="4" />
-<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="318" />
-<TGConnectingPoint num="1" id="319" />
-<TGConnectingPoint num="2" id="320" />
-<TGConnectingPoint num="3" id="321" />
-<TGConnectingPoint num="4" id="322" />
-<TGConnectingPoint num="5" id="323" />
-<TGConnectingPoint num="6" id="324" />
-<TGConnectingPoint num="7" id="325" />
-<TGConnectingPoint num="8" id="326" />
-<TGConnectingPoint num="9" id="327" />
-<TGConnectingPoint num="10" id="328" />
-<TGConnectingPoint num="11" id="329" />
-<TGConnectingPoint num="12" id="330" />
-<TGConnectingPoint num="13" id="331" />
-<TGConnectingPoint num="14" id="332" />
-<TGConnectingPoint num="15" id="333" />
-<TGConnectingPoint num="16" id="334" />
-<TGConnectingPoint num="17" id="335" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="355" >
-<father id="494" num="5" />
-<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="337" />
-<TGConnectingPoint num="1" id="338" />
-<TGConnectingPoint num="2" id="339" />
-<TGConnectingPoint num="3" id="340" />
-<TGConnectingPoint num="4" id="341" />
-<TGConnectingPoint num="5" id="342" />
-<TGConnectingPoint num="6" id="343" />
-<TGConnectingPoint num="7" id="344" />
-<TGConnectingPoint num="8" id="345" />
-<TGConnectingPoint num="9" id="346" />
-<TGConnectingPoint num="10" id="347" />
-<TGConnectingPoint num="11" id="348" />
-<TGConnectingPoint num="12" id="349" />
-<TGConnectingPoint num="13" id="350" />
-<TGConnectingPoint num="14" id="351" />
-<TGConnectingPoint num="15" id="352" />
-<TGConnectingPoint num="16" id="353" />
-<TGConnectingPoint num="17" id="354" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="374" >
-<father id="494" num="6" />
-<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="356" />
-<TGConnectingPoint num="1" id="357" />
-<TGConnectingPoint num="2" id="358" />
-<TGConnectingPoint num="3" id="359" />
-<TGConnectingPoint num="4" id="360" />
-<TGConnectingPoint num="5" id="361" />
-<TGConnectingPoint num="6" id="362" />
-<TGConnectingPoint num="7" id="363" />
-<TGConnectingPoint num="8" id="364" />
-<TGConnectingPoint num="9" id="365" />
-<TGConnectingPoint num="10" id="366" />
-<TGConnectingPoint num="11" id="367" />
-<TGConnectingPoint num="12" id="368" />
-<TGConnectingPoint num="13" id="369" />
-<TGConnectingPoint num="14" id="370" />
-<TGConnectingPoint num="15" id="371" />
-<TGConnectingPoint num="16" id="372" />
-<TGConnectingPoint num="17" id="373" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="393" >
-<father id="494" num="7" />
-<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="375" />
-<TGConnectingPoint num="1" id="376" />
-<TGConnectingPoint num="2" id="377" />
-<TGConnectingPoint num="3" id="378" />
-<TGConnectingPoint num="4" id="379" />
-<TGConnectingPoint num="5" id="380" />
-<TGConnectingPoint num="6" id="381" />
-<TGConnectingPoint num="7" id="382" />
-<TGConnectingPoint num="8" id="383" />
-<TGConnectingPoint num="9" id="384" />
-<TGConnectingPoint num="10" id="385" />
-<TGConnectingPoint num="11" id="386" />
-<TGConnectingPoint num="12" id="387" />
-<TGConnectingPoint num="13" id="388" />
-<TGConnectingPoint num="14" id="389" />
-<TGConnectingPoint num="15" id="390" />
-<TGConnectingPoint num="16" id="391" />
-<TGConnectingPoint num="17" id="392" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="412" >
-<father id="494" num="8" />
-<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="394" />
-<TGConnectingPoint num="1" id="395" />
-<TGConnectingPoint num="2" id="396" />
-<TGConnectingPoint num="3" id="397" />
-<TGConnectingPoint num="4" id="398" />
-<TGConnectingPoint num="5" id="399" />
-<TGConnectingPoint num="6" id="400" />
-<TGConnectingPoint num="7" id="401" />
-<TGConnectingPoint num="8" id="402" />
-<TGConnectingPoint num="9" id="403" />
-<TGConnectingPoint num="10" id="404" />
-<TGConnectingPoint num="11" id="405" />
-<TGConnectingPoint num="12" id="406" />
-<TGConnectingPoint num="13" id="407" />
-<TGConnectingPoint num="14" id="408" />
-<TGConnectingPoint num="15" id="409" />
-<TGConnectingPoint num="16" id="410" />
-<TGConnectingPoint num="17" id="411" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="431" >
-<father id="494" num="9" />
-<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="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" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="446" >
-<father id="494" num="10" />
-<cdparam x="1022" y="219" />
-<sizeparam width="112" height="113" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="0" maxX="333" minY="0" maxY="223" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="438" />
-<TGConnectingPoint num="1" id="439" />
-<TGConnectingPoint num="2" id="440" />
-<TGConnectingPoint num="3" id="441" />
-<TGConnectingPoint num="4" id="442" />
-<TGConnectingPoint num="5" id="443" />
-<TGConnectingPoint num="6" id="444" />
-<TGConnectingPoint num="7" id="445" />
+<cdrectangleparam minX="0" maxX="576" minY="0" maxY="199" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="135" />
+<TGConnectingPoint num="1" id="136" />
+<TGConnectingPoint num="2" id="137" />
+<TGConnectingPoint num="3" id="138" />
+<TGConnectingPoint num="4" id="139" />
+<TGConnectingPoint num="5" id="140" />
+<TGConnectingPoint num="6" id="141" />
+<TGConnectingPoint num="7" id="142" />
 <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="433" >
-<father id="446" num="0" />
-<cdparam x="1014" y="236" />
+<SUBCOMPONENT type="1203" id="110" >
+<father id="143" num="0" />
+<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="432" />
+<cdrectangleparam minX="-8" maxX="152" minY="-8" maxY="183" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="109" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1171,16 +716,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="435" >
-<father id="446" num="1" />
-<cdparam x="1014" y="265" />
+<SUBCOMPONENT type="1203" id="112" >
+<father id="143" num="1" />
+<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="434" />
+<cdrectangleparam minX="-8" maxX="152" minY="-8" maxY="183" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="111" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1188,16 +733,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="437" >
-<father id="446" num="2" />
-<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="114" >
+<father id="143" num="2" />
+<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="436" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="113" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1205,41 +750,33 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="485" >
-<father id="494" num="11" />
-<cdparam x="767" y="162" />
-<sizeparam width="190" height="255" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="116" >
+<father id="143" num="3" />
+<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="0" maxX="255" minY="0" maxY="81" />
-<infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="477" />
-<TGConnectingPoint num="1" id="478" />
-<TGConnectingPoint num="2" id="479" />
-<TGConnectingPoint num="3" id="480" />
-<TGConnectingPoint num="4" id="481" />
-<TGConnectingPoint num="5" id="482" />
-<TGConnectingPoint num="6" id="483" />
-<TGConnectingPoint num="7" id="484" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="115" />
 <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="" />
+<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="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="448" >
-<father id="485" num="0" />
-<cdparam x="821" y="152" />
+<SUBCOMPONENT type="1203" id="118" >
+<father id="143" num="4" />
+<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 send" />
-<TGConnectingPoint num="0" id="447" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="117" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1247,16 +784,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="450" >
-<father id="485" num="1" />
-<cdparam x="757" y="179" />
+<SUBCOMPONENT type="1203" id="120" >
+<father id="143" num="5" />
+<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="Event receive" />
-<TGConnectingPoint num="0" id="449" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="119" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1264,16 +801,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="452" >
-<father id="485" num="2" />
-<cdparam x="757" y="214" />
+<SUBCOMPONENT type="1203" id="122" >
+<father id="143" 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 fromPtoT" />
-<TGConnectingPoint num="0" id="451" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="121" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1281,16 +818,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="454" >
-<father id="485" num="3" />
-<cdparam x="757" y="243" />
+<SUBCOMPONENT type="1203" id="124" >
+<father id="143" num="7" />
+<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="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="453" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="123" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1298,16 +835,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="456" >
-<father id="485" num="4" />
-<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="126" >
+<father id="143" num="8" />
+<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="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="455" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromDtoSC0" />
+<TGConnectingPoint num="0" id="125" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1315,16 +852,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="458" >
-<father id="485" num="5" />
-<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="128" >
+<father id="143" num="9" />
+<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 send_TCP" />
-<TGConnectingPoint num="0" id="457" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="127" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1332,16 +869,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="460" >
-<father id="485" num="6" />
-<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="130" >
+<father id="143" num="10" />
+<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="Event open, abort, close" />
-<TGConnectingPoint num="0" id="459" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="129" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1349,16 +886,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="462" >
-<father id="485" 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="132" >
+<father id="143" num="11" />
+<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 fromTtoA" />
-<TGConnectingPoint num="0" id="461" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="131" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1366,16 +903,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="464" >
-<father id="485" num="8" />
-<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="134" >
+<father id="143" num="12" />
+<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="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="463" />
+<cdrectangleparam minX="-10" maxX="150" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="133" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1383,16 +920,34 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="466" >
-<father id="485" num="9" />
-<cdparam x="759" y="383" />
+<SUBCOMPONENT type="1202" id="166" >
+<father id="561" num="1" />
+<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="158" />
+<TGConnectingPoint num="1" id="159" />
+<TGConnectingPoint num="2" id="160" />
+<TGConnectingPoint num="3" id="161" />
+<TGConnectingPoint num="4" id="162" />
+<TGConnectingPoint num="5" id="163" />
+<TGConnectingPoint num="6" id="164" />
+<TGConnectingPoint num="7" id="165" />
+<extraparam>
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="145" >
+<father id="166" num="0" />
+<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="Event receive_Application" />
-<TGConnectingPoint num="0" id="465" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="144" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1400,16 +955,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="468" >
-<father id="485" num="10" />
-<cdparam x="949" y="236" />
+<SUBCOMPONENT type="1203" id="147" >
+<father id="166" num="1" />
+<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="Event timeOut" />
-<TGConnectingPoint num="0" id="467" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="146" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1417,16 +972,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="470" >
-<father id="485" num="11" />
-<cdparam x="949" y="265" />
+<SUBCOMPONENT type="1203" id="149" >
+<father id="166" num="2" />
+<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="Request req_Timer" />
-<TGConnectingPoint num="0" id="469" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="148" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1434,16 +989,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="472" >
-<father id="485" num="12" />
-<cdparam x="949" y="166" />
+<SUBCOMPONENT type="1203" id="151" >
+<father id="166" 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="Channel temp" />
-<TGConnectingPoint num="0" id="471" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="150" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1451,16 +1006,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="474" >
-<father id="485" num="13" />
-<cdparam x="949" y="198" />
+<SUBCOMPONENT type="1203" id="153" >
+<father id="166" num="4" />
+<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="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="473" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="152" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1468,16 +1023,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="476" >
-<father id="485" num="14" />
-<cdparam x="949" y="296" />
+<SUBCOMPONENT type="1203" id="155" >
+<father id="166" num="5" />
+<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="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="475" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="108" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="154" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1485,34 +1040,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="517" >
-<father id="561" num="8" />
-<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="509" />
-<TGConnectingPoint num="1" id="510" />
-<TGConnectingPoint num="2" id="511" />
-<TGConnectingPoint num="3" id="512" />
-<TGConnectingPoint num="4" id="513" />
-<TGConnectingPoint num="5" id="514" />
-<TGConnectingPoint num="6" id="515" />
-<TGConnectingPoint num="7" id="516" />
-<extraparam>
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="496" >
-<father id="517" num="0" />
+<SUBCOMPONENT type="1203" id="157" >
+<father id="166" num="6" />
 <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="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="495" />
+<TGConnectingPoint num="0" id="156" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1520,50 +1057,60 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="498" >
-<father id="517" num="1" />
-<cdparam x="648" y="336" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1200" id="419" >
+<father id="561" 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="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="497" />
+<cdrectangleparam minX="0" maxX="291" minY="0" maxY="54" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="411" />
+<TGConnectingPoint num="1" id="412" />
+<TGConnectingPoint num="2" id="413" />
+<TGConnectingPoint num="3" id="414" />
+<TGConnectingPoint num="4" id="415" />
+<TGConnectingPoint num="5" id="416" />
+<TGConnectingPoint num="6" id="417" />
+<TGConnectingPoint num="7" id="418" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info hiddeni="false" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="500" >
-<father id="517" num="2" />
-<cdparam x="648" y="426" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="205" >
+<father id="419" 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="-8" maxX="184" minY="-8" maxY="108" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="499" />
+<cdrectangleparam minX="0" maxX="255" minY="0" maxY="81" />
+<infoparam name="TGComponent" value="TCPIP" />
+<TGConnectingPoint num="0" id="197" />
+<TGConnectingPoint num="1" id="198" />
+<TGConnectingPoint num="2" id="199" />
+<TGConnectingPoint num="3" id="200" />
+<TGConnectingPoint num="4" id="201" />
+<TGConnectingPoint num="5" id="202" />
+<TGConnectingPoint num="6" id="203" />
+<TGConnectingPoint num="7" id="204" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<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="502" >
-<father id="517" num="3" />
-<cdparam x="648" y="405" />
+<SUBCOMPONENT type="1203" id="168" >
+<father id="205" num="0" />
+<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="501" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="167" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1571,16 +1118,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="504" >
-<father id="517" num="4" />
-<cdparam x="648" y="383" />
+<SUBCOMPONENT type="1203" id="170" >
+<father id="205" num="1" />
+<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="503" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="169" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1588,16 +1135,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="506" >
-<father id="517" num="5" />
-<cdparam x="648" y="358" />
+<SUBCOMPONENT type="1203" id="172" >
+<father id="205" num="2" />
+<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="505" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="171" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1605,16 +1152,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="508" >
-<father id="517" num="6" />
-<cdparam x="537" y="323" />
+<SUBCOMPONENT type="1203" id="174" >
+<father id="205" num="3" />
+<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="507" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="173" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1622,41 +1169,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="552" >
-<father id="561" num="9" />
-<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="0" maxX="576" minY="0" maxY="199" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="544" />
-<TGConnectingPoint num="1" id="545" />
-<TGConnectingPoint num="2" id="546" />
-<TGConnectingPoint num="3" id="547" />
-<TGConnectingPoint num="4" id="548" />
-<TGConnectingPoint num="5" id="549" />
-<TGConnectingPoint num="6" id="550" />
-<TGConnectingPoint num="7" id="551" />
-<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="519" >
-<father id="552" num="0" />
-<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="176" >
+<father id="205" num="4" />
+<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="-10" maxX="150" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="518" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="175" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1664,16 +1186,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="521" >
-<father id="552" num="1" />
-<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="178" >
+<father id="205" num="5" />
+<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 reset, pTS" />
-<TGConnectingPoint num="0" id="520" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="177" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1681,16 +1203,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="523" >
-<father id="552" num="2" />
-<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="180" >
+<father id="205" num="6" />
+<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 answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="522" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="179" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1698,16 +1220,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="525" >
-<father id="552" num="3" />
-<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="182" >
+<father id="205" 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="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="524" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="181" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1715,16 +1237,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="527" >
-<father id="552" num="4" />
-<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="184" >
+<father id="205" num="8" />
+<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 fromDtoSC0" />
-<TGConnectingPoint num="0" id="526" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="183" />
 <extraparam>
-<Prop commName="fromDtoSC0" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1732,16 +1254,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="529" >
-<father id="552" num="5" />
-<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="186" >
+<father id="205" num="9" />
+<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="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="528" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="185" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1749,16 +1271,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="531" >
-<father id="552" num="6" />
-<cdparam x="459" y="152" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="188" >
+<father id="205" num="10" />
+<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" />
-<TGConnectingPoint num="0" id="530" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="187" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1766,16 +1288,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="533" >
-<father id="552" num="7" />
-<cdparam x="619" y="243" />
+<SUBCOMPONENT type="1203" id="190" >
+<father id="205" num="11" />
+<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" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
 <infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="532" />
+<TGConnectingPoint num="0" id="189" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1783,16 +1305,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="535" >
-<father id="552" num="8" />
-<cdparam x="619" y="214" />
+<SUBCOMPONENT type="1203" id="192" >
+<father id="205" num="12" />
+<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" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
 <infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="534" />
+<TGConnectingPoint num="0" id="191" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1800,16 +1322,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="537" >
-<father id="552" num="9" />
-<cdparam x="619" y="179" />
+<SUBCOMPONENT type="1203" id="194" >
+<father id="205" num="13" />
+<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" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
 <infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="536" />
+<TGConnectingPoint num="0" id="193" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1817,16 +1339,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="539" >
-<father id="552" num="10" />
-<cdparam x="618" y="286" />
+<SUBCOMPONENT type="1203" id="196" >
+<father id="205" num="14" />
+<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="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="538" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="195" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1834,16 +1356,35 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="541" >
-<father id="552" num="11" />
-<cdparam x="461" y="120" />
+<SUBCOMPONENT type="1202" id="220" >
+<father id="419" 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="212" />
+<TGConnectingPoint num="1" id="213" />
+<TGConnectingPoint num="2" id="214" />
+<TGConnectingPoint num="3" id="215" />
+<TGConnectingPoint num="4" id="216" />
+<TGConnectingPoint num="5" id="217" />
+<TGConnectingPoint num="6" id="218" />
+<TGConnectingPoint num="7" id="219" />
+<extraparam>
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="207" >
+<father id="220" num="0" />
+<cdparam x="1014" 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="152" minY="-8" maxY="183" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="540" />
+<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="206" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1851,16 +1392,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="543" >
-<father id="552" num="12" />
-<cdparam x="537" y="288" />
+<SUBCOMPONENT type="1203" id="209" >
+<father id="220" num="1" />
+<cdparam x="1014" 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 start_Application" />
-<TGConnectingPoint num="0" id="542" />
+<cdrectangleparam minX="-8" maxX="104" minY="-8" maxY="105" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="208" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" lossPercentage="0" maxNbOfLoss="-1" />
+<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="" />
@@ -1868,6 +1409,465 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="211" >
+<father id="220" num="2" />
+<cdparam x="1014" 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="104" minY="-8" maxY="105" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="210" />
+<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="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="239" >
+<father id="419" 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="221" />
+<TGConnectingPoint num="1" id="222" />
+<TGConnectingPoint num="2" id="223" />
+<TGConnectingPoint num="3" id="224" />
+<TGConnectingPoint num="4" id="225" />
+<TGConnectingPoint num="5" id="226" />
+<TGConnectingPoint num="6" id="227" />
+<TGConnectingPoint num="7" id="228" />
+<TGConnectingPoint num="8" id="229" />
+<TGConnectingPoint num="9" id="230" />
+<TGConnectingPoint num="10" id="231" />
+<TGConnectingPoint num="11" id="232" />
+<TGConnectingPoint num="12" id="233" />
+<TGConnectingPoint num="13" id="234" />
+<TGConnectingPoint num="14" id="235" />
+<TGConnectingPoint num="15" id="236" />
+<TGConnectingPoint num="16" id="237" />
+<TGConnectingPoint num="17" id="238" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="258" >
+<father id="419" 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="240" />
+<TGConnectingPoint num="1" id="241" />
+<TGConnectingPoint num="2" id="242" />
+<TGConnectingPoint num="3" id="243" />
+<TGConnectingPoint num="4" id="244" />
+<TGConnectingPoint num="5" id="245" />
+<TGConnectingPoint num="6" id="246" />
+<TGConnectingPoint num="7" id="247" />
+<TGConnectingPoint num="8" id="248" />
+<TGConnectingPoint num="9" id="249" />
+<TGConnectingPoint num="10" id="250" />
+<TGConnectingPoint num="11" id="251" />
+<TGConnectingPoint num="12" id="252" />
+<TGConnectingPoint num="13" id="253" />
+<TGConnectingPoint num="14" id="254" />
+<TGConnectingPoint num="15" id="255" />
+<TGConnectingPoint num="16" id="256" />
+<TGConnectingPoint num="17" id="257" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="277" >
+<father id="419" 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="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" />
+<TGConnectingPoint num="10" id="269" />
+<TGConnectingPoint num="11" id="270" />
+<TGConnectingPoint num="12" id="271" />
+<TGConnectingPoint num="13" id="272" />
+<TGConnectingPoint num="14" id="273" />
+<TGConnectingPoint num="15" id="274" />
+<TGConnectingPoint num="16" id="275" />
+<TGConnectingPoint num="17" id="276" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="296" >
+<father id="419" 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="278" />
+<TGConnectingPoint num="1" id="279" />
+<TGConnectingPoint num="2" id="280" />
+<TGConnectingPoint num="3" id="281" />
+<TGConnectingPoint num="4" id="282" />
+<TGConnectingPoint num="5" id="283" />
+<TGConnectingPoint num="6" id="284" />
+<TGConnectingPoint num="7" id="285" />
+<TGConnectingPoint num="8" id="286" />
+<TGConnectingPoint num="9" id="287" />
+<TGConnectingPoint num="10" id="288" />
+<TGConnectingPoint num="11" id="289" />
+<TGConnectingPoint num="12" id="290" />
+<TGConnectingPoint num="13" id="291" />
+<TGConnectingPoint num="14" id="292" />
+<TGConnectingPoint num="15" id="293" />
+<TGConnectingPoint num="16" id="294" />
+<TGConnectingPoint num="17" id="295" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="315" >
+<father id="419" 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="297" />
+<TGConnectingPoint num="1" id="298" />
+<TGConnectingPoint num="2" id="299" />
+<TGConnectingPoint num="3" id="300" />
+<TGConnectingPoint num="4" id="301" />
+<TGConnectingPoint num="5" id="302" />
+<TGConnectingPoint num="6" id="303" />
+<TGConnectingPoint num="7" id="304" />
+<TGConnectingPoint num="8" id="305" />
+<TGConnectingPoint num="9" id="306" />
+<TGConnectingPoint num="10" id="307" />
+<TGConnectingPoint num="11" id="308" />
+<TGConnectingPoint num="12" id="309" />
+<TGConnectingPoint num="13" id="310" />
+<TGConnectingPoint num="14" id="311" />
+<TGConnectingPoint num="15" id="312" />
+<TGConnectingPoint num="16" id="313" />
+<TGConnectingPoint num="17" id="314" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="334" >
+<father id="419" 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="316" />
+<TGConnectingPoint num="1" id="317" />
+<TGConnectingPoint num="2" id="318" />
+<TGConnectingPoint num="3" id="319" />
+<TGConnectingPoint num="4" id="320" />
+<TGConnectingPoint num="5" id="321" />
+<TGConnectingPoint num="6" id="322" />
+<TGConnectingPoint num="7" id="323" />
+<TGConnectingPoint num="8" id="324" />
+<TGConnectingPoint num="9" id="325" />
+<TGConnectingPoint num="10" id="326" />
+<TGConnectingPoint num="11" id="327" />
+<TGConnectingPoint num="12" id="328" />
+<TGConnectingPoint num="13" id="329" />
+<TGConnectingPoint num="14" id="330" />
+<TGConnectingPoint num="15" id="331" />
+<TGConnectingPoint num="16" id="332" />
+<TGConnectingPoint num="17" id="333" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="353" >
+<father id="419" 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="335" />
+<TGConnectingPoint num="1" id="336" />
+<TGConnectingPoint num="2" id="337" />
+<TGConnectingPoint num="3" id="338" />
+<TGConnectingPoint num="4" id="339" />
+<TGConnectingPoint num="5" id="340" />
+<TGConnectingPoint num="6" id="341" />
+<TGConnectingPoint num="7" id="342" />
+<TGConnectingPoint num="8" id="343" />
+<TGConnectingPoint num="9" id="344" />
+<TGConnectingPoint num="10" id="345" />
+<TGConnectingPoint num="11" id="346" />
+<TGConnectingPoint num="12" id="347" />
+<TGConnectingPoint num="13" id="348" />
+<TGConnectingPoint num="14" id="349" />
+<TGConnectingPoint num="15" id="350" />
+<TGConnectingPoint num="16" id="351" />
+<TGConnectingPoint num="17" id="352" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="372" >
+<father id="419" 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="354" />
+<TGConnectingPoint num="1" id="355" />
+<TGConnectingPoint num="2" id="356" />
+<TGConnectingPoint num="3" id="357" />
+<TGConnectingPoint num="4" id="358" />
+<TGConnectingPoint num="5" id="359" />
+<TGConnectingPoint num="6" id="360" />
+<TGConnectingPoint num="7" id="361" />
+<TGConnectingPoint num="8" id="362" />
+<TGConnectingPoint num="9" id="363" />
+<TGConnectingPoint num="10" id="364" />
+<TGConnectingPoint num="11" id="365" />
+<TGConnectingPoint num="12" id="366" />
+<TGConnectingPoint num="13" id="367" />
+<TGConnectingPoint num="14" id="368" />
+<TGConnectingPoint num="15" id="369" />
+<TGConnectingPoint num="16" id="370" />
+<TGConnectingPoint num="17" id="371" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="391" >
+<father id="419" 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="373" />
+<TGConnectingPoint num="1" id="374" />
+<TGConnectingPoint num="2" id="375" />
+<TGConnectingPoint num="3" id="376" />
+<TGConnectingPoint num="4" id="377" />
+<TGConnectingPoint num="5" id="378" />
+<TGConnectingPoint num="6" id="379" />
+<TGConnectingPoint num="7" id="380" />
+<TGConnectingPoint num="8" id="381" />
+<TGConnectingPoint num="9" id="382" />
+<TGConnectingPoint num="10" id="383" />
+<TGConnectingPoint num="11" id="384" />
+<TGConnectingPoint num="12" id="385" />
+<TGConnectingPoint num="13" id="386" />
+<TGConnectingPoint num="14" id="387" />
+<TGConnectingPoint num="15" id="388" />
+<TGConnectingPoint num="16" id="389" />
+<TGConnectingPoint num="17" id="390" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="410" >
+<father id="419" 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="392" />
+<TGConnectingPoint num="1" id="393" />
+<TGConnectingPoint num="2" id="394" />
+<TGConnectingPoint num="3" id="395" />
+<TGConnectingPoint num="4" id="396" />
+<TGConnectingPoint num="5" id="397" />
+<TGConnectingPoint num="6" id="398" />
+<TGConnectingPoint num="7" id="399" />
+<TGConnectingPoint num="8" id="400" />
+<TGConnectingPoint num="9" id="401" />
+<TGConnectingPoint num="10" id="402" />
+<TGConnectingPoint num="11" id="403" />
+<TGConnectingPoint num="12" id="404" />
+<TGConnectingPoint num="13" id="405" />
+<TGConnectingPoint num="14" id="406" />
+<TGConnectingPoint num="15" id="407" />
+<TGConnectingPoint num="16" id="408" />
+<TGConnectingPoint num="17" id="409" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="438" >
+<father id="561" 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="420" />
+<TGConnectingPoint num="1" id="421" />
+<TGConnectingPoint num="2" id="422" />
+<TGConnectingPoint num="3" id="423" />
+<TGConnectingPoint num="4" id="424" />
+<TGConnectingPoint num="5" id="425" />
+<TGConnectingPoint num="6" id="426" />
+<TGConnectingPoint num="7" id="427" />
+<TGConnectingPoint num="8" id="428" />
+<TGConnectingPoint num="9" id="429" />
+<TGConnectingPoint num="10" id="430" />
+<TGConnectingPoint num="11" id="431" />
+<TGConnectingPoint num="12" id="432" />
+<TGConnectingPoint num="13" id="433" />
+<TGConnectingPoint num="14" id="434" />
+<TGConnectingPoint num="15" id="435" />
+<TGConnectingPoint num="16" id="436" />
+<TGConnectingPoint num="17" id="437" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="457" >
+<father id="561" 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="439" />
+<TGConnectingPoint num="1" id="440" />
+<TGConnectingPoint num="2" id="441" />
+<TGConnectingPoint num="3" id="442" />
+<TGConnectingPoint num="4" id="443" />
+<TGConnectingPoint num="5" id="444" />
+<TGConnectingPoint num="6" id="445" />
+<TGConnectingPoint num="7" id="446" />
+<TGConnectingPoint num="8" id="447" />
+<TGConnectingPoint num="9" id="448" />
+<TGConnectingPoint num="10" id="449" />
+<TGConnectingPoint num="11" id="450" />
+<TGConnectingPoint num="12" id="451" />
+<TGConnectingPoint num="13" id="452" />
+<TGConnectingPoint num="14" id="453" />
+<TGConnectingPoint num="15" id="454" />
+<TGConnectingPoint num="16" id="455" />
+<TGConnectingPoint num="17" id="456" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="476" >
+<father id="561" num="5" />
+<cdparam x="417" 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="726" minY="-10" maxY="380" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="458" />
+<TGConnectingPoint num="1" id="459" />
+<TGConnectingPoint num="2" id="460" />
+<TGConnectingPoint num="3" id="461" />
+<TGConnectingPoint num="4" id="462" />
+<TGConnectingPoint num="5" id="463" />
+<TGConnectingPoint num="6" id="464" />
+<TGConnectingPoint num="7" id="465" />
+<TGConnectingPoint num="8" id="466" />
+<TGConnectingPoint num="9" id="467" />
+<TGConnectingPoint num="10" id="468" />
+<TGConnectingPoint num="11" id="469" />
+<TGConnectingPoint num="12" id="470" />
+<TGConnectingPoint num="13" id="471" />
+<TGConnectingPoint num="14" id="472" />
+<TGConnectingPoint num="15" id="473" />
+<TGConnectingPoint num="16" id="474" />
+<TGConnectingPoint num="17" id="475" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="495" >
+<father id="561" num="6" />
+<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="477" />
+<TGConnectingPoint num="1" id="478" />
+<TGConnectingPoint num="2" id="479" />
+<TGConnectingPoint num="3" id="480" />
+<TGConnectingPoint num="4" id="481" />
+<TGConnectingPoint num="5" id="482" />
+<TGConnectingPoint num="6" id="483" />
+<TGConnectingPoint num="7" id="484" />
+<TGConnectingPoint num="8" id="485" />
+<TGConnectingPoint num="9" id="486" />
+<TGConnectingPoint num="10" id="487" />
+<TGConnectingPoint num="11" id="488" />
+<TGConnectingPoint num="12" id="489" />
+<TGConnectingPoint num="13" id="490" />
+<TGConnectingPoint num="14" id="491" />
+<TGConnectingPoint num="15" id="492" />
+<TGConnectingPoint num="16" id="493" />
+<TGConnectingPoint num="17" id="494" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="514" >
+<father id="561" num="7" />
+<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="496" />
+<TGConnectingPoint num="1" id="497" />
+<TGConnectingPoint num="2" id="498" />
+<TGConnectingPoint num="3" id="499" />
+<TGConnectingPoint num="4" id="500" />
+<TGConnectingPoint num="5" id="501" />
+<TGConnectingPoint num="6" id="502" />
+<TGConnectingPoint num="7" id="503" />
+<TGConnectingPoint num="8" id="504" />
+<TGConnectingPoint num="9" id="505" />
+<TGConnectingPoint num="10" id="506" />
+<TGConnectingPoint num="11" id="507" />
+<TGConnectingPoint num="12" id="508" />
+<TGConnectingPoint num="13" id="509" />
+<TGConnectingPoint num="14" id="510" />
+<TGConnectingPoint num="15" id="511" />
+<TGConnectingPoint num="16" id="512" />
+<TGConnectingPoint num="17" id="513" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="533" >
+<father id="561" num="8" />
+<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="515" />
+<TGConnectingPoint num="1" id="516" />
+<TGConnectingPoint num="2" id="517" />
+<TGConnectingPoint num="3" id="518" />
+<TGConnectingPoint num="4" id="519" />
+<TGConnectingPoint num="5" id="520" />
+<TGConnectingPoint num="6" id="521" />
+<TGConnectingPoint num="7" id="522" />
+<TGConnectingPoint num="8" id="523" />
+<TGConnectingPoint num="9" id="524" />
+<TGConnectingPoint num="10" id="525" />
+<TGConnectingPoint num="11" id="526" />
+<TGConnectingPoint num="12" id="527" />
+<TGConnectingPoint num="13" id="528" />
+<TGConnectingPoint num="14" id="529" />
+<TGConnectingPoint num="15" id="530" />
+<TGConnectingPoint num="16" id="531" />
+<TGConnectingPoint num="17" id="532" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="552" >
+<father id="561" num="9" />
+<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="534" />
+<TGConnectingPoint num="1" id="535" />
+<TGConnectingPoint num="2" id="536" />
+<TGConnectingPoint num="3" id="537" />
+<TGConnectingPoint num="4" id="538" />
+<TGConnectingPoint num="5" id="539" />
+<TGConnectingPoint num="6" id="540" />
+<TGConnectingPoint num="7" id="541" />
+<TGConnectingPoint num="8" id="542" />
+<TGConnectingPoint num="9" id="543" />
+<TGConnectingPoint num="10" id="544" />
+<TGConnectingPoint num="11" id="545" />
+<TGConnectingPoint num="12" id="546" />
+<TGConnectingPoint num="13" id="547" />
+<TGConnectingPoint num="14" id="548" />
+<TGConnectingPoint num="15" id="549" />
+<TGConnectingPoint num="16" id="550" />
+<TGConnectingPoint num="17" id="551" />
+</SUBCOMPONENT>
 
 
 </TMLComponentTaskDiagramPanel>
@@ -1887,7 +1887,7 @@
 <SUBCOMPONENT type="-1" id="562" >
 <father id="569" num="0" />
 <cdparam x="528" y="386" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="[ ]" />
@@ -1895,7 +1895,7 @@
 <SUBCOMPONENT type="-1" id="563" >
 <father id="569" num="1" />
 <cdparam x="588" y="386" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="[ ]" />
@@ -1903,7 +1903,7 @@
 <SUBCOMPONENT type="-1" id="564" >
 <father id="569" num="2" />
 <cdparam x="573" y="421" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="[ ]" />
@@ -1923,7 +1923,7 @@
 <SUBCOMPONENT type="-1" id="570" >
 <father id="577" num="0" />
 <cdparam x="599" y="527" />
-<sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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 ]" />
@@ -1931,7 +1931,7 @@
 <SUBCOMPONENT type="-1" id="571" >
 <father id="577" num="1" />
 <cdparam x="679" y="527" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="[ ]" />
@@ -1939,7 +1939,7 @@
 <SUBCOMPONENT type="-1" id="572" >
 <father id="577" num="2" />
 <cdparam x="664" y="562" />
-<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="42" 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="[ x&gt;0 ]" />
@@ -1955,8 +1955,8 @@
 </COMPONENT>
 
 <COMPONENT type="1007" id="582" >
-<cdparam x="192" y="137" />
-<sizeparam width="72" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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()" />
@@ -1968,8 +1968,8 @@
 </COMPONENT>
 
 <COMPONENT type="1008" id="585" >
-<cdparam x="205" y="237" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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()" />
@@ -1981,8 +1981,8 @@
 </COMPONENT>
 
 <COMPONENT type="1010" id="588" >
-<cdparam x="172" y="288" />
-<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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() " />
@@ -1994,8 +1994,8 @@
 </COMPONENT>
 
 <COMPONENT type="1008" id="591" >
-<cdparam x="208" y="337" />
-<sizeparam width="40" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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()" />
@@ -2007,8 +2007,8 @@
 </COMPONENT>
 
 <COMPONENT type="1010" id="594" >
-<cdparam x="359" y="165" />
-<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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() " />
@@ -2022,7 +2022,7 @@
 
 <COMPONENT type="301" id="603" >
 <cdparam x="367" y="222" />
-<sizeparam width="105" height="35" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="114" height="35" 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
@@ -2041,8 +2041,8 @@
 </COMPONENT>
 
 <COMPONENT type="1006" id="606" >
-<cdparam x="433" y="448" />
-<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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)" />
@@ -2054,8 +2054,8 @@
 </COMPONENT>
 
 <COMPONENT type="1008" id="609" >
-<cdparam x="433" y="507" />
-<sizeparam width="86" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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()" />
@@ -2076,8 +2076,8 @@
 </COMPONENT>
 
 <COMPONENT type="1017" id="614" >
-<cdparam x="593" y="447" />
-<sizeparam width="133" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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()" />
@@ -2098,8 +2098,8 @@
 </COMPONENT>
 
 <COMPONENT type="1009" id="619" >
-<cdparam x="614" y="700" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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) " />
@@ -2111,8 +2111,8 @@
 </COMPONENT>
 
 <COMPONENT type="1010" id="622" >
-<cdparam x="604" y="619" />
-<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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() " />
@@ -2134,8 +2134,8 @@
 </COMPONENT>
 
 <COMPONENT type="1014" id="628" >
-<cdparam x="307" y="287" />
-<sizeparam width="254" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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)" />
@@ -2300,7 +2300,7 @@
 <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="561" y="301" id="626" />
+<P1  x="568" y="301" id="626" />
 <P2  x="568" y="366" id="565" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -2331,1437 +2331,928 @@
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1000" id="653" >
-<cdparam x="159" y="66" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="659" >
+<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="start state" value="null" />
-<TGConnectingPoint num="0" id="652" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="655" />
+<TGConnectingPoint num="1" id="656" />
+<TGConnectingPoint num="2" id="657" />
+<TGConnectingPoint num="3" id="658" />
 </COMPONENT>
-
-<COMPONENT type="1010" id="656" >
-<cdparam x="141" y="129" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="652" >
+<father id="659" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="51" height="15" minWidth="10" 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="654" />
-<TGConnectingPoint num="1" id="655" />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="659" >
-<cdparam x="113" y="182" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ x==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="653" >
+<father id="659" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="41" height="15" minWidth="10" 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="657" />
-<TGConnectingPoint num="1" id="658" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="662" >
-<cdparam x="144" y="237" />
-<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ x&gt;0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="654" >
+<father id="659" num="2" />
+<cdparam x="529" y="267" />
+<sizeparam width="12" height="15" minWidth="10" 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="660" />
-<TGConnectingPoint num="1" id="661" />
-<extraparam>
-<Data eventName="pTS" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1008" id="665" >
-<cdparam x="124" y="308" />
-<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="661" >
+<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="send event" value="pTSConfirm()" />
-<TGConnectingPoint num="0" id="663" />
-<TGConnectingPoint num="1" id="664" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
-</extraparam>
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="660" />
 </COMPONENT>
 
-<COMPONENT type="301" id="674" >
-<cdparam x="376" y="98" />
-<sizeparam width="233" height="65" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="663" >
+<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="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="666" />
-<TGConnectingPoint num="1" id="667" />
-<TGConnectingPoint num="2" id="668" />
-<TGConnectingPoint num="3" id="669" />
-<TGConnectingPoint num="4" id="670" />
-<TGConnectingPoint num="5" id="671" />
-<TGConnectingPoint num="6" id="672" />
-<TGConnectingPoint num="7" id="673" />
-<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>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="662" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="677" >
-<cdparam x="254" y="97" />
-<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="666" >
+<cdparam x="396" y="299" />
+<sizeparam width="63" 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="675" />
-<TGConnectingPoint num="1" id="676" />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="664" />
+<TGConnectingPoint num="1" id="665" />
 <extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
+<Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="680" >
-<cdparam x="241" y="148" />
-<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="669" >
+<cdparam x="599" y="300" />
+<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="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="678" />
-<TGConnectingPoint num="1" id="679" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="667" />
+<TGConnectingPoint num="1" id="668" />
 <extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
+<Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="682" >
-<cdparam x="515" y="428" />
+<COMPONENT type="1001" id="671" >
+<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="681" />
+<TGConnectingPoint num="0" id="670" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="685" >
-<cdparam x="309" y="350" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="674" >
+<cdparam x="489" y="150" />
+<sizeparam width="70" 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="683" />
-<TGConnectingPoint num="1" id="684" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="672" />
+<TGConnectingPoint num="1" id="673" />
 <extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
+<Data eventName="stop" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="687" >
-<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="686" />
-</COMPONENT>
+<CONNECTOR type="115" id="675" >
+<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="665" />
+<P2  x="427" y="362" id="662" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="676" >
+<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="668" />
+<P2  x="622" y="360" id="670" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="677" >
+<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="660" />
+<P2  x="524" y="145" id="672" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="678" >
+<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="673" />
+<P2  x="524" y="212" id="655" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="679" >
+<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="656" />
+<P2  x="427" y="294" id="664" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="680" >
+<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="657" />
+<P2  x="622" y="295" id="667" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 
-<COMPONENT type="1009" id="690" >
-<cdparam x="321" y="308" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
+<COMPONENT type="1012" id="688" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="688" />
-<TGConnectingPoint num="1" id="689" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="684" />
+<TGConnectingPoint num="1" id="685" />
+<TGConnectingPoint num="2" id="686" />
+<TGConnectingPoint num="3" id="687" />
 </COMPONENT>
-
-<COMPONENT type="1010" id="693" >
-<cdparam x="337" y="264" />
-<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="681" >
+<father id="688" num="0" />
+<cdparam x="2061" y="1388" />
+<sizeparam width="12" height="15" minWidth="10" 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="691" />
-<TGConnectingPoint num="1" id="692" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="696" >
-<cdparam x="319" y="392" />
-<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="682" >
+<father id="688" num="1" />
+<cdparam x="2121" y="1388" />
+<sizeparam width="39" height="15" minWidth="10" 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="694" />
-<TGConnectingPoint num="1" id="695" />
-<extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="683" >
+<father id="688" num="2" />
+<cdparam x="2106" y="1426" />
+<sizeparam width="124" 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="1008" id="699" >
-<cdparam x="496" y="350" />
-<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="696" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="697" />
-<TGConnectingPoint num="1" id="698" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="692" />
+<TGConnectingPoint num="1" id="693" />
+<TGConnectingPoint num="2" id="694" />
+<TGConnectingPoint num="3" id="695" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="689" >
+<father id="696" num="0" />
+<cdparam x="2212" y="961" />
+<sizeparam width="116" 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="690" >
+<father id="696" num="1" />
+<cdparam x="2297" y="961" />
+<sizeparam width="116" 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="691" >
+<father id="696" num="2" />
+<cdparam x="2282" y="996" />
+<sizeparam width="39" 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="1009" id="702" >
-<cdparam x="476" y="311" />
-<sizeparam width="99" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="704" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC0(1) " />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
 <TGConnectingPoint num="0" id="700" />
 <TGConnectingPoint num="1" id="701" />
-<extraparam>
-<Data channelName="fromDtoSC0" nbOfSamples="1" />
-</extraparam>
+<TGConnectingPoint num="2" id="702" />
+<TGConnectingPoint num="3" id="703" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="697" >
+<father id="704" num="0" />
+<cdparam x="1934" y="1356" />
+<sizeparam width="116" 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="698" >
+<father id="704" num="1" />
+<cdparam x="2016" y="1356" />
+<sizeparam width="39" 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="699" >
+<father id="704" num="2" />
+<cdparam x="2001" y="1391" />
+<sizeparam width="120" 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="1006" id="705" >
-<cdparam x="486" y="387" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="712" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="703" />
-<TGConnectingPoint num="1" id="704" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="708" />
+<TGConnectingPoint num="1" id="709" />
+<TGConnectingPoint num="2" id="710" />
+<TGConnectingPoint num="3" id="711" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="705" >
+<father id="712" num="0" />
+<cdparam x="1762" y="1279" />
+<sizeparam width="116" 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="706" >
+<father id="712" num="1" />
+<cdparam x="1846" y="1279" />
+<sizeparam width="39" 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="707" >
+<father id="712" num="2" />
+<cdparam x="1831" y="1314" />
+<sizeparam width="116" 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="1010" id="708" >
-<cdparam x="480" y="268" />
-<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="720" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready() " />
-<TGConnectingPoint num="0" id="706" />
-<TGConnectingPoint num="1" id="707" />
-<breakpoint />
-<extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="716" />
+<TGConnectingPoint num="1" id="717" />
+<TGConnectingPoint num="2" id="718" />
+<TGConnectingPoint num="3" id="719" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="713" >
+<father id="720" num="0" />
+<cdparam x="1691" y="1151" />
+<sizeparam width="12" 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="714" >
+<father id="720" num="1" />
+<cdparam x="1751" y="1151" />
+<sizeparam width="12" 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="715" >
+<father id="720" num="2" />
+<cdparam x="1736" y="1186" />
+<sizeparam width="12" 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="1014" id="712" >
-<cdparam x="236" y="202" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="724" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
-<TGConnectingPoint num="0" id="709" />
-<TGConnectingPoint num="1" id="710" />
-<TGConnectingPoint num="2" id="711" />
-<extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="722" />
+<TGConnectingPoint num="1" id="723" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="721" >
+<father id="724" 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="1001" id="714" >
-<cdparam x="297" y="231" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="728" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="713" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="726" />
+<TGConnectingPoint num="1" id="727" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="725" >
+<father id="728" 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="1018" id="725" >
-<cdparam x="424" y="226" />
+<COMPONENT type="1012" id="736" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="715" />
-<TGConnectingPoint num="1" id="716" />
-<TGConnectingPoint num="2" id="717" />
-<TGConnectingPoint num="3" id="718" />
-<TGConnectingPoint num="4" id="719" />
-<TGConnectingPoint num="5" id="720" />
-<TGConnectingPoint num="6" id="721" />
-<TGConnectingPoint num="7" id="722" />
-<TGConnectingPoint num="8" id="723" />
-<TGConnectingPoint num="9" id="724" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="730" >
-<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="664" />
-<P2  x="298" y="92" id="675" />
-<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="726" >
-<father id="730" num="0" />
-<cdparam x="166" y="351" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="732" />
+<TGConnectingPoint num="1" id="733" />
+<TGConnectingPoint num="2" id="734" />
+<TGConnectingPoint num="3" id="735" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="729" >
+<father id="736" num="0" />
+<cdparam x="1542" y="1016" />
+<sizeparam width="124" height="15" minWidth="10" 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" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="727" >
-<father id="730" num="1" />
-<cdparam x="231" y="351" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="730" >
+<father id="736" num="1" />
+<cdparam x="1627" y="1016" />
+<sizeparam width="39" height="15" minWidth="10" 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" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="728" >
-<father id="730" num="2" />
-<cdparam x="231" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="731" >
+<father id="736" num="2" />
+<cdparam x="1612" y="1051" />
+<sizeparam width="12" height="15" minWidth="10" 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" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="729" >
-<father id="730" num="3" />
-<cdparam x="298" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1012" id="744" >
+<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="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="740" />
+<TGConnectingPoint num="1" id="741" />
+<TGConnectingPoint num="2" id="742" />
+<TGConnectingPoint num="3" id="743" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="737" >
+<father id="744" num="0" />
+<cdparam x="1688" y="885" />
+<sizeparam width="12" 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="738" >
+<father id="744" num="1" />
+<cdparam x="1748" y="885" />
+<sizeparam width="12" 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="739" >
+<father id="744" num="2" />
+<cdparam x="1733" y="920" />
+<sizeparam width="12" 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>
 
-<CONNECTOR type="115" id="731" >
-<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="652" />
-<P2  x="166" y="124" id="654" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="732" >
-<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="655" />
-<P2  x="166" y="177" id="657" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="733" >
-<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="676" />
-<P2  x="298" y="143" id="678" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="734" >
-<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="692" />
-<P2  x="362" y="303" id="688" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="735" >
-<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="689" />
-<P2  x="362" y="345" id="683" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="736" >
-<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="684" />
-<P2  x="362" y="387" id="694" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="737" >
-<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="695" />
-<P2  x="362" y="421" id="686" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="738" >
-<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="701" />
-<P2  x="525" y="345" id="697" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="739" >
-<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="698" />
-<P2  x="525" y="382" id="703" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="740" >
-<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="707" />
-<P2  x="525" y="306" id="700" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="741" >
-<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="704" />
-<P2  x="525" y="423" id="681" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="742" >
-<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="679" />
-<P2  x="298" y="197" id="709" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="743" >
-<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="711" />
-<P2  x="307" y="226" id="713" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="744" >
-<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="716" />
-<P2  x="362" y="259" id="691" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="745" >
-<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="717" />
-<P2  x="525" y="263" id="706" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="746" >
-<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="361" y="216" id="710" />
-<P2  x="439" y="216" id="715" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="747" >
-<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="661" />
-<P2  x="166" y="303" id="663" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="748" >
-<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="658" />
-<P2  x="166" y="232" id="660" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
+<COMPONENT type="1013" id="748" >
+<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="746" />
+<TGConnectingPoint num="1" id="747" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="745" >
+<father id="748" 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>
 
-</TMLActivityDiagramPanel>
+<COMPONENT type="1013" id="752" >
+<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="750" />
+<TGConnectingPoint num="1" id="751" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="749" >
+<father id="752" 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>
 
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="756" >
-<cdparam x="491" y="277" />
+<COMPONENT type="1013" id="756" >
+<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="754" />
+<TGConnectingPoint num="1" id="755" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="753" >
+<father id="756" 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="1012" id="764" >
+<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="1400" minY="10" maxY="900" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="752" />
-<TGConnectingPoint num="1" id="753" />
-<TGConnectingPoint num="2" id="754" />
-<TGConnectingPoint num="3" id="755" />
+<TGConnectingPoint num="0" id="760" />
+<TGConnectingPoint num="1" id="761" />
+<TGConnectingPoint num="2" id="762" />
+<TGConnectingPoint num="3" id="763" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="749" >
-<father id="756" num="0" />
-<cdparam x="466" y="287" />
+<SUBCOMPONENT type="-1" id="757" >
+<father id="764" num="0" />
+<cdparam x="1168" y="1030" />
 <sizeparam width="12" 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="750" >
-<father id="756" num="1" />
-<cdparam x="526" y="287" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="758" >
+<father id="764" num="1" />
+<cdparam x="1228" y="1030" />
+<sizeparam width="39" 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="[ ]" />
+<infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="751" >
-<father id="756" num="2" />
-<cdparam x="511" y="322" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="759" >
+<father id="764" num="2" />
+<cdparam x="1213" y="1065" />
+<sizeparam width="116" 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 ==6 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="758" >
-<cdparam x="501" y="91" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="768" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="757" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="766" />
+<TGConnectingPoint num="1" id="767" />
 </COMPONENT>
-
-<COMPONENT type="1008" id="761" >
-<cdparam x="485" y="129" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="765" >
+<father id="768" 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="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="open()" />
-<TGConnectingPoint num="0" id="759" />
-<TGConnectingPoint num="1" id="760" />
-<extraparam>
-<Data eventName="open" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1006" id="764" >
-<cdparam x="468" y="178" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="776" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="762" />
-<TGConnectingPoint num="1" id="763" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="772" />
+<TGConnectingPoint num="1" id="773" />
+<TGConnectingPoint num="2" id="774" />
+<TGConnectingPoint num="3" id="775" />
 </COMPONENT>
-
-<COMPONENT type="1008" id="767" >
-<cdparam x="470" y="226" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="769" >
+<father id="776" num="0" />
+<cdparam x="514" y="722" />
+<sizeparam width="120" height="15" minWidth="10" 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="765" />
-<TGConnectingPoint num="1" id="766" />
-<extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="769" >
-<cdparam x="576" y="388" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="770" >
+<father id="776" num="1" />
+<cdparam x="592" y="722" />
+<sizeparam width="39" height="15" minWidth="10" 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="768" />
-</COMPONENT>
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="771" >
+<father id="776" num="2" />
+<cdparam x="577" y="757" />
+<sizeparam width="12" 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="1008" id="772" >
-<cdparam x="562" y="329" />
-<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="780" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="770" />
-<TGConnectingPoint num="1" id="771" />
-<extraparam>
-<Data eventName="abort" nbOfParams="5" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="778" />
+<TGConnectingPoint num="1" id="779" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="777" >
+<father id="780" 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="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1008" id="775" >
-<cdparam x="409" y="337" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="784" >
+<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="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="close()" />
-<TGConnectingPoint num="0" id="773" />
-<TGConnectingPoint num="1" id="774" />
-<extraparam>
-<Data eventName="close" nbOfParams="5" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="782" />
+<TGConnectingPoint num="1" id="783" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="781" >
+<father id="784" 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="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="777" >
-<cdparam x="422" y="386" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="792" >
+<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="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="776" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="788" />
+<TGConnectingPoint num="1" id="789" />
+<TGConnectingPoint num="2" id="790" />
+<TGConnectingPoint num="3" id="791" />
 </COMPONENT>
-
-<CONNECTOR type="115" id="778" >
-<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="757" />
-<P2  x="508" y="124" id="759" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="779" >
-<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="760" />
-<P2  x="508" y="173" id="762" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="780" >
-<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="763" />
-<P2  x="507" y="221" id="765" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="781" >
-<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="771" />
-<P2  x="586" y="383" id="768" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="782" >
-<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="766" />
-<P2  x="506" y="267" id="752" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="783" >
-<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="753" />
-<P2  x="432" y="332" id="773" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="784" >
-<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="774" />
-<P2  x="432" y="381" id="776" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="785" >
-<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="754" />
-<P2  x="586" y="324" id="770" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1012" id="793" >
-<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="789" />
-<TGConnectingPoint num="1" id="790" />
-<TGConnectingPoint num="2" id="791" />
-<TGConnectingPoint num="3" id="792" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="786" >
-<father id="793" num="0" />
-<cdparam x="2061" y="1388" />
-<sizeparam width="12" 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="989" y="949" />
+<sizeparam width="116" 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="[ ]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="787" >
-<father id="793" num="1" />
-<cdparam x="2121" y="1388" />
+<SUBCOMPONENT type="-1" id="786" >
+<father id="792" num="1" />
+<cdparam x="1070" y="949" />
 <sizeparam width="39" 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="788" >
-<father id="793" num="2" />
-<cdparam x="2106" y="1426" />
-<sizeparam width="124" 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="801" >
-<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="choice" value="null" />
-<TGConnectingPoint num="0" id="797" />
-<TGConnectingPoint num="1" id="798" />
-<TGConnectingPoint num="2" id="799" />
-<TGConnectingPoint num="3" id="800" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="794" >
-<father id="801" num="0" />
-<cdparam x="2212" y="961" />
-<sizeparam width="116" 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="795" >
-<father id="801" num="1" />
-<cdparam x="2297" y="961" />
+<SUBCOMPONENT type="-1" id="787" >
+<father id="792" num="2" />
+<cdparam x="1054" y="984" />
 <sizeparam width="116" 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="796" >
-<father id="801" num="2" />
-<cdparam x="2282" y="996" />
-<sizeparam width="39" 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 ]" />
+<infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="809" >
-<cdparam x="1981" y="1346" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="796" >
+<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="choice" value="null" />
-<TGConnectingPoint num="0" id="805" />
-<TGConnectingPoint num="1" id="806" />
-<TGConnectingPoint num="2" id="807" />
-<TGConnectingPoint num="3" id="808" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="794" />
+<TGConnectingPoint num="1" id="795" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="802" >
-<father id="809" num="0" />
-<cdparam x="1934" y="1356" />
-<sizeparam width="116" 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="803" >
-<father id="809" num="1" />
-<cdparam x="2016" y="1356" />
-<sizeparam width="39" 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="804" >
-<father id="809" num="2" />
-<cdparam x="2001" y="1391" />
-<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="793" >
+<father id="796" 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="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="817" >
-<cdparam x="1811" y="1269" />
+<COMPONENT type="1012" id="804" >
+<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="813" />
-<TGConnectingPoint num="1" id="814" />
-<TGConnectingPoint num="2" id="815" />
-<TGConnectingPoint num="3" id="816" />
+<TGConnectingPoint num="0" id="800" />
+<TGConnectingPoint num="1" id="801" />
+<TGConnectingPoint num="2" id="802" />
+<TGConnectingPoint num="3" id="803" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="810" >
-<father id="817" num="0" />
-<cdparam x="1762" y="1279" />
+<SUBCOMPONENT type="-1" id="797" >
+<father id="804" num="0" />
+<cdparam x="753" y="885" />
 <sizeparam width="116" 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 ==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="811" >
-<father id="817" num="1" />
-<cdparam x="1846" y="1279" />
+<SUBCOMPONENT type="-1" id="798" >
+<father id="804" num="1" />
+<cdparam x="863" y="879" />
 <sizeparam width="39" 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="812" >
-<father id="817" num="2" />
-<cdparam x="1831" y="1314" />
-<sizeparam width="116" 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="825" >
-<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="821" />
-<TGConnectingPoint num="1" id="822" />
-<TGConnectingPoint num="2" id="823" />
-<TGConnectingPoint num="3" id="824" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="818" >
-<father id="825" num="0" />
-<cdparam x="1691" y="1151" />
-<sizeparam width="12" 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="819" >
-<father id="825" num="1" />
-<cdparam x="1751" y="1151" />
-<sizeparam width="12" 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="820" >
-<father id="825" num="2" />
-<cdparam x="1736" y="1186" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="799" >
+<father id="804" num="2" />
+<cdparam x="848" y="914" />
+<sizeparam width="112" 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==0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="829" >
-<cdparam x="1524" y="1254" />
+<COMPONENT type="1013" id="808" >
+<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="execI" value="null" />
-<TGConnectingPoint num="0" id="827" />
-<TGConnectingPoint num="1" id="828" />
+<TGConnectingPoint num="0" id="806" />
+<TGConnectingPoint num="1" id="807" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="826" >
-<father id="829" num="0" />
-<cdparam x="1539" y="1274" />
+<SUBCOMPONENT type="-1" id="805" >
+<father id="808" 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="1013" id="833" >
-<cdparam x="1524" y="1064" />
+<COMPONENT type="1013" id="812" >
+<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="execI" value="null" />
-<TGConnectingPoint num="0" id="831" />
-<TGConnectingPoint num="1" id="832" />
+<TGConnectingPoint num="0" id="810" />
+<TGConnectingPoint num="1" id="811" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="830" >
-<father id="833" num="0" />
-<cdparam x="1538" y="1088" />
+<SUBCOMPONENT type="-1" id="809" >
+<father id="812" 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="1012" id="841" >
-<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="837" />
-<TGConnectingPoint num="1" id="838" />
-<TGConnectingPoint num="2" id="839" />
-<TGConnectingPoint num="3" id="840" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="834" >
-<father id="841" num="0" />
-<cdparam x="1542" y="1016" />
-<sizeparam width="124" 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="835" >
-<father id="841" num="1" />
-<cdparam x="1627" y="1016" />
-<sizeparam width="39" 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="836" >
-<father id="841" num="2" />
-<cdparam x="1612" y="1051" />
-<sizeparam width="12" 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="849" >
-<cdparam x="1713" y="875" />
+<COMPONENT type="1012" id="820" >
+<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="choice" value="null" />
-<TGConnectingPoint num="0" id="845" />
-<TGConnectingPoint num="1" id="846" />
-<TGConnectingPoint num="2" id="847" />
-<TGConnectingPoint num="3" id="848" />
+<TGConnectingPoint num="0" id="816" />
+<TGConnectingPoint num="1" id="817" />
+<TGConnectingPoint num="2" id="818" />
+<TGConnectingPoint num="3" id="819" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="842" >
-<father id="849" num="0" />
-<cdparam x="1688" y="885" />
+<SUBCOMPONENT type="-1" id="813" >
+<father id="820" num="0" />
+<cdparam x="949" y="793" />
 <sizeparam width="12" 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="843" >
-<father id="849" num="1" />
-<cdparam x="1748" y="885" />
+<SUBCOMPONENT type="-1" id="814" >
+<father id="820" num="1" />
+<cdparam x="1028" y="790" />
 <sizeparam width="12" 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="844" >
-<father id="849" num="2" />
-<cdparam x="1733" y="920" />
+<SUBCOMPONENT type="-1" id="815" >
+<father id="820" num="2" />
+<cdparam x="1013" y="825" />
 <sizeparam width="12" 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="853" >
-<cdparam x="1636" y="1235" />
+<COMPONENT type="1013" id="824" >
+<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="execI" value="null" />
-<TGConnectingPoint num="0" id="851" />
-<TGConnectingPoint num="1" id="852" />
+<TGConnectingPoint num="0" id="822" />
+<TGConnectingPoint num="1" id="823" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="850" >
-<father id="853" num="0" />
-<cdparam x="1655" y="1254" />
+<SUBCOMPONENT type="-1" id="821" >
+<father id="824" 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="857" >
-<cdparam x="2213" y="1059" />
+<COMPONENT type="1013" id="828" >
+<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="855" />
-<TGConnectingPoint num="1" id="856" />
+<TGConnectingPoint num="0" id="826" />
+<TGConnectingPoint num="1" id="827" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="854" >
-<father id="857" num="0" />
-<cdparam x="2200" y="1083" />
+<SUBCOMPONENT type="-1" id="825" >
+<father id="828" 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="861" >
-<cdparam x="2336" y="1024" />
+<COMPONENT type="1013" id="832" >
+<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="859" />
-<TGConnectingPoint num="1" id="860" />
+<TGConnectingPoint num="0" id="830" />
+<TGConnectingPoint num="1" id="831" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="858" >
-<father id="861" num="0" />
-<cdparam x="2312" y="1044" />
+<SUBCOMPONENT type="-1" id="829" >
+<father id="832" 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="1012" id="869" >
-<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="865" />
-<TGConnectingPoint num="1" id="866" />
-<TGConnectingPoint num="2" id="867" />
-<TGConnectingPoint num="3" id="868" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="862" >
-<father id="869" num="0" />
-<cdparam x="1168" y="1030" />
-<sizeparam width="12" 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="863" >
-<father id="869" num="1" />
-<cdparam x="1228" y="1030" />
-<sizeparam width="39" 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="864" >
-<father id="869" num="2" />
-<cdparam x="1213" y="1065" />
-<sizeparam width="116" 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="873" >
-<cdparam x="1203" y="1107" />
+<COMPONENT type="1013" id="836" >
+<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="871" />
-<TGConnectingPoint num="1" id="872" />
+<TGConnectingPoint num="0" id="834" />
+<TGConnectingPoint num="1" id="835" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="870" >
-<father id="873" num="0" />
-<cdparam x="1218" y="1127" />
+<SUBCOMPONENT type="-1" id="833" >
+<father id="836" 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="881" >
-<cdparam x="557" y="712" />
+<COMPONENT type="1012" id="844" >
+<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="877" />
-<TGConnectingPoint num="1" id="878" />
-<TGConnectingPoint num="2" id="879" />
-<TGConnectingPoint num="3" id="880" />
+<TGConnectingPoint num="0" id="840" />
+<TGConnectingPoint num="1" id="841" />
+<TGConnectingPoint num="2" id="842" />
+<TGConnectingPoint num="3" id="843" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="874" >
-<father id="881" num="0" />
-<cdparam x="514" y="722" />
-<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="837" >
+<father id="844" num="0" />
+<cdparam x="98" y="496" />
+<sizeparam width="112" 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="875" >
-<father id="881" num="1" />
-<cdparam x="592" y="722" />
+<SUBCOMPONENT type="-1" id="838" >
+<father id="844" num="1" />
+<cdparam x="208" y="496" />
 <sizeparam width="39" 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="876" >
-<father id="881" num="2" />
-<cdparam x="577" y="757" />
+<SUBCOMPONENT type="-1" id="839" >
+<father id="844" num="2" />
+<cdparam x="193" y="531" />
 <sizeparam width="12" 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="885" >
-<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="852" >
+<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="execI" value="null" />
-<TGConnectingPoint num="0" id="883" />
-<TGConnectingPoint num="1" id="884" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="848" />
+<TGConnectingPoint num="1" id="849" />
+<TGConnectingPoint num="2" id="850" />
+<TGConnectingPoint num="3" id="851" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="882" >
-<father id="885" 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="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1013" id="889" >
-<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="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="887" />
-<TGConnectingPoint num="1" id="888" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="886" >
-<father id="889" 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="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1012" id="897" >
-<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="893" />
-<TGConnectingPoint num="1" id="894" />
-<TGConnectingPoint num="2" id="895" />
-<TGConnectingPoint num="3" id="896" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="890" >
-<father id="897" num="0" />
-<cdparam x="989" y="949" />
-<sizeparam width="116" 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="891" >
-<father id="897" num="1" />
-<cdparam x="1070" y="949" />
-<sizeparam width="39" 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="892" >
-<father id="897" num="2" />
-<cdparam x="1054" y="984" />
-<sizeparam width="116" 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]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1013" id="901" >
-<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="899" />
-<TGConnectingPoint num="1" id="900" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="898" >
-<father id="901" 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="909" >
-<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="905" />
-<TGConnectingPoint num="1" id="906" />
-<TGConnectingPoint num="2" id="907" />
-<TGConnectingPoint num="3" id="908" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="902" >
-<father id="909" num="0" />
-<cdparam x="753" y="885" />
-<sizeparam width="116" 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="903" >
-<father id="909" num="1" />
-<cdparam x="863" y="879" />
-<sizeparam width="39" 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="904" >
-<father id="909" num="2" />
-<cdparam x="848" y="914" />
-<sizeparam width="112" 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 ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1013" id="913" >
-<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="execI" value="null" />
-<TGConnectingPoint num="0" id="911" />
-<TGConnectingPoint num="1" id="912" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="910" >
-<father id="913" 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="1013" id="917" >
-<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="execI" value="null" />
-<TGConnectingPoint num="0" id="915" />
-<TGConnectingPoint num="1" id="916" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="914" >
-<father id="917" 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="1012" id="925" >
-<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="choice" value="null" />
-<TGConnectingPoint num="0" id="921" />
-<TGConnectingPoint num="1" id="922" />
-<TGConnectingPoint num="2" id="923" />
-<TGConnectingPoint num="3" id="924" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="918" >
-<father id="925" num="0" />
-<cdparam x="949" y="793" />
-<sizeparam width="12" 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="919" >
-<father id="925" num="1" />
-<cdparam x="1028" y="790" />
-<sizeparam width="12" 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="920" >
-<father id="925" num="2" />
-<cdparam x="1013" y="825" />
-<sizeparam width="12" 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="929" >
-<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="execI" value="null" />
-<TGConnectingPoint num="0" id="927" />
-<TGConnectingPoint num="1" id="928" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="926" >
-<father id="929" 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="933" >
-<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="931" />
-<TGConnectingPoint num="1" id="932" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="930" >
-<father id="933" 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="937" >
-<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="935" />
-<TGConnectingPoint num="1" id="936" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="934" >
-<father id="937" 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="941" >
-<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="939" />
-<TGConnectingPoint num="1" id="940" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="938" >
-<father id="941" 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="949" >
-<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="945" />
-<TGConnectingPoint num="1" id="946" />
-<TGConnectingPoint num="2" id="947" />
-<TGConnectingPoint num="3" id="948" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="942" >
-<father id="949" num="0" />
-<cdparam x="98" y="496" />
-<sizeparam width="112" 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="943" >
-<father id="949" num="1" />
-<cdparam x="208" y="496" />
-<sizeparam width="39" 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="944" >
-<father id="949" num="2" />
-<cdparam x="193" y="531" />
-<sizeparam width="12" 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="957" >
-<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="953" />
-<TGConnectingPoint num="1" id="954" />
-<TGConnectingPoint num="2" id="955" />
-<TGConnectingPoint num="3" id="956" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="950" >
-<father id="957" num="0" />
+<SUBCOMPONENT type="-1" id="845" >
+<father id="852" num="0" />
 <cdparam x="317" y="202" />
 <sizeparam width="81" 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="951" >
-<father id="957" num="1" />
+<SUBCOMPONENT type="-1" id="846" >
+<father id="852" num="1" />
 <cdparam x="394" y="202" />
 <sizeparam width="91" 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="952" >
-<father id="957" num="2" />
+<SUBCOMPONENT type="-1" id="847" >
+<father id="852" num="2" />
 <cdparam x="379" y="237" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3769,35 +3260,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="965" >
+<COMPONENT type="1012" id="860" >
 <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="961" />
-<TGConnectingPoint num="1" id="962" />
-<TGConnectingPoint num="2" id="963" />
-<TGConnectingPoint num="3" id="964" />
+<TGConnectingPoint num="0" id="856" />
+<TGConnectingPoint num="1" id="857" />
+<TGConnectingPoint num="2" id="858" />
+<TGConnectingPoint num="3" id="859" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="958" >
-<father id="965" num="0" />
+<SUBCOMPONENT type="-1" id="853" >
+<father id="860" num="0" />
 <cdparam x="398" y="592" />
 <sizeparam width="116" 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="959" >
-<father id="965" num="1" />
+<SUBCOMPONENT type="-1" id="854" >
+<father id="860" num="1" />
 <cdparam x="500" y="599" />
 <sizeparam width="39" 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="960" >
-<father id="965" num="2" />
+<SUBCOMPONENT type="-1" id="855" >
+<father id="860" num="2" />
 <cdparam x="469" y="627" />
 <sizeparam width="252" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3805,35 +3296,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="973" >
+<COMPONENT type="1012" id="868" >
 <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="969" />
-<TGConnectingPoint num="1" id="970" />
-<TGConnectingPoint num="2" id="971" />
-<TGConnectingPoint num="3" id="972" />
+<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="966" >
-<father id="973" num="0" />
+<SUBCOMPONENT type="-1" id="861" >
+<father id="868" num="0" />
 <cdparam x="228" y="574" />
 <sizeparam width="116" 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="967" >
-<father id="973" num="1" />
+<SUBCOMPONENT type="-1" id="862" >
+<father id="868" num="1" />
 <cdparam x="317" y="584" />
 <sizeparam width="39" 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="968" >
-<father id="973" num="2" />
+<SUBCOMPONENT type="-1" id="863" >
+<father id="868" num="2" />
 <cdparam x="294" y="613" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3841,16 +3332,16 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="975" >
+<COMPONENT type="1000" id="870" >
 <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="974" />
+<TGConnectingPoint num="0" id="869" />
 </COMPONENT>
 
-<COMPONENT type="301" id="984" >
+<COMPONENT type="301" id="879" >
 <cdparam x="59" y="131" />
 <sizeparam width="92" height="185" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3867,14 +3358,14 @@ the smart card and the terminal
 9: close wait
 10:last ack
 " />
-<TGConnectingPoint num="0" id="976" />
-<TGConnectingPoint num="1" id="977" />
-<TGConnectingPoint num="2" id="978" />
-<TGConnectingPoint num="3" id="979" />
-<TGConnectingPoint num="4" id="980" />
-<TGConnectingPoint num="5" id="981" />
-<TGConnectingPoint num="6" id="982" />
-<TGConnectingPoint num="7" id="983" />
+<TGConnectingPoint num="0" id="871" />
+<TGConnectingPoint num="1" id="872" />
+<TGConnectingPoint num="2" id="873" />
+<TGConnectingPoint num="3" id="874" />
+<TGConnectingPoint num="4" id="875" />
+<TGConnectingPoint num="5" id="876" />
+<TGConnectingPoint num="6" id="877" />
+<TGConnectingPoint num="7" id="878" />
 <extraparam>
 <Line value="0: closed" />
 <Line value="1: Listen" />
@@ -3890,223 +3381,223 @@ the smart card and the terminal
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="987" >
+<COMPONENT type="1011" id="882" >
 <cdparam x="76" y="549" />
 <sizeparam width="100" 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="985" />
-<TGConnectingPoint num="1" id="986" />
+<TGConnectingPoint num="0" id="880" />
+<TGConnectingPoint num="1" id="881" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="989" >
+<COMPONENT type="1001" id="884" >
 <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="988" />
+<TGConnectingPoint num="0" id="883" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="992" >
+<COMPONENT type="1009" id="887" >
 <cdparam x="967" y="585" />
 <sizeparam width="83" 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="990" />
-<TGConnectingPoint num="1" id="991" />
+<TGConnectingPoint num="0" id="885" />
+<TGConnectingPoint num="1" id="886" />
 <extraparam>
 <Data channelName="fromPtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="996" >
+<COMPONENT type="1014" id="891" >
 <cdparam x="149" y="79" />
 <sizeparam width="170" 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="993" />
-<TGConnectingPoint num="1" id="994" />
-<TGConnectingPoint num="2" id="995" />
+<TGConnectingPoint num="0" id="888" />
+<TGConnectingPoint num="1" id="889" />
+<TGConnectingPoint num="2" id="890" />
 <extraparam>
 <Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="998" >
+<COMPONENT type="1001" id="893" >
 <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="997" />
+<TGConnectingPoint num="0" id="892" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1001" >
+<COMPONENT type="1011" id="896" >
 <cdparam x="186" y="144" />
 <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="action state" value="tcpctrl.state=0" />
-<TGConnectingPoint num="0" id="999" />
-<TGConnectingPoint num="1" id="1000" />
+<TGConnectingPoint num="0" id="894" />
+<TGConnectingPoint num="1" id="895" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="1004" >
+<COMPONENT type="1017" id="899" >
 <cdparam x="316" y="133" />
 <sizeparam width="116" 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="1002" />
-<TGConnectingPoint num="1" id="1003" />
+<TGConnectingPoint num="0" id="897" />
+<TGConnectingPoint num="1" id="898" />
 <extraparam>
 <Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1007" >
+<COMPONENT type="1009" id="902" >
 <cdparam x="692" y="589" />
 <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="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="1005" />
-<TGConnectingPoint num="1" id="1006" />
+<TGConnectingPoint num="0" id="900" />
+<TGConnectingPoint num="1" id="901" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1010" >
+<COMPONENT type="1010" id="905" >
 <cdparam x="689" y="534" />
 <sizeparam width="67" 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="1008" />
-<TGConnectingPoint num="1" id="1009" />
+<TGConnectingPoint num="0" id="903" />
+<TGConnectingPoint num="1" id="904" />
 <extraparam>
 <Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1013" >
+<COMPONENT type="1010" id="908" >
 <cdparam x="977" y="528" />
 <sizeparam width="63" 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="1011" />
-<TGConnectingPoint num="1" id="1012" />
+<TGConnectingPoint num="0" id="906" />
+<TGConnectingPoint num="1" id="907" />
 <extraparam>
 <Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1016" >
+<COMPONENT type="1010" id="911" >
 <cdparam x="439" y="492" />
 <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="wait event" value="close() " />
-<TGConnectingPoint num="0" id="1014" />
-<TGConnectingPoint num="1" id="1015" />
+<TGConnectingPoint num="0" id="909" />
+<TGConnectingPoint num="1" id="910" />
 <extraparam>
 <Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1019" >
+<COMPONENT type="1010" id="914" >
 <cdparam x="250" y="468" />
 <sizeparam width="79" 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="1017" />
-<TGConnectingPoint num="1" id="1018" />
+<TGConnectingPoint num="0" id="912" />
+<TGConnectingPoint num="1" id="913" />
 <extraparam>
 <Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1022" >
+<COMPONENT type="1010" id="917" >
 <cdparam x="163" y="419" />
 <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="wait event" value="open() " />
-<TGConnectingPoint num="0" id="1020" />
-<TGConnectingPoint num="1" id="1021" />
+<TGConnectingPoint num="0" id="915" />
+<TGConnectingPoint num="1" id="916" />
 <breakpoint />
 <extraparam>
 <Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1018" id="1033" >
+<COMPONENT type="1018" id="928" >
 <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="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="0" id="918" />
+<TGConnectingPoint num="1" id="919" />
+<TGConnectingPoint num="2" id="920" />
+<TGConnectingPoint num="3" id="921" />
+<TGConnectingPoint num="4" id="922" />
+<TGConnectingPoint num="5" id="923" />
+<TGConnectingPoint num="6" id="924" />
+<TGConnectingPoint num="7" id="925" />
+<TGConnectingPoint num="8" id="926" />
+<TGConnectingPoint num="9" id="927" />
 <breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1035" >
+<COMPONENT type="1001" id="930" >
 <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="1034" />
+<TGConnectingPoint num="0" id="929" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1037" >
+<COMPONENT type="1001" id="932" >
 <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="1036" />
+<TGConnectingPoint num="0" id="931" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="1040" >
+<COMPONENT type="1010" id="935" >
 <cdparam x="275" y="228" />
 <sizeparam width="53" 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="1038" />
-<TGConnectingPoint num="1" id="1039" />
+<TGConnectingPoint num="0" id="933" />
+<TGConnectingPoint num="1" id="934" />
 <extraparam>
 <Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1042" >
+<COMPONENT type="1001" id="937" >
 <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="1041" />
+<TGConnectingPoint num="0" id="936" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1051" >
+<COMPONENT type="301" id="946" >
 <cdparam x="602" y="86" />
 <sizeparam width="360" height="80" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4116,14 +3607,14 @@ ou depaquitiser un paquet TCP
 
 On prend b=1 comme exemple
 " />
-<TGConnectingPoint num="0" id="1043" />
-<TGConnectingPoint num="1" id="1044" />
-<TGConnectingPoint num="2" id="1045" />
-<TGConnectingPoint num="3" id="1046" />
-<TGConnectingPoint num="4" id="1047" />
-<TGConnectingPoint num="5" id="1048" />
-<TGConnectingPoint num="6" id="1049" />
-<TGConnectingPoint num="7" id="1050" />
+<TGConnectingPoint num="0" id="938" />
+<TGConnectingPoint num="1" id="939" />
+<TGConnectingPoint num="2" id="940" />
+<TGConnectingPoint num="3" id="941" />
+<TGConnectingPoint num="4" id="942" />
+<TGConnectingPoint num="5" id="943" />
+<TGConnectingPoint num="6" id="944" />
+<TGConnectingPoint num="7" id="945" />
 <extraparam>
 <Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
 <Line value="ou depaquitiser un paquet TCP" />
@@ -4132,2530 +3623,3040 @@ On prend b=1 comme exemple
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1054" >
+<COMPONENT type="1009" id="949" >
 <cdparam x="188" y="808" />
 <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="read channel" value="fromAtoT(1) " />
-<TGConnectingPoint num="0" id="1052" />
-<TGConnectingPoint num="1" id="1053" />
+<TGConnectingPoint num="0" id="947" />
+<TGConnectingPoint num="1" id="948" />
 <extraparam>
 <Data channelName="fromAtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1057" >
+<COMPONENT type="1006" id="952" >
 <cdparam x="191" y="1002" />
 <sizeparam width="79" 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="1055" />
-<TGConnectingPoint num="1" id="1056" />
+<TGConnectingPoint num="0" id="950" />
+<TGConnectingPoint num="1" id="951" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1059" >
+<COMPONENT type="1001" id="954" >
 <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="1058" />
+<TGConnectingPoint num="0" id="953" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1062" >
+<COMPONENT type="1011" id="957" >
 <cdparam x="388" y="1032" />
 <sizeparam width="100" 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="1060" />
-<TGConnectingPoint num="1" id="1061" />
+<TGConnectingPoint num="0" id="955" />
+<TGConnectingPoint num="1" id="956" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1064" >
+<COMPONENT type="1001" id="959" >
 <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="1063" />
+<TGConnectingPoint num="0" id="958" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1067" >
+<COMPONENT type="1011" id="962" >
 <cdparam x="84" y="1041" />
 <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="action state" value="tcpctrl.state=3" />
-<TGConnectingPoint num="0" id="1065" />
-<TGConnectingPoint num="1" id="1066" />
+<TGConnectingPoint num="0" id="960" />
+<TGConnectingPoint num="1" id="961" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1070" >
+<COMPONENT type="1006" id="965" >
 <cdparam x="93" y="938" />
 <sizeparam width="79" 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="1068" />
-<TGConnectingPoint num="1" id="1069" />
+<TGConnectingPoint num="0" id="963" />
+<TGConnectingPoint num="1" id="964" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1073" >
+<COMPONENT type="1011" id="968" >
 <cdparam x="292" y="1026" />
 <sizeparam width="108" 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="1071" />
-<TGConnectingPoint num="1" id="1072" />
+<TGConnectingPoint num="0" id="966" />
+<TGConnectingPoint num="1" id="967" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1075" >
+<COMPONENT type="1001" id="970" >
 <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="1074" />
+<TGConnectingPoint num="0" id="969" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1078" >
+<COMPONENT type="1006" id="973" >
 <cdparam x="400" y="941" />
 <sizeparam width="79" 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="1076" />
-<TGConnectingPoint num="1" id="1077" />
+<TGConnectingPoint num="0" id="971" />
+<TGConnectingPoint num="1" id="972" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1081" >
+<COMPONENT type="1006" id="976" >
 <cdparam x="307" y="900" />
 <sizeparam width="79" 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="1079" />
-<TGConnectingPoint num="1" id="1080" />
+<TGConnectingPoint num="0" id="974" />
+<TGConnectingPoint num="1" id="975" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1083" >
+<COMPONENT type="1001" id="978" >
 <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="1082" />
+<TGConnectingPoint num="0" id="977" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1092" >
+<COMPONENT type="301" id="987" >
 <cdparam x="998" y="850" />
 <sizeparam width="50" height="35" 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="1084" />
-<TGConnectingPoint num="1" id="1085" />
-<TGConnectingPoint num="2" id="1086" />
-<TGConnectingPoint num="3" id="1087" />
-<TGConnectingPoint num="4" id="1088" />
-<TGConnectingPoint num="5" id="1089" />
-<TGConnectingPoint num="6" id="1090" />
-<TGConnectingPoint num="7" id="1091" />
+<TGConnectingPoint num="0" id="979" />
+<TGConnectingPoint num="1" id="980" />
+<TGConnectingPoint num="2" id="981" />
+<TGConnectingPoint num="3" id="982" />
+<TGConnectingPoint num="4" id="983" />
+<TGConnectingPoint num="5" id="984" />
+<TGConnectingPoint num="6" id="985" />
+<TGConnectingPoint num="7" id="986" />
 <extraparam>
 <Line value="Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1095" >
+<COMPONENT type="1011" id="990" >
 <cdparam x="678" y="965" />
 <sizeparam width="100" 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="1093" />
-<TGConnectingPoint num="1" id="1094" />
+<TGConnectingPoint num="0" id="988" />
+<TGConnectingPoint num="1" id="989" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1097" >
+<COMPONENT type="1001" id="992" >
 <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="1096" />
+<TGConnectingPoint num="0" id="991" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1100" >
+<COMPONENT type="1006" id="995" >
 <cdparam x="761" y="1086" />
 <sizeparam width="79" 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="1098" />
-<TGConnectingPoint num="1" id="1099" />
+<TGConnectingPoint num="0" id="993" />
+<TGConnectingPoint num="1" id="994" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1109" >
+<COMPONENT type="301" id="1004" >
 <cdparam x="781" y="950" />
 <sizeparam width="89" height="35" 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="1101" />
-<TGConnectingPoint num="1" id="1102" />
-<TGConnectingPoint num="2" id="1103" />
-<TGConnectingPoint num="3" id="1104" />
-<TGConnectingPoint num="4" id="1105" />
-<TGConnectingPoint num="5" id="1106" />
-<TGConnectingPoint num="6" id="1107" />
-<TGConnectingPoint num="7" id="1108" />
+<TGConnectingPoint num="0" id="996" />
+<TGConnectingPoint num="1" id="997" />
+<TGConnectingPoint num="2" id="998" />
+<TGConnectingPoint num="3" id="999" />
+<TGConnectingPoint num="4" id="1000" />
+<TGConnectingPoint num="5" id="1001" />
+<TGConnectingPoint num="6" id="1002" />
+<TGConnectingPoint num="7" id="1003" />
 <extraparam>
 <Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1118" >
+<COMPONENT type="301" id="1013" >
 <cdparam x="715" y="907" />
 <sizeparam width="97" height="35" 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="1110" />
-<TGConnectingPoint num="1" id="1111" />
-<TGConnectingPoint num="2" id="1112" />
-<TGConnectingPoint num="3" id="1113" />
-<TGConnectingPoint num="4" id="1114" />
-<TGConnectingPoint num="5" id="1115" />
-<TGConnectingPoint num="6" id="1116" />
-<TGConnectingPoint num="7" id="1117" />
+<TGConnectingPoint num="0" id="1005" />
+<TGConnectingPoint num="1" id="1006" />
+<TGConnectingPoint num="2" id="1007" />
+<TGConnectingPoint num="3" id="1008" />
+<TGConnectingPoint num="4" id="1009" />
+<TGConnectingPoint num="5" id="1010" />
+<TGConnectingPoint num="6" id="1011" />
+<TGConnectingPoint num="7" id="1012" />
 <extraparam>
 <Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1121" >
+<COMPONENT type="1011" id="1016" >
 <cdparam x="749" y="1193" />
 <sizeparam width="100" 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="1119" />
-<TGConnectingPoint num="1" id="1120" />
+<TGConnectingPoint num="0" id="1014" />
+<TGConnectingPoint num="1" id="1015" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1124" >
+<COMPONENT type="1011" id="1019" >
 <cdparam x="446" y="768" />
 <sizeparam width="100" 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="1122" />
-<TGConnectingPoint num="1" id="1123" />
+<TGConnectingPoint num="0" id="1017" />
+<TGConnectingPoint num="1" id="1018" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1126" >
+<COMPONENT type="1001" id="1021" >
 <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="1125" />
+<TGConnectingPoint num="0" id="1020" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1129" >
+<COMPONENT type="1006" id="1024" >
 <cdparam x="904" y="1123" />
 <sizeparam width="79" 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="1127" />
-<TGConnectingPoint num="1" id="1128" />
+<TGConnectingPoint num="0" id="1022" />
+<TGConnectingPoint num="1" id="1023" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1138" >
+<COMPONENT type="301" id="1033" >
 <cdparam x="884" y="1068" />
 <sizeparam width="108" height="35" 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="1130" />
-<TGConnectingPoint num="1" id="1131" />
-<TGConnectingPoint num="2" id="1132" />
-<TGConnectingPoint num="3" id="1133" />
-<TGConnectingPoint num="4" id="1134" />
-<TGConnectingPoint num="5" id="1135" />
-<TGConnectingPoint num="6" id="1136" />
-<TGConnectingPoint num="7" id="1137" />
+<TGConnectingPoint num="0" id="1025" />
+<TGConnectingPoint num="1" id="1026" />
+<TGConnectingPoint num="2" id="1027" />
+<TGConnectingPoint num="3" id="1028" />
+<TGConnectingPoint num="4" id="1029" />
+<TGConnectingPoint num="5" id="1030" />
+<TGConnectingPoint num="6" id="1031" />
+<TGConnectingPoint num="7" id="1032" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1141" >
+<COMPONENT type="1011" id="1036" >
 <cdparam x="893" y="1234" />
 <sizeparam width="100" 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="1139" />
-<TGConnectingPoint num="1" id="1140" />
+<TGConnectingPoint num="0" id="1034" />
+<TGConnectingPoint num="1" id="1035" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1143" >
+<COMPONENT type="1001" id="1038" >
 <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="1142" />
+<TGConnectingPoint num="0" id="1037" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1146" >
+<COMPONENT type="1006" id="1041" >
 <cdparam x="1010" y="1155" />
 <sizeparam width="79" 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="1144" />
-<TGConnectingPoint num="1" id="1145" />
+<TGConnectingPoint num="0" id="1039" />
+<TGConnectingPoint num="1" id="1040" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1155" >
+<COMPONENT type="301" id="1050" >
 <cdparam x="1000" y="1094" />
 <sizeparam width="108" height="35" 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="1147" />
-<TGConnectingPoint num="1" id="1148" />
-<TGConnectingPoint num="2" id="1149" />
-<TGConnectingPoint num="3" id="1150" />
-<TGConnectingPoint num="4" id="1151" />
-<TGConnectingPoint num="5" id="1152" />
-<TGConnectingPoint num="6" id="1153" />
-<TGConnectingPoint num="7" id="1154" />
+<TGConnectingPoint num="0" id="1042" />
+<TGConnectingPoint num="1" id="1043" />
+<TGConnectingPoint num="2" id="1044" />
+<TGConnectingPoint num="3" id="1045" />
+<TGConnectingPoint num="4" id="1046" />
+<TGConnectingPoint num="5" id="1047" />
+<TGConnectingPoint num="6" id="1048" />
+<TGConnectingPoint num="7" id="1049" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1158" >
+<COMPONENT type="1011" id="1053" >
 <cdparam x="999" y="1266" />
 <sizeparam width="100" 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="1156" />
-<TGConnectingPoint num="1" id="1157" />
+<TGConnectingPoint num="0" id="1051" />
+<TGConnectingPoint num="1" id="1052" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1160" >
+<COMPONENT type="1001" id="1055" >
 <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="1159" />
+<TGConnectingPoint num="0" id="1054" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1163" >
+<COMPONENT type="1006" id="1058" >
 <cdparam x="683" y="758" />
 <sizeparam width="79" 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="1161" />
-<TGConnectingPoint num="1" id="1162" />
+<TGConnectingPoint num="0" id="1056" />
+<TGConnectingPoint num="1" id="1057" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1165" >
+<COMPONENT type="1001" id="1060" >
 <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="1164" />
+<TGConnectingPoint num="0" id="1059" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1168" >
+<COMPONENT type="1007" id="1063" >
 <cdparam x="93" y="1100" />
 <sizeparam width="78" 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="1166" />
-<TGConnectingPoint num="1" id="1167" />
+<TGConnectingPoint num="0" id="1061" />
+<TGConnectingPoint num="1" id="1062" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1171" >
+<COMPONENT type="1006" id="1066" >
 <cdparam x="104" y="1167" />
 <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="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1169" />
-<TGConnectingPoint num="1" id="1170" />
+<TGConnectingPoint num="0" id="1064" />
+<TGConnectingPoint num="1" id="1065" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1173" >
+<COMPONENT type="1001" id="1068" >
 <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="1172" />
+<TGConnectingPoint num="0" id="1067" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1176" >
+<COMPONENT type="1007" id="1071" >
 <cdparam x="190" y="1102" />
 <sizeparam width="78" 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="1174" />
-<TGConnectingPoint num="1" id="1175" />
+<TGConnectingPoint num="0" id="1069" />
+<TGConnectingPoint num="1" id="1070" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1179" >
+<COMPONENT type="1006" id="1074" >
 <cdparam x="201" y="1169" />
 <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="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1177" />
-<TGConnectingPoint num="1" id="1178" />
+<TGConnectingPoint num="0" id="1072" />
+<TGConnectingPoint num="1" id="1073" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1182" >
+<COMPONENT type="1007" id="1077" >
 <cdparam x="307" y="1106" />
 <sizeparam width="78" 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="1180" />
-<TGConnectingPoint num="1" id="1181" />
+<TGConnectingPoint num="0" id="1075" />
+<TGConnectingPoint num="1" id="1076" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1185" >
+<COMPONENT type="1006" id="1080" >
 <cdparam x="318" y="1173" />
 <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="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1183" />
-<TGConnectingPoint num="1" id="1184" />
+<TGConnectingPoint num="0" id="1078" />
+<TGConnectingPoint num="1" id="1079" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1188" >
+<COMPONENT type="1007" id="1083" >
 <cdparam x="399" y="1090" />
 <sizeparam width="78" 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="1186" />
-<TGConnectingPoint num="1" id="1187" />
+<TGConnectingPoint num="0" id="1081" />
+<TGConnectingPoint num="1" id="1082" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1191" >
+<COMPONENT type="1006" id="1086" >
 <cdparam x="410" y="1159" />
 <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="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1189" />
-<TGConnectingPoint num="1" id="1190" />
+<TGConnectingPoint num="0" id="1084" />
+<TGConnectingPoint num="1" id="1085" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1194" >
+<COMPONENT type="1011" id="1089" >
 <cdparam x="72" y="861" />
 <sizeparam width="121" 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="1192" />
-<TGConnectingPoint num="1" id="1193" />
+<TGConnectingPoint num="0" id="1087" />
+<TGConnectingPoint num="1" id="1088" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1197" >
+<COMPONENT type="1011" id="1092" >
 <cdparam x="170" y="940" />
 <sizeparam width="121" 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="1195" />
-<TGConnectingPoint num="1" id="1196" />
+<TGConnectingPoint num="0" id="1090" />
+<TGConnectingPoint num="1" id="1091" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1200" >
+<COMPONENT type="1011" id="1095" >
 <cdparam x="379" y="865" />
 <sizeparam width="121" 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="1198" />
-<TGConnectingPoint num="1" id="1199" />
+<TGConnectingPoint num="0" id="1093" />
+<TGConnectingPoint num="1" id="1094" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1203" >
+<COMPONENT type="1011" id="1098" >
 <cdparam x="286" y="831" />
 <sizeparam width="121" 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="1201" />
-<TGConnectingPoint num="1" id="1202" />
+<TGConnectingPoint num="0" id="1096" />
+<TGConnectingPoint num="1" id="1097" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1206" >
+<COMPONENT type="1008" id="1101" >
 <cdparam x="206" y="1052" />
 <sizeparam width="46" 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="1204" />
-<TGConnectingPoint num="1" id="1205" />
+<TGConnectingPoint num="0" id="1099" />
+<TGConnectingPoint num="1" id="1100" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1209" >
+<COMPONENT type="1008" id="1104" >
 <cdparam x="323" y="962" />
 <sizeparam width="46" 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="1207" />
-<TGConnectingPoint num="1" id="1208" />
+<TGConnectingPoint num="0" id="1102" />
+<TGConnectingPoint num="1" id="1103" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1212" >
+<COMPONENT type="1008" id="1107" >
 <cdparam x="415" y="983" />
 <sizeparam width="46" 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="1210" />
-<TGConnectingPoint num="1" id="1211" />
+<TGConnectingPoint num="0" id="1105" />
+<TGConnectingPoint num="1" id="1106" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1215" >
+<COMPONENT type="1008" id="1110" >
 <cdparam x="109" y="986" />
 <sizeparam width="46" 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="1213" />
-<TGConnectingPoint num="1" id="1214" />
+<TGConnectingPoint num="0" id="1108" />
+<TGConnectingPoint num="1" id="1109" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1218" >
+<COMPONENT type="1008" id="1113" >
 <cdparam x="699" y="813" />
 <sizeparam width="46" 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="1216" />
-<TGConnectingPoint num="1" id="1217" />
+<TGConnectingPoint num="0" id="1111" />
+<TGConnectingPoint num="1" id="1112" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1221" >
+<COMPONENT type="1008" id="1116" >
 <cdparam x="775" y="1141" />
 <sizeparam width="46" 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="1219" />
-<TGConnectingPoint num="1" id="1220" />
+<TGConnectingPoint num="0" id="1114" />
+<TGConnectingPoint num="1" id="1115" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1224" >
+<COMPONENT type="1008" id="1119" >
 <cdparam x="920" y="1178" />
 <sizeparam width="46" 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="1222" />
-<TGConnectingPoint num="1" id="1223" />
+<TGConnectingPoint num="0" id="1117" />
+<TGConnectingPoint num="1" id="1118" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1227" >
+<COMPONENT type="1008" id="1122" >
 <cdparam x="1026" y="1211" />
 <sizeparam width="46" 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="1225" />
-<TGConnectingPoint num="1" id="1226" />
+<TGConnectingPoint num="0" id="1120" />
+<TGConnectingPoint num="1" id="1121" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1229" >
+<COMPONENT type="1001" id="1124" >
 <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="1228" />
+<TGConnectingPoint num="0" id="1123" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1231" >
+<COMPONENT type="1001" id="1126" >
 <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="1230" />
+<TGConnectingPoint num="0" id="1125" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1234" >
+<COMPONENT type="1006" id="1129" >
 <cdparam x="1169" y="1214" />
 <sizeparam width="79" 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="1232" />
-<TGConnectingPoint num="1" id="1233" />
+<TGConnectingPoint num="0" id="1127" />
+<TGConnectingPoint num="1" id="1128" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1243" >
+<COMPONENT type="301" id="1138" >
 <cdparam x="1159" y="1153" />
 <sizeparam width="108" height="35" 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="1235" />
-<TGConnectingPoint num="1" id="1236" />
-<TGConnectingPoint num="2" id="1237" />
-<TGConnectingPoint num="3" id="1238" />
-<TGConnectingPoint num="4" id="1239" />
-<TGConnectingPoint num="5" id="1240" />
-<TGConnectingPoint num="6" id="1241" />
-<TGConnectingPoint num="7" id="1242" />
+<TGConnectingPoint num="0" id="1130" />
+<TGConnectingPoint num="1" id="1131" />
+<TGConnectingPoint num="2" id="1132" />
+<TGConnectingPoint num="3" id="1133" />
+<TGConnectingPoint num="4" id="1134" />
+<TGConnectingPoint num="5" id="1135" />
+<TGConnectingPoint num="6" id="1136" />
+<TGConnectingPoint num="7" id="1137" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1246" >
+<COMPONENT type="1011" id="1141" >
 <cdparam x="1158" y="1295" />
 <sizeparam width="100" 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="1244" />
-<TGConnectingPoint num="1" id="1245" />
+<TGConnectingPoint num="0" id="1139" />
+<TGConnectingPoint num="1" id="1140" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1248" >
+<COMPONENT type="1001" id="1143" >
 <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="1247" />
+<TGConnectingPoint num="0" id="1142" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1251" >
+<COMPONENT type="1011" id="1146" >
 <cdparam x="1157" y="1402" />
 <sizeparam width="100" 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="1249" />
-<TGConnectingPoint num="1" id="1250" />
+<TGConnectingPoint num="0" id="1144" />
+<TGConnectingPoint num="1" id="1145" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1254" >
+<COMPONENT type="1008" id="1149" >
 <cdparam x="1185" y="1351" />
 <sizeparam width="46" 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="1252" />
-<TGConnectingPoint num="1" id="1253" />
+<TGConnectingPoint num="0" id="1147" />
+<TGConnectingPoint num="1" id="1148" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1256" >
+<COMPONENT type="1001" id="1151" >
 <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="1255" />
+<TGConnectingPoint num="0" id="1150" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1258" >
+<COMPONENT type="1001" id="1153" >
 <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="1257" />
+<TGConnectingPoint num="0" id="1152" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1261" >
+<COMPONENT type="1006" id="1156" >
 <cdparam x="1489" y="1132" />
 <sizeparam width="80" 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="1259" />
-<TGConnectingPoint num="1" id="1260" />
+<TGConnectingPoint num="0" id="1154" />
+<TGConnectingPoint num="1" id="1155" />
 <extraparam>
 <Data channelName="fromTtoA" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1264" >
+<COMPONENT type="1006" id="1159" >
 <cdparam x="1490" y="1348" />
 <sizeparam width="79" 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="1262" />
-<TGConnectingPoint num="1" id="1263" />
+<TGConnectingPoint num="0" id="1157" />
+<TGConnectingPoint num="1" id="1158" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1267" >
+<COMPONENT type="1008" id="1162" >
 <cdparam x="1710" y="1026" />
 <sizeparam width="43" 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="1265" />
-<TGConnectingPoint num="1" id="1266" />
+<TGConnectingPoint num="0" id="1160" />
+<TGConnectingPoint num="1" id="1161" />
 <extraparam>
 <Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1276" >
+<COMPONENT type="301" id="1171" >
 <cdparam x="1759" y="1192" />
 <sizeparam width="86" height="35" 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="1268" />
-<TGConnectingPoint num="1" id="1269" />
-<TGConnectingPoint num="2" id="1270" />
-<TGConnectingPoint num="3" id="1271" />
-<TGConnectingPoint num="4" id="1272" />
-<TGConnectingPoint num="5" id="1273" />
-<TGConnectingPoint num="6" id="1274" />
-<TGConnectingPoint num="7" id="1275" />
+<TGConnectingPoint num="0" id="1163" />
+<TGConnectingPoint num="1" id="1164" />
+<TGConnectingPoint num="2" id="1165" />
+<TGConnectingPoint num="3" id="1166" />
+<TGConnectingPoint num="4" id="1167" />
+<TGConnectingPoint num="5" id="1168" />
+<TGConnectingPoint num="6" id="1169" />
+<TGConnectingPoint num="7" id="1170" />
 <extraparam>
 <Line value="Correct ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1285" >
+<COMPONENT type="301" id="1180" >
 <cdparam x="1635" y="1168" />
 <sizeparam width="71" height="35" 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="1277" />
-<TGConnectingPoint num="1" id="1278" />
-<TGConnectingPoint num="2" id="1279" />
-<TGConnectingPoint num="3" id="1280" />
-<TGConnectingPoint num="4" id="1281" />
-<TGConnectingPoint num="5" id="1282" />
-<TGConnectingPoint num="6" id="1283" />
-<TGConnectingPoint num="7" id="1284" />
+<TGConnectingPoint num="0" id="1172" />
+<TGConnectingPoint num="1" id="1173" />
+<TGConnectingPoint num="2" id="1174" />
+<TGConnectingPoint num="3" id="1175" />
+<TGConnectingPoint num="4" id="1176" />
+<TGConnectingPoint num="5" id="1177" />
+<TGConnectingPoint num="6" id="1178" />
+<TGConnectingPoint num="7" id="1179" />
 <extraparam>
 <Line value="false ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1288" >
+<COMPONENT type="1006" id="1183" >
 <cdparam x="1602" y="1299" />
 <sizeparam width="79" 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="1286" />
-<TGConnectingPoint num="1" id="1287" />
+<TGConnectingPoint num="0" id="1181" />
+<TGConnectingPoint num="1" id="1182" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1290" >
+<COMPONENT type="1001" id="1185" >
 <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="1289" />
+<TGConnectingPoint num="0" id="1184" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1299" >
+<COMPONENT type="301" id="1194" >
 <cdparam x="1469" y="1295" />
 <sizeparam width="127" height="35" 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="1291" />
-<TGConnectingPoint num="1" id="1292" />
-<TGConnectingPoint num="2" id="1293" />
-<TGConnectingPoint num="3" id="1294" />
-<TGConnectingPoint num="4" id="1295" />
-<TGConnectingPoint num="5" id="1296" />
-<TGConnectingPoint num="6" id="1297" />
-<TGConnectingPoint num="7" id="1298" />
+<TGConnectingPoint num="0" id="1186" />
+<TGConnectingPoint num="1" id="1187" />
+<TGConnectingPoint num="2" id="1188" />
+<TGConnectingPoint num="3" id="1189" />
+<TGConnectingPoint num="4" id="1190" />
+<TGConnectingPoint num="5" id="1191" />
+<TGConnectingPoint num="6" id="1192" />
+<TGConnectingPoint num="7" id="1193" />
 <extraparam>
 <Line value="return acknowldge" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1308" >
+<COMPONENT type="301" id="1203" >
 <cdparam x="1620" y="927" />
 <sizeparam width="50" height="35" 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="1300" />
-<TGConnectingPoint num="1" id="1301" />
-<TGConnectingPoint num="2" id="1302" />
-<TGConnectingPoint num="3" id="1303" />
-<TGConnectingPoint num="4" id="1304" />
-<TGConnectingPoint num="5" id="1305" />
-<TGConnectingPoint num="6" id="1306" />
-<TGConnectingPoint num="7" id="1307" />
+<TGConnectingPoint num="0" id="1195" />
+<TGConnectingPoint num="1" id="1196" />
+<TGConnectingPoint num="2" id="1197" />
+<TGConnectingPoint num="3" id="1198" />
+<TGConnectingPoint num="4" id="1199" />
+<TGConnectingPoint num="5" id="1200" />
+<TGConnectingPoint num="6" id="1201" />
+<TGConnectingPoint num="7" id="1202" />
 <extraparam>
 <Line value="data" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1311" >
+<COMPONENT type="1008" id="1206" >
 <cdparam x="1506" y="1405" />
 <sizeparam width="46" 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="1309" />
-<TGConnectingPoint num="1" id="1310" />
+<TGConnectingPoint num="0" id="1204" />
+<TGConnectingPoint num="1" id="1205" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1314" >
+<COMPONENT type="1008" id="1209" >
 <cdparam x="1619" y="1348" />
 <sizeparam width="46" 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="1312" />
-<TGConnectingPoint num="1" id="1313" />
+<TGConnectingPoint num="0" id="1207" />
+<TGConnectingPoint num="1" id="1208" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1317" >
+<COMPONENT type="1006" id="1212" >
 <cdparam x="1614" y="1404" />
 <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="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1315" />
-<TGConnectingPoint num="1" id="1316" />
+<TGConnectingPoint num="0" id="1210" />
+<TGConnectingPoint num="1" id="1211" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1319" >
+<COMPONENT type="1001" id="1214" >
 <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="1318" />
+<TGConnectingPoint num="0" id="1213" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1322" >
+<COMPONENT type="1011" id="1217" >
 <cdparam x="1776" y="1349" />
 <sizeparam width="100" 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="1320" />
-<TGConnectingPoint num="1" id="1321" />
+<TGConnectingPoint num="0" id="1215" />
+<TGConnectingPoint num="1" id="1216" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1324" >
+<COMPONENT type="1001" id="1219" >
 <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="1323" />
+<TGConnectingPoint num="0" id="1218" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1327" >
+<COMPONENT type="1011" id="1222" >
 <cdparam x="1870" y="1411" />
 <sizeparam width="100" 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="1325" />
-<TGConnectingPoint num="1" id="1326" />
+<TGConnectingPoint num="0" id="1220" />
+<TGConnectingPoint num="1" id="1221" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1329" >
+<COMPONENT type="1001" id="1224" >
 <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="1328" />
+<TGConnectingPoint num="0" id="1223" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1331" >
+<COMPONENT type="1001" id="1226" >
 <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="1330" />
+<TGConnectingPoint num="0" id="1225" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1334" >
+<COMPONENT type="1011" id="1229" >
 <cdparam x="2051" y="1466" />
 <sizeparam width="100" 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="1332" />
-<TGConnectingPoint num="1" id="1333" />
+<TGConnectingPoint num="0" id="1227" />
+<TGConnectingPoint num="1" id="1228" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1336" >
+<COMPONENT type="1001" id="1231" >
 <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="1335" />
+<TGConnectingPoint num="0" id="1230" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1339" >
+<COMPONENT type="1011" id="1234" >
 <cdparam x="1946" y="1493" />
 <sizeparam width="100" 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="1337" />
-<TGConnectingPoint num="1" id="1338" />
+<TGConnectingPoint num="0" id="1232" />
+<TGConnectingPoint num="1" id="1233" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1342" >
+<COMPONENT type="1011" id="1237" >
 <cdparam x="1946" y="1434" />
 <sizeparam width="100" 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="1340" />
-<TGConnectingPoint num="1" id="1341" />
+<TGConnectingPoint num="0" id="1235" />
+<TGConnectingPoint num="1" id="1236" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1351" >
+<COMPONENT type="301" id="1246" >
 <cdparam x="1825" y="889" />
 <sizeparam width="50" height="35" 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="1343" />
-<TGConnectingPoint num="1" id="1344" />
-<TGConnectingPoint num="2" id="1345" />
-<TGConnectingPoint num="3" id="1346" />
-<TGConnectingPoint num="4" id="1347" />
-<TGConnectingPoint num="5" id="1348" />
-<TGConnectingPoint num="6" id="1349" />
-<TGConnectingPoint num="7" id="1350" />
+<TGConnectingPoint num="0" id="1238" />
+<TGConnectingPoint num="1" id="1239" />
+<TGConnectingPoint num="2" id="1240" />
+<TGConnectingPoint num="3" id="1241" />
+<TGConnectingPoint num="4" id="1242" />
+<TGConnectingPoint num="5" id="1243" />
+<TGConnectingPoint num="6" id="1244" />
+<TGConnectingPoint num="7" id="1245" />
 <extraparam>
 <Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1360" >
+<COMPONENT type="301" id="1255" >
 <cdparam x="1707" y="945" />
 <sizeparam width="50" height="35" 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="1352" />
-<TGConnectingPoint num="1" id="1353" />
-<TGConnectingPoint num="2" id="1354" />
-<TGConnectingPoint num="3" id="1355" />
-<TGConnectingPoint num="4" id="1356" />
-<TGConnectingPoint num="5" id="1357" />
-<TGConnectingPoint num="6" id="1358" />
-<TGConnectingPoint num="7" id="1359" />
+<TGConnectingPoint num="0" id="1247" />
+<TGConnectingPoint num="1" id="1248" />
+<TGConnectingPoint num="2" id="1249" />
+<TGConnectingPoint num="3" id="1250" />
+<TGConnectingPoint num="4" id="1251" />
+<TGConnectingPoint num="5" id="1252" />
+<TGConnectingPoint num="6" id="1253" />
+<TGConnectingPoint num="7" id="1254" />
 <extraparam>
 <Line value="ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1363" >
+<COMPONENT type="1006" id="1258" >
 <cdparam x="2179" y="1198" />
 <sizeparam width="79" 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="1361" />
-<TGConnectingPoint num="1" id="1362" />
+<TGConnectingPoint num="0" id="1256" />
+<TGConnectingPoint num="1" id="1257" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1365" >
+<COMPONENT type="1001" id="1260" >
 <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="1364" />
+<TGConnectingPoint num="0" id="1259" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1368" >
+<COMPONENT type="1007" id="1263" >
 <cdparam x="2178" y="1298" />
 <sizeparam width="78" 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="1366" />
-<TGConnectingPoint num="1" id="1367" />
+<TGConnectingPoint num="0" id="1261" />
+<TGConnectingPoint num="1" id="1262" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1371" >
+<COMPONENT type="1006" id="1266" >
 <cdparam x="2189" y="1365" />
 <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="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1369" />
-<TGConnectingPoint num="1" id="1370" />
+<TGConnectingPoint num="0" id="1264" />
+<TGConnectingPoint num="1" id="1265" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1374" >
+<COMPONENT type="1011" id="1269" >
 <cdparam x="2158" y="1136" />
 <sizeparam width="121" 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="1372" />
-<TGConnectingPoint num="1" id="1373" />
+<TGConnectingPoint num="0" id="1267" />
+<TGConnectingPoint num="1" id="1268" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1377" >
+<COMPONENT type="1008" id="1272" >
 <cdparam x="2194" y="1248" />
 <sizeparam width="46" 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="1375" />
-<TGConnectingPoint num="1" id="1376" />
+<TGConnectingPoint num="0" id="1270" />
+<TGConnectingPoint num="1" id="1271" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1380" >
+<COMPONENT type="1011" id="1275" >
 <cdparam x="2167" y="1424" />
 <sizeparam width="100" 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="1378" />
-<TGConnectingPoint num="1" id="1379" />
+<TGConnectingPoint num="0" id="1273" />
+<TGConnectingPoint num="1" id="1274" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1383" >
+<COMPONENT type="1006" id="1278" >
 <cdparam x="2302" y="1122" />
 <sizeparam width="79" 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="1381" />
-<TGConnectingPoint num="1" id="1382" />
+<TGConnectingPoint num="0" id="1276" />
+<TGConnectingPoint num="1" id="1277" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1392" >
+<COMPONENT type="301" id="1287" >
 <cdparam x="2283" y="1065" />
 <sizeparam width="114" height="35" 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="1384" />
-<TGConnectingPoint num="1" id="1385" />
-<TGConnectingPoint num="2" id="1386" />
-<TGConnectingPoint num="3" id="1387" />
-<TGConnectingPoint num="4" id="1388" />
-<TGConnectingPoint num="5" id="1389" />
-<TGConnectingPoint num="6" id="1390" />
-<TGConnectingPoint num="7" id="1391" />
+<TGConnectingPoint num="0" id="1279" />
+<TGConnectingPoint num="1" id="1280" />
+<TGConnectingPoint num="2" id="1281" />
+<TGConnectingPoint num="3" id="1282" />
+<TGConnectingPoint num="4" id="1283" />
+<TGConnectingPoint num="5" id="1284" />
+<TGConnectingPoint num="6" id="1285" />
+<TGConnectingPoint num="7" id="1286" />
 <extraparam>
 <Line value="send Ack of SYN" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1395" >
+<COMPONENT type="1011" id="1290" >
 <cdparam x="2291" y="1267" />
 <sizeparam width="100" 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="1393" />
-<TGConnectingPoint num="1" id="1394" />
+<TGConnectingPoint num="0" id="1288" />
+<TGConnectingPoint num="1" id="1289" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1397" >
+<COMPONENT type="1001" id="1292" >
 <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="1396" />
+<TGConnectingPoint num="0" id="1291" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1400" >
+<COMPONENT type="1008" id="1295" >
 <cdparam x="2318" y="1199" />
 <sizeparam width="46" 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="1398" />
-<TGConnectingPoint num="1" id="1399" />
+<TGConnectingPoint num="0" id="1293" />
+<TGConnectingPoint num="1" id="1294" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1402" >
+<COMPONENT type="1001" id="1297" >
 <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="1401" />
+<TGConnectingPoint num="0" id="1296" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1404" >
+<COMPONENT type="1001" id="1299" >
 <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="1403" />
+<TGConnectingPoint num="0" id="1298" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1406" >
+<COMPONENT type="1001" id="1301" >
 <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="1405" />
+<TGConnectingPoint num="0" id="1300" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1409" >
+<COMPONENT type="1008" id="1304" >
 <cdparam x="1465" y="1192" />
 <sizeparam width="129" 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="1407" />
-<TGConnectingPoint num="1" id="1408" />
+<TGConnectingPoint num="0" id="1302" />
+<TGConnectingPoint num="1" id="1303" />
 <extraparam>
 <Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1412" >
+<COMPONENT type="1009" id="1307" >
 <cdparam x="1701" y="1086" />
 <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="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="1410" />
-<TGConnectingPoint num="1" id="1411" />
+<TGConnectingPoint num="0" id="1305" />
+<TGConnectingPoint num="1" id="1306" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="1413" >
+<CONNECTOR type="115" id="1308" >
 <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="923" />
-<P2  x="1728" y="865" id="845" />
+<P1  x="1048" y="795" id="818" />
+<P2  x="1728" y="865" id="740" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1414" >
+<CONNECTOR type="115" id="1309" >
 <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="895" />
-<P2  x="1208" y="1010" id="865" />
+<P1  x="1089" y="954" id="790" />
+<P2  x="1208" y="1010" id="760" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1415" >
+<CONNECTOR type="115" id="1310" >
 <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="991" />
-<P2  x="1008" y="696" id="927" />
+<P1  x="1008" y="610" id="886" />
+<P2  x="1008" y="696" id="822" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1416" >
+<CONNECTOR type="115" id="1311" >
 <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="1006" />
-<P2  x="722" y="689" id="883" />
+<P1  x="722" y="614" id="901" />
+<P2  x="722" y="689" id="778" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1417" >
+<CONNECTOR type="115" id="1312" >
 <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="963" />
-<P2  x="572" y="702" id="877" />
+<P1  x="504" y="597" id="858" />
+<P2  x="572" y="702" id="772" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1418" >
+<CONNECTOR type="115" id="1313" >
 <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="964" />
-<P2  x="439" y="778" id="931" />
+<P1  x="464" y="637" id="859" />
+<P2  x="439" y="778" id="826" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1419" >
+<CONNECTOR type="115" id="1314" >
 <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="962" />
-<P2  x="346" y="759" id="911" />
+<P1  x="424" y="597" id="857" />
+<P2  x="346" y="759" id="806" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1420" >
+<CONNECTOR type="115" id="1315" >
 <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="972" />
-<P2  x="230" y="803" id="1052" />
+<P1  x="289" y="619" id="867" />
+<P2  x="230" y="803" id="947" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1421" >
+<CONNECTOR type="115" id="1316" >
 <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="970" />
-<P2  x="132" y="789" id="915" />
+<P1  x="249" y="579" id="865" />
+<P2  x="132" y="789" id="810" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1422" >
+<CONNECTOR type="115" id="1317" >
 <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="319" y="93" id="994" />
-<P2  x="374" y="128" id="1002" />
+<P1  x="319" y="93" id="889" />
+<P2  x="374" y="128" id="897" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1423" >
+<CONNECTOR type="115" id="1318" >
 <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="1000" />
-<P2  x="234" y="202" id="997" />
+<P1  x="234" y="169" id="895" />
+<P2  x="234" y="202" id="892" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1424" >
+<CONNECTOR type="115" id="1319" >
 <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="995" />
-<P2  x="234" y="139" id="999" />
+<P1  x="234" y="104" id="890" />
+<P2  x="234" y="139" id="894" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1425" >
+<CONNECTOR type="115" id="1320" >
 <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="974" />
-<P2  x="234" y="74" id="993" />
+<P1  x="234" y="47" id="869" />
+<P2  x="234" y="74" id="888" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1426" >
+<CONNECTOR type="115" id="1321" >
 <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="1003" />
-<P2  x="374" y="182" id="953" />
+<P1  x="374" y="158" id="898" />
+<P2  x="374" y="182" id="848" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1427" >
+<CONNECTOR type="115" id="1322" >
 <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="1029" />
-<P2  x="722" y="529" id="1008" />
+<P1  x="464" y="322" id="924" />
+<P2  x="722" y="529" id="903" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1428" >
+<CONNECTOR type="115" id="1323" >
 <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="1009" />
-<P2  x="722" y="584" id="1005" />
+<P1  x="722" y="559" id="904" />
+<P2  x="722" y="584" id="900" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1429" >
+<CONNECTOR type="115" id="1324" >
 <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="1025" />
-<P2  x="1008" y="523" id="1011" />
+<P1  x="504" y="282" id="920" />
+<P2  x="1008" y="523" id="906" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1430" >
+<CONNECTOR type="115" id="1325" >
 <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="1012" />
-<P2  x="1008" y="580" id="990" />
+<P1  x="1008" y="553" id="907" />
+<P2  x="1008" y="580" id="885" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1431" >
+<CONNECTOR type="115" id="1326" >
 <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="1026" />
-<P2  x="464" y="487" id="1014" />
+<P1  x="464" y="322" id="921" />
+<P2  x="464" y="487" id="909" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1432" >
+<CONNECTOR type="115" id="1327" >
 <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="1027" />
-<P2  x="289" y="463" id="1017" />
+<P1  x="424" y="282" id="922" />
+<P2  x="289" y="463" id="912" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1433" >
+<CONNECTOR type="115" id="1328" >
 <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="1018" />
-<P2  x="289" y="554" id="969" />
+<P1  x="289" y="493" id="913" />
+<P2  x="289" y="554" id="864" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1434" >
+<CONNECTOR type="115" id="1329" >
 <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="946" />
-<P2  x="126" y="544" id="985" />
+<P1  x="148" y="501" id="841" />
+<P2  x="126" y="544" id="880" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1435" >
+<CONNECTOR type="115" id="1330" >
 <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="1024" />
-<P2  x="188" y="414" id="1020" />
+<P1  x="424" y="282" id="919" />
+<P2  x="188" y="414" id="915" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1436" >
+<CONNECTOR type="115" id="1331" >
 <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="1021" />
-<P2  x="188" y="476" id="945" />
+<P1  x="188" y="444" id="916" />
+<P2  x="188" y="476" id="840" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1437" >
+<CONNECTOR type="115" id="1332" >
 <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="947" />
-<P2  x="236" y="524" id="1034" />
+<P1  x="228" y="501" id="842" />
+<P2  x="236" y="524" id="929" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1438" >
+<CONNECTOR type="115" id="1333" >
 <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="954" />
-<P2  x="301" y="223" id="1038" />
+<P1  x="334" y="207" id="849" />
+<P2  x="301" y="223" id="933" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1439" >
+<CONNECTOR type="115" id="1334" >
 <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="1039" />
-<P2  x="301" y="285" id="1041" />
+<P1  x="301" y="253" id="934" />
+<P2  x="301" y="285" id="936" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1440" >
+<CONNECTOR type="115" id="1335" >
 <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="1015" />
-<P2  x="464" y="572" id="961" />
+<P1  x="464" y="517" id="910" />
+<P2  x="464" y="572" id="856" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1441" >
+<CONNECTOR type="115" id="1336" >
 <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="971" />
-<P2  x="353" y="609" id="1036" />
+<P1  x="329" y="579" id="866" />
+<P2  x="353" y="609" id="931" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1442" >
+<CONNECTOR type="115" id="1337" >
 <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="986" />
-<P2  x="126" y="610" id="988" />
+<P1  x="126" y="574" id="881" />
+<P2  x="126" y="610" id="883" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1443" >
+<CONNECTOR type="115" id="1338" >
 <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="955" />
-<P2  x="464" y="257" id="1023" />
+<P1  x="414" y="207" id="850" />
+<P2  x="464" y="257" id="918" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1444" >
+<CONNECTOR type="115" id="1339" >
 <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="1053" />
-<P2  x="230" y="858" id="935" />
+<P1  x="230" y="833" id="948" />
+<P2  x="230" y="858" id="830" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1445" >
+<CONNECTOR type="115" id="1340" >
 <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="922" />
-<P2  x="843" y="859" id="905" />
+<P1  x="968" y="795" id="817" />
+<P2  x="843" y="859" id="800" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1446" >
+<CONNECTOR type="115" id="1341" >
 <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="1094" />
-<P2  x="728" y="1027" id="1096" />
+<P1  x="728" y="990" id="989" />
+<P2  x="728" y="1027" id="991" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1447" >
+<CONNECTOR type="115" id="1342" >
 <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="906" />
-<P2  x="728" y="960" id="1093" />
+<P1  x="803" y="884" id="801" />
+<P2  x="728" y="960" id="988" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1448" >
+<CONNECTOR type="115" id="1343" >
 <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="908" />
-<P2  x="800" y="1004" id="899" />
+<P1  x="843" y="924" id="803" />
+<P2  x="800" y="1004" id="794" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1449" >
+<CONNECTOR type="115" id="1344" >
 <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="900" />
-<P2  x="800" y="1081" id="1098" />
+<P1  x="800" y="1044" id="795" />
+<P2  x="800" y="1081" id="993" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1450" >
+<CONNECTOR type="115" id="1345" >
 <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="1193" />
-<P2  x="132" y="933" id="1068" />
+<P1  x="132" y="886" id="1088" />
+<P2  x="132" y="933" id="963" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1451" >
+<CONNECTOR type="115" id="1346" >
 <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="888" />
-<P2  x="943" y="1118" id="1127" />
+<P1  x="943" y="1060" id="783" />
+<P2  x="943" y="1118" id="1022" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1452" >
+<CONNECTOR type="115" id="1347" >
 <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="940" />
-<P2  x="1049" y="1150" id="1144" />
+<P1  x="1049" y="1092" id="835" />
+<P2  x="1049" y="1150" id="1039" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1453" >
+<CONNECTOR type="115" id="1348" >
 <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="896" />
-<P2  x="1049" y="1052" id="939" />
+<P1  x="1049" y="994" id="791" />
+<P2  x="1049" y="1052" id="834" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1454" >
+<CONNECTOR type="115" id="1349" >
 <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="884" />
-<P2  x="722" y="753" id="1161" />
+<P1  x="722" y="729" id="779" />
+<P2  x="722" y="753" id="1056" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1455" >
+<CONNECTOR type="115" id="1350" >
 <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="1167" />
-<P2  x="132" y="1162" id="1169" />
+<P1  x="132" y="1125" id="1062" />
+<P2  x="132" y="1162" id="1064" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1456" >
+<CONNECTOR type="115" id="1351" >
 <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="1170" />
-<P2  x="132" y="1231" id="1172" />
+<P1  x="132" y="1192" id="1065" />
+<P2  x="132" y="1231" id="1067" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1457" >
+<CONNECTOR type="115" id="1352" >
 <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="1066" />
-<P2  x="132" y="1095" id="1166" />
+<P1  x="132" y="1066" id="961" />
+<P2  x="132" y="1095" id="1061" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1458" >
+<CONNECTOR type="115" id="1353" >
 <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="1175" />
-<P2  x="229" y="1164" id="1177" />
+<P1  x="229" y="1127" id="1070" />
+<P2  x="229" y="1164" id="1072" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1459" >
+<CONNECTOR type="115" id="1354" >
 <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="1181" />
-<P2  x="346" y="1168" id="1183" />
+<P1  x="346" y="1131" id="1076" />
+<P2  x="346" y="1168" id="1078" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1460" >
+<CONNECTOR type="115" id="1355" >
 <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="1072" />
-<P2  x="346" y="1101" id="1180" />
+<P1  x="346" y="1051" id="967" />
+<P2  x="346" y="1101" id="1075" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1461" >
+<CONNECTOR type="115" id="1356" >
 <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="1187" />
-<P2  x="438" y="1154" id="1189" />
+<P1  x="438" y="1115" id="1082" />
+<P2  x="438" y="1154" id="1084" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1462" >
+<CONNECTOR type="115" id="1357" >
 <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="1061" />
-<P2  x="438" y="1085" id="1186" />
+<P1  x="438" y="1057" id="956" />
+<P2  x="438" y="1085" id="1081" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1463" >
+<CONNECTOR type="115" id="1358" >
 <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="916" />
-<P2  x="132" y="856" id="1192" />
+<P1  x="132" y="829" id="811" />
+<P2  x="132" y="856" id="1087" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1464" >
+<CONNECTOR type="115" id="1359" >
 <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="936" />
-<P2  x="230" y="935" id="1195" />
+<P1  x="230" y="898" id="831" />
+<P2  x="230" y="935" id="1090" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1465" >
+<CONNECTOR type="115" id="1360" >
 <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="1196" />
-<P2  x="230" y="997" id="1055" />
+<P1  x="230" y="965" id="1091" />
+<P2  x="230" y="997" id="950" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1466" >
+<CONNECTOR type="115" id="1361" >
 <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="912" />
-<P2  x="346" y="826" id="1201" />
+<P1  x="346" y="799" id="807" />
+<P2  x="346" y="826" id="1096" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1467" >
+<CONNECTOR type="115" id="1362" >
 <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="1202" />
-<P2  x="346" y="895" id="1079" />
+<P1  x="346" y="856" id="1097" />
+<P2  x="346" y="895" id="974" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1468" >
+<CONNECTOR type="115" id="1363" >
 <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="932" />
-<P2  x="439" y="860" id="1198" />
+<P1  x="439" y="818" id="827" />
+<P2  x="439" y="860" id="1093" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1469" >
+<CONNECTOR type="115" id="1364" >
 <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="1199" />
-<P2  x="439" y="936" id="1076" />
+<P1  x="439" y="890" id="1094" />
+<P2  x="439" y="936" id="971" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1470" >
+<CONNECTOR type="115" id="1365" >
 <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="1069" />
-<P2  x="132" y="981" id="1213" />
+<P1  x="132" y="963" id="964" />
+<P2  x="132" y="981" id="1108" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1471" >
+<CONNECTOR type="115" id="1366" >
 <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="1214" />
-<P2  x="132" y="1036" id="1065" />
+<P1  x="132" y="1011" id="1109" />
+<P2  x="132" y="1036" id="960" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1472" >
+<CONNECTOR type="115" id="1367" >
 <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="1056" />
-<P2  x="229" y="1047" id="1204" />
+<P1  x="230" y="1027" id="951" />
+<P2  x="229" y="1047" id="1099" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1473" >
+<CONNECTOR type="115" id="1368" >
 <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="1205" />
-<P2  x="229" y="1097" id="1174" />
+<P1  x="229" y="1077" id="1100" />
+<P2  x="229" y="1097" id="1069" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1474" >
+<CONNECTOR type="115" id="1369" >
 <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="1080" />
-<P2  x="346" y="957" id="1207" />
+<P1  x="346" y="925" id="975" />
+<P2  x="346" y="957" id="1102" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1475" >
+<CONNECTOR type="115" id="1370" >
 <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="1208" />
-<P2  x="346" y="1021" id="1071" />
+<P1  x="346" y="987" id="1103" />
+<P2  x="346" y="1021" id="966" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1476" >
+<CONNECTOR type="115" id="1371" >
 <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="1077" />
-<P2  x="438" y="978" id="1210" />
+<P1  x="439" y="966" id="972" />
+<P2  x="438" y="978" id="1105" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1477" >
+<CONNECTOR type="115" id="1372" >
 <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="1211" />
-<P2  x="438" y="1027" id="1060" />
+<P1  x="438" y="1008" id="1106" />
+<P2  x="438" y="1027" id="955" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1478" >
+<CONNECTOR type="115" id="1373" >
 <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="1162" />
-<P2  x="722" y="808" id="1216" />
+<P1  x="722" y="783" id="1057" />
+<P2  x="722" y="808" id="1111" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1479" >
+<CONNECTOR type="115" id="1374" >
 <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="1217" />
-<P2  x="722" y="860" id="1164" />
+<P1  x="722" y="838" id="1112" />
+<P2  x="722" y="860" id="1059" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1480" >
+<CONNECTOR type="115" id="1375" >
 <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="1099" />
-<P2  x="798" y="1136" id="1219" />
+<P1  x="800" y="1111" id="994" />
+<P2  x="798" y="1136" id="1114" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1481" >
+<CONNECTOR type="115" id="1376" >
 <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="1220" />
-<P2  x="799" y="1188" id="1119" />
+<P1  x="798" y="1166" id="1115" />
+<P2  x="799" y="1188" id="1014" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1482" >
+<CONNECTOR type="115" id="1377" >
 <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="1128" />
-<P2  x="943" y="1173" id="1222" />
+<P1  x="943" y="1148" id="1023" />
+<P2  x="943" y="1173" id="1117" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1483" >
+<CONNECTOR type="115" id="1378" >
 <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="1223" />
-<P2  x="943" y="1229" id="1139" />
+<P1  x="943" y="1203" id="1118" />
+<P2  x="943" y="1229" id="1034" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1484" >
+<CONNECTOR type="115" id="1379" >
 <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="1145" />
-<P2  x="1049" y="1206" id="1225" />
+<P1  x="1049" y="1180" id="1040" />
+<P2  x="1049" y="1206" id="1120" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1485" >
+<CONNECTOR type="115" id="1380" >
 <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="1226" />
-<P2  x="1049" y="1261" id="1156" />
+<P1  x="1049" y="1236" id="1121" />
+<P2  x="1049" y="1261" id="1051" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1486" >
+<CONNECTOR type="115" id="1381" >
 <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="907" />
-<P2  x="909" y="917" id="1230" />
+<P1  x="883" y="884" id="802" />
+<P2  x="909" y="917" id="1125" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1487" >
+<CONNECTOR type="115" id="1382" >
 <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="879" />
-<P2  x="622" y="757" id="1228" />
+<P1  x="612" y="727" id="774" />
+<P2  x="622" y="757" id="1123" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1488" >
+<CONNECTOR type="115" id="1383" >
 <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="878" />
-<P2  x="496" y="763" id="1122" />
+<P1  x="532" y="727" id="773" />
+<P2  x="496" y="763" id="1017" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1489" >
+<CONNECTOR type="115" id="1384" >
 <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="1120" />
-<P2  x="799" y="1265" id="1082" />
+<P1  x="799" y="1218" id="1015" />
+<P2  x="799" y="1265" id="977" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1490" >
+<CONNECTOR type="115" id="1385" >
 <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="894" />
-<P2  x="943" y="1020" id="887" />
+<P1  x="1009" y="954" id="789" />
+<P2  x="943" y="1020" id="782" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1491" >
+<CONNECTOR type="115" id="1386" >
 <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="1178" />
-<P2  x="229" y="1232" id="1058" />
+<P1  x="229" y="1194" id="1073" />
+<P2  x="229" y="1232" id="953" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1492" >
+<CONNECTOR type="115" id="1387" >
 <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="1184" />
-<P2  x="344" y="1224" id="1074" />
+<P1  x="346" y="1198" id="1079" />
+<P2  x="344" y="1224" id="969" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1493" >
+<CONNECTOR type="115" id="1388" >
 <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="1190" />
-<P2  x="438" y="1208" id="1063" />
+<P1  x="438" y="1184" id="1085" />
+<P2  x="438" y="1208" id="958" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1494" >
+<CONNECTOR type="115" id="1389" >
 <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="1123" />
-<P2  x="496" y="825" id="1125" />
+<P1  x="496" y="793" id="1018" />
+<P2  x="496" y="825" id="1020" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1495" >
+<CONNECTOR type="115" id="1390" >
 <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="1140" />
-<P2  x="943" y="1306" id="1142" />
+<P1  x="943" y="1259" id="1035" />
+<P2  x="943" y="1306" id="1037" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1496" >
+<CONNECTOR type="115" id="1391" >
 <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="928" />
-<P2  x="1008" y="770" id="921" />
+<P1  x="1008" y="736" id="823" />
+<P2  x="1008" y="770" id="816" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1497" >
+<CONNECTOR type="115" id="1392" >
 <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="924" />
-<P2  x="1049" y="929" id="893" />
+<P1  x="1008" y="835" id="819" />
+<P2  x="1049" y="929" id="788" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1498" >
+<CONNECTOR type="115" id="1393" >
 <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="1157" />
-<P2  x="1049" y="1336" id="1159" />
+<P1  x="1049" y="1291" id="1052" />
+<P2  x="1049" y="1336" id="1054" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1499" >
+<CONNECTOR type="115" id="1394" >
 <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="872" />
-<P2  x="1208" y="1209" id="1232" />
+<P1  x="1208" y="1142" id="767" />
+<P2  x="1208" y="1209" id="1127" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1500" >
+<CONNECTOR type="115" id="1395" >
 <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="1233" />
-<P2  x="1208" y="1290" id="1244" />
+<P1  x="1208" y="1239" id="1128" />
+<P2  x="1208" y="1290" id="1139" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1501" >
+<CONNECTOR type="115" id="1396" >
 <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="1245" />
-<P2  x="1208" y="1346" id="1252" />
+<P1  x="1208" y="1320" id="1140" />
+<P2  x="1208" y="1346" id="1147" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1502" >
+<CONNECTOR type="115" id="1397" >
 <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="1253" />
-<P2  x="1207" y="1397" id="1249" />
+<P1  x="1208" y="1376" id="1148" />
+<P2  x="1207" y="1397" id="1144" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1503" >
+<CONNECTOR type="115" id="1398" >
 <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="868" />
-<P2  x="1208" y="1102" id="871" />
+<P1  x="1208" y="1075" id="763" />
+<P2  x="1208" y="1102" id="766" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1504" >
+<CONNECTOR type="115" id="1399" >
 <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="867" />
-<P2  x="1287" y="1065" id="1255" />
+<P1  x="1248" y="1035" id="762" />
+<P2  x="1287" y="1065" id="1150" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1505" >
+<CONNECTOR type="115" id="1400" >
 <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="1250" />
-<P2  x="1207" y="1466" id="1247" />
+<P1  x="1207" y="1427" id="1145" />
+<P2  x="1207" y="1466" id="1142" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1506" >
+<CONNECTOR type="115" id="1401" >
 <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="838" />
-<P2  x="1529" y="1059" id="831" />
+<P1  x="1567" y="1021" id="733" />
+<P2  x="1529" y="1059" id="726" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1507" >
+<CONNECTOR type="115" id="1402" >
 <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="828" />
-<P2  x="1529" y="1343" id="1262" />
+<P1  x="1529" y="1289" id="723" />
+<P2  x="1529" y="1343" id="1157" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1508" >
+<CONNECTOR type="115" id="1403" >
 <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="848" />
-<P2  x="1731" y="1021" id="1265" />
+<P1  x="1728" y="930" id="743" />
+<P2  x="1731" y="1021" id="1160" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1509" >
+<CONNECTOR type="115" id="1404" >
 <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="852" />
-<P2  x="1641" y="1294" id="1286" />
+<P1  x="1641" y="1270" id="747" />
+<P2  x="1641" y="1294" id="1181" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1510" >
+<CONNECTOR type="115" id="1405" >
 <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="1287" />
-<P2  x="1642" y="1343" id="1312" />
+<P1  x="1641" y="1324" id="1182" />
+<P2  x="1642" y="1343" id="1207" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1511" >
+<CONNECTOR type="115" id="1406" >
 <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="1263" />
-<P2  x="1529" y="1400" id="1309" />
+<P1  x="1529" y="1373" id="1158" />
+<P2  x="1529" y="1400" id="1204" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1512" >
+<CONNECTOR type="115" id="1407" >
 <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="1310" />
-<P2  x="1529" y="1452" id="1257" />
+<P1  x="1529" y="1430" id="1205" />
+<P2  x="1529" y="1452" id="1152" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1513" >
+<CONNECTOR type="115" id="1408" >
 <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="1313" />
-<P2  x="1642" y="1399" id="1315" />
+<P1  x="1642" y="1373" id="1208" />
+<P2  x="1642" y="1399" id="1210" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1514" >
+<CONNECTOR type="115" id="1409" >
 <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="806" />
-<P2  x="1920" y="1406" id="1325" />
+<P1  x="1956" y="1361" id="701" />
+<P2  x="1920" y="1406" id="1220" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1515" >
+<CONNECTOR type="115" id="1410" >
 <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="1333" />
-<P2  x="2101" y="1532" id="1335" />
+<P1  x="2101" y="1491" id="1228" />
+<P2  x="2101" y="1532" id="1230" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1516" >
+<CONNECTOR type="115" id="1411" >
 <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="808" />
-<P2  x="1996" y="1429" id="1340" />
+<P1  x="1996" y="1401" id="703" />
+<P2  x="1996" y="1429" id="1235" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1517" >
+<CONNECTOR type="115" id="1412" >
 <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="1341" />
-<P2  x="1996" y="1488" id="1337" />
+<P1  x="1996" y="1459" id="1236" />
+<P2  x="1996" y="1488" id="1232" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1518" >
+<CONNECTOR type="115" id="1413" >
 <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="798" />
-<P2  x="2218" y="1054" id="855" />
+<P1  x="2237" y="966" id="693" />
+<P2  x="2218" y="1054" id="750" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1519" >
+<CONNECTOR type="115" id="1414" >
 <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="1367" />
-<P2  x="2217" y="1360" id="1369" />
+<P1  x="2217" y="1323" id="1262" />
+<P2  x="2217" y="1360" id="1264" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1520" >
+<CONNECTOR type="115" id="1415" >
 <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="856" />
-<P2  x="2218" y="1131" id="1372" />
+<P1  x="2218" y="1094" id="751" />
+<P2  x="2218" y="1131" id="1267" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1521" >
+<CONNECTOR type="115" id="1416" >
 <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="1373" />
-<P2  x="2218" y="1193" id="1361" />
+<P1  x="2218" y="1161" id="1268" />
+<P2  x="2218" y="1193" id="1256" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1522" >
+<CONNECTOR type="115" id="1417" >
 <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="1362" />
-<P2  x="2217" y="1243" id="1375" />
+<P1  x="2218" y="1223" id="1257" />
+<P2  x="2217" y="1243" id="1270" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1523" >
+<CONNECTOR type="115" id="1418" >
 <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="1376" />
-<P2  x="2217" y="1293" id="1366" />
+<P1  x="2217" y="1273" id="1271" />
+<P2  x="2217" y="1293" id="1261" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1524" >
+<CONNECTOR type="115" id="1419" >
 <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="1370" />
-<P2  x="2217" y="1419" id="1378" />
+<P1  x="2217" y="1390" id="1265" />
+<P2  x="2217" y="1419" id="1273" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1525" >
+<CONNECTOR type="115" id="1420" >
 <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="860" />
-<P2  x="2341" y="1117" id="1381" />
+<P1  x="2341" y="1059" id="755" />
+<P2  x="2341" y="1117" id="1276" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1526" >
+<CONNECTOR type="115" id="1421" >
 <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="832" />
-<P2  x="1529" y="1127" id="1259" />
+<P1  x="1529" y="1099" id="727" />
+<P2  x="1529" y="1127" id="1154" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1527" >
+<CONNECTOR type="115" id="1422" >
 <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="792" />
-<P2  x="2101" y="1461" id="1332" />
+<P1  x="2101" y="1433" id="687" />
+<P2  x="2101" y="1461" id="1227" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1528" >
+<CONNECTOR type="115" id="1423" >
 <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="791" />
-<P2  x="2178" y="1416" id="1403" />
+<P1  x="2141" y="1393" id="686" />
+<P2  x="2178" y="1416" id="1298" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1529" >
+<CONNECTOR type="115" id="1424" >
 <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="846" />
-<P2  x="1607" y="996" id="837" />
+<P1  x="1688" y="890" id="741" />
+<P2  x="1607" y="996" id="732" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1530" >
+<CONNECTOR type="115" id="1425" >
 <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="847" />
-<P2  x="2277" y="941" id="797" />
+<P1  x="1768" y="890" id="742" />
+<P2  x="2277" y="941" id="692" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1531" >
+<CONNECTOR type="115" id="1426" >
 <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="799" />
-<P2  x="2341" y="1019" id="859" />
+<P1  x="2317" y="966" id="694" />
+<P2  x="2341" y="1019" id="754" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1532" >
+<CONNECTOR type="115" id="1427" >
 <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="1382" />
-<P2  x="2341" y="1194" id="1398" />
+<P1  x="2341" y="1147" id="1277" />
+<P2  x="2341" y="1194" id="1293" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1533" >
+<CONNECTOR type="115" id="1428" >
 <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="1399" />
-<P2  x="2341" y="1262" id="1393" />
+<P1  x="2341" y="1224" id="1294" />
+<P2  x="2341" y="1262" id="1288" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1534" >
+<CONNECTOR type="115" id="1429" >
 <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="1266" />
-<P2  x="1731" y="1081" id="1410" />
+<P1  x="1731" y="1051" id="1161" />
+<P2  x="1731" y="1081" id="1305" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1535" >
+<CONNECTOR type="115" id="1430" >
 <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="839" />
-<P2  x="1659" y="1052" id="1401" />
+<P1  x="1647" y="1021" id="734" />
+<P2  x="1659" y="1052" id="1296" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1536" >
+<CONNECTOR type="115" id="1431" >
 <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="816" />
-<P2  x="1826" y="1344" id="1320" />
+<P1  x="1826" y="1324" id="711" />
+<P2  x="1826" y="1344" id="1215" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1537" >
+<CONNECTOR type="115" id="1432" >
 <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="1321" />
-<P2  x="1828" y="1452" id="1323" />
+<P1  x="1826" y="1374" id="1216" />
+<P2  x="1828" y="1452" id="1218" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1538" >
+<CONNECTOR type="115" id="1433" >
 <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="814" />
-<P2  x="1740" y="1330" id="1318" />
+<P1  x="1786" y="1284" id="709" />
+<P2  x="1740" y="1330" id="1213" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1539" >
+<CONNECTOR type="115" id="1434" >
 <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="1326" />
-<P2  x="1920" y="1476" id="1328" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1920" y="1436" id="1221" />
+<P2  x="1920" y="1476" id="1223" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1435" >
+<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="1233" />
+<P2  x="1996" y="1538" id="1225" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1436" >
+<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="702" />
+<P2  x="2101" y="1368" id="684" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1437" >
+<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="710" />
+<P2  x="1996" y="1336" id="700" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1438" >
+<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="1289" />
+<P2  x="2340" y="1319" id="1291" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1439" >
+<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="1274" />
+<P2  x="2217" y="1478" id="1259" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1440" >
+<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="695" />
+<P2  x="2278" y="1034" id="1300" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1441" >
+<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="1211" />
+<P2  x="1642" y="1463" id="1184" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1442" >
+<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="1155" />
+<P2  x="1529" y="1187" id="1302" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1443" >
+<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="1303" />
+<P2  x="1529" y="1249" id="722" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1444" >
+<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="717" />
+<P2  x="1641" y="1230" id="746" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1445" >
+<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="718" />
+<P2  x="1826" y="1259" id="708" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1446" >
+<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="1306" />
+<P2  x="1731" y="1131" id="716" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="1454" >
+<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="1450" />
+<TGConnectingPoint num="1" id="1451" />
+<TGConnectingPoint num="2" id="1452" />
+<TGConnectingPoint num="3" id="1453" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="1447" >
+<father id="1454" num="0" />
+<cdparam x="466" y="287" />
+<sizeparam width="12" 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="1448" >
+<father id="1454" num="1" />
+<cdparam x="526" y="287" />
+<sizeparam width="12" 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="1449" >
+<father id="1454" num="2" />
+<cdparam x="511" y="322" />
+<sizeparam width="12" 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="1456" >
+<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="1455" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1459" >
+<cdparam x="485" y="129" />
+<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="send event" value="open()" />
+<TGConnectingPoint num="0" id="1457" />
+<TGConnectingPoint num="1" id="1458" />
+<extraparam>
+<Data eventName="open" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1462" >
+<cdparam x="468" y="178" />
+<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="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="1460" />
+<TGConnectingPoint num="1" id="1461" />
+<extraparam>
+<Data channelName="fromAtoT" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1465" >
+<cdparam x="470" y="226" />
+<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="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="1463" />
+<TGConnectingPoint num="1" id="1464" />
+<extraparam>
+<Data eventName="send_TCP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1467" >
+<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="1466" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1470" >
+<cdparam x="562" y="329" />
+<sizeparam width="49" 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="1468" />
+<TGConnectingPoint num="1" id="1469" />
+<extraparam>
+<Data eventName="abort" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1473" >
+<cdparam x="409" y="337" />
+<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="send event" value="close()" />
+<TGConnectingPoint num="0" id="1471" />
+<TGConnectingPoint num="1" id="1472" />
+<extraparam>
+<Data eventName="close" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1475" >
+<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="1474" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="1476" >
+<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="1455" />
+<P2  x="508" y="124" id="1457" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1477" >
+<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="1458" />
+<P2  x="508" y="173" id="1460" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1478" >
+<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="1461" />
+<P2  x="507" y="221" id="1463" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1479" >
+<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="1469" />
+<P2  x="586" y="383" id="1466" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1480" >
+<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="1464" />
+<P2  x="506" y="267" id="1450" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1481" >
+<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="1451" />
+<P2  x="432" y="332" id="1471" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1482" >
+<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="1472" />
+<P2  x="432" y="381" id="1474" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1483" >
+<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="1452" />
+<P2  x="586" y="324" id="1468" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1000" id="1485" >
+<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="1484" />
+</COMPONENT>
+
+<COMPONENT type="1010" id="1488" >
+<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="1486" />
+<TGConnectingPoint num="1" id="1487" />
+<accessibility />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1491" >
+<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="1489" />
+<TGConnectingPoint num="1" id="1490" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1494" >
+<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="1492" />
+<TGConnectingPoint num="1" id="1493" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1497" >
+<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="1495" />
+<TGConnectingPoint num="1" id="1496" />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1506" >
+<cdparam x="376" y="98" />
+<sizeparam width="249" height="65" 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="1498" />
+<TGConnectingPoint num="1" id="1499" />
+<TGConnectingPoint num="2" id="1500" />
+<TGConnectingPoint num="3" id="1501" />
+<TGConnectingPoint num="4" id="1502" />
+<TGConnectingPoint num="5" id="1503" />
+<TGConnectingPoint num="6" id="1504" />
+<TGConnectingPoint num="7" id="1505" />
+<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="1509" >
+<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="1507" />
+<TGConnectingPoint num="1" id="1508" />
+<extraparam>
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="1512" >
+<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="1510" />
+<TGConnectingPoint num="1" id="1511" />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1514" >
+<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="1513" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1517" >
+<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="1515" />
+<TGConnectingPoint num="1" id="1516" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1519" >
+<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="1518" />
+</COMPONENT>
+
+<COMPONENT type="1009" id="1522" >
+<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="1520" />
+<TGConnectingPoint num="1" id="1521" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1525" >
+<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="1523" />
+<TGConnectingPoint num="1" id="1524" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1528" >
+<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="1526" />
+<TGConnectingPoint num="1" id="1527" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1531" >
+<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="1529" />
+<TGConnectingPoint num="1" id="1530" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1009" id="1534" >
+<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="1532" />
+<TGConnectingPoint num="1" id="1533" />
+<extraparam>
+<Data channelName="fromDtoSC0" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1537" >
+<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="1535" />
+<TGConnectingPoint num="1" id="1536" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1540" >
+<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="1538" />
+<TGConnectingPoint num="1" id="1539" />
+<breakpoint />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1014" id="1544" >
+<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="1541" />
+<TGConnectingPoint num="1" id="1542" />
+<TGConnectingPoint num="2" id="1543" />
+<extraparam>
+<Data init="j=0" condition="x==0" increment="j = j" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1546" >
+<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="1545" />
+</COMPONENT>
+
+<COMPONENT type="1018" id="1557" >
+<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="1547" />
+<TGConnectingPoint num="1" id="1548" />
+<TGConnectingPoint num="2" id="1549" />
+<TGConnectingPoint num="3" id="1550" />
+<TGConnectingPoint num="4" id="1551" />
+<TGConnectingPoint num="5" id="1552" />
+<TGConnectingPoint num="6" id="1553" />
+<TGConnectingPoint num="7" id="1554" />
+<TGConnectingPoint num="8" id="1555" />
+<TGConnectingPoint num="9" id="1556" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="1562" >
+<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="1496" />
+<P2  x="298" y="92" id="1507" />
+<Point x="166" y="351" />
+<Point x="231" y="351" />
+<Point x="231" y="72" />
+<Point x="298" y="72" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1540" >
-<cdparam x="1996" y="1518" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1558" >
+<father id="1562" 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="1559" >
+<father id="1562" 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="1560" >
+<father id="1562" 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="1561" >
+<father id="1562" 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>
+
+<CONNECTOR type="115" id="1563" >
+<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 action state to stop state" value="null" />
-<P1  x="1996" y="1518" id="1338" />
-<P2  x="1996" y="1538" id="1330" />
+<infoparam name="connector from start state to wait event" value="null" />
+<P1  x="166" y="86" id="1484" />
+<P2  x="166" y="124" id="1486" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1541" >
-<cdparam x="2036" y="1361" />
+<CONNECTOR type="115" id="1564" >
+<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 choice to choice" value="null" />
-<P1  x="2036" y="1361" id="807" />
-<P2  x="2101" y="1368" id="789" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="154" id="1487" />
+<P2  x="166" y="177" id="1489" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1542" >
-<cdparam x="1866" y="1284" />
+<CONNECTOR type="115" id="1565" >
+<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 choice to choice" value="null" />
-<P1  x="1866" y="1284" id="815" />
-<P2  x="1996" y="1336" id="805" />
+<infoparam name="connector from send request to send request" value="null" />
+<P1  x="298" y="122" id="1508" />
+<P2  x="298" y="143" id="1510" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1543" >
-<cdparam x="2341" y="1292" />
+<CONNECTOR type="115" id="1566" >
+<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 action state to stop state" value="null" />
-<P1  x="2341" y="1292" id="1394" />
-<P2  x="2340" y="1319" id="1396" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="362" y="289" id="1524" />
+<P2  x="362" y="303" id="1520" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1544" >
-<cdparam x="2217" y="1449" />
+<CONNECTOR type="115" id="1567" >
+<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 action state to stop state" value="null" />
-<P1  x="2217" y="1449" id="1379" />
-<P2  x="2217" y="1478" id="1364" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="362" y="333" id="1521" />
+<P2  x="362" y="345" id="1515" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1545" >
-<cdparam x="2277" y="1006" />
+<CONNECTOR type="115" id="1568" >
+<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 choice to stop state" value="null" />
-<P1  x="2277" y="1006" id="800" />
-<P2  x="2278" y="1034" id="1405" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="362" y="375" id="1516" />
+<P2  x="362" y="387" id="1526" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1546" >
-<cdparam x="1642" y="1429" />
+<CONNECTOR type="115" id="1569" >
+<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="1642" y="1429" id="1316" />
-<P2  x="1642" y="1463" id="1289" />
+<P1  x="362" y="417" id="1527" />
+<P2  x="362" y="421" id="1518" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1547" >
-<cdparam x="1529" y="1157" />
+<CONNECTOR type="115" id="1570" >
+<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 write channel to send event" value="null" />
-<P1  x="1529" y="1157" id="1260" />
-<P2  x="1529" y="1187" id="1407" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="525" y="336" id="1533" />
+<P2  x="525" y="345" id="1529" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1548" >
-<cdparam x="1529" y="1217" />
+<CONNECTOR type="115" id="1571" >
+<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 execI" value="null" />
-<P1  x="1529" y="1217" id="1408" />
-<P2  x="1529" y="1249" id="827" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="525" y="375" id="1530" />
+<P2  x="525" y="382" id="1535" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1549" >
-<cdparam x="1691" y="1156" />
+<CONNECTOR type="115" id="1572" >
+<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 choice to execI" value="null" />
-<P1  x="1691" y="1156" id="822" />
-<P2  x="1641" y="1230" id="851" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="525" y="293" id="1539" />
+<P2  x="525" y="306" id="1532" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1550" >
-<cdparam x="1771" y="1156" />
+<CONNECTOR type="115" id="1573" >
+<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 choice to choice" value="null" />
-<P1  x="1771" y="1156" id="823" />
-<P2  x="1826" y="1259" id="813" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="525" y="412" id="1536" />
+<P2  x="525" y="423" id="1513" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1551" >
-<cdparam x="1731" y="1111" />
+<CONNECTOR type="115" id="1574" >
+<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 read channel to choice" value="null" />
-<P1  x="1731" y="1111" id="1411" />
-<P2  x="1731" y="1131" id="821" />
+<infoparam name="connector from send request to for loop" value="null" />
+<P1  x="298" y="173" id="1511" />
+<P2  x="298" y="197" id="1541" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1559" >
-<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="1555" />
-<TGConnectingPoint num="1" id="1556" />
-<TGConnectingPoint num="2" id="1557" />
-<TGConnectingPoint num="3" id="1558" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1552" >
-<father id="1559" num="0" />
-<cdparam x="464" y="232" />
-<sizeparam width="51" 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="1553" >
-<father id="1559" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="41" 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="1554" >
-<father id="1559" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="12" 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="1561" >
-<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="1560" />
-</COMPONENT>
-
-<COMPONENT type="1001" id="1563" >
-<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="1562" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1566" >
-<cdparam x="396" y="299" />
-<sizeparam width="63" 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="1564" />
-<TGConnectingPoint num="1" id="1565" />
-<extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1569" >
-<cdparam x="599" y="300" />
-<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="1567" />
-<TGConnectingPoint num="1" id="1568" />
-<extraparam>
-<Data eventName="stop" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1571" >
-<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="1570" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="1574" >
-<cdparam x="489" y="150" />
-<sizeparam width="70" 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="1572" />
-<TGConnectingPoint num="1" id="1573" />
-<extraparam>
-<Data eventName="stop" variable="x" />
-</extraparam>
-</COMPONENT>
-
 <CONNECTOR type="115" id="1575" >
-<cdparam x="427" y="324" />
+<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 send event to stop state" value="null" />
-<P1  x="427" y="324" id="1565" />
-<P2  x="427" y="362" id="1562" />
+<infoparam name="connector from for loop to stop state" value="null" />
+<P1  x="298" y="227" id="1543" />
+<P2  x="307" y="226" id="1545" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1576" >
-<cdparam x="622" y="325" />
+<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 wait event to stop state" value="null" />
-<P1  x="622" y="325" id="1568" />
-<P2  x="622" y="360" id="1570" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="399" y="241" id="1548" />
+<P2  x="362" y="259" id="1523" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1577" >
-<cdparam x="524" y="107" />
+<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 start state to notified event" value="null" />
-<P1  x="524" y="107" id="1560" />
-<P2  x="524" y="145" id="1572" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="479" y="241" id="1549" />
+<P2  x="525" y="263" id="1538" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1578" >
-<cdparam x="524" y="175" />
+<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 notified event to choice" value="null" />
-<P1  x="524" y="175" id="1573" />
-<P2  x="524" y="212" id="1555" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="360" y="216" id="1542" />
+<P2  x="439" y="216" id="1547" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1579" >
-<cdparam x="484" y="237" />
+<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 choice to send event" value="null" />
-<P1  x="484" y="237" id="1556" />
-<P2  x="427" y="294" id="1564" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="262" id="1493" />
+<P2  x="166" y="303" id="1495" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1580" >
-<cdparam x="564" y="237" />
+<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 choice to wait event" value="null" />
-<P1  x="564" y="237" id="1557" />
-<P2  x="622" y="295" id="1567" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="166" y="207" id="1490" />
+<P2  x="166" y="232" id="1492" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -6668,39 +6669,39 @@ On prend b=1 comme exemple
 
 <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="1650" >
+<COMPONENT type="1100" id="1605" >
 <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="1626" />
-<TGConnectingPoint num="1" id="1627" />
-<TGConnectingPoint num="2" id="1628" />
-<TGConnectingPoint num="3" id="1629" />
-<TGConnectingPoint num="4" id="1630" />
-<TGConnectingPoint num="5" id="1631" />
-<TGConnectingPoint num="6" id="1632" />
-<TGConnectingPoint num="7" id="1633" />
-<TGConnectingPoint num="8" id="1634" />
-<TGConnectingPoint num="9" id="1635" />
-<TGConnectingPoint num="10" id="1636" />
-<TGConnectingPoint num="11" id="1637" />
-<TGConnectingPoint num="12" id="1638" />
-<TGConnectingPoint num="13" id="1639" />
-<TGConnectingPoint num="14" id="1640" />
-<TGConnectingPoint num="15" id="1641" />
-<TGConnectingPoint num="16" id="1642" />
-<TGConnectingPoint num="17" id="1643" />
-<TGConnectingPoint num="18" id="1644" />
-<TGConnectingPoint num="19" id="1645" />
-<TGConnectingPoint num="20" id="1646" />
-<TGConnectingPoint num="21" id="1647" />
-<TGConnectingPoint num="22" id="1648" />
-<TGConnectingPoint num="23" id="1649" />
+<TGConnectingPoint num="0" id="1581" />
+<TGConnectingPoint num="1" id="1582" />
+<TGConnectingPoint num="2" id="1583" />
+<TGConnectingPoint num="3" id="1584" />
+<TGConnectingPoint num="4" id="1585" />
+<TGConnectingPoint num="5" id="1586" />
+<TGConnectingPoint num="6" id="1587" />
+<TGConnectingPoint num="7" id="1588" />
+<TGConnectingPoint num="8" id="1589" />
+<TGConnectingPoint num="9" id="1590" />
+<TGConnectingPoint num="10" id="1591" />
+<TGConnectingPoint num="11" id="1592" />
+<TGConnectingPoint num="12" id="1593" />
+<TGConnectingPoint num="13" id="1594" />
+<TGConnectingPoint num="14" id="1595" />
+<TGConnectingPoint num="15" id="1596" />
+<TGConnectingPoint num="16" id="1597" />
+<TGConnectingPoint num="17" id="1598" />
+<TGConnectingPoint num="18" id="1599" />
+<TGConnectingPoint num="19" id="1600" />
+<TGConnectingPoint num="20" id="1601" />
+<TGConnectingPoint num="21" id="1602" />
+<TGConnectingPoint num="22" id="1603" />
+<TGConnectingPoint num="23" id="1604" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
 
@@ -6714,225 +6715,225 @@ On prend b=1 comme exemple
 
 <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="1675" >
+<COMPONENT type="1105" id="1630" >
 <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="1651" />
-<TGConnectingPoint num="1" id="1652" />
-<TGConnectingPoint num="2" id="1653" />
-<TGConnectingPoint num="3" id="1654" />
-<TGConnectingPoint num="4" id="1655" />
-<TGConnectingPoint num="5" id="1656" />
-<TGConnectingPoint num="6" id="1657" />
-<TGConnectingPoint num="7" id="1658" />
-<TGConnectingPoint num="8" id="1659" />
-<TGConnectingPoint num="9" id="1660" />
-<TGConnectingPoint num="10" id="1661" />
-<TGConnectingPoint num="11" id="1662" />
-<TGConnectingPoint num="12" id="1663" />
-<TGConnectingPoint num="13" id="1664" />
-<TGConnectingPoint num="14" id="1665" />
-<TGConnectingPoint num="15" id="1666" />
-<TGConnectingPoint num="16" id="1667" />
-<TGConnectingPoint num="17" id="1668" />
-<TGConnectingPoint num="18" id="1669" />
-<TGConnectingPoint num="19" id="1670" />
-<TGConnectingPoint num="20" id="1671" />
-<TGConnectingPoint num="21" id="1672" />
-<TGConnectingPoint num="22" id="1673" />
-<TGConnectingPoint num="23" id="1674" />
+<TGConnectingPoint num="0" id="1606" />
+<TGConnectingPoint num="1" id="1607" />
+<TGConnectingPoint num="2" id="1608" />
+<TGConnectingPoint num="3" id="1609" />
+<TGConnectingPoint num="4" id="1610" />
+<TGConnectingPoint num="5" id="1611" />
+<TGConnectingPoint num="6" id="1612" />
+<TGConnectingPoint num="7" id="1613" />
+<TGConnectingPoint num="8" id="1614" />
+<TGConnectingPoint num="9" id="1615" />
+<TGConnectingPoint num="10" id="1616" />
+<TGConnectingPoint num="11" id="1617" />
+<TGConnectingPoint num="12" id="1618" />
+<TGConnectingPoint num="13" id="1619" />
+<TGConnectingPoint num="14" id="1620" />
+<TGConnectingPoint num="15" id="1621" />
+<TGConnectingPoint num="16" id="1622" />
+<TGConnectingPoint num="17" id="1623" />
+<TGConnectingPoint num="18" id="1624" />
+<TGConnectingPoint num="19" id="1625" />
+<TGConnectingPoint num="20" id="1626" />
+<TGConnectingPoint num="21" id="1627" />
+<TGConnectingPoint num="22" id="1628" />
+<TGConnectingPoint num="23" id="1629" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  clockRatio="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="1700" >
+<COMPONENT type="1102" id="1655" >
 <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="1676" />
-<TGConnectingPoint num="1" id="1677" />
-<TGConnectingPoint num="2" id="1678" />
-<TGConnectingPoint num="3" id="1679" />
-<TGConnectingPoint num="4" id="1680" />
-<TGConnectingPoint num="5" id="1681" />
-<TGConnectingPoint num="6" id="1682" />
-<TGConnectingPoint num="7" id="1683" />
-<TGConnectingPoint num="8" id="1684" />
-<TGConnectingPoint num="9" id="1685" />
-<TGConnectingPoint num="10" id="1686" />
-<TGConnectingPoint num="11" id="1687" />
-<TGConnectingPoint num="12" id="1688" />
-<TGConnectingPoint num="13" id="1689" />
-<TGConnectingPoint num="14" id="1690" />
-<TGConnectingPoint num="15" id="1691" />
-<TGConnectingPoint num="16" id="1692" />
-<TGConnectingPoint num="17" id="1693" />
-<TGConnectingPoint num="18" id="1694" />
-<TGConnectingPoint num="19" id="1695" />
-<TGConnectingPoint num="20" id="1696" />
-<TGConnectingPoint num="21" id="1697" />
-<TGConnectingPoint num="22" id="1698" />
-<TGConnectingPoint num="23" id="1699" />
+<TGConnectingPoint num="0" id="1631" />
+<TGConnectingPoint num="1" id="1632" />
+<TGConnectingPoint num="2" id="1633" />
+<TGConnectingPoint num="3" id="1634" />
+<TGConnectingPoint num="4" id="1635" />
+<TGConnectingPoint num="5" id="1636" />
+<TGConnectingPoint num="6" id="1637" />
+<TGConnectingPoint num="7" id="1638" />
+<TGConnectingPoint num="8" id="1639" />
+<TGConnectingPoint num="9" id="1640" />
+<TGConnectingPoint num="10" id="1641" />
+<TGConnectingPoint num="11" id="1642" />
+<TGConnectingPoint num="12" id="1643" />
+<TGConnectingPoint num="13" id="1644" />
+<TGConnectingPoint num="14" id="1645" />
+<TGConnectingPoint num="15" id="1646" />
+<TGConnectingPoint num="16" id="1647" />
+<TGConnectingPoint num="17" id="1648" />
+<TGConnectingPoint num="18" id="1649" />
+<TGConnectingPoint num="19" id="1650" />
+<TGConnectingPoint num="20" id="1651" />
+<TGConnectingPoint num="21" id="1652" />
+<TGConnectingPoint num="22" id="1653" />
+<TGConnectingPoint num="23" id="1654" />
 <extraparam>
 <info stereotype="BUS" nodeName="Bus0" />
 <attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1734" >
+<COMPONENT type="1100" id="1680" >
 <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="1710" />
-<TGConnectingPoint num="1" id="1711" />
-<TGConnectingPoint num="2" id="1712" />
-<TGConnectingPoint num="3" id="1713" />
-<TGConnectingPoint num="4" id="1714" />
-<TGConnectingPoint num="5" id="1715" />
-<TGConnectingPoint num="6" id="1716" />
-<TGConnectingPoint num="7" id="1717" />
-<TGConnectingPoint num="8" id="1718" />
-<TGConnectingPoint num="9" id="1719" />
-<TGConnectingPoint num="10" id="1720" />
-<TGConnectingPoint num="11" id="1721" />
-<TGConnectingPoint num="12" id="1722" />
-<TGConnectingPoint num="13" id="1723" />
-<TGConnectingPoint num="14" id="1724" />
-<TGConnectingPoint num="15" id="1725" />
-<TGConnectingPoint num="16" id="1726" />
-<TGConnectingPoint num="17" id="1727" />
-<TGConnectingPoint num="18" id="1728" />
-<TGConnectingPoint num="19" id="1729" />
-<TGConnectingPoint num="20" id="1730" />
-<TGConnectingPoint num="21" id="1731" />
-<TGConnectingPoint num="22" id="1732" />
-<TGConnectingPoint num="23" id="1733" />
+<TGConnectingPoint num="0" id="1656" />
+<TGConnectingPoint num="1" id="1657" />
+<TGConnectingPoint num="2" id="1658" />
+<TGConnectingPoint num="3" id="1659" />
+<TGConnectingPoint num="4" id="1660" />
+<TGConnectingPoint num="5" id="1661" />
+<TGConnectingPoint num="6" id="1662" />
+<TGConnectingPoint num="7" id="1663" />
+<TGConnectingPoint num="8" id="1664" />
+<TGConnectingPoint num="9" id="1665" />
+<TGConnectingPoint num="10" id="1666" />
+<TGConnectingPoint num="11" id="1667" />
+<TGConnectingPoint num="12" id="1668" />
+<TGConnectingPoint num="13" id="1669" />
+<TGConnectingPoint num="14" id="1670" />
+<TGConnectingPoint num="15" id="1671" />
+<TGConnectingPoint num="16" id="1672" />
+<TGConnectingPoint num="17" id="1673" />
+<TGConnectingPoint num="18" id="1674" />
+<TGConnectingPoint num="19" id="1675" />
+<TGConnectingPoint num="20" id="1676" />
+<TGConnectingPoint num="21" id="1677" />
+<TGConnectingPoint num="22" id="1678" />
+<TGConnectingPoint num="23" id="1679" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1768" >
+<COMPONENT type="1100" id="1705" >
 <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="1744" />
-<TGConnectingPoint num="1" id="1745" />
-<TGConnectingPoint num="2" id="1746" />
-<TGConnectingPoint num="3" id="1747" />
-<TGConnectingPoint num="4" id="1748" />
-<TGConnectingPoint num="5" id="1749" />
-<TGConnectingPoint num="6" id="1750" />
-<TGConnectingPoint num="7" id="1751" />
-<TGConnectingPoint num="8" id="1752" />
-<TGConnectingPoint num="9" id="1753" />
-<TGConnectingPoint num="10" id="1754" />
-<TGConnectingPoint num="11" id="1755" />
-<TGConnectingPoint num="12" id="1756" />
-<TGConnectingPoint num="13" id="1757" />
-<TGConnectingPoint num="14" id="1758" />
-<TGConnectingPoint num="15" id="1759" />
-<TGConnectingPoint num="16" id="1760" />
-<TGConnectingPoint num="17" id="1761" />
-<TGConnectingPoint num="18" id="1762" />
-<TGConnectingPoint num="19" id="1763" />
-<TGConnectingPoint num="20" id="1764" />
-<TGConnectingPoint num="21" id="1765" />
-<TGConnectingPoint num="22" id="1766" />
-<TGConnectingPoint num="23" id="1767" />
+<TGConnectingPoint num="0" id="1681" />
+<TGConnectingPoint num="1" id="1682" />
+<TGConnectingPoint num="2" id="1683" />
+<TGConnectingPoint num="3" id="1684" />
+<TGConnectingPoint num="4" id="1685" />
+<TGConnectingPoint num="5" id="1686" />
+<TGConnectingPoint num="6" id="1687" />
+<TGConnectingPoint num="7" id="1688" />
+<TGConnectingPoint num="8" id="1689" />
+<TGConnectingPoint num="9" id="1690" />
+<TGConnectingPoint num="10" id="1691" />
+<TGConnectingPoint num="11" id="1692" />
+<TGConnectingPoint num="12" id="1693" />
+<TGConnectingPoint num="13" id="1694" />
+<TGConnectingPoint num="14" id="1695" />
+<TGConnectingPoint num="15" id="1696" />
+<TGConnectingPoint num="16" id="1697" />
+<TGConnectingPoint num="17" id="1698" />
+<TGConnectingPoint num="18" id="1699" />
+<TGConnectingPoint num="19" id="1700" />
+<TGConnectingPoint num="20" id="1701" />
+<TGConnectingPoint num="21" id="1702" />
+<TGConnectingPoint num="22" id="1703" />
+<TGConnectingPoint num="23" id="1704" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1820" >
+<COMPONENT type="1100" id="1730" >
 <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="1796" />
-<TGConnectingPoint num="1" id="1797" />
-<TGConnectingPoint num="2" id="1798" />
-<TGConnectingPoint num="3" id="1799" />
-<TGConnectingPoint num="4" id="1800" />
-<TGConnectingPoint num="5" id="1801" />
-<TGConnectingPoint num="6" id="1802" />
-<TGConnectingPoint num="7" id="1803" />
-<TGConnectingPoint num="8" id="1804" />
-<TGConnectingPoint num="9" id="1805" />
-<TGConnectingPoint num="10" id="1806" />
-<TGConnectingPoint num="11" id="1807" />
-<TGConnectingPoint num="12" id="1808" />
-<TGConnectingPoint num="13" id="1809" />
-<TGConnectingPoint num="14" id="1810" />
-<TGConnectingPoint num="15" id="1811" />
-<TGConnectingPoint num="16" id="1812" />
-<TGConnectingPoint num="17" id="1813" />
-<TGConnectingPoint num="18" id="1814" />
-<TGConnectingPoint num="19" id="1815" />
-<TGConnectingPoint num="20" id="1816" />
-<TGConnectingPoint num="21" id="1817" />
-<TGConnectingPoint num="22" id="1818" />
-<TGConnectingPoint num="23" id="1819" />
+<TGConnectingPoint num="0" id="1706" />
+<TGConnectingPoint num="1" id="1707" />
+<TGConnectingPoint num="2" id="1708" />
+<TGConnectingPoint num="3" id="1709" />
+<TGConnectingPoint num="4" id="1710" />
+<TGConnectingPoint num="5" id="1711" />
+<TGConnectingPoint num="6" id="1712" />
+<TGConnectingPoint num="7" id="1713" />
+<TGConnectingPoint num="8" id="1714" />
+<TGConnectingPoint num="9" id="1715" />
+<TGConnectingPoint num="10" id="1716" />
+<TGConnectingPoint num="11" id="1717" />
+<TGConnectingPoint num="12" id="1718" />
+<TGConnectingPoint num="13" id="1719" />
+<TGConnectingPoint num="14" id="1720" />
+<TGConnectingPoint num="15" id="1721" />
+<TGConnectingPoint num="16" id="1722" />
+<TGConnectingPoint num="17" id="1723" />
+<TGConnectingPoint num="18" id="1724" />
+<TGConnectingPoint num="19" id="1725" />
+<TGConnectingPoint num="20" id="1726" />
+<TGConnectingPoint num="21" id="1727" />
+<TGConnectingPoint num="22" id="1728" />
+<TGConnectingPoint num="23" id="1729" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="125" id="1821" >
+<CONNECTOR type="125" id="1731" >
 <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="1652" />
-<P2  x="384" y="269" id="1682" />
+<P1  x="384" y="308" id="1607" />
+<P2  x="384" y="269" id="1637" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="1822" >
+<CONNECTOR type="125" id="1732" >
 <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="1748" />
-<P2  x="259" y="244" id="1679" />
+<P1  x="202" y="244" id="1685" />
+<P2  x="259" y="244" id="1634" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="1823" >
+<CONNECTOR type="125" id="1733" >
 <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="1713" />
-<P2  x="509" y="244" id="1680" />
+<P1  x="555" y="244" id="1659" />
+<P2  x="509" y="244" id="1635" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="1824" >
+<CONNECTOR type="125" id="1734" >
 <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="1802" />
-<P2  x="384" y="219" id="1677" />
+<P1  x="384" y="171" id="1712" />
+<P2  x="384" y="219" id="1632" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
@@ -6948,134 +6949,134 @@ On prend b=1 comme exemple
 
 <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="1894" >
+<COMPONENT type="1100" id="1804" >
 <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="1870" />
-<TGConnectingPoint num="1" id="1871" />
-<TGConnectingPoint num="2" id="1872" />
-<TGConnectingPoint num="3" id="1873" />
-<TGConnectingPoint num="4" id="1874" />
-<TGConnectingPoint num="5" id="1875" />
-<TGConnectingPoint num="6" id="1876" />
-<TGConnectingPoint num="7" id="1877" />
-<TGConnectingPoint num="8" id="1878" />
-<TGConnectingPoint num="9" id="1879" />
-<TGConnectingPoint num="10" id="1880" />
-<TGConnectingPoint num="11" id="1881" />
-<TGConnectingPoint num="12" id="1882" />
-<TGConnectingPoint num="13" id="1883" />
-<TGConnectingPoint num="14" id="1884" />
-<TGConnectingPoint num="15" id="1885" />
-<TGConnectingPoint num="16" id="1886" />
-<TGConnectingPoint num="17" id="1887" />
-<TGConnectingPoint num="18" id="1888" />
-<TGConnectingPoint num="19" id="1889" />
-<TGConnectingPoint num="20" id="1890" />
-<TGConnectingPoint num="21" id="1891" />
-<TGConnectingPoint num="22" id="1892" />
-<TGConnectingPoint num="23" id="1893" />
+<TGConnectingPoint num="0" id="1780" />
+<TGConnectingPoint num="1" id="1781" />
+<TGConnectingPoint num="2" id="1782" />
+<TGConnectingPoint num="3" id="1783" />
+<TGConnectingPoint num="4" id="1784" />
+<TGConnectingPoint num="5" id="1785" />
+<TGConnectingPoint num="6" id="1786" />
+<TGConnectingPoint num="7" id="1787" />
+<TGConnectingPoint num="8" id="1788" />
+<TGConnectingPoint num="9" id="1789" />
+<TGConnectingPoint num="10" id="1790" />
+<TGConnectingPoint num="11" id="1791" />
+<TGConnectingPoint num="12" id="1792" />
+<TGConnectingPoint num="13" id="1793" />
+<TGConnectingPoint num="14" id="1794" />
+<TGConnectingPoint num="15" id="1795" />
+<TGConnectingPoint num="16" id="1796" />
+<TGConnectingPoint num="17" id="1797" />
+<TGConnectingPoint num="18" id="1798" />
+<TGConnectingPoint num="19" id="1799" />
+<TGConnectingPoint num="20" id="1800" />
+<TGConnectingPoint num="21" id="1801" />
+<TGConnectingPoint num="22" id="1802" />
+<TGConnectingPoint num="23" id="1803" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="1833" >
-<father id="1894" num="0" />
-<cdparam x="92" y="154" />
-<sizeparam width="163" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1743" >
+<father id="1804" 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="296" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<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" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
+<TGConnectingPoint num="0" id="1735" />
+<TGConnectingPoint num="1" id="1736" />
+<TGConnectingPoint num="2" id="1737" />
+<TGConnectingPoint num="3" id="1738" />
+<TGConnectingPoint num="4" id="1739" />
+<TGConnectingPoint num="5" id="1740" />
+<TGConnectingPoint num="6" id="1741" />
+<TGConnectingPoint num="7" id="1742" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1842" >
-<father id="1894" num="1" />
-<cdparam x="291" y="153" />
-<sizeparam width="136" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1752" >
+<father id="1804" num="1" />
+<cdparam x="290" y="234" />
+<sizeparam width="139" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="1834" />
-<TGConnectingPoint num="1" id="1835" />
-<TGConnectingPoint num="2" id="1836" />
-<TGConnectingPoint num="3" id="1837" />
-<TGConnectingPoint num="4" id="1838" />
-<TGConnectingPoint num="5" id="1839" />
-<TGConnectingPoint num="6" id="1840" />
-<TGConnectingPoint num="7" id="1841" />
+<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
+<TGConnectingPoint num="0" id="1744" />
+<TGConnectingPoint num="1" id="1745" />
+<TGConnectingPoint num="2" id="1746" />
+<TGConnectingPoint num="3" id="1747" />
+<TGConnectingPoint num="4" id="1748" />
+<TGConnectingPoint num="5" id="1749" />
+<TGConnectingPoint num="6" id="1750" />
+<TGConnectingPoint num="7" id="1751" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1851" >
-<father id="1894" num="2" />
+<SUBCOMPONENT type="1101" id="1761" >
+<father id="1804" num="2" />
 <cdparam x="96" y="246" />
 <sizeparam width="108" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="351" minY="0" maxY="271" />
 <infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="1843" />
-<TGConnectingPoint num="1" id="1844" />
-<TGConnectingPoint num="2" id="1845" />
-<TGConnectingPoint num="3" id="1846" />
-<TGConnectingPoint num="4" id="1847" />
-<TGConnectingPoint num="5" id="1848" />
-<TGConnectingPoint num="6" id="1849" />
-<TGConnectingPoint num="7" id="1850" />
+<TGConnectingPoint num="0" id="1753" />
+<TGConnectingPoint num="1" id="1754" />
+<TGConnectingPoint num="2" id="1755" />
+<TGConnectingPoint num="3" id="1756" />
+<TGConnectingPoint num="4" id="1757" />
+<TGConnectingPoint num="5" id="1758" />
+<TGConnectingPoint num="6" id="1759" />
+<TGConnectingPoint num="7" id="1760" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1860" >
-<father id="1894" num="3" />
-<cdparam x="290" y="234" />
-<sizeparam width="139" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1770" >
+<father id="1804" num="3" />
+<cdparam x="291" y="153" />
+<sizeparam width="136" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="1852" />
-<TGConnectingPoint num="1" id="1853" />
-<TGConnectingPoint num="2" id="1854" />
-<TGConnectingPoint num="3" id="1855" />
-<TGConnectingPoint num="4" id="1856" />
-<TGConnectingPoint num="5" id="1857" />
-<TGConnectingPoint num="6" id="1858" />
-<TGConnectingPoint num="7" id="1859" />
+<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="1762" />
+<TGConnectingPoint num="1" id="1763" />
+<TGConnectingPoint num="2" id="1764" />
+<TGConnectingPoint num="3" id="1765" />
+<TGConnectingPoint num="4" id="1766" />
+<TGConnectingPoint num="5" id="1767" />
+<TGConnectingPoint num="6" id="1768" />
+<TGConnectingPoint num="7" id="1769" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1869" >
-<father id="1894" 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="1779" >
+<father id="1804" num="4" />
+<cdparam x="92" y="154" />
+<sizeparam width="163" 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="1861" />
-<TGConnectingPoint num="1" id="1862" />
-<TGConnectingPoint num="2" id="1863" />
-<TGConnectingPoint num="3" id="1864" />
-<TGConnectingPoint num="4" id="1865" />
-<TGConnectingPoint num="5" id="1866" />
-<TGConnectingPoint num="6" id="1867" />
-<TGConnectingPoint num="7" id="1868" />
+<cdrectangleparam minX="0" maxX="296" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<TGConnectingPoint num="0" id="1771" />
+<TGConnectingPoint num="1" id="1772" />
+<TGConnectingPoint num="2" id="1773" />
+<TGConnectingPoint num="3" id="1774" />
+<TGConnectingPoint num="4" id="1775" />
+<TGConnectingPoint num="5" id="1776" />
+<TGConnectingPoint num="6" id="1777" />
+<TGConnectingPoint num="7" id="1778" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -7089,320 +7090,320 @@ On prend b=1 comme exemple
 
 <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="1919" >
+<COMPONENT type="1105" id="1829" >
 <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="1895" />
-<TGConnectingPoint num="1" id="1896" />
-<TGConnectingPoint num="2" id="1897" />
-<TGConnectingPoint num="3" id="1898" />
-<TGConnectingPoint num="4" id="1899" />
-<TGConnectingPoint num="5" id="1900" />
-<TGConnectingPoint num="6" id="1901" />
-<TGConnectingPoint num="7" id="1902" />
-<TGConnectingPoint num="8" id="1903" />
-<TGConnectingPoint num="9" id="1904" />
-<TGConnectingPoint num="10" id="1905" />
-<TGConnectingPoint num="11" id="1906" />
-<TGConnectingPoint num="12" id="1907" />
-<TGConnectingPoint num="13" id="1908" />
-<TGConnectingPoint num="14" id="1909" />
-<TGConnectingPoint num="15" id="1910" />
-<TGConnectingPoint num="16" id="1911" />
-<TGConnectingPoint num="17" id="1912" />
-<TGConnectingPoint num="18" id="1913" />
-<TGConnectingPoint num="19" id="1914" />
-<TGConnectingPoint num="20" id="1915" />
-<TGConnectingPoint num="21" id="1916" />
-<TGConnectingPoint num="22" id="1917" />
-<TGConnectingPoint num="23" id="1918" />
+<TGConnectingPoint num="0" id="1805" />
+<TGConnectingPoint num="1" id="1806" />
+<TGConnectingPoint num="2" id="1807" />
+<TGConnectingPoint num="3" id="1808" />
+<TGConnectingPoint num="4" id="1809" />
+<TGConnectingPoint num="5" id="1810" />
+<TGConnectingPoint num="6" id="1811" />
+<TGConnectingPoint num="7" id="1812" />
+<TGConnectingPoint num="8" id="1813" />
+<TGConnectingPoint num="9" id="1814" />
+<TGConnectingPoint num="10" id="1815" />
+<TGConnectingPoint num="11" id="1816" />
+<TGConnectingPoint num="12" id="1817" />
+<TGConnectingPoint num="13" id="1818" />
+<TGConnectingPoint num="14" id="1819" />
+<TGConnectingPoint num="15" id="1820" />
+<TGConnectingPoint num="16" id="1821" />
+<TGConnectingPoint num="17" id="1822" />
+<TGConnectingPoint num="18" id="1823" />
+<TGConnectingPoint num="19" id="1824" />
+<TGConnectingPoint num="20" id="1825" />
+<TGConnectingPoint num="21" id="1826" />
+<TGConnectingPoint num="22" id="1827" />
+<TGConnectingPoint num="23" id="1828" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  clockRatio="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="1944" >
+<COMPONENT type="1102" id="1854" >
 <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="1920" />
-<TGConnectingPoint num="1" id="1921" />
-<TGConnectingPoint num="2" id="1922" />
-<TGConnectingPoint num="3" id="1923" />
-<TGConnectingPoint num="4" id="1924" />
-<TGConnectingPoint num="5" id="1925" />
-<TGConnectingPoint num="6" id="1926" />
-<TGConnectingPoint num="7" id="1927" />
-<TGConnectingPoint num="8" id="1928" />
-<TGConnectingPoint num="9" id="1929" />
-<TGConnectingPoint num="10" id="1930" />
-<TGConnectingPoint num="11" id="1931" />
-<TGConnectingPoint num="12" id="1932" />
-<TGConnectingPoint num="13" id="1933" />
-<TGConnectingPoint num="14" id="1934" />
-<TGConnectingPoint num="15" id="1935" />
-<TGConnectingPoint num="16" id="1936" />
-<TGConnectingPoint num="17" id="1937" />
-<TGConnectingPoint num="18" id="1938" />
-<TGConnectingPoint num="19" id="1939" />
-<TGConnectingPoint num="20" id="1940" />
-<TGConnectingPoint num="21" id="1941" />
-<TGConnectingPoint num="22" id="1942" />
-<TGConnectingPoint num="23" id="1943" />
+<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" />
+<TGConnectingPoint num="8" id="1838" />
+<TGConnectingPoint num="9" id="1839" />
+<TGConnectingPoint num="10" id="1840" />
+<TGConnectingPoint num="11" id="1841" />
+<TGConnectingPoint num="12" id="1842" />
+<TGConnectingPoint num="13" id="1843" />
+<TGConnectingPoint num="14" id="1844" />
+<TGConnectingPoint num="15" id="1845" />
+<TGConnectingPoint num="16" id="1846" />
+<TGConnectingPoint num="17" id="1847" />
+<TGConnectingPoint num="18" id="1848" />
+<TGConnectingPoint num="19" id="1849" />
+<TGConnectingPoint num="20" id="1850" />
+<TGConnectingPoint num="21" id="1851" />
+<TGConnectingPoint num="22" id="1852" />
+<TGConnectingPoint num="23" id="1853" />
 <extraparam>
 <info stereotype="BUS" nodeName="Bus0" />
 <attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1978" >
+<COMPONENT type="1100" id="1888" >
 <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="1954" />
-<TGConnectingPoint num="1" id="1955" />
-<TGConnectingPoint num="2" id="1956" />
-<TGConnectingPoint num="3" id="1957" />
-<TGConnectingPoint num="4" id="1958" />
-<TGConnectingPoint num="5" id="1959" />
-<TGConnectingPoint num="6" id="1960" />
-<TGConnectingPoint num="7" id="1961" />
-<TGConnectingPoint num="8" id="1962" />
-<TGConnectingPoint num="9" id="1963" />
-<TGConnectingPoint num="10" id="1964" />
-<TGConnectingPoint num="11" id="1965" />
-<TGConnectingPoint num="12" id="1966" />
-<TGConnectingPoint num="13" id="1967" />
-<TGConnectingPoint num="14" id="1968" />
-<TGConnectingPoint num="15" id="1969" />
-<TGConnectingPoint num="16" id="1970" />
-<TGConnectingPoint num="17" id="1971" />
-<TGConnectingPoint num="18" id="1972" />
-<TGConnectingPoint num="19" id="1973" />
-<TGConnectingPoint num="20" id="1974" />
-<TGConnectingPoint num="21" id="1975" />
-<TGConnectingPoint num="22" id="1976" />
-<TGConnectingPoint num="23" id="1977" />
+<TGConnectingPoint num="0" id="1864" />
+<TGConnectingPoint num="1" id="1865" />
+<TGConnectingPoint num="2" id="1866" />
+<TGConnectingPoint num="3" id="1867" />
+<TGConnectingPoint num="4" id="1868" />
+<TGConnectingPoint num="5" id="1869" />
+<TGConnectingPoint num="6" id="1870" />
+<TGConnectingPoint num="7" id="1871" />
+<TGConnectingPoint num="8" id="1872" />
+<TGConnectingPoint num="9" id="1873" />
+<TGConnectingPoint num="10" id="1874" />
+<TGConnectingPoint num="11" id="1875" />
+<TGConnectingPoint num="12" id="1876" />
+<TGConnectingPoint num="13" id="1877" />
+<TGConnectingPoint num="14" id="1878" />
+<TGConnectingPoint num="15" id="1879" />
+<TGConnectingPoint num="16" id="1880" />
+<TGConnectingPoint num="17" id="1881" />
+<TGConnectingPoint num="18" id="1882" />
+<TGConnectingPoint num="19" id="1883" />
+<TGConnectingPoint num="20" id="1884" />
+<TGConnectingPoint num="21" id="1885" />
+<TGConnectingPoint num="22" id="1886" />
+<TGConnectingPoint num="23" id="1887" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="1953" >
-<father id="1978" num="0" />
+<SUBCOMPONENT type="1101" id="1863" >
+<father id="1888" 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="1945" />
-<TGConnectingPoint num="1" id="1946" />
-<TGConnectingPoint num="2" id="1947" />
-<TGConnectingPoint num="3" id="1948" />
-<TGConnectingPoint num="4" id="1949" />
-<TGConnectingPoint num="5" id="1950" />
-<TGConnectingPoint num="6" id="1951" />
-<TGConnectingPoint num="7" id="1952" />
+<TGConnectingPoint num="0" id="1855" />
+<TGConnectingPoint num="1" id="1856" />
+<TGConnectingPoint num="2" id="1857" />
+<TGConnectingPoint num="3" id="1858" />
+<TGConnectingPoint num="4" id="1859" />
+<TGConnectingPoint num="5" id="1860" />
+<TGConnectingPoint num="6" id="1861" />
+<TGConnectingPoint num="7" id="1862" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="2012" >
+<COMPONENT type="1100" id="1922" >
 <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="1988" />
-<TGConnectingPoint num="1" id="1989" />
-<TGConnectingPoint num="2" id="1990" />
-<TGConnectingPoint num="3" id="1991" />
-<TGConnectingPoint num="4" id="1992" />
-<TGConnectingPoint num="5" id="1993" />
-<TGConnectingPoint num="6" id="1994" />
-<TGConnectingPoint num="7" id="1995" />
-<TGConnectingPoint num="8" id="1996" />
-<TGConnectingPoint num="9" id="1997" />
-<TGConnectingPoint num="10" id="1998" />
-<TGConnectingPoint num="11" id="1999" />
-<TGConnectingPoint num="12" id="2000" />
-<TGConnectingPoint num="13" id="2001" />
-<TGConnectingPoint num="14" id="2002" />
-<TGConnectingPoint num="15" id="2003" />
-<TGConnectingPoint num="16" id="2004" />
-<TGConnectingPoint num="17" id="2005" />
-<TGConnectingPoint num="18" id="2006" />
-<TGConnectingPoint num="19" id="2007" />
-<TGConnectingPoint num="20" id="2008" />
-<TGConnectingPoint num="21" id="2009" />
-<TGConnectingPoint num="22" id="2010" />
-<TGConnectingPoint num="23" id="2011" />
+<TGConnectingPoint num="0" id="1898" />
+<TGConnectingPoint num="1" id="1899" />
+<TGConnectingPoint num="2" id="1900" />
+<TGConnectingPoint num="3" id="1901" />
+<TGConnectingPoint num="4" id="1902" />
+<TGConnectingPoint num="5" id="1903" />
+<TGConnectingPoint num="6" id="1904" />
+<TGConnectingPoint num="7" id="1905" />
+<TGConnectingPoint num="8" id="1906" />
+<TGConnectingPoint num="9" id="1907" />
+<TGConnectingPoint num="10" id="1908" />
+<TGConnectingPoint num="11" id="1909" />
+<TGConnectingPoint num="12" id="1910" />
+<TGConnectingPoint num="13" id="1911" />
+<TGConnectingPoint num="14" id="1912" />
+<TGConnectingPoint num="15" id="1913" />
+<TGConnectingPoint num="16" id="1914" />
+<TGConnectingPoint num="17" id="1915" />
+<TGConnectingPoint num="18" id="1916" />
+<TGConnectingPoint num="19" id="1917" />
+<TGConnectingPoint num="20" id="1918" />
+<TGConnectingPoint num="21" id="1919" />
+<TGConnectingPoint num="22" id="1920" />
+<TGConnectingPoint num="23" id="1921" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="1987" >
-<father id="2012" num="0" />
-<cdparam x="39" y="226" />
-<sizeparam width="163" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1897" >
+<father id="1922" num="0" />
+<cdparam x="30" y="226" />
+<sizeparam width="172" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="2" minY="0" maxY="86" />
+<cdrectangleparam minX="0" maxX="-7" minY="0" maxY="86" />
 <infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="1979" />
-<TGConnectingPoint num="1" id="1980" />
-<TGConnectingPoint num="2" id="1981" />
-<TGConnectingPoint num="3" id="1982" />
-<TGConnectingPoint num="4" id="1983" />
-<TGConnectingPoint num="5" id="1984" />
-<TGConnectingPoint num="6" id="1985" />
-<TGConnectingPoint num="7" id="1986" />
+<TGConnectingPoint num="0" id="1889" />
+<TGConnectingPoint num="1" id="1890" />
+<TGConnectingPoint num="2" id="1891" />
+<TGConnectingPoint num="3" id="1892" />
+<TGConnectingPoint num="4" id="1893" />
+<TGConnectingPoint num="5" id="1894" />
+<TGConnectingPoint num="6" id="1895" />
+<TGConnectingPoint num="7" id="1896" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="2064" >
+<COMPONENT type="1100" id="1974" >
 <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="2040" />
-<TGConnectingPoint num="1" id="2041" />
-<TGConnectingPoint num="2" id="2042" />
-<TGConnectingPoint num="3" id="2043" />
-<TGConnectingPoint num="4" id="2044" />
-<TGConnectingPoint num="5" id="2045" />
-<TGConnectingPoint num="6" id="2046" />
-<TGConnectingPoint num="7" id="2047" />
-<TGConnectingPoint num="8" id="2048" />
-<TGConnectingPoint num="9" id="2049" />
-<TGConnectingPoint num="10" id="2050" />
-<TGConnectingPoint num="11" id="2051" />
-<TGConnectingPoint num="12" id="2052" />
-<TGConnectingPoint num="13" id="2053" />
-<TGConnectingPoint num="14" id="2054" />
-<TGConnectingPoint num="15" id="2055" />
-<TGConnectingPoint num="16" id="2056" />
-<TGConnectingPoint num="17" id="2057" />
-<TGConnectingPoint num="18" id="2058" />
-<TGConnectingPoint num="19" id="2059" />
-<TGConnectingPoint num="20" id="2060" />
-<TGConnectingPoint num="21" id="2061" />
-<TGConnectingPoint num="22" id="2062" />
-<TGConnectingPoint num="23" id="2063" />
+<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" />
 <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"/>
+<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=""/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2021" >
-<father id="2064" num="0" />
-<cdparam x="373" y="61" />
-<sizeparam width="141" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1931" >
+<father id="1974" num="0" />
+<cdparam x="258" y="61" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="127" minY="0" maxY="104" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="2013" />
-<TGConnectingPoint num="1" id="2014" />
-<TGConnectingPoint num="2" id="2015" />
-<TGConnectingPoint num="3" id="2016" />
-<TGConnectingPoint num="4" id="2017" />
-<TGConnectingPoint num="5" id="2018" />
-<TGConnectingPoint num="6" id="2019" />
-<TGConnectingPoint num="7" id="2020" />
+<cdrectangleparam minX="0" maxX="159" minY="0" maxY="104" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
+<TGConnectingPoint num="0" id="1923" />
+<TGConnectingPoint num="1" id="1924" />
+<TGConnectingPoint num="2" id="1925" />
+<TGConnectingPoint num="3" id="1926" />
+<TGConnectingPoint num="4" id="1927" />
+<TGConnectingPoint num="5" id="1928" />
+<TGConnectingPoint num="6" id="1929" />
+<TGConnectingPoint num="7" id="1930" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2030" >
-<father id="2064" num="1" />
+<SUBCOMPONENT type="1101" id="1940" >
+<father id="1974" num="1" />
 <cdparam x="313" y="110" />
 <sizeparam width="144" 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" />
 <infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="2022" />
-<TGConnectingPoint num="1" id="2023" />
-<TGConnectingPoint num="2" id="2024" />
-<TGConnectingPoint num="3" id="2025" />
-<TGConnectingPoint num="4" id="2026" />
-<TGConnectingPoint num="5" id="2027" />
-<TGConnectingPoint num="6" id="2028" />
-<TGConnectingPoint num="7" id="2029" />
+<TGConnectingPoint num="0" id="1932" />
+<TGConnectingPoint num="1" id="1933" />
+<TGConnectingPoint num="2" id="1934" />
+<TGConnectingPoint num="3" id="1935" />
+<TGConnectingPoint num="4" id="1936" />
+<TGConnectingPoint num="5" id="1937" />
+<TGConnectingPoint num="6" id="1938" />
+<TGConnectingPoint num="7" id="1939" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2039" >
-<father id="2064" num="2" />
-<cdparam x="258" y="61" />
-<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1949" >
+<father id="1974" num="2" />
+<cdparam x="373" y="61" />
+<sizeparam width="141" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="159" minY="0" maxY="104" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="2031" />
-<TGConnectingPoint num="1" id="2032" />
-<TGConnectingPoint num="2" id="2033" />
-<TGConnectingPoint num="3" id="2034" />
-<TGConnectingPoint num="4" id="2035" />
-<TGConnectingPoint num="5" id="2036" />
-<TGConnectingPoint num="6" id="2037" />
-<TGConnectingPoint num="7" id="2038" />
+<cdrectangleparam minX="0" maxX="127" minY="0" maxY="104" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<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" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="125" id="2065" >
+<CONNECTOR type="125" id="1975" >
 <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="1896" />
-<P2  x="384" y="269" id="1926" />
+<P1  x="384" y="308" id="1806" />
+<P2  x="384" y="269" id="1836" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2066" >
+<CONNECTOR type="125" id="1976" >
 <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="1992" />
-<P2  x="259" y="244" id="1923" />
+<P1  x="202" y="244" id="1902" />
+<P2  x="259" y="244" id="1833" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2067" >
+<CONNECTOR type="125" id="1977" >
 <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="1957" />
-<P2  x="509" y="244" id="1924" />
+<P1  x="555" y="244" id="1867" />
+<P2  x="509" y="244" id="1834" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2068" >
+<CONNECTOR type="125" id="1978" >
 <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="2046" />
-<P2  x="384" y="219" id="1921" />
+<P1  x="384" y="171" id="1956" />
+<P2  x="384" y="219" id="1831" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
diff --git a/src/tmltranslator/ctranslator/AdaifBuffer.java b/src/tmltranslator/ctranslator/AdaifBuffer.java
new file mode 100644
index 0000000000000000000000000000000000000000..e711b6f9f7f7fc27138e28f945e43eb1d8916c93
--- /dev/null
+++ b/src/tmltranslator/ctranslator/AdaifBuffer.java
@@ -0,0 +1,109 @@
+/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
+
+   ludovic.apvrille AT enst.fr
+   andrea.enrici AT enstr.fr
+
+   This software is a computer program whose purpose is to allow the
+   edition of TURTLE analysis, design and deployment diagrams, to
+   allow the generation of RT-LOTOS or Java code from this diagram,
+   and at last to allow the analysis of formal validation traces
+   obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
+   from INRIA Rhone-Alpes.
+
+   This software is governed by the CeCILL  license under French law and
+   abiding by the rules of distribution of free software.  You can  use,
+   modify and/ or redistribute the software under the terms of the CeCILL
+   license as circulated by CEA, CNRS and INRIA at the following URL
+   "http://www.cecill.info".
+
+   As a counterpart to the access to the source code and  rights to copy,
+   modify and redistribute granted by the license, users are provided only
+   with a limited warranty  and the software's author,  the holder of the
+   economic rights,  and the successive licensors  have only  limited
+   liability.
+
+   In this respect, the user's attention is drawn to the risks associated
+   with loading,  using,  modifying and/or developing or reproducing the
+   software by the user in light of its specific status of free software,
+   that may mean  that it is complicated to manipulate,  and  that  also
+   therefore means  that it is reserved for developers  and  experienced
+   professionals having in-depth computer knowledge. Users are therefore
+   encouraged to load and test the software's suitability as regards their
+   requirements in conditions enabling the security of their systems and/or
+   data to be ensured and,  more generally, to use and operate it in the
+   same conditions as regards security.
+
+   The fact that you are presently reading this means that you have had
+   knowledge of the CeCILL license and that you accept its terms.
+
+   /**
+   * Class BaseBuffer
+   * Creation: 11/02/2014
+   * @version 1.0 11/02/2014
+   * @author Andrea ENRICI
+   * @see
+   */
+
+package tmltranslator.ctranslator;;
+
+import java.util.*;
+import java.nio.*;
+import myutil.*;
+import tmltranslator.*;
+
+public class AdaifBuffer extends Buffer	{
+
+	public static final int numSamplesIndex = 1;
+	public static final int baseAddressIndex = 2;
+
+	protected String numSamplesValue = USER_TO_DO;
+	protected static final String numSamplesType = "uint8_t";
+	
+	protected String baseAddressValue = USER_TO_DO;
+	protected static final String baseAddressType = "uint32_t*";
+	
+	public static final String DECLARATION = "struct ADAIF_BUFFER_TYPE {" + CR + TAB +
+																						numSamplesType + SP + "num_samples" + SC + CR + TAB +
+																						baseAddressType + SP + "base_address" + SC + CR + "}" + SC + CR2 +
+																						"typedef ADAIF_BUFFER_TYPE ADAIF_BUFFER_TYPE" + SC + CR;
+	
+	private String Context = "embb_mainmemory_context";
+
+	public AdaifBuffer( String _name, TMLTask _task )	{
+		type = "ADAIF_BUFFER_TYPE";
+		name = _name;
+		task = _task;
+	}
+
+	@Override public String getInitCode()	{
+		StringBuffer s = new StringBuffer();
+		if( bufferParameters != null )	{
+			retrieveBufferParameters();
+		}
+		s.append( TAB + name + ".num_samples = " + "(" + numSamplesType + ")" + numSamplesValue + SC + CR );
+		s.append( TAB + name + ".base_address = " + "(" + baseAddressType + ")" + baseAddressValue + SC + CR );
+		return s.toString();
+	}
+
+	public String toString()	{
+
+		StringBuffer s = new StringBuffer( super.toString() );
+		s.append( TAB2 + "num_samples = " + numSamplesValue + SC + CR );
+		s.append( TAB2 + "base_address = " + baseAddressValue + SC + CR );
+		return s.toString();
+	}	
+
+	private void retrieveBufferParameters()	{
+
+		if( bufferParameters.get( numSamplesIndex ).length() > 0 )	{
+			numSamplesValue = bufferParameters.get( numSamplesIndex );
+		}
+		if( bufferParameters.get( baseAddressIndex ).length() > 0 )	{
+			baseAddressValue = bufferParameters.get( baseAddressIndex );
+		}
+	}
+
+	public String getContext()	{
+		return Context;
+	}
+}	//End of class
diff --git a/src/tmltranslator/ctranslator/AdaifMEC.java b/src/tmltranslator/ctranslator/AdaifMEC.java
index da248840f7d51509e1e7eb7eb917472a99905a56..29de35c2376c828e88baf52c528e9b695218319a 100644
--- a/src/tmltranslator/ctranslator/AdaifMEC.java
+++ b/src/tmltranslator/ctranslator/AdaifMEC.java
@@ -51,15 +51,15 @@ import java.util.*;
 
 public class AdaifMEC extends ArchUnitMEC	{
 
-	public static final String Context = "embb_adaif_context";
+	public static final String Context = "ADAIF_CONTEXT";
 	public static final String Ctx_cleanup = "adaif_ctx_cleanup";
 
-	public AdaifMEC( String XOP, String ID0, String OD0, String BTC )	{
+	public AdaifMEC( String XOP, String ID0, String OD0 )	{
 
 		node_type = "ADAIF";
 		inst_type = "ADAIF";
 		inst_decl = "ADAIF_CONTEXT";
-		buff_type = "ADAIF_BUFF_TYPE";
+		buff_type = "ADAIF_BUFFER_TYPE";
 		buff_init = "= {/*l,b,q,t*/};";
 	}
 
diff --git a/src/tmltranslator/ctranslator/AdaifOperationMEC.java b/src/tmltranslator/ctranslator/AdaifOperationMEC.java
index 1d25203e7fab399670ce48cb84ff0c7e5c9ab755..d7a467f14bfb60bf1134122337b1c30dbf41fa88 100644
--- a/src/tmltranslator/ctranslator/AdaifOperationMEC.java
+++ b/src/tmltranslator/ctranslator/AdaifOperationMEC.java
@@ -51,9 +51,10 @@ import java.util.*;
 
 public class AdaifOperationMEC extends OperationMEC	{
 
-	public AdaifOperationMEC( String ctxName, String ID0, String OD0, String BTC )	{
+
+	public AdaifOperationMEC( String ctxName, String ID0, String OD0 )	{
 		name = "AdaifOperationMEC";
-		exec_code = CR + TAB + "adaif_start(&" + ctxName + ");" + CR;
+		exec_code = "adaif_do(&" + ctxName + ");" + CR;
 	
 		init_code =
 			"void init_" + ctxName + "( void )\t{" + CR + TAB +
@@ -90,6 +91,7 @@ public class AdaifOperationMEC extends OperationMEC	{
 			"adaif_set_data(&" + ctxName + ", (uint64_t) /*USER TO DO: VALUE*/);" + CR + TAB +
 			"}" + CR;
 		cleanup_code = TAB + "adaif_ctx_cleanup( /*USER TODO*/ );";
+		context = "ADAIF_CONTEXT";
 	}
 
 }	//End of class
diff --git a/src/tmltranslator/ctranslator/ArchUnitMEC.java b/src/tmltranslator/ctranslator/ArchUnitMEC.java
index 7550193c53326c2fc73ce919b7513ef0aa9e15d9..09161565dca6dc8e236eb65c50025c924fdedb35 100755
--- a/src/tmltranslator/ctranslator/ArchUnitMEC.java
+++ b/src/tmltranslator/ctranslator/ArchUnitMEC.java
@@ -66,7 +66,6 @@ public abstract class ArchUnitMEC	{
 	public String ID0 = new String();
 	public String OD0 = new String();
 	public String XOP = new String();
-	public String BTC = new String();
 	
 	public ArchUnitMEC()	{
 		node_type = "1";
diff --git a/src/tmltranslator/ctranslator/BaseBuffer.java b/src/tmltranslator/ctranslator/BaseBuffer.java
index 8b81dc5e90ab35565fb7a1d439fd2168f6d53bec..1fe913cca1da4333332a4ecd39fb50ca1274c25e 100755
--- a/src/tmltranslator/ctranslator/BaseBuffer.java
+++ b/src/tmltranslator/ctranslator/BaseBuffer.java
@@ -64,14 +64,14 @@ public class BaseBuffer extends Buffer	{
 																						baseAddressType + SP + "base_address" + SC + CR + "};";
 
 	public BaseBuffer( String _name, TMLTask _task )	{
-		type = "FEP_BUFFER_TYPE";
+		type = "BASE_BUFFER_TYPE";
 		name = _name;
 		task = _task;
 	}
 
 	@Override public String getInitCode()	{
 		StringBuffer s = new StringBuffer();
-		s.append( TAB + name + ".base_address = /* USER TO DO */;" + CR );
+		s.append( TAB + name + ".base_address = " + "(" + baseAddressType + ")" + baseAddressValue + ";" + CR );
 		return s.toString();
 	}
 	
diff --git a/src/tmltranslator/ctranslator/Buffer.java b/src/tmltranslator/ctranslator/Buffer.java
index dcec2fb06415f507282c52dc6c082fc8eecd09ba..ab341e5a364ca2e4b3c059d927a52059bede3e4c 100755
--- a/src/tmltranslator/ctranslator/Buffer.java
+++ b/src/tmltranslator/ctranslator/Buffer.java
@@ -65,6 +65,7 @@ public class Buffer	{
 	public static final int bufferTypeIndex = 0;
 
 	public static String CR = "\n";
+	public static String CR2 = "\n\n";
 	public static String TAB = "\t";
 	public static String TAB2 = "\t\t";
 	public static String SP = " ";
diff --git a/src/tmltranslator/ctranslator/CpuMEC.java b/src/tmltranslator/ctranslator/CpuMEC.java
index 4c897fb3b072762482524dd9f06e335b81d53ef5..b35b669a9958095e7eb0724b91977c35e2b0cd23 100644
--- a/src/tmltranslator/ctranslator/CpuMEC.java
+++ b/src/tmltranslator/ctranslator/CpuMEC.java
@@ -56,7 +56,7 @@ public class CpuMEC extends ArchUnitMEC	{
 		node_type = "CPU";
 		inst_type = "CPUoperation";
 		inst_decl = "VOID";
-		buff_type = "MM_BUFF_TYPE";
+		buff_type = "MM_BUFFER_TYPE";
 		buff_init = "VOID";
 	}
 
diff --git a/src/tmltranslator/ctranslator/CpuMemoryCopyMEC.java b/src/tmltranslator/ctranslator/CpuMemoryCopyMEC.java
index d957806f3a397fbdc69629351f5bb0ae40c756a1..1b052409cb42a1e0ec7e69b700a82fc49a251816 100644
--- a/src/tmltranslator/ctranslator/CpuMemoryCopyMEC.java
+++ b/src/tmltranslator/ctranslator/CpuMemoryCopyMEC.java
@@ -50,14 +50,14 @@ import java.util.*;
 
 public class CpuMemoryCopyMEC extends CPMEC	{
 
-	public static final String Context = "embb_memcpy_context";
+	public static final String Context = "EMBB_CONTEXT";
 	public static final String Ctx_cleanup = "embb_ctx_cleanup";
 
 	public CpuMemoryCopyMEC( String ctxName, String pssBaseAddress, String offset, String  ddrAddress, String size )	{
 		node_type = "CpuMemoryCopy";
 		inst_type = "MEMORY_COPY";
 		inst_decl = "VOID";
-		buff_type = "MM_BUFF_TYPE";
+		buff_type = "MM_BUFFER_TYPE";
 		buff_init = "VOID";
 
 		exec_code = TAB + CR + TAB +
diff --git a/src/tmltranslator/ctranslator/CpuOperationMEC.java b/src/tmltranslator/ctranslator/CpuOperationMEC.java
index 9a7c6a4e6dca42a787715c312c78d1b512b633ab..9cc94a0ff159c4bed9adc55611017253f9f632b2 100644
--- a/src/tmltranslator/ctranslator/CpuOperationMEC.java
+++ b/src/tmltranslator/ctranslator/CpuOperationMEC.java
@@ -51,13 +51,15 @@ import java.util.*;
 
 public class CpuOperationMEC extends OperationMEC	{
 
-	public CpuOperationMEC( String XOP, String ID0, String OD0, String BTC )	{
+
+	public CpuOperationMEC( String ctxName, String ID0, String OD0 )	{
 		name = "CpuOperationMEC";
 		exec_code = TAB + CR + TAB + "/* USER TO DO */" + CR;
 		
-		init_code ="/***** INIT " + XOP + "_ctx *******/" + CR +
-			"void init_" + XOP + "(void){" + CR + TAB + "/* USER TO DO */";
+		init_code =	"/***** INIT " + ctxName + " *******/" + CR +
+								"void init_" + ctxName + "(void){" + CR + TAB + "/* USER TO DO */" + CR + "}";
 		cleanup_code = "/* USER TO DO */";
+		context = "EMBB_CONTEXT";
 	}
 
 }	//End of class
diff --git a/src/tmltranslator/ctranslator/CwaMEC.java b/src/tmltranslator/ctranslator/CwaMEC.java
index 13e742fe5cb295b65efa5d5140a0fbd222ef8ea1..642610e409fbe62e64a39c60820ba52488eda3cb 100644
--- a/src/tmltranslator/ctranslator/CwaMEC.java
+++ b/src/tmltranslator/ctranslator/CwaMEC.java
@@ -49,24 +49,24 @@ package tmltranslator.ctranslator;;
 import java.util.*;
 //import Ctranslator.*;
 
-public class CwaMEC extends OperationMEC	{
+public class CwaMEC extends FepOperationMEC	{
 
-	public CwaMEC( String _ctxName, String inSignalName, String ID1, String outSignalName, String BTC )	{
+	public CwaMEC( String _ctxName, String inSignalName, String ID1, String outSignalName )	{
 
 		name = "Component Wise Addition MEC";
 		exec_code = TAB + "/*firm instruction*/" + CR + TAB +
-			"fep_set_l(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ inSignalName + "].pBuff)->l);" + CR + TAB +
-			"fep_set_qx(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ inSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bx(&"+ _ctxName + ", sig["+ inSignalName + "].roff + ((FEP_BUFF_TYPE*)sig["+ inSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tx(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ inSignalName + "].pBuff)->data_type);" + CR + TAB +
-			"fep_set_qy(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ ID1 + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_by(&"+ _ctxName + ", sig["+ ID1 + "].roff + ((FEP_BUFF_TYPE*)sig["+ ID1 + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_ty(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ ID1 + "].pBuff)->data_type);" + CR + TAB +
-			"fep_set_qz(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&"+ _ctxName + ", sig["+ outSignalName + "].woff + ((FEP_BUFF_TYPE*)sig["+ outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_l(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ inSignalName + "].pBuff)->num_samples);" + CR + TAB +
+			"fep_set_qx(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ inSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bx(&"+ _ctxName + ", sig["+ inSignalName + "].roff + ((FEP_BUFFER_TYPE*)sig["+ inSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tx(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ inSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qy(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ ID1 + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_by(&"+ _ctxName + ", sig["+ ID1 + "].roff + ((FEP_BUFFER_TYPE*)sig["+ ID1 + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_ty(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ ID1 + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&"+ _ctxName + ", sig["+ outSignalName + "].woff + ((FEP_BUFFER_TYPE*)sig["+ outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"/*start execution*/" + CR + TAB +
-			"fep_start(&"+ _ctxName + ");" + CR;
+			"fep_do(&"+ _ctxName + ");" + CR;
 		
 		init_code ="/***** INIT "+ _ctxName + " *******/" + CR +
 			"void init_"+ _ctxName + "(void){" + CR + TAB +
@@ -74,34 +74,34 @@ public class CwaMEC extends OperationMEC	{
 			"// initialize context" + CR + TAB +
 			"fep_set_op(&"+ _ctxName + ", FEP_OP_CWA );" + CR + TAB +
 			"// X vector configuration => Zk=Y[Xi]" + CR + TAB +
-			"fep_set_wx(&"+ _ctxName + ",  (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_sx(&"+ _ctxName + ",  (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_nx(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_mx(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_px(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_dx(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_vrx(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_vix(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
+			"fep_set_wx(&"+ _ctxName + ",  (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_sx(&"+ _ctxName + ",  (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_nx(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_mx(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_px(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_dx(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_vrx(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_vix(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
 			"// Y vector configuration" + CR + TAB +
-			"fep_set_wy(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_sy(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_ny(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_my(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_py(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_dy(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_vry(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_viy(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
+			"fep_set_wy(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_sy(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_ny(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_my(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_py(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_dy(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_vry(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_viy(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
 			"// Z vector addressing configuration" + CR + TAB +
-			"fep_set_qz(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&"+ _ctxName + ", ((FEP_BUFF_TYPE*)sig["+ outSignalName + "].pBuff)->data_type);" + CR + TAB +
-			"fep_set_wz(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_ri(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_sz(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_nz(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
-			"fep_set_mz(&"+ _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
+			"fep_set_qz(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&"+ _ctxName + ", ((FEP_BUFFER_TYPE*)sig["+ outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_wz(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_ri(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_sz(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_nz(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
+			"fep_set_mz(&"+ _ctxName + ", (uint64_t) /*USER TODO: VALUE*/);" + CR + TAB +
 			"// Operation configuration" + CR + TAB +
-			"fep_set_sma(&"+ _ctxName + ", (uint64_t) /* USER TODO: value*/);" + CR + TAB +
+			"fep_set_sma(&"+ _ctxName + ", (uint64_t) /* USER TODO: VALUE*/);" + CR + TAB +
 			"}" + CR;
 		cleanup_code = "fep_ctx_cleanup(&"+ _ctxName + "_ctx);";
 	}
diff --git a/src/tmltranslator/ctranslator/CwlMEC.java b/src/tmltranslator/ctranslator/CwlMEC.java
index 1789432448f9baafaa7a5392ee771d3a1bcd2d01..d807395fc9eb535d030f318934fa3d9d18174b69 100755
--- a/src/tmltranslator/ctranslator/CwlMEC.java
+++ b/src/tmltranslator/ctranslator/CwlMEC.java
@@ -49,21 +49,21 @@ package tmltranslator.ctranslator;;
 import java.util.*;
 //import Ctranslator.*;
 
-public class CwlMEC extends OperationMEC	{
+public class CwlMEC extends FepOperationMEC	{
 
-	public CwlMEC( String _ctxName, String inSignalName, String outSignalName, String BTC )	{
+	public CwlMEC( String _ctxName, String inSignalName, String outSignalName )	{
 
 		name = "Component Wise Lookup MEC";
 		exec_code = TAB + "/*firm instruction*/" + CR + TAB +
-			"fep_set_l(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->l);" + CR + TAB +
-			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR + TAB +
-			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_l(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->num_samples);" + CR + TAB +
+			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"/*start execution*/" + CR + TAB +
-			"fep_start(&" + _ctxName + ");" + CR;
+			"fep_do(&" + _ctxName + ");" + CR;
 	
 		init_code ="/***** INIT " + _ctxName + " *******/" + CR +
 			"void init_" + _ctxName + "(void){" + CR + TAB +
@@ -91,9 +91,9 @@ public class CwlMEC extends OperationMEC	{
 			"fep_set_vry(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_dy(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"// Z vector addressing configuration" + CR + TAB +
-			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"fep_set_wz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_sz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_nz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
diff --git a/src/tmltranslator/ctranslator/CwmMEC.java b/src/tmltranslator/ctranslator/CwmMEC.java
index f94444ddc1ab1f4dc8ea01dc12c8051c24a1b875..df8802b549aec23093b275a47c09913122b3fd42 100755
--- a/src/tmltranslator/ctranslator/CwmMEC.java
+++ b/src/tmltranslator/ctranslator/CwmMEC.java
@@ -49,21 +49,21 @@ package tmltranslator.ctranslator;;
 import java.util.*;
 //import Ctranslator.*;
 
-public class CwmMEC extends OperationMEC	{
+public class CwmMEC extends FepOperationMEC	{
 
-	public CwmMEC( String _ctxName, String inSignalName, String outSignalName, String BTC )	{
+	public CwmMEC( String _ctxName, String inSignalName, String outSignalName )	{
 
 		name = "Component Wise Multiplication MEC";
 		exec_code = TAB + "/*firm instruction*/" + CR +
-			"fep_set_l(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->l);" + CR +
-			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR +
-			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR +
-			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR +
-			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR +
-			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR +
-			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR +
+			"fep_set_l(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->num_samples);" + CR +
+			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR +
+			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR +
+			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR +
+			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR +
+			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR +
+			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR +
 			"/*start execution*/" + CR +
-			"fep_start(&" + _ctxName + ");" + CR;
+			"fep_do(&" + _ctxName + ");" + CR;
 	
 		init_code ="/***** INIT " + _ctxName + " *******/" + CR +
 			"void init_" + _ctxName + "(void){" + CR + TAB +
@@ -92,9 +92,9 @@ public class CwmMEC extends OperationMEC	{
 			"fep_set_vry(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_dy(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"// Z vector addressing configuration" + CR + TAB +
-			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"fep_set_wz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_ri(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_sz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
diff --git a/src/tmltranslator/ctranslator/CwpMEC.java b/src/tmltranslator/ctranslator/CwpMEC.java
index a032b0318f7325bef25a49ac27bfb14b91d762eb..3e2e0da36fb0c29954926b8a38820a2517f32b26 100755
--- a/src/tmltranslator/ctranslator/CwpMEC.java
+++ b/src/tmltranslator/ctranslator/CwpMEC.java
@@ -49,21 +49,21 @@ package tmltranslator.ctranslator;;
 import java.util.*;
 //import Ctranslator.*;
 
-public class CwpMEC extends OperationMEC	{
+public class CwpMEC extends FepOperationMEC	{
 
-	public CwpMEC( String _ctxName, String inSignalName, String outSignalName, String BTC )	{
+	public CwpMEC( String _ctxName, String inSignalName, String outSignalName )	{
 
 		name = "Component Wise Product MEC";
 		exec_code = TAB + "/*firm instruction*/" + CR + TAB +
-			"fep_set_l(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->l);" + CR + TAB +
-			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR + TAB +
-			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_l(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->num_samples);" + CR + TAB +
+			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"/*start execution*/" + CR + TAB +
-			"fep_start(&" + _ctxName + ");" + CR;
+			"fep_do(&" + _ctxName + ");" + CR;
 	
 		init_code ="/***** INIT " + _ctxName + " *******/" + CR +
 			"void init_" + _ctxName + "(void){" + CR + TAB +
@@ -91,9 +91,9 @@ public class CwpMEC extends OperationMEC	{
 			"fep_set_vry(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_dy(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"// Z vector addressing configuration" + CR + TAB +
-			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"fep_set_wz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_sz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_nz(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
diff --git a/src/tmltranslator/ctranslator/DoubleDmaMEC.java b/src/tmltranslator/ctranslator/DoubleDmaMEC.java
index 997351c6564609df27fa22ea9e4b639dccd64732..8e1d23ebaaa506aba5e12780af83835704d1ac0e 100755
--- a/src/tmltranslator/ctranslator/DoubleDmaMEC.java
+++ b/src/tmltranslator/ctranslator/DoubleDmaMEC.java
@@ -50,45 +50,33 @@ import java.util.*;
 
 public class DoubleDmaMEC extends CPMEC	{
 
-	public static final String Context = "embb_dma_context";
+	public static final String Context = "EMBB_CONTEXT";
 	public static final String Ctx_cleanup = "dma_ctx_cleanup";
 
-	public static final int MaxParameters = 12;
+	public static final int MaxParameters = 6;
 	public static final int destinationAddress1Index = 0;
 	public static final int sourceAddress1Index = 1;
-	public static final int size1Index = 2;
-	public static final int counter1Index = 3;
-	public static final int ID1Index = 4;
-	public static final int bytesToTransfer1Index = 5;
-	public static final int destinationAddress2Index = 6;
-	public static final int sourceAddress2Index = 7;
-	public static final int size2Index = 8;
-	public static final int counter2Index = 9;
-	public static final int ID12Index = 10;
-	public static final int bytesToTransfer2Index = 11;
+	public static final int counter1Index = 2;
+	public static final int destinationAddress2Index = 3;
+	public static final int sourceAddress2Index = 4;
+	public static final int counter2Index = 5;
 
 	public static final String destinationAddress1 = "destinationAddress1";
 	public static final String sourceAddress1 = "sourceAddress1";
-	public static final String size1 = "size1";
 	public static final String counter1 = "counter1";
-	public static final String ID1 = "ID1";
-	public static final String bytesToTransfer1 = "bytesToTransfer1";
 	public static final String destinationAddress2 = "destinationAddress2";
 	public static final String sourceAddress2 = "sourceAddress2";
-	public static final String size2 = "size2";
 	public static final String counter2 = "counter2";
-	public static final String ID12 = "ID12";
-	public static final String bytesToTransfer2 = "bytesToTransfer2";
 
 	public DoubleDmaMEC( String ctxName )	{
 
 		node_type = "DoubleDmaMEC";
 		inst_type = "VOID";
 		inst_decl = "EMBB_DMA_CONTEXT";
-		buff_type = "MM_BUFF_TYPE";
+		buff_type = "MM_BUFFER_TYPE";
 		buff_init = "VOID";
 		exec_code = TAB + "embb_dma_start(&" + ctxName + ", /*USER TO DO: SRC_ADDRESS*/, /*USER TO DO: DST_ADDRESS*/, /*USER TO DO: NUM_SAMPLES */ );" + CR;	
-		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, /*USER TO DO: SRC_DEV*/ );" + CR;
+		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, NULL );" + CR;
 		cleanup_code = TAB + "embb_dma_ctx_cleanup(&" + ctxName + ");";
 	}
 
@@ -97,12 +85,12 @@ public class DoubleDmaMEC extends CPMEC	{
 		node_type = "DoubleDmaMEC";
 		inst_type = "VOID";
 		inst_decl = "EMBB_DMA_CONTEXT";
-		buff_type = "MM_BUFF_TYPE";
+		buff_type = "MM_BUFFER_TYPE";
 		buff_init = "VOID";
 		exec_code = TAB + "embb_dma_start(&" + ctxName + ", (uintptr_t) " + sourceAddress1 + ", (uintptr_t) " + destinationAddress1 + ", (size_t) " + size1 + " );" + CR;	
 		exec_code += TAB + "embb_dma_start(&" + ctxName + ", (uintptr_t) " + sourceAddress2 + ", (uintptr_t) " + destinationAddress2 + ", (size_t) " + size2 + " );" + CR;	
-		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, /*USER TO DO: SRC_DEV*/ );" + CR;
-		init_code += TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, /*USER TO DO: SRC_DEV*/ );" + CR;
+		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, NULL );" + CR;
+		init_code += TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, NULL );" + CR;
 		cleanup_code = TAB + "embb_dma_ctx_cleanup(&" + ctxName + ");";
 	}
 
diff --git a/src/tmltranslator/ctranslator/FepBuffer.java b/src/tmltranslator/ctranslator/FepBuffer.java
index 166469919f7109c3dc10d5863dbfa54c2e1260b0..31e82e6ecaa3d47f004f58a20ac1001146917dd7 100755
--- a/src/tmltranslator/ctranslator/FepBuffer.java
+++ b/src/tmltranslator/ctranslator/FepBuffer.java
@@ -53,7 +53,6 @@ import tmltranslator.*;
 
 public class FepBuffer extends Buffer	{
 
-
 	public static final String[] dataTypeList = { "int8", "int16", "cpx16", "cpx32" };
 	public static final String[] banksList = { "0", "1", "2", "3" };
 	public static final int numSamplesIndex = 1;
@@ -73,13 +72,14 @@ public class FepBuffer extends Buffer	{
 	protected String dataTypeValue = USER_TO_DO;
 	protected static final String dataTypeType = "uint8_t";
 
-	public static final String DECLARATION = "extern struct FEP_BUFFER_TYPE {" + CR + TAB +
+	public static final String DECLARATION = "struct FEP_BUFFER_TYPE {" + CR + TAB +
 																						numSamplesType + SP + "num_samples" + SC + CR + TAB +
 																						baseAddressType + SP + "base_address" + SC + CR + TAB +
 																						bankType + SP + "bank" + SC + CR + TAB +
-																						dataTypeType + SP + "type" + SC + CR + "};";
+																						dataTypeType + SP + "data_type" + SC + CR + "}" + SC + CR2 +
+																						"typedef FEP_BUFFER_TYPE FEP_BUFFER_TYPE" + SC;
 	
-	private String Context = "embb_fep_context";
+	private String Context = "FEP_CONTEXT";
 
 	public FepBuffer( String _name, TMLTask _task )	{
 		type = "FEP_BUFFER_TYPE";
@@ -93,10 +93,10 @@ public class FepBuffer extends Buffer	{
 		if( bufferParameters != null )	{
 			retrieveBufferParameters();
 		}
-		s.append( TAB + name + ".num_samples = " + numSamplesValue + SC + CR );
-		s.append( TAB + name + ".base_address = " + baseAddressValue + SC + CR );
-		s.append( TAB + name + ".bank = " + bankValue + SC + CR );
-		s.append( TAB + name + ".data_type = " + dataTypeValue + SC + CR );
+		s.append( TAB + name + ".num_samples = " + "(" + numSamplesType + ")" + numSamplesValue + SC + CR );
+		s.append( TAB + name + ".base_address = " + "(" + baseAddressType + ")" + baseAddressValue + SC + CR );
+		s.append( TAB + name + ".bank = " + "(" + bankType + ")" + bankValue + SC + CR );
+		s.append( TAB + name + ".data_type = " + "(" + dataTypeType + ")" + dataTypeValue + SC + CR );
 		return s.toString();
 	}
 
diff --git a/src/tmltranslator/ctranslator/FepMEC.java b/src/tmltranslator/ctranslator/FepMEC.java
index 86cd2a9427ee122b6e1b734b25bf882bbb03c76d..4e77cfabc8ef8cdcb0babb203e42ff87ed567130 100644
--- a/src/tmltranslator/ctranslator/FepMEC.java
+++ b/src/tmltranslator/ctranslator/FepMEC.java
@@ -54,12 +54,12 @@ public class FepMEC extends ArchUnitMEC	{
 	public static final String Context = "FEP_CONTEXT";
 	public static final String Ctx_cleanup = "fep_ctx_cleanup";
 
-	public FepMEC( String XOP, String ID0, String OD0, String BTC )	{
+	public FepMEC( String XOP, String ID0, String OD0 )	{
 
 		node_type = "FEP";
 		inst_type = "FEP";
 		inst_decl = "FEP_CONTEXT";
-		buff_type = "FEP_BUFF_TYPE";
+		buff_type = "FEP_BUFFER_TYPE";
 	}
 
 }	//End of class
diff --git a/src/tmltranslator/ctranslator/FEPContext.java b/src/tmltranslator/ctranslator/FepOperationMEC.java
old mode 100644
new mode 100755
similarity index 84%
rename from src/tmltranslator/ctranslator/FEPContext.java
rename to src/tmltranslator/ctranslator/FepOperationMEC.java
index 9ea06fd8760cbe432dacbe1eae67f68c28f0e99d..9c0d850d9f8a0af89ea0ca3178dc5f7ce5171c3c
--- a/src/tmltranslator/ctranslator/FEPContext.java
+++ b/src/tmltranslator/ctranslator/FepOperationMEC.java
@@ -1,66 +1,61 @@
-/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
-
-   ludovic.apvrille AT enst.fr
-   andrea.enrici AT enstr.fr
-
-   This software is a computer program whose purpose is to allow the
-   edition of TURTLE analysis, design and deployment diagrams, to
-   allow the generation of RT-LOTOS or Java code from this diagram,
-   and at last to allow the analysis of formal validation traces
-   obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
-   from INRIA Rhone-Alpes.
-
-   This software is governed by the CeCILL  license under French law and
-   abiding by the rules of distribution of free software.  You can  use,
-   modify and/ or redistribute the software under the terms of the CeCILL
-   license as circulated by CEA, CNRS and INRIA at the following URL
-   "http://www.cecill.info".
-
-   As a counterpart to the access to the source code and  rights to copy,
-   modify and redistribute granted by the license, users are provided only
-   with a limited warranty  and the software's author,  the holder of the
-   economic rights,  and the successive licensors  have only  limited
-   liability.
-
-   In this respect, the user's attention is drawn to the risks associated
-   with loading,  using,  modifying and/or developing or reproducing the
-   software by the user in light of its specific status of free software,
-   that may mean  that it is complicated to manipulate,  and  that  also
-   therefore means  that it is reserved for developers  and  experienced
-   professionals having in-depth computer knowledge. Users are therefore
-   encouraged to load and test the software's suitability as regards their
-   requirements in conditions enabling the security of their systems and/or
-   data to be ensured and,  more generally, to use and operate it in the
-   same conditions as regards security.
-
-   The fact that you are presently reading this means that you have had
-   knowledge of the CeCILL license and that you accept its terms.
-
-   /**
-   * Class FEPContext, the context data structure for the FEP PSS in Embb
-   * Creation: 12/02/2014
-   * @version 1.0 12/02/2014
-   * @author Andrea ENRICI
-   * @see
-   */
-
-package tmltranslator.ctranslator;;
-
-import java.util.*;
-import java.nio.*;
-import javax.swing.*;
-import javax.swing.event.*;
-import myutil.*;
-
-import tmltranslator.*;
-
-public class FEPContext extends Context	{
-
-	public FEPContext()	{
-
-		declaration = "struct embb_dma_context_s";
-		code =	"VOID";
-
-	}
-
-}
+/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
+
+   ludovic.apvrille AT enst.fr
+   andrea.enrici AT enstr.fr
+
+   This software is a computer program whose purpose is to allow the
+   edition of TURTLE analysis, design and deployment diagrams, to
+   allow the generation of RT-LOTOS or Java code from this diagram,
+   and at last to allow the analysis of formal validation traces
+   obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
+   from INRIA Rhone-Alpes.
+
+   This software is governed by the CeCILL  license under French law and
+   abiding by the rules of distribution of free software.  You can  use,
+   modify and/ or redistribute the software under the terms of the CeCILL
+   license as circulated by CEA, CNRS and INRIA at the following URL
+   "http://www.cecill.info".
+
+   As a counterpart to the access to the source code and  rights to copy,
+   modify and redistribute granted by the license, users are provided only
+   with a limited warranty  and the software's author,  the holder of the
+   economic rights,  and the successive licensors  have only  limited
+   liability.
+
+   In this respect, the user's attention is drawn to the risks associated
+   with loading,  using,  modifying and/or developing or reproducing the
+   software by the user in light of its specific status of free software,
+   that may mean  that it is complicated to manipulate,  and  that  also
+   therefore means  that it is reserved for developers  and  experienced
+   professionals having in-depth computer knowledge. Users are therefore
+   encouraged to load and test the software's suitability as regards their
+   requirements in conditions enabling the security of their systems and/or
+   data to be ensured and,  more generally, to use and operate it in the
+   same conditions as regards security.
+
+   The fact that you are presently reading this means that you have had
+   knowledge of the CeCILL license and that you accept its terms.
+
+   /**
+   * Class FepOperationMEC, Model Extension Construct (MEC) class for Fep operations
+   * Creation: 05/02/2014
+   * @version 1.0 05/02/2014
+   * @author Andrea ENRICI
+   * @see
+   */
+
+package tmltranslator.ctranslator;
+
+import java.util.*;
+import java.nio.*;
+import myutil.*;
+
+public abstract class FepOperationMEC extends OperationMEC	{
+
+
+	public FepOperationMEC()	{
+		name = "FepOperationMEC";
+		context = "FEP_CONTEXT";
+	}
+
+}	//End of class
diff --git a/src/tmltranslator/ctranslator/FftMEC.java b/src/tmltranslator/ctranslator/FftMEC.java
index 6d9fc4d16166218aa44680c803c66463bbf714a5..ca7e78fa1ab6ec85d2f9deb2442d7d11e2bd9177 100644
--- a/src/tmltranslator/ctranslator/FftMEC.java
+++ b/src/tmltranslator/ctranslator/FftMEC.java
@@ -49,20 +49,20 @@ package tmltranslator.ctranslator;;
 import java.util.*;
 //import Ctranslator.*;
 
-public class FftMEC extends OperationMEC	{
+public class FftMEC extends FepOperationMEC	{
 
-	public FftMEC( String _ctxName, String inSignalName, String outSignalName, String BTC )	{
+	public FftMEC( String _ctxName, String inSignalName, String outSignalName )	{
 		name = "Fast Fourier Transform MEC";
 		exec_code = TAB + "/*firm instruction*/" + CR +
-			"fep_set_l(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->l);" + CR + TAB +
-			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR + TAB +
-			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_l(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->num_samples);" + CR + TAB +
+			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bx(&" + _ctxName + ", sig[" + inSignalName + "].roff + ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&" + _ctxName + ", sig[" + outSignalName + "].woff + ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"/*start execution*/" + CR + TAB +
-			"fep_start(&" + _ctxName + ");" + CR;
+			"fep_do(&" + _ctxName + ");" + CR;
 		
 		init_code ="/***** INIT " + _ctxName + " *******/" + CR +
 			"void init_" + _ctxName + "(void){" + CR + TAB +
@@ -91,9 +91,9 @@ public class FftMEC extends OperationMEC	{
 			"fep_set_vry(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"fep_set_dy(&" + _ctxName + ", (uint64_t) /*USER TODO: value*/);" + CR + TAB +
 			"// Z vector addressing configuration" + CR + TAB +
-			"fep_set_qz(&" + _ctxName + ", (uint64_t) ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bz(&" + _ctxName + ", (uint64_t) ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
-			"fep_set_tz(&" + _ctxName + ", (uint64_t) ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
+			"fep_set_qz(&" + _ctxName + ", (uint64_t) ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bz(&" + _ctxName + ", (uint64_t) ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_tz(&" + _ctxName + ", (uint64_t) ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->data_type);" + CR + TAB +
 			"fep_set_wz(&" + _ctxName + ", (uint64_t) /*USER TODO*/);" + CR + TAB +
 			"fep_set_ri(&" + _ctxName + ", (uint64_t) /*USER TODO*/);" + CR + TAB +
 			"fep_set_sz(&" + _ctxName + ", (uint64_t) /*USER TODO*/);" + CR + TAB +
diff --git a/src/tmltranslator/ctranslator/InterleaverBuffer.java b/src/tmltranslator/ctranslator/InterleaverBuffer.java
index 45be07513f1045f915dbd2ecbaf7cb9de519e17c..2a5ae32846862240fd769fdad6226ab33f60b3b4 100644
--- a/src/tmltranslator/ctranslator/InterleaverBuffer.java
+++ b/src/tmltranslator/ctranslator/InterleaverBuffer.java
@@ -96,7 +96,7 @@ public class InterleaverBuffer extends Buffer	{
 	public String lengthPermIntlValue = USER_TO_DO;
 	public static String lengthPermIntlType = "uint16_t";
 
-	public static final String DECLARATION = "extern struct INTERLEAVER_BUFFER_TYPE {" + CR + TAB +
+	public static final String DECLARATION = "struct INTERLEAVER_BUFFER_TYPE {" + CR + TAB +
 																						packedBinaryInIntlType + SP + "packed_binary_input_mode" + SC + CR + TAB +
 																						widthIntlType + SP + "sample_width" + SC + CR + TAB +
 																						bitInOffsetIntlType + SP + "bit_input_offset" + SC + CR + TAB +
@@ -107,7 +107,8 @@ public class InterleaverBuffer extends Buffer	{
 																						outputOffsetIntlType + SP + "output_offset" + SC + CR + TAB +
 																						//permutation table
 																						offsetPermIntlType + SP + "permutation_offset" + SC + CR + TAB + 
-																						lengthPermIntlType + SP + "permutation_length" + SC + CR + "};";
+																						lengthPermIntlType + SP + "permutation_length" + SC + CR + "}" + SC + CR2 +
+																						"typedef INTERLEAVER_BUFFER_TYPE INTERLEAVER_BUFFER_TYPE" + SC + CR;
 	
 	private String Context = "INTL_CONTEXT";
 	
diff --git a/src/tmltranslator/ctranslator/InterleaverMEC.java b/src/tmltranslator/ctranslator/InterleaverMEC.java
index 6479103b5066156d04778b8870ffab0f3a44aa11..fdb18c10d65d9e87e051867ac60fd501a7b8d233 100644
--- a/src/tmltranslator/ctranslator/InterleaverMEC.java
+++ b/src/tmltranslator/ctranslator/InterleaverMEC.java
@@ -54,12 +54,12 @@ public class InterleaverMEC extends ArchUnitMEC	{
 	public static final String Context = "INTL_CONTEXT";
 	public static final String Ctx_cleanup = "intl_ctx_cleanup";
 
-	public InterleaverMEC( String XOP, String ID0, String OD0, String BTC )	{
+	public InterleaverMEC( String XOP, String ID0, String OD0 )	{
 
 		node_type = "INTERLEAVER";
 		inst_type = "INTL";
 		inst_decl = "INTL_CONTEXT";
-		buff_type = "INTL_BUFF_TYPE";
+		buff_type = "INTL_BUFFER_TYPE";
 		buff_init = "= {/*l,b,q,t*/};";
 	}
 
diff --git a/src/tmltranslator/ctranslator/IntlOperationMEC.java b/src/tmltranslator/ctranslator/IntlOperationMEC.java
index 3fd2cbbb917a05a62e694ff6844a9bbda19a1039..99bb6701b136e5e39336fcdab01b82bcc7e84f6b 100644
--- a/src/tmltranslator/ctranslator/IntlOperationMEC.java
+++ b/src/tmltranslator/ctranslator/IntlOperationMEC.java
@@ -50,29 +50,31 @@ import java.util.*;
 
 public class IntlOperationMEC extends OperationMEC	{
 
-	public IntlOperationMEC( String ctxName, String ID0, String OD0, String BTC )	{
+
+	public IntlOperationMEC( String ctxName, String ID0, String OD0 )	{
 		name = "InterleaverOperationMEC";
 		exec_code = TAB + "/*firm instruction*/" + CR + TAB +
 			"/*start execution*/" + CR + TAB +
-			"intl_start(&" + ctxName + ");" + CR;
+			"intl_do(&" + ctxName + ");" + CR;
 		
 		init_code ="/***** INIT " + ctxName + " *******/" + CR +
 			"void init_" + ctxName.split("_ctx")[0] + "(void){" + CR + TAB +
 			"intl_ctx_init(&" + ctxName + ", (uintptr_t) intl_mss );" + CR + TAB +
 			"// initialize context" + CR + TAB +
-			"intl_set_lenm1( (((INTL_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->num_symbols), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_lba( (((INTL_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->lut_base_address), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_oba( (((INTL_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->output_base_address), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_iba( (((INTL_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->input_base_address), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_mult( /* USER TO DO */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_men( /* USER TO DO */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_sym( (((INTL_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->symmetrical_value), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_bpsm1( (((INTL_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->num_bits_per_symbol), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_m( (((INTL_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->base_address), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_n( /* USER TO DO */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"intl_set_s( /* USER TO DO */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
+			"intl_set_lenm1( (((INTL_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->num_symbols), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_lba( (((INTL_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->lut_base_address), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_oba( (((INTL_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->output_base_address), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_iba( (((INTL_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->input_base_address), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_mult( /* USER TO DO */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_men( /* USER TO DO */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_sym( (((INTL_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->symmetrical_VALUE), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_bpsm1( (((INTL_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->num_bits_per_symbol), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_m( (((INTL_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->base_address), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_n( /* USER TO DO */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"intl_set_s( /* USER TO DO */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
 			"}" + CR;
 		cleanup_code = "intl_ctx_cleanup(&" + ctxName + ");";
+		context = "INTL_CONTEXT";
 	}
 
 }	//End of class
diff --git a/src/tmltranslator/ctranslator/MMBuffer.java b/src/tmltranslator/ctranslator/MMBuffer.java
index b44e29a3e256d7dfd78c6b86ac3284ddfbf04b3a..1ec85f8432c6d16e61b33993c2139a626ab8ef2e 100644
--- a/src/tmltranslator/ctranslator/MMBuffer.java
+++ b/src/tmltranslator/ctranslator/MMBuffer.java
@@ -53,7 +53,6 @@ import tmltranslator.*;
 
 public class MMBuffer extends Buffer	{
 
-	//public static final String DECLARATION = "extern struct MM_BUFFER_TYPE {\n\tint num_samples;\n\tint* base_address;\n};";
 	public static final int numSamplesIndex = 1;
 	public static final int baseAddressIndex = 2;
 
@@ -63,9 +62,10 @@ public class MMBuffer extends Buffer	{
 	protected String baseAddressValue = USER_TO_DO;
 	protected static final String baseAddressType = "uint32_t*";
 	
-	public static final String DECLARATION = "extern struct MM_BUFFER_TYPE {" + CR + TAB +
+	public static final String DECLARATION = "struct MM_BUFFER_TYPE {" + CR + TAB +
 																						numSamplesType + SP + "num_samples" + SC + CR + TAB +
-																						baseAddressType + SP + "base_address" + SC + CR + "};";
+																						baseAddressType + SP + "base_address" + SC + CR + "}" + SC + CR2 +
+																						"typedef MM_BUFFER_TYPE MM_BUFFER_TYPE" + SC + CR;
 	
 	private String Context = "embb_mainmemory_context";
 
@@ -80,8 +80,8 @@ public class MMBuffer extends Buffer	{
 		if( bufferParameters != null )	{
 			retrieveBufferParameters();
 		}
-		s.append( TAB + name + ".num_samples = " + numSamplesValue + SC + CR );
-		s.append( TAB + name + ".base_address = " + baseAddressValue + SC + CR );
+		s.append( TAB + name + ".num_samples = " + "(" + numSamplesType + ")" + numSamplesValue + SC + CR );
+		s.append( TAB + name + ".base_address = " + "(" + baseAddressType + ")" + baseAddressValue + SC + CR );
 		return s.toString();
 	}
 
diff --git a/src/tmltranslator/ctranslator/MappOperationMEC.java b/src/tmltranslator/ctranslator/MappOperationMEC.java
index 605f80a4463472fa8b3a7285031bbfa3b5dbe41e..37615b923cc921054e61c3401eea02efa3c805ce 100644
--- a/src/tmltranslator/ctranslator/MappOperationMEC.java
+++ b/src/tmltranslator/ctranslator/MappOperationMEC.java
@@ -51,35 +51,37 @@ import java.util.*;
 
 public class MappOperationMEC extends OperationMEC	{
 
-	public MappOperationMEC( String ctxName, String ID0, String OD0, String BTC )	{
+
+	public MappOperationMEC( String ctxName, String ID0, String OD0 )	{
 		name = "MapperOperationMEC";
 		exec_code = TAB + "/*firm instruction*/" + CR + TAB +
 			"/*start execution*/" + CR + TAB +
-			"mapper_start(&" + ctxName + ");" + CR;
+			"mapper_do(&" + ctxName + ");" + CR;
 		
 		init_code ="/***** INIT " + ctxName + " *******/" + CR +
 			"void init_" + ctxName.split("_ctx")[0] + "(void){" + CR + TAB +
 			"mapper_ctx_init(&" + ctxName + ", (uintptr_t) mapper_mss );" + CR + TAB +
 			"// initialize context" + CR + TAB +
-			"mapper_set_sv( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_arm( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_arm( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_re( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_se( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_fe( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_pbo( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->packed_binary_output_mode), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_pbi( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->packed_binary_input_mode), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_widm1( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->samples_width), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_biof( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->bit_input_offset), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_boof( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->bit_output_offset), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_fz( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_fo( /* USER TO DO: value */, (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_iof( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->output_offset), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_oof( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->input_offset), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_pof( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->permutation_offset), (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"mapper_set_lenm1( (((MAPPER_BUFF_TYPE*)sig[" + ID0 + "].pBuff)->permutation_length), (uint64_t) /* USER TODO: value */);" + CR + TAB +
+			"mapper_set_sv( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_arm( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_arm( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_re( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_se( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_fe( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_pbo( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->packed_binary_output_mode), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_pbi( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->packed_binary_input_mode), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_widm1( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->samples_width), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_biof( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->bit_input_offset), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_boof( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->bit_output_offset), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_fz( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_fo( /* USER TO DO: VALUE */, (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_iof( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->output_offset), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_oof( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->input_offset), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_pof( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->permutation_offset), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
+			"mapper_set_lenm1( (((MAPPER_BUFFER_TYPE*)sig[" + ID0 + "].pBuff)->permutation_length), (uint64_t) /* USER TODO: VALUE */);" + CR + TAB +
 			"}" + CR;
 		cleanup_code = "mapper_ctx_cleanup(&" + ctxName + ");";
+		context = "MAPPER_CONTEXT";
 	}
 
 }	//End of class
diff --git a/src/tmltranslator/ctranslator/MapperBuffer.java b/src/tmltranslator/ctranslator/MapperBuffer.java
index 145c4a3c09ba89e4c4a697c97aebb84236cad844..9601445797045dae7f54238a166e094f66b1100e 100644
--- a/src/tmltranslator/ctranslator/MapperBuffer.java
+++ b/src/tmltranslator/ctranslator/MapperBuffer.java
@@ -70,7 +70,7 @@ public class MapperBuffer extends Buffer	{
 
 
 	public static int symmetricalValueDataInMappIndex = 4;
-	protected String symmetricalValueDataInMapp = USER_TO_DO;
+	protected String symmetricalValueDataInMappValue = USER_TO_DO;
 	protected static final String symmetricalValueDataInMappType = "bool";
 
 	//data out
@@ -83,13 +83,14 @@ public class MapperBuffer extends Buffer	{
 	protected String baseAddressLUTMappValue = USER_TO_DO;
 	public static final String baseAddressLUTMappType = "uint16_t*";
 	
-	public static final String DECLARATION = "extern struct MAPPER_BUFFER_TYPE {" + CR + TAB +
+	public static final String DECLARATION = "struct MAPPER_BUFFER_TYPE {" + CR + TAB +
 																						numSamplesDataInMappType + SP + "num_symbols" + SC + CR + TAB +
 																						baseAddressDataInMappType + SP + "input_base_address" + SC + CR + TAB +
-																						bitsPerSymbolDataInMappType + SP + "num_bits_symbol" + SC + CR + TAB +
+																						bitsPerSymbolDataInMappType + SP + "num_bits_per_symbol" + SC + CR + TAB +
 																						symmetricalValueDataInMappType + SP + "symmetrical_value" + SC + CR + TAB +
 																						baseAddressDataOutMappType + SP + "output_base_address" + SC + CR + TAB +
-																						baseAddressLUTMappType + SP + "lut_base_address" + SC + CR + "}";
+																						baseAddressLUTMappType + SP + "lut_base_address" + SC + CR + "}" + SC + CR2 +
+																						"typedef MAPPER_BUFFER_TYPE MAPPER_BUFFER_TYPE" + SC;
 	
 	private String Context = "MAPPER_CONTEXT";
 	
@@ -104,12 +105,12 @@ public class MapperBuffer extends Buffer	{
 		if( bufferParameters != null )	{
 			retrieveBufferParameters();
 		}
-		s.append( TAB + name + ".num_symbols = " + numSamplesDataInMappValue + SC + CR );
-		s.append( TAB + name + ".input_base_address = " + baseAddressDataInMappValue + SC + CR );
-		s.append( TAB + name + ".num_bits_per_symbol = " + bitsPerSymbolDataInMappValue + SC + CR );
-		s.append( TAB + name + ".symmetrical_value = " + symmetricalValueDataInMapp + SC + CR );
-		s.append( TAB + name + ".output_base_address = " + baseAddressDataOutMappValue + SC + CR );
-		s.append( TAB + name + ".lut_base_address = " + baseAddressLUTMappValue + SC + CR );
+		s.append( TAB + name + ".num_symbols = " + "(" + numSamplesDataInMappType + ")" + numSamplesDataInMappValue + SC + CR );
+		s.append( TAB + name + ".input_base_address = " + "(" + baseAddressDataInMappType + ")" + baseAddressDataInMappValue + SC + CR );
+		s.append( TAB + name + ".num_bits_per_symbol = " + "(" + bitsPerSymbolDataInMappType + ")" + bitsPerSymbolDataInMappValue + SC + CR );
+		s.append( TAB + name + ".symmetrical_value = " + "(" + symmetricalValueDataInMappType + ")" + symmetricalValueDataInMappValue + SC + CR );
+		s.append( TAB + name + ".output_base_address = " + "(" + baseAddressDataOutMappType + ")" + baseAddressDataOutMappValue + SC + CR );
+		s.append( TAB + name + ".lut_base_address = " + "(" + baseAddressLUTMappType + ")" + baseAddressLUTMappValue + SC + CR );
 		return s.toString();
 	}
 
@@ -119,7 +120,7 @@ public class MapperBuffer extends Buffer	{
 		s.append( TAB2 + "num_symbols = " + numSamplesDataInMappValue + SC + CR );
 		s.append( TAB2 + "input_base_address = " + baseAddressDataInMappValue + SC + CR );
 		s.append( TAB2 + "num_bits_per_symbol = " + bitsPerSymbolDataInMappValue + SC + CR );
-		s.append( TAB2 + "symmetrical_value = " + symmetricalValueDataInMapp + SC + CR );
+		s.append( TAB2 + "symmetrical_value = " + symmetricalValueDataInMappValue + SC + CR );
 		s.append( TAB2 + "output_base_address = " + baseAddressDataOutMappValue + SC + CR );
 		s.append( TAB2 + "lut_base_address = " + baseAddressLUTMappValue + SC + CR );
 		return s.toString();
@@ -137,7 +138,7 @@ public class MapperBuffer extends Buffer	{
 			bitsPerSymbolDataInMappValue = bufferParameters.get( bitsPerSymbolDataInMappIndex );
 		}
 		if( bufferParameters.get( symmetricalValueDataInMappIndex ).length() > 0 )	{
-			symmetricalValueDataInMapp = String.valueOf( ( new Vector<String>( Arrays.asList( symmetricalValues ))).indexOf( bufferParameters.get( symmetricalValueDataInMappIndex )));
+			symmetricalValueDataInMappValue = String.valueOf( ( new Vector<String>( Arrays.asList( symmetricalValues ))).indexOf( bufferParameters.get( symmetricalValueDataInMappIndex )));
 		}
 		if( bufferParameters.get( baseAddressDataOutMappIndex ).length() > 0 )	{
 			baseAddressDataOutMappValue = bufferParameters.get( baseAddressDataOutMappIndex );
diff --git a/src/tmltranslator/ctranslator/MapperMEC.java b/src/tmltranslator/ctranslator/MapperMEC.java
index a28b23cbc4ff3468c51278ac04bd94f392308df4..ff1eb7d3234aeec314b720213bfc62b459f49345 100644
--- a/src/tmltranslator/ctranslator/MapperMEC.java
+++ b/src/tmltranslator/ctranslator/MapperMEC.java
@@ -54,12 +54,12 @@ public class MapperMEC extends ArchUnitMEC	{
 	public static final String Context = "MAPPER_CONTEXT";
 	public static final String Ctx_cleanup = "mapper_ctx_cleanup";
 
-	public MapperMEC( String XOP, String ID0, String OD0, String BTC )	{
+	public MapperMEC( String XOP, String ID0, String OD0 )	{
 
 		node_type = "MAPPER";
 		inst_type = "MAP";
 		inst_decl = "MAP_CONTEXT";
-		buff_type = "MAPPER_BUFF_TYPE";
+		buff_type = "MAPPER_BUFFER_TYPE";
 		buff_init = "= {/*l,b,q,t*/};";
 	}
 
diff --git a/src/tmltranslator/ctranslator/Operation.java b/src/tmltranslator/ctranslator/Operation.java
index ea7fceb6468ac80348c60a4fbbb9ceb571dcf061..3d88045e99a3b9f357c0cb95e4c97e42ff9ea9a5 100755
--- a/src/tmltranslator/ctranslator/Operation.java
+++ b/src/tmltranslator/ctranslator/Operation.java
@@ -70,18 +70,19 @@ public class Operation	{
 	private Buffer outBuffer;
 	private HwNode xHwNode;
 	private HwNode fHwNode;
-
+	private boolean isPrex;
+	private boolean isPostex;
 
 	//Constructor for SDR operations, before the introduction of signals
-	public Operation( TMLTask _task1, TMLTask _task2 )	{	//First pass the F task
+	/*public Operation( TMLTask _task1, TMLTask _task2 )	{	//First pass the F task
 		name = _task1.getName().split( "__" )[1].split( "F_" )[1];
 		fTask = _task1;
 		xTask = _task2;
 		type = 1;	//SDR
-	}
+	}*/
 
 	//Constructor for SDR operations with input (READ channels and events) and output (WRITE channels and events) signals
-	public Operation( TMLTask _xTask, TMLTask _fTask, HwNode _xHwNode, HwNode _fHwNode, ArrayList<Signal> _inSignals, Signal _outSignal, Buffer _inBuffer, Buffer _outBuffer )	{	//First pass the F task
+	public Operation( TMLTask _xTask, TMLTask _fTask, HwNode _xHwNode, HwNode _fHwNode, ArrayList<Signal> _inSignals, Signal _outSignal, Buffer _inBuffer, Buffer _outBuffer, boolean _isPrex, boolean _isPostex )	{	//First pass the F task
 		name = _xTask.getName().split( "__" )[1].split( "F_" )[1];
 		fTask = _xTask;
 		xTask = _fTask;
@@ -91,6 +92,8 @@ public class Operation	{
 		outSignal = _outSignal;
 		inBuffer = _inBuffer;
 		outBuffer = _outBuffer;
+		isPrex = _isPrex;
+		isPostex = _isPostex;
 		type = 1;	//SDR
 	}
 
@@ -157,6 +160,14 @@ public class Operation	{
 		return outBuffer;
 	}
 
+	public boolean isPrex()	{
+		return isPrex;
+	}
+
+	public boolean isPostex()	{
+		return isPostex;
+	}
+
 	public String getFireRuleCondition()	{
 		
 		StringBuffer frCondition = new StringBuffer();
@@ -186,7 +197,6 @@ public class Operation	{
 					frCondition.append( " ( sig[ " + sig.getName() + " ].f ) &&" );
 				}
 				frCondition = new StringBuffer( frCondition.toString().substring( 0, frCondition.length() - 3 ) );
-				//frCondition = temp + ")";
 			}
 			else	{
 				frCondition.append( "( sig[ " + inSignals.get(0).getName() + " ].f )" );
@@ -196,9 +206,8 @@ public class Operation	{
 	}
 
 	public String toString()	{
-		String s = "";
+		String s = "OPERATION " + name + "\n\t" + "isPrex: " + isPrex + "\n\t" + "isPostex: " + isPostex + "\n\t";
 		if( ( inSignals.size() != 0 ) && ( outSignal != null ) )	{
-			s = "OPERATION " + name + "\n\t";
 			for( Signal sig: inSignals )	{
 				s += "inSignal: " + sig.getName() + "\n\t";
 			}
@@ -211,7 +220,7 @@ public class Operation	{
 							"outBuffer: " + outBuffer.toString();
 		}
 		else if( inSignals.size() == 0 )	{
-			s =			"OPERATION " + name + "\n\t" +
+			s +=			//"OPERATION " + name + "\n\t" +
 							"outSignal: " + outSignal.getName() + "\n\t" +
 							"X task HwExecutionNode: " + xHwNode.getName() + "\n\t" +
 							"X task MEC: " + xHwNode.getArchUnitMEC().toString() + "\n\t" +
@@ -220,7 +229,7 @@ public class Operation	{
 							"outBuffer: " + outBuffer.toString();
 		}
 		else if( outSignal == null )	{
-			s = "OPERATION " + name + "\n\t";
+			//s = "OPERATION " + name + "\n\t";
 			for( Signal sig: inSignals )	{
 				s += "inSignal: " + sig.getName() + "\n\t";
 			}
diff --git a/src/tmltranslator/ctranslator/OperationMEC.java b/src/tmltranslator/ctranslator/OperationMEC.java
index 506eb83784a516d73a4ac5767696ec52dff2dd01..96105df7c13cb10e17f0205b9629fb26822274ea 100755
--- a/src/tmltranslator/ctranslator/OperationMEC.java
+++ b/src/tmltranslator/ctranslator/OperationMEC.java
@@ -58,11 +58,11 @@ public abstract class OperationMEC	{
 	protected String init_code = new String();
 	protected String exec_code = new String();
 	protected String cleanup_code = new String();
+	protected String context = new String();
 	
 	protected String ID0 = new String();
 	protected String OD0 = new String();
 	protected String XOP = new String();
-	protected String BTC = new String();
 
 	public ArchUnitMEC archUnitMEC;
 	
@@ -78,6 +78,10 @@ public abstract class OperationMEC	{
 		return init_code;
 	}
 
+	public String getContext()	{
+		return context;
+	}
+
 	public String toString()	{
 		return name;
 	}
diff --git a/src/tmltranslator/ctranslator/Signal.java b/src/tmltranslator/ctranslator/Signal.java
index 2e05a4dcfa49d355a9ef3b0d06ab25bcf420b638..1ca0f66c1a83a7e026e0103a6a7463f94cfb4b63 100755
--- a/src/tmltranslator/ctranslator/Signal.java
+++ b/src/tmltranslator/ctranslator/Signal.java
@@ -59,16 +59,10 @@ public class Signal	{
 	private String status_s = "bool f" + SC + CR;
 	private boolean status = false;
 
-	private String writeOffset_s = "int woff" + SC + CR;
-	private int writeOffset;
-
-	private String readOffset_s = "int roff" + SC + CR;
-	private int readOffset;
-
 	private String buffPointer_s = "void *pBuff" + SC + CR;
 	private Buffer buffPointer = null;
 	
-	public static final String DECLARATION = "struct SIG_TYPE	{\n\tbool f;\n\tint woff;\n\tint roff;\n\tvoid *pBuff;\n};\ntypedef struct SIG_TYPE SIG_TYPE;";
+	public static final String DECLARATION = "struct SIG_TYPE	{\n\tbool f;\n\tvoid *pBuff;\n};\n\ntypedef struct SIG_TYPE SIG_TYPE;";
 
 	private String name;
 	private TMLChannel channel;
@@ -77,11 +71,9 @@ public class Signal	{
 	public Signal( TMLChannel _ch )	{
 		channel = _ch;
 		if( _ch.isBasicChannel() )	{
-			//name = "SIGNAL__" + _ch.getName().split("__")[1] + "__" + _ch.getName().split("__")[3];
 			name = _ch.getOriginPort().getName();		//return the name of the source port of the channel
 		}
 		else if( _ch.isAForkChannel() )	{
-			//name = "SIGNAL__" + _ch.getName().split("__")[1] + "__" + _ch.getName().split("__")[2] + "__" + _ch.getName().split("__")[3];
 			name = _ch.getOriginPorts().get(0).getName();		//return the name of the source port of the channel
 		}
 		else if( _ch.isAJoinChannel() )	{
diff --git a/src/tmltranslator/ctranslator/SingleDmaMEC.java b/src/tmltranslator/ctranslator/SingleDmaMEC.java
index aecd0678c947c4c366c17c58c7122d56a22e8114..c311fdfa5b2c94dc158daef9b3326186641f70e4 100755
--- a/src/tmltranslator/ctranslator/SingleDmaMEC.java
+++ b/src/tmltranslator/ctranslator/SingleDmaMEC.java
@@ -50,33 +50,27 @@ import java.util.*;
 
 public class SingleDmaMEC extends CPMEC	{
 
-	public static final String Context = "embb_dma_context";
+	public static final String Context = "EMBB_CONTEXT";
 	public static final String Ctx_cleanup = "dma_ctx_cleanup";
 
-	public static final int MaxParameters = 6;
+	public static final int MaxParameters = 3;
 	public static final int destinationAddressIndex = 0;
 	public static final int sourceAddressIndex = 1;
-	public static final int sizeIndex = 2;
-	public static final int counterIndex = 3;
-	public static final int ID1Index = 4;
-	public static final int bytesToTransferIndex = 5;
+	public static final int counterIndex = 2;
 
 	public static final String destinationAddress = "destinationAddress";
 	public static final String sourceAddress = "sourceAddress";
-	public static final String size = "size";
 	public static final String counter = "counter";
-	public static final String ID1 = "ID1";
-	public static final String bytesToTransfer = "bytesToTransfer";
 
 	public SingleDmaMEC( String ctxName )	{
 
 		node_type = "SingleDmaMEC";
 		inst_type = "VOID";
 		inst_decl = "EMBB_DMA_CONTEXT";
-		buff_type = "MM_BUFF_TYPE";
+		buff_type = "MM_BUFFER_TYPE";
 		buff_init = "VOID";
 		exec_code = TAB + "embb_dma_start(&" + ctxName + ", (uintptr_t) /*USER TO DO: SRC_ADDRESS*/, (uintptr_t) /*USER TO DO: DST_ADDRESS*/, /*USER TO DO: NUM_SAMPLES */ );" + CR;	
-		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, /*USER TO DO: SRC_DEV*/ );" + CR;
+		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, NULL );" + CR;
 		cleanup_code = TAB + "embb_dma_ctx_cleanup(&" + ctxName +");";
 	}
 	
@@ -85,10 +79,10 @@ public class SingleDmaMEC extends CPMEC	{
 		node_type = "SingleDmaMEC";
 		inst_type = "VOID";
 		inst_decl = "EMBB_DMA_CONTEXT";
-		buff_type = "MM_BUFF_TYPE";
+		buff_type = "MM_BUFFER_TYPE";
 		buff_init = "VOID";
 		exec_code = TAB + "embb_dma_start(&" + ctxName + ", (uintptr_t) " + sourceAddress + ", (uintptr_t) " + destinationAddress + ", (size_t) " + size + " );" + CR;	
-		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, /*USER TO DO: SRC_DEV*/ );" + CR;
+		init_code = TAB + "embb_dma_ctx_init(&" + ctxName + ", /*USER TO DO: DMA_DEVICE*/, /*USER TO DO: DST_DEV*/, NULL );" + CR;
 		cleanup_code = TAB + "embb_dma_ctx_cleanup(&" + ctxName +");";
 	}
 
diff --git a/src/tmltranslator/ctranslator/SumMEC.java b/src/tmltranslator/ctranslator/SumMEC.java
index b5981a9fdbe6b67075c839e07de438ba416cff7a..b168bc297d2661f10c52002f53b3fd2f376097d3 100644
--- a/src/tmltranslator/ctranslator/SumMEC.java
+++ b/src/tmltranslator/ctranslator/SumMEC.java
@@ -47,16 +47,15 @@
 package tmltranslator.ctranslator;;
 
 import java.util.*;
-//import Ctranslator.*;
 
-public class SumMEC extends OperationMEC	{
+public class SumMEC extends FepOperationMEC	{
 
-	public SumMEC( String _ctxName, String inSignalName, String outSignalName, String BTC )	{
+	public SumMEC( String _ctxName, String inSignalName, String outSignalName )	{
 		name = "Sum MEC";
 		exec_code = TAB + "/*firm instruction*/" + CR + TAB +
-			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_qx(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + inSignalName + "].pBuff)->bank);" + CR + TAB +
 			"/*start execution*/" + CR + TAB +
-			"fep_start(&" + _ctxName + ");" + CR;
+			"fep_do(&" + _ctxName + ");" + CR;
 		
 		init_code = 
 			"void init_" + _ctxName + "(void){" + CR + TAB +
@@ -79,8 +78,8 @@ public class SumMEC extends OperationMEC	{
 			"fep_set_vix(&" + _ctxName + ", (uint64_t) /* USER TODO: value */);" + CR + TAB +
 			"// Operation configuration" + CR + TAB +
 			"fep_set_sma(&" + _ctxName + ", (uint64_t) /* USER TODO: value */);" + CR + TAB +
-			"fep_set_qs(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
-			"fep_set_bs(&" + _ctxName + ", ((FEP_BUFF_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
+			"fep_set_qs(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->bank);" + CR + TAB +
+			"fep_set_bs(&" + _ctxName + ", ((FEP_BUFFER_TYPE*)sig[" + outSignalName + "].pBuff)->base_address);" + CR + TAB +
 			"}" + CR;
 		cleanup_code = "fep_ctx_cleanup(&" + _ctxName + ");";
 	}
diff --git a/src/tmltranslator/ctranslator/TMLCCodeGeneration.java b/src/tmltranslator/ctranslator/TMLCCodeGeneration.java
index 62559cc0a45e6879e87985bcfe37e742bfa455ac..df5121716e04e55725ea55377dc76e7a5d3f4729 100755
--- a/src/tmltranslator/ctranslator/TMLCCodeGeneration.java
+++ b/src/tmltranslator/ctranslator/TMLCCodeGeneration.java
@@ -188,6 +188,7 @@ public class TMLCCodeGeneration	{
 		Signal outSignal;
 		ArrayList<Signal> inSignals;
 		String[] s;
+		boolean[] prexPostexList = new boolean[2];
 
 		for( TMLTask task: mappedTasks )	{
 			String taskName = task.getName().split( "__" )[1];
@@ -209,18 +210,60 @@ public class TMLCCodeGeneration	{
 				String xTaskName = xTask.getName().split( "__" )[1].split( "X_" )[1];
 				if( xTaskName.equals( fTaskName ) )	{
 					//Mind that signals are based on channels NOT on events!
+					TraceManager.addDev( "TASK " + xTask.getName() );
+					//TraceManager.addDev( xTask.getTMLChannels().toString() );
+					prexPostexList = getPrexPostex( xTask );
 					inSignals = getInSignals( xTask );	//is null for Source operation
 					outSignal = getOutSignal( xTask );	//is null for Sink operation
 					//Get the ports of channels and associated them to buffers
 					inBuffer = createInBuffer( xTask, tmap.getHwNodeOf( xTask ) );	//null for Source
 					outBuffer = createOutBuffer( xTask, tmap.getHwNodeOf( xTask ) );	//null for Sink
-					operationsList.add( new Operation( fTask, xTask, tmap.getHwNodeOf( xTask ), tmap.getHwNodeOf( fTask ), inSignals, outSignal, inBuffer, outBuffer ) );
+					operationsList.add( new Operation( fTask, xTask, tmap.getHwNodeOf( xTask ), tmap.getHwNodeOf( fTask ), inSignals, outSignal, inBuffer, outBuffer, prexPostexList[0], prexPostexList[1] ) );
 					SDRoperationsCounter++;
 				}
 			}
 		}
 	}
 
+	private boolean[] getPrexPostex( TMLTask xTask )	{
+		
+		boolean[] list = new boolean[2];
+
+		for( TMLChannel ch: xTask.getWriteTMLChannels() )	{	//perche testa tutti i canali
+			if( ch.isBasicChannel() )	{
+				if( ch.getOriginPort().isPrex() )	{
+					list[0] = true;
+					list[1] = false;
+					return list;
+				}
+			}
+			if( ch.isAForkChannel() )	{
+				if( ch.getOriginPorts().get(0).isPrex() )	{
+					list[0] = true;
+					list[1] = false;
+					return list;
+				}
+			}
+		}
+		for( TMLChannel ch: xTask.getReadTMLChannels() )	{	//perche testa tutti i canali
+			if( ch.isBasicChannel() )	{
+				if( ch.getDestinationPort().isPostex() )	{
+					list[0] = false;
+					list[1] = true;
+					return list;
+				}
+			}
+			if( ch.isAJoinChannel() )	{
+				if( ch.getDestinationPorts().get(0).isPostex() )	{
+					list[0] = false;
+					list[1] = true;
+					return list;
+				}
+			}
+		}
+		return list;
+	}
+
 	//Create the inBuffer form the port of the read channel associated to the xTask
 	private Buffer createInBuffer( TMLTask xTask, HwNode node )	{
 	
@@ -243,7 +286,7 @@ public class TMLCCodeGeneration	{
 					buff = new MMBuffer( "buff_" + readChannel.getDestinationPort().getName(), xTask );
 				}
 				else if( mec instanceof CpuMEC )	{
-					buff = new BaseBuffer( "buff_" + readChannel.getDestinationPort().getName(), xTask );
+					buff = new MMBuffer( "buff_" + readChannel.getDestinationPort().getName(), xTask );
 				}
 				buffersList.add( buff );
 				return buff;
@@ -267,7 +310,7 @@ public class TMLCCodeGeneration	{
 					buff = new MMBuffer( "buff_" + readChannel.getDestinationPorts().get(i).getName(), xTask );
 				}
 				else if( mec instanceof CpuMEC )	{
-					buff = new BaseBuffer( "buff_" + readChannel.getDestinationPorts().get(i).getName(), xTask );
+					buff = new MMBuffer( "buff_" + readChannel.getDestinationPorts().get(i).getName(), xTask );
 				}
 				buffersList.add( buff );
 				return buff;
@@ -298,7 +341,7 @@ public class TMLCCodeGeneration	{
 					buff = new MMBuffer( "buff_" + writeChannel.getOriginPort().getName(), xTask );
 				}
 				else if( mec instanceof CpuMEC )	{
-					buff = new BaseBuffer( "buff_" + writeChannel.getOriginPort().getName(), xTask );
+					buff = new MMBuffer( "buff_" + writeChannel.getOriginPort().getName(), xTask );
 				}
 				buffersList.add( buff );
 				return buff;
@@ -322,7 +365,7 @@ public class TMLCCodeGeneration	{
 					buff = new MMBuffer( "buff_" + writeChannel.getOriginPorts().get(i).getName(), xTask );
 				}
 				else if( mec instanceof CpuMEC )	{
-					buff = new BaseBuffer( "buff_" + writeChannel.getOriginPorts().get(i).getName(), xTask );
+					buff = new MMBuffer( "buff_" + writeChannel.getOriginPorts().get(i).getName(), xTask );
 				}
 				buffersList.add( buff );
 				return buff;
@@ -597,39 +640,18 @@ public class TMLCCodeGeneration	{
 
 	private void generateMainFile()	{
 		mainFileString.append( "#include \"" + applicationName + ".h\"" + CR2 );
-		mainFileString.append( "int main(void)\t{" + CR + "/* USER TO DO */" +
-								/*TAB + "int status = 0;" + CR +
-								TAB + "char *src_out_dat;" + CR +
-								TAB + "char *dma1_out_dat;" + CR +
-								TAB + "int g_r_size = 10240;" + CR +
-								TAB + "int g_Ns = 1024;" + CR +
-								TAB + "int g_Fi = 593;" + CR +
-								TAB + "int g_Li = 116;" + CR2 +
-								TAB + "src_out_dat = (char*) calloc(g_r_size*4, 1);" + CR +
-								TAB + "if( src_out_dat == NULL ) exit(1);" + CR +
-								TAB2 + "dma1_out_dat = (char*) calloc(4, 1);" + CR +
-								TAB + "if( dma1_out_dat == NULL ) exit(1);" + CR +
-								TAB2 + "FILE *source = fopen(\"date_demo.dat\", \"r\");" + CR +
-								TAB + "if( source != NULL ){ " + CR +
-								TAB2 + "fread(src_out_dat, 1, g_r_size*4, source);" + CR +
-								TAB2 + "fclose(source);" + CR +
- 								TAB + "} else printf(\"ERROR input file does not exist!\\n\");" + CR +
-								TAB + applicationName + "_init( (char*)src_out_dat, (char*)dma1_out_dat, g_r_size, g_Ns , g_Fi, g_Li );" + CR +*/
-								TAB + "status = " + applicationName + "_exec();" + CR +
-								/*TAB + "printf(\"score %d \", *(uint32_t*)dma1_out_dat );" + CR +
-								TAB + "free(src_out_dat);" + CR +*/
-								"}" );
+		mainFileString.append( 	"int main(void)\t{" + CR + TAB + "/* USER TO DO */" +
+														CR + TAB + "int status = " + applicationName + "_exec();" + CR + "}" );
 	}
 
 	private void generateHeaderFile( ArrayList<TMLTask> mappedTasks )	{
 
 		getPrexAndPostexChannels();
 		headerString.append( generateCodeForLibraries() );
+		headerString.append( generateCodeForCustomTypes() );
 		headerString.append( generateCodeForPrototypes() );
-		//headerString.append( variablesInMainFile() );
 		headerString.append( buffersAndInstructionsDeclaration( true ) );
 		headerString.append( generateCodeForSignals() );
-		headerString.append( generateCodeForVariables() );
 	}
 
 	private void getPrexAndPostexChannels()	{
@@ -643,35 +665,25 @@ public class TMLCCodeGeneration	{
 				originPort = ch.getOriginPort();
 				if( originPort.isPrex() )	{
 					prexList.add( originPort );
-					//foundPrex = true;
 				}
 				destinationPort = ch.getDestinationPort();
 				if( destinationPort.isPostex() )	{
 					postexList.add( destinationPort );
-					//foundPostex = true;
 				}
 			}
 			if( ch.isAForkChannel() )	{
 				originPort = ch.getOriginPorts().get(0);
 				if( originPort.isPrex() )	{
 					prexList.add( originPort );
-					//foundPrex = true;
 				}
 			}
 			if( ch.isAJoinChannel() )	{
 				destinationPort = ch.getDestinationPorts().get(0);
 				if( destinationPort.isPostex() )	{
 					postexList.add( destinationPort );
-					//foundPostex = true;
 				}
 			}
 		}
-		/*if( !foundPrex )	{
-			addError( "No suitable channel has been marked as prex", TMLCCodeGenerationError.ERROR_STRUCTURE );
-		}
-		if( !foundPostex )	{
-			addError( "No suitable channel has been marked as postex", TMLCCodeGenerationError.ERROR_STRUCTURE );
-		}*/
 	}
 
 	private String generateCodeForLibraries()	{
@@ -683,8 +695,7 @@ public class TMLCCodeGeneration	{
 							"#include <embb/intl.h>" + CR +
 							"#include <embb/mapper.h>" + CR +
 							"#include <embb/adaif.h>" + CR +
-							"#include <embb/memory.h>" + CR + 
-							"#include <embb/dma.h>" + CR2;
+							"#include <embb/memory.h>" + CR2;
 		return s;
 	}
 
@@ -704,16 +715,6 @@ public class TMLCCodeGeneration	{
 		return s;
 	}
 
-	/*private String variablesInMainFile()	{
-		String s = 	"extern int g_r_size;" + CR +
-								"extern int g_Ns;" + CR +
-								"extern int g_Fi" + CR +
-								"extern int g_Li" + CR +
-								"extern char *src_out_dat;" + CR +
-								"extern char *dma1_out_dat;" + CR2;
-		return s;
-	}*/
-
 	private String buffersAndInstructionsDeclaration( boolean declaration )	{
 
 		TMLTask xTask, fTask;
@@ -730,35 +731,36 @@ public class TMLCCodeGeneration	{
 				inBuff = op.getInBuffer();
 				outBuff = op.getOutBuffer();
 				ctxName = op.getContextName();
+				OperationMEC xTaskOperation = xTask.getOperationMEC();
 				if( declaration )	{
 					if( inBuff == null )	{	//for source operation
 						buffersString.append( "extern" + SP + outBuff.getType() + SP + outBuff.getName() + SC + CR );
-						instructionsString.append( "extern" + SP + outBuff.getContext() + SP + ctxName + SC + CR );
+						instructionsString.append( "extern" + SP + xTask.getOperationMEC().getContext() + SP + ctxName + SC + CR );
 					}
 					else	{
 						if( outBuff == null )	{	//for sink operation
 							buffersString.append( "extern" + SP + inBuff.getType() + SP + inBuff.getName() + SC + CR );
-							instructionsString.append( "extern" + SP + inBuff.getContext() + SP + ctxName + SC + CR );
+							instructionsString.append( "extern" + SP + xTask.getOperationMEC().getContext() + SP + ctxName + SC + CR );
 						}
 						else	{	//for all the remaining operations
 							buffersString.append( "extern" + SP + inBuff.getType() + SP + inBuff.getName() + SC + CR );
-							instructionsString.append( "extern" + SP + inBuff.getContext() + SP + ctxName + SC + CR );
+							instructionsString.append( "extern" + SP + xTask.getOperationMEC().getContext() + SP + ctxName + SC + CR );
 						}
 					}
 				}
 				else	{
 					if( inBuff == null )	{	//for source operation
 						buffersString.append( outBuff.getType() + SP + outBuff.getName() + SC + CR );
-						instructionsString.append( outBuff.getContext() + SP + ctxName + SC + CR );
+						instructionsString.append( xTask.getOperationMEC().getContext() + SP + ctxName + SC + CR );
 					}
 					else	{
 						if( outBuff == null )	{	//for sink operation
 							buffersString.append( inBuff.getType() + SP + inBuff.getName() + SC + CR );
-							instructionsString.append( inBuff.getContext() + SP + ctxName + SC + CR );
+							instructionsString.append( xTask.getOperationMEC().getContext() + SP + ctxName + SC + CR );
 						}
 						else	{	//for all the remaining operations
 							buffersString.append( inBuff.getType() + SP + inBuff.getName() + SC + CR );
-							instructionsString.append( inBuff.getContext() + SP + ctxName + SC + CR );
+							instructionsString.append( xTask.getOperationMEC().getContext() + SP + ctxName + SC + CR );
 						}
 					}
 				}
@@ -797,9 +799,9 @@ public class TMLCCodeGeneration	{
 
 	private String generateCodeForSignals()	{
 
-		StringBuffer s = new StringBuffer( CR2 + "/********* SIGNAL TYPE ***************/" + CR + Signal.DECLARATION + CR2 + "enum sigs_enu	{" + CR );
+		StringBuffer s = new StringBuffer( CR2 + "enum sigs_enu	{" + CR );
 		for( Signal sig: signalsList )	{
-			s.append( sig.getName() + CR );
+			s.append( sig.getName() + "," + CR );
 		}
 		s.append( "NUM_SIGS };" + CR2 + "enum ops_enu	{" + CR );
 
@@ -809,19 +811,20 @@ public class TMLCCodeGeneration	{
 		for( DataTransfer dt: dataTransfersList )	{
 			s.append( dt.getName() + ",\n" );
 		}
-		s.append( "NUM_OPS };" + CR2 );
+		s.append( "NUM_OPS };" + CR2 + "#endif" );
 		return s.toString();
 	}
 
-	private String generateCodeForVariables()	{
-		StringBuffer s = new StringBuffer( "/**** variables *****/" + CR + "extern SIG_TYPE sig[];" + CR2 );
+	private String generateCodeForCustomTypes()	{
+		StringBuffer s = new StringBuffer();
+		s.append( Signal.DECLARATION + CR2 );
 		s.append( "/**** Buffers ****/" + CR );
 		s.append( FepBuffer.DECLARATION + CR2 );
 		s.append( MapperBuffer.DECLARATION + CR2 );
 		s.append( InterleaverBuffer.DECLARATION + CR2 );
 		s.append( MMBuffer.DECLARATION + CR2 );
-		s.append( BaseBuffer.DECLARATION + CR2 );
-		s.append( "#endif" );
+		s.append( AdaifBuffer.DECLARATION + CR );
+		s.append( "extern SIG_TYPE sig[];" + CR2 );
 		return s.toString();
 	}
 
@@ -850,9 +853,10 @@ public class TMLCCodeGeneration	{
 							"init_operations();" + CR + TAB +
 							"init_CPs();" + CR2 + TAB +
 							"/********* INIT PREX OPs signals ********/" + CR +
-							generateCodeToInitPrexOperations() + CR + TAB +
+							generateCodeToInitPrexOperation() + CR + TAB +
 							"/********* OPERATIONS scheduling ***************/" + CR + TAB +
 							scheduler.getCode() + CR + TAB +
+							//generateCodeForSinkOperation() + CR + TAB +
 							"cleanup_operations_context();" + CR + TAB +
 							"cleanup_CPs_context();" + CR + TAB +
 							"return status;" + CR + "}" + CR2 );
@@ -865,15 +869,31 @@ public class TMLCCodeGeneration	{
 		generateCodeForExitRule();
 	}
 
-	private String generateCodeToInitPrexOperations()	{
+	private String generateCodeToInitPrexOperation()	{
 		
 		StringBuffer s = new StringBuffer();
 		for( TMLPort port: prexList )	{
 			s.append( TAB + "sig[ " + port.getName() +" ].f = false;" + CR );
 		}
+		/*for( Operation op: operationsList )	{
+			if( op.isPrex() )	{
+				s.append( TAB + "op_" + op.getName() + "()" + SC + CR );
+			}
+		}*/
 		return s.toString();
 	}
 
+	private String generateCodeForSinkOperation()	{
+
+		StringBuffer s = new StringBuffer();
+		for( Operation op: operationsList )	{
+			if( op.isPostex() )	{
+				s.append( "op_" + op.getName() + "()" + SC );
+				break;
+			}
+		}
+		return s.toString();
+	}
 
 	private void generateCodeForOperations()	{ //generate the code for the execution operations
 		
@@ -912,39 +932,39 @@ public class TMLCCodeGeneration	{
 		}
 		
 		if( xTaskOperation instanceof CwpMEC )	{
-			CwpMEC cwp = new CwpMEC( ctxName, signalInName, signalOutName, "" );
+			CwpMEC cwp = new CwpMEC( ctxName, signalInName, signalOutName );
 			code.append( cwp.getExecCode() );
 		}
 		else if( xTaskOperation instanceof CwmMEC )	{
-			CwmMEC cwm = new CwmMEC( ctxName, signalInName, signalOutName, "" );
+			CwmMEC cwm = new CwmMEC( ctxName, signalInName, signalOutName );
 			code.append( cwm.getExecCode() );
 		}
 		else if( xTaskOperation instanceof CwaMEC )	{
-			CwaMEC cwa = new CwaMEC( ctxName, signalInName, "", signalOutName, "" );
+			CwaMEC cwa = new CwaMEC( ctxName, signalInName, "", signalOutName );
 			code.append( cwa.getExecCode() );
 		}
 		else if( xTaskOperation instanceof CwlMEC )	{
-			CwlMEC cwl = new CwlMEC( ctxName, signalInName, signalOutName, "" );
+			CwlMEC cwl = new CwlMEC( ctxName, signalInName, signalOutName );
 			code.append( cwl.getExecCode() );
 		}
 		else if( xTaskOperation instanceof SumMEC )	{
-			SumMEC sum = new SumMEC( ctxName, signalInName, signalOutName, "" );
+			SumMEC sum = new SumMEC( ctxName, signalInName, signalOutName );
 			code.append( sum.getExecCode() );
 		}
 		else if( xTaskOperation instanceof FftMEC )	{
-			FftMEC fft = new FftMEC( ctxName, signalInName, signalOutName, "" );
+			FftMEC fft = new FftMEC( ctxName, signalInName, signalOutName );
 			code.append( fft.getExecCode() );
 		}
 		else if( xTaskOperation instanceof MappOperationMEC )	{
-			MappOperationMEC mapp = new MappOperationMEC( ctxName, signalInName, signalOutName, "" );
+			MappOperationMEC mapp = new MappOperationMEC( ctxName, signalInName, signalOutName );
 			code.append( mapp.getExecCode() );
 		}
 		else if( xTaskOperation instanceof IntlOperationMEC )	{
-			IntlOperationMEC intl = new IntlOperationMEC( ctxName, signalInName, signalOutName, "" );
+			IntlOperationMEC intl = new IntlOperationMEC( ctxName, signalInName, signalOutName );
 			code.append( intl.getExecCode() );
 		}
 		else if( xTaskOperation instanceof AdaifOperationMEC )	{
-			AdaifOperationMEC adaif = new AdaifOperationMEC( ctxName, signalInName, signalOutName, "" );
+			AdaifOperationMEC adaif = new AdaifOperationMEC( ctxName, signalInName, signalOutName );
 			code.append( adaif.getExecCode() );
 		}
 
@@ -1027,7 +1047,10 @@ public class TMLCCodeGeneration	{
 
 	private void generateCodeForCommunicationPatterns()	{
 		
-		String s, destinationAddress, sourceAddress, size, destinationAddress1, sourceAddress1, size1, destinationAddress2, sourceAddress2, size2;
+		String s;
+		String destinationAddress, sourceAddress, counter;
+		String destinationAddress1, sourceAddress1, counter1;
+		String destinationAddress2, sourceAddress2, counter2;
 		TMLCPLib tmlcplib;
 		String ctxName;
 		Vector<String> attributes;
@@ -1051,18 +1074,18 @@ public class TMLCCodeGeneration	{
 			if( cpMEC instanceof SingleDmaMEC )	{
 				destinationAddress = attributes.get( SingleDmaMEC.destinationAddressIndex );
 				sourceAddress = attributes.get( SingleDmaMEC.sourceAddressIndex );
-				size = attributes.get( SingleDmaMEC.sizeIndex );
-				SingleDmaMEC mec = new SingleDmaMEC( ctxName, destinationAddress, sourceAddress, size );
+				counter = attributes.get( SingleDmaMEC.counterIndex );
+				SingleDmaMEC mec = new SingleDmaMEC( ctxName, destinationAddress, sourceAddress, counter );
 				programString.append( mec.getExecCode() );
 			}
 			if( cpMEC instanceof DoubleDmaMEC )	{
 				destinationAddress1 = attributes.get( DoubleDmaMEC.destinationAddress1Index );
 				sourceAddress1 = attributes.get( DoubleDmaMEC.sourceAddress1Index );
-				size1 = attributes.get( DoubleDmaMEC.size1Index );
+				counter1 = attributes.get( DoubleDmaMEC.counter1Index );
 				destinationAddress2 = attributes.get( DoubleDmaMEC.destinationAddress2Index );
 				sourceAddress2 = attributes.get( DoubleDmaMEC.sourceAddress2Index );
-				size2 = attributes.get( DoubleDmaMEC.size2Index );
-				DoubleDmaMEC mec = new DoubleDmaMEC( ctxName, destinationAddress1, sourceAddress1, size1, destinationAddress2, sourceAddress2, size2 );
+				counter2 = attributes.get( DoubleDmaMEC.counter2Index );
+				DoubleDmaMEC mec = new DoubleDmaMEC( ctxName, destinationAddress1, sourceAddress1, counter1, destinationAddress2, sourceAddress2, counter2 );
 				programString.append( mec.getExecCode() );
 			}
 
@@ -1141,13 +1164,7 @@ public class TMLCCodeGeneration	{
 		String ctxName;
 		String inSignalName, outSignalName;
 		initFileString.append( "#include \"" + applicationName + ".h\"" + CR2 );
-		initFileString.append( "/**** variables ****/" + CR2 /*+
-									"int g_r_size = 10240;" + CR +
-									"int g_Ns = 1024;" + CR +
-									"int g_Fi = 593;" + CR +
-									"int g_Li = 116;" + CR +
-									"char *src_out_dat;" + CR +
-									"char *dma1_out_dat;" + CR2*/ );		
+		initFileString.append( "/**** variables ****/" + CR2 );		
 		initFileString.append( buffersAndInstructionsDeclaration( false ) + CR2 );
 		generateCodeToInitializeBuffers();
 		generateCodeToInitializeSignals();
@@ -1174,43 +1191,43 @@ public class TMLCCodeGeneration	{
 					outSignalName = "noOutSignal";
 				}
 				if( xTaskOperation instanceof CwpMEC )	{
-					CwpMEC cwp = new CwpMEC( ctxName, inSignalName, outSignalName, "" );
+					CwpMEC cwp = new CwpMEC( ctxName, inSignalName, outSignalName );
 					init_code = cwp.getInitCode();
 				}
 				else if( xTaskOperation instanceof CwmMEC )	{
-					CwmMEC cwm = new CwmMEC( ctxName, inSignalName, outSignalName, "" );
+					CwmMEC cwm = new CwmMEC( ctxName, inSignalName, outSignalName );
 					init_code = cwm.getInitCode();
 				}
 				else if( xTaskOperation instanceof CwaMEC )	{
-					CwaMEC cwa = new CwaMEC( ctxName, inSignalName, "", outSignalName, "" );
+					CwaMEC cwa = new CwaMEC( ctxName, inSignalName, "", outSignalName );
 					init_code = cwa.getInitCode();
 				}
 				else if( xTaskOperation instanceof CwlMEC )	{
-					CwlMEC cwl = new CwlMEC( ctxName, inSignalName, outSignalName, "" );
+					CwlMEC cwl = new CwlMEC( ctxName, inSignalName, outSignalName );
 					init_code = cwl.getInitCode();
 				}
 				else if( xTaskOperation instanceof SumMEC )	{
-					SumMEC sum = new SumMEC( ctxName, inSignalName, outSignalName, "" );
+					SumMEC sum = new SumMEC( ctxName, inSignalName, outSignalName );
 					init_code = sum.getInitCode();
 				}
 				else if( xTaskOperation instanceof FftMEC )	{
-					FftMEC fft = new FftMEC( ctxName, inSignalName, outSignalName, "" );
+					FftMEC fft = new FftMEC( ctxName, inSignalName, outSignalName );
 					init_code = fft.getInitCode();
 				}
 				else if( xTaskOperation instanceof IntlOperationMEC )	{
-					IntlOperationMEC intl = new IntlOperationMEC( ctxName, inSignalName, outSignalName, "" );
+					IntlOperationMEC intl = new IntlOperationMEC( ctxName, inSignalName, outSignalName );
 					initFileString.append( intl.getInitCode() + CR );
 				}
 				else if( xTaskOperation instanceof MappOperationMEC )	{
-					MappOperationMEC mapp = new MappOperationMEC( ctxName, inSignalName, outSignalName, "" );
+					MappOperationMEC mapp = new MappOperationMEC( ctxName, inSignalName, outSignalName );
 					initFileString.append( mapp.getInitCode() + CR );
 				}
 				else if( xTaskOperation instanceof AdaifOperationMEC )	{
-					AdaifOperationMEC adaif = new AdaifOperationMEC( ctxName, inSignalName, outSignalName, "" );
+					AdaifOperationMEC adaif = new AdaifOperationMEC( ctxName, inSignalName, outSignalName );
 					initFileString.append( adaif.getInitCode() + CR );
 				}
 				else if( xTaskOperation instanceof CpuOperationMEC )	{
-					CpuOperationMEC cpu = new CpuOperationMEC( ctxName, inSignalName, outSignalName, "" );
+					CpuOperationMEC cpu = new CpuOperationMEC( ctxName, inSignalName, outSignalName );
 					initFileString.append( cpu.getInitCode() + CR );
 				}
 			initFileString.append( init_code + CR );
@@ -1334,16 +1351,15 @@ public class TMLCCodeGeneration	{
 		initFileString.append( "void init_signals()\t{" + CR );
 		for( Signal sig: signalsList )	{
 			initFileString.append( TAB + "sig[" + sig.getName() + "].f = false;" + CR );
-			initFileString.append( TAB + "sig[" + sig.getName() + "].roff = /*USER TO DO*/;" + CR );
-			initFileString.append( TAB + "sig[" + sig.getName() + "].woff = /*USER TO DO*/;" + CR );
 			Buffer buff = getBufferFromSignal( sig );
 			if( buff != null )	{
-				initFileString.append( TAB + "sig[" + sig.getName() + "].pBuff = (" + buff.getType() + "*)" + SP + buff.getName() + SC + CR2 );
+				initFileString.append( TAB + "sig[" + sig.getName() + "].pBuff = (" + buff.getType() + "*)" + SP + "&" + buff.getName() + SC + CR2 );
 			}
 			else	{
 				initFileString.append( TAB + "sig[" + sig.getName() + "].pBuff = /* USER TO DO */" + SC + CR2 );
 			}
 		}
+		initFileString.append( "}" + CR2 );
 	}
 
 	private Buffer getBufferFromSignal( Signal sig )	{
diff --git a/src/tmltranslator/ctranslator/TMLCCodeGenerationMakefile.java b/src/tmltranslator/ctranslator/TMLCCodeGenerationMakefile.java
index 8846097c96894e93389adc4738aad392f4eaab3f..90f95de73eebe21b497fab01ec46b068707e9347 100644
--- a/src/tmltranslator/ctranslator/TMLCCodeGenerationMakefile.java
+++ b/src/tmltranslator/ctranslator/TMLCCodeGenerationMakefile.java
@@ -69,7 +69,7 @@ public class TMLCCodeGenerationMakefile	{
 		"#In order to compile wpd, please define EMBB_INSTALL, either as an environment" + CR +
 		"# variable or as a Makefile variable by uncommenting and editing the following" + CR +
 		"# line:" + CR +
-		" EMBB_INSTALL	= /home/enrici/libembb" + CR +
+		" EMBB_INSTALL	= /home/enrici/libembb2" + CR +
 		"# where <someplace> is the full path of the directory in which you installed" + CR +
 		"# libembb. $(EMBB_INSTALL)/include shall contain embb/fep.h and" + CR +
 		"# $(EMBB_INSTALL)/lib shall contain libembb.so and libembbemu.so" + CR +
@@ -104,9 +104,7 @@ public class TMLCCodeGenerationMakefile	{
 		"\trm -rf $(OBJS)" + CR2 +
 		"ultraclean:" + CR +
 		"\trm -rf $(OBJS) $(EXECS)" + CR +
-		"endif" + CR +
-		"	);" + CR +
-		"	}" );
+		"endif" );
 	}
 	
 	public String getCode()	{
diff --git a/src/tmltranslator/ctranslator/TMLCCodeGenerationSyntaxCheck.java b/src/tmltranslator/ctranslator/TMLCCodeGenerationSyntaxCheck.java
index 4eb4c222bf1285f36839a6a64e40fa161d21886e..4650d798a5ab14453c838ca1509186e2809adc45 100755
--- a/src/tmltranslator/ctranslator/TMLCCodeGenerationSyntaxCheck.java
+++ b/src/tmltranslator/ctranslator/TMLCCodeGenerationSyntaxCheck.java
@@ -98,6 +98,7 @@ public class TMLCCodeGenerationSyntaxCheck {
 		public void check()	{
 			checkForPrexAndPostexChannels();
 			checkForCPsAssociatedToForkChannels();	//so far we do not handle CPs associated to ports that are part of a fork channel
+			checkForXFTasks();
 		}
 
 		//valid prex ports are:
@@ -141,7 +142,7 @@ public class TMLCCodeGenerationSyntaxCheck {
 					}
 					for( TMLPort port: ch.getDestinationPorts() )	{	//check all destination ports: they cannot be marked as postex
 						if( port.isPostex() )	{
-							addError( "Port " + port.getName() + " belongs to a fork channel: it cannot be marked as postex.", TMLCCodeGenerationError.ERROR_STRUCTURE );
+							addError( "Port " + port.getName() + " belongs to a fork channel: it cannot be marked as postex", TMLCCodeGenerationError.ERROR_STRUCTURE );
 						}
 					}
 				}
@@ -156,15 +157,15 @@ public class TMLCCodeGenerationSyntaxCheck {
 					}
 					for( TMLPort port: ch.getOriginPorts() )	{	//check all origin ports: they cannot be marked as prex
 						if( port.isPrex() )	{
-							addError( "Port " + port.getName() + " belongs to a join channel: it cannot be marked as prex.", TMLCCodeGenerationError.ERROR_STRUCTURE );
+							addError( "Port " + port.getName() + " belongs to a join channel: it cannot be marked as prex", TMLCCodeGenerationError.ERROR_STRUCTURE );
 						}
 					}
 				}
 				if( originPort.isPostex() )	{
-						addError( "Port " + originPort.getName() + " cannot be marked as postex.", TMLCCodeGenerationError.ERROR_STRUCTURE );
+						addError( "Port " + originPort.getName() + " cannot be marked as postex", TMLCCodeGenerationError.ERROR_STRUCTURE );
 				}
 				if( destinationPort.isPrex() )	{
-						addError( "Port " + destinationPort.getName() + " cannot be marked as postex.", TMLCCodeGenerationError.ERROR_STRUCTURE );
+						addError( "Port " + destinationPort.getName() + " cannot be marked as postex", TMLCCodeGenerationError.ERROR_STRUCTURE );
 				}
 			}
 			if( !foundPrex )	{
@@ -184,7 +185,7 @@ public class TMLCCodeGenerationSyntaxCheck {
 						if( channel.isAForkChannel() )	{
 							for( TMLPort port: channel.getDestinationPorts() )	{
 								if( port.getName().equals( portName ) )	{
-										addError( "Port " + portName + " is part of a fork channel. It cannot be mapped to a CP.",
+										addError( "Port " + portName + " is part of a fork channel. It cannot be mapped to a CP",
 															TMLCCodeGenerationError.ERROR_STRUCTURE );
 								}
 							}
@@ -194,4 +195,36 @@ public class TMLCCodeGenerationSyntaxCheck {
 			}
 		}
 
+		private void checkForXFTasks()	{	//check that the Operations have been correctly modeled with X and F tasks
+
+			HashSet<String> xTasksList = new HashSet<String>();
+			HashSet<String> fTasksList = new HashSet<String>();
+
+			for( TMLTask task: tmlm.getTasks() )	{
+				if( task.getTaskName().length() > 2 )	{
+					String name = task.getTaskName();
+					String prefix = task.getTaskName().substring(0,2);
+					if( prefix.equals( "X_" ) )	{
+						xTasksList.add( name.substring( 2, name.length() ) );
+					}
+					else if( prefix.equals( "F_" ) )	{
+						fTasksList.add( name.substring( 2, name.length() ) );
+					}
+					else	{
+						addError( "Task " + task.getTaskName() + " has a not a valid name: no X_ or F_ prefix has been detected", TMLCCodeGenerationError.ERROR_STRUCTURE );
+					}
+				}
+				else	{
+					addError( "Task " + task.getTaskName() + " has a not a valid name (too short)", TMLCCodeGenerationError.ERROR_STRUCTURE );
+				}
+			}
+			if( ( xTasksList.size() > 0 ) && ( fTasksList.size() > 0 ) )	{
+				for( String name: xTasksList )	{
+					if( !fTasksList.contains( name ) )	{
+						addError( "F task for operation " + name + " has not been instantiated", TMLCCodeGenerationError.ERROR_STRUCTURE );
+					}
+				}
+			}
+		}
+
 }	//End of class
diff --git a/src/ui/tmldd/TMLArchiArtifact.java b/src/ui/tmldd/TMLArchiArtifact.java
index f812a6d2034c7c8ffb250c5db7f570e9622f7733..2c98f42c7e31230ed57dad3659219a63c0d4cb71 100755
--- a/src/ui/tmldd/TMLArchiArtifact.java
+++ b/src/ui/tmldd/TMLArchiArtifact.java
@@ -320,35 +320,35 @@ public class TMLArchiArtifact extends TGCWithoutInternalComponent implements Swa
 		TraceManager.addDev( "Inside getMECofTask, fatherMECType: " + fatherMECType );
 		if( fatherMECType.equals( "FEP" ) )	{
 			if( operation.equals( "CWM" ) )	{
-				return new CwmMEC( "", "", "", "" );
+				return new CwmMEC( "", "", "" );
 			}
 			else if( operation.equals( "CWL" ) )	{
-				return new CwlMEC( "", "", "", "" );
+				return new CwlMEC( "", "", "" );
 			}
 			else if( operation.equals( "CWA" ) )	{
-				return new CwaMEC( "", "", "", "", "");
+				return new CwaMEC( "", "", "", "" );
 			}
 			else if( operation.equals( "CWP" ) )	{
-				return new CwpMEC( "", "", "", "" );
+				return new CwpMEC( "", "", "" );
 			}
 			else if( operation.equals( "FFT" ) )	{
-				return new FftMEC( "", "", "", "" );
+				return new FftMEC( "", "", "" );
 			}
 			else if( operation.equals( "SUM" ) )	{
-				return new SumMEC( "", "", "", "" );
+				return new SumMEC( "", "", "" );
 			}
 		}
 		else if( fatherMECType.equals( "MAPPER" ) )	{
-			return new MappOperationMEC( "", "", "", "" );
+			return new MappOperationMEC( "", "", "" );
 		}
 		else if( fatherMECType.equals( "INTL" )	)	{
-				return new IntlOperationMEC( "", "", "", "" );
+				return new IntlOperationMEC( "", "", "" );
 		}
 		else if( fatherMECType.equals( "ADAIF" ) )	{
-			return new AdaifOperationMEC( "", "", "", "" );
+			return new AdaifOperationMEC( "", "", "" );
 		}
 		else if( fatherMECType.equals( "CPU" ) )	{
-			return new CpuOperationMEC( "", "", "", "" );
+			return new CpuOperationMEC( "", "", "" );
 		}
 		return null;
 	}
@@ -356,16 +356,16 @@ public class TMLArchiArtifact extends TGCWithoutInternalComponent implements Swa
 	public ArchUnitMEC getArchUnitMEC()	{
 
 		if( fatherMECType.equals( "FEP" ) )	{
-			return new FepMEC( "", "", "", "" );
+			return new FepMEC( "", "", "" );
 		}
 		else if( fatherMECType.equals( "MAPPER" ) )	{
-			return new MapperMEC( "", "", "", "" );
+			return new MapperMEC( "", "", "" );
 		}
 		else if( fatherMECType.equals( "INTL" )	)	{
-				return new InterleaverMEC( "", "", "", "" );
+				return new InterleaverMEC( "", "", "" );
 		}
 		else if( fatherMECType.equals( "ADAIF" ) )	{
-			return new AdaifMEC( "", "", "", "" );
+			return new AdaifMEC( "", "", "" );
 		}
 		else if( fatherMECType.equals( "CPU" ) )	{
 			return new CpuMEC();
diff --git a/src/ui/tmldd/TMLArchiCPNode.java b/src/ui/tmldd/TMLArchiCPNode.java
index 940733abdc726e54d596cdd4bb991bf88efddd4e..52e109889faa42493b9a98e61422d90aacb0576b 100755
--- a/src/ui/tmldd/TMLArchiCPNode.java
+++ b/src/ui/tmldd/TMLArchiCPNode.java
@@ -435,18 +435,9 @@ public class TMLArchiCPNode extends TMLArchiCommunicationNode implements Swallow
 			if( s.contains( SingleDmaMEC.sourceAddress ) )	{
 				newVector.set( SingleDmaMEC.sourceAddressIndex, getAttributeValue(s) );
 			}
-			if( s.contains( SingleDmaMEC.size ) )	{
-				newVector.set( SingleDmaMEC.sizeIndex, getAttributeValue(s) );
-			}
 			if( s.contains( SingleDmaMEC.counter ) )	{
 				newVector.set( SingleDmaMEC.counterIndex, getAttributeValue(s) );
 			}
-			if( s.contains( SingleDmaMEC.ID1 ) )	{
-				newVector.set( SingleDmaMEC.ID1Index, getAttributeValue(s) );
-			}
-			if( s.contains( SingleDmaMEC.bytesToTransfer ) )	{
-				newVector.set( SingleDmaMEC.bytesToTransferIndex, getAttributeValue(s) );
-			}
 		}
 		return newVector;
 	}
@@ -461,36 +452,18 @@ public class TMLArchiCPNode extends TMLArchiCommunicationNode implements Swallow
 			if( s.contains( DoubleDmaMEC.sourceAddress1 ) )	{
 				newVector.set( DoubleDmaMEC.sourceAddress1Index, getAttributeValue(s) );
 			}
-			if( s.contains( DoubleDmaMEC.size1 ) )	{
-				newVector.set( DoubleDmaMEC.size1Index, getAttributeValue(s) );
-			}
 			if( s.contains( DoubleDmaMEC.counter1 ) )	{
 				newVector.set( DoubleDmaMEC.counter1Index, getAttributeValue(s) );
 			}
-			if( s.contains( DoubleDmaMEC.ID1 ) )	{
-				newVector.set( DoubleDmaMEC.ID1Index, getAttributeValue(s) );
-			}
-			if( s.contains( DoubleDmaMEC.bytesToTransfer1 ) )	{
-				newVector.set( DoubleDmaMEC.bytesToTransfer1Index, getAttributeValue(s) );
-			}
 			if( s.contains( DoubleDmaMEC.destinationAddress2 ) )	{
 				newVector.set( DoubleDmaMEC.destinationAddress2Index, getAttributeValue(s) );
 			}
 			if( s.contains( DoubleDmaMEC.sourceAddress2 ) )	{
 				newVector.set( DoubleDmaMEC.sourceAddress2Index, getAttributeValue(s) );
 			}
-			if( s.contains( DoubleDmaMEC.size2 ) )	{
-				newVector.set( DoubleDmaMEC.size2Index, getAttributeValue(s) );
-			}
 			if( s.contains( DoubleDmaMEC.counter2 ) )	{
 				newVector.set( DoubleDmaMEC.counter2Index, getAttributeValue(s) );
 			}
-			if( s.contains( DoubleDmaMEC.ID12 ) )	{
-				newVector.set( DoubleDmaMEC.ID12Index, getAttributeValue(s) );
-			}
-			if( s.contains( DoubleDmaMEC.bytesToTransfer2 ) )	{
-				newVector.set( DoubleDmaMEC.bytesToTransfer2Index, getAttributeValue(s) );
-			}
 		}
 		return newVector;
 	}
diff --git a/src/ui/tmldd/TMLArchiPortArtifact.java b/src/ui/tmldd/TMLArchiPortArtifact.java
index 522185c6dcbd2830564049dc7439844dda57d5cb..2a2f664b14fd073f088d54b3b6c0d610da77b0a3 100644
--- a/src/ui/tmldd/TMLArchiPortArtifact.java
+++ b/src/ui/tmldd/TMLArchiPortArtifact.java
@@ -288,8 +288,8 @@ public class TMLArchiPortArtifact extends TGCWithoutInternalComponent implements
 	        		sb.append( "\" lengthPermIntl=\"" + bufferParameters.get( InterleaverBuffer.lengthPermIntlIndex) );
 						break;
 						case Buffer.AdaifBuffer:	
-        			sb.append("\" baseAddress=\"" + bufferParameters.get( MMBuffer.baseAddressIndex ) );
         			sb.append("\" numSamples=\"" + bufferParameters.get( MMBuffer.numSamplesIndex ) );
+        			sb.append("\" baseAddress=\"" + bufferParameters.get( MMBuffer.baseAddressIndex ) );
 							break;
 						case Buffer.MapperBuffer:	
 							//data in
@@ -371,8 +371,8 @@ public class TMLArchiPortArtifact extends TGCWithoutInternalComponent implements
 												        		bufferParameters.add( elt.getAttribute( "lengthPermIntl" ) );
 																		break;
 																	case Buffer.AdaifBuffer:	
-												        		bufferParameters.add( elt.getAttribute( "baseAddress" ) );
 												        		bufferParameters.add( elt.getAttribute( "numSamples" ) );
+												        		bufferParameters.add( elt.getAttribute( "baseAddress" ) );
 																		break;
 																	case Buffer.MapperBuffer:	
 																		//data in
diff --git a/src/ui/window/JDialogPortArtifact.java b/src/ui/window/JDialogPortArtifact.java
index 37ffe7583cd2f380b42c13587203164a12cffba5..3663f100c7ff67f7f90cb163d611b36c739ac1b8 100755
--- a/src/ui/window/JDialogPortArtifact.java
+++ b/src/ui/window/JDialogPortArtifact.java
@@ -298,6 +298,7 @@ public class JDialogPortArtifact extends javax.swing.JDialog implements ActionLi
 			case Buffer.MainMemoryBuffer:	
 				if( loadBufferParameters )	{
 					baseAddress = bufferParameters.get( MMBuffer.baseAddressIndex );
+					numSamples = bufferParameters.get( MMBuffer.numSamplesIndex );
 				}
 				makeMainMemoryBufferPanel( c1, c2 );
 				break;
@@ -1116,8 +1117,12 @@ public class JDialogPortArtifact extends javax.swing.JDialog implements ActionLi
 				params.add( InterleaverBuffer.lengthPermIntlIndex, lengthPermIntl );
 				break;
 			case Buffer.BaseBuffer:
+				params.add( numSamples );
 				params.add( baseAddress );
+				break;
+			case Buffer.AdaifBuffer:
 				params.add( numSamples );
+				params.add( baseAddress );
 				break;
 			case Buffer.MapperBuffer:	
 				//data in