From 2ef4e3e41233a44f707fc72dd78012f0d0bb7949 Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paristech.fr>
Date: Thu, 3 Mar 2016 14:02:44 +0000
Subject: [PATCH] Update on documentation

---
 modeling/SmartCardProtocol.xml | 5292 +++++++++++++++-----------------
 1 file changed, 2458 insertions(+), 2834 deletions(-)

diff --git a/modeling/SmartCardProtocol.xml b/modeling/SmartCardProtocol.xml
index 31767fa58c..cdfe10a43c 100755
--- a/modeling/SmartCardProtocol.xml
+++ b/modeling/SmartCardProtocol.xml
@@ -952,7 +952,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="548" />
-<P1  x="127" y="80" id="604" />
+<P1  x="127" y="80" id="591" />
 <P2  x="162" y="82" id="561" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -961,7 +961,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="550" />
-<P1  x="126" y="154" id="586" />
+<P1  x="126" y="154" id="599" />
 <P2  x="166" y="161" id="573" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1063,13 +1063,13 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <TGConnectingPoint num="22" id="632" />
 <TGConnectingPoint num="23" id="633" />
 </COMPONENT>
-<SUBCOMPONENT type="5304" id="596" >
+<SUBCOMPONENT type="5303" id="596" >
 <father id="634" num="0" />
-<cdparam x="26" y="134" />
-<sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="27" y="68" />
+<sizeparam width="100" height="50" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="24" minY="0" maxY="126" />
-<infoparam name="TGComponent" value="ringBell" />
+<cdrectangleparam minX="0" maxX="24" minY="0" maxY="116" />
+<infoparam name="TGComponent" value="remainingTime" />
 <TGConnectingPoint num="0" id="584" />
 <TGConnectingPoint num="1" id="585" />
 <TGConnectingPoint num="2" id="586" />
@@ -1082,14 +1082,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <TGConnectingPoint num="9" id="593" />
 <TGConnectingPoint num="10" id="594" />
 <TGConnectingPoint num="11" id="595" />
+<extraparam>
+<Toggle value="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5303" id="609" >
+<SUBCOMPONENT type="5304" id="609" >
 <father id="634" num="1" />
-<cdparam x="27" y="68" />
-<sizeparam width="100" height="50" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="26" y="134" />
+<sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="24" minY="0" maxY="116" />
-<infoparam name="TGComponent" value="remainingTime" />
+<cdrectangleparam minX="0" maxX="24" minY="0" maxY="126" />
+<infoparam name="TGComponent" value="ringBell" />
 <TGConnectingPoint num="0" id="597" />
 <TGConnectingPoint num="1" id="598" />
 <TGConnectingPoint num="2" id="599" />
@@ -1102,9 +1105,6 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <TGConnectingPoint num="9" id="606" />
 <TGConnectingPoint num="10" id="607" />
 <TGConnectingPoint num="11" id="608" />
-<extraparam>
-<Toggle value="" />
-</extraparam>
 </SUBCOMPONENT>
 
 
@@ -1134,7 +1134,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="639" />
-<P1  x="119" y="400" id="801" />
+<P1  x="119" y="400" id="814" />
 <P2  x="155" y="374" id="732" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1143,7 +1143,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="641" />
-<P1  x="121" y="353" id="814" />
+<P1  x="121" y="353" id="801" />
 <P2  x="155" y="354" id="730" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1152,7 +1152,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="643" />
-<P1  x="120" y="248" id="763" />
+<P1  x="120" y="248" id="750" />
 <P2  x="165" y="219" id="709" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1161,7 +1161,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="645" />
-<P1  x="122" y="198" id="750" />
+<P1  x="122" y="198" id="763" />
 <P2  x="165" y="209" id="708" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1365,11 +1365,11 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </COMPONENT>
 <SUBCOMPONENT type="5304" id="760" >
 <father id="798" num="0" />
-<cdparam x="22" y="178" />
+<cdparam x="20" y="228" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="24" minY="0" maxY="101" />
-<infoparam name="TGComponent" value="open" />
+<infoparam name="TGComponent" value="closed" />
 <TGConnectingPoint num="0" id="748" />
 <TGConnectingPoint num="1" id="749" />
 <TGConnectingPoint num="2" id="750" />
@@ -1385,11 +1385,11 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5304" id="773" >
 <father id="798" num="1" />
-<cdparam x="20" y="228" />
+<cdparam x="22" y="178" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="24" minY="0" maxY="101" />
-<infoparam name="TGComponent" value="closed" />
+<infoparam name="TGComponent" value="open" />
 <TGConnectingPoint num="0" id="761" />
 <TGConnectingPoint num="1" id="762" />
 <TGConnectingPoint num="2" id="763" />
@@ -1437,11 +1437,11 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </COMPONENT>
 <SUBCOMPONENT type="5304" id="811" >
 <father id="849" num="0" />
-<cdparam x="19" y="380" />
+<cdparam x="21" y="333" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="24" minY="0" maxY="99" />
-<infoparam name="TGComponent" value="stopCooking" />
+<infoparam name="TGComponent" value="startCooking" />
 <TGConnectingPoint num="0" id="799" />
 <TGConnectingPoint num="1" id="800" />
 <TGConnectingPoint num="2" id="801" />
@@ -1457,11 +1457,11 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5304" id="824" >
 <father id="849" num="1" />
-<cdparam x="21" y="333" />
+<cdparam x="19" y="380" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="24" minY="0" maxY="99" />
-<infoparam name="TGComponent" value="startCooking" />
+<infoparam name="TGComponent" value="stopCooking" />
 <TGConnectingPoint num="0" id="812" />
 <TGConnectingPoint num="1" id="813" />
 <TGConnectingPoint num="2" id="814" />
@@ -1503,7 +1503,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="854" />
-<P1  x="188" y="201" id="1079" />
+<P1  x="188" y="201" id="1105" />
 <P2  x="289" y="241" id="875" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1557,7 +1557,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="866" />
-<P1  x="192" y="439" id="1041" />
+<P1  x="192" y="439" id="1028" />
 <P2  x="240" y="388" id="1010" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1566,7 +1566,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="868" />
-<P1  x="190" y="391" id="1028" />
+<P1  x="190" y="391" id="1041" />
 <P2  x="240" y="368" id="1008" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1575,7 +1575,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="" />
 <TGConnectingPoint num="0" id="870" />
-<P1  x="193" y="272" id="1105" />
+<P1  x="193" y="272" id="1079" />
 <P2  x="246" y="338" id="1013" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1860,11 +1860,11 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </COMPONENT>
 <SUBCOMPONENT type="5304" id="1038" >
 <father id="1076" num="0" />
-<cdparam x="90" y="371" />
+<cdparam x="92" y="419" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="24" minY="0" maxY="101" />
-<infoparam name="TGComponent" value="open" />
+<infoparam name="TGComponent" value="closed" />
 <TGConnectingPoint num="0" id="1026" />
 <TGConnectingPoint num="1" id="1027" />
 <TGConnectingPoint num="2" id="1028" />
@@ -1880,11 +1880,11 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5304" id="1051" >
 <father id="1076" num="1" />
-<cdparam x="92" y="419" />
+<cdparam x="90" y="371" />
 <sizeparam width="100" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="24" minY="0" maxY="101" />
-<infoparam name="TGComponent" value="closed" />
+<infoparam name="TGComponent" value="open" />
 <TGConnectingPoint num="0" id="1039" />
 <TGConnectingPoint num="1" id="1040" />
 <TGConnectingPoint num="2" id="1041" />
@@ -1930,13 +1930,13 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <TGConnectingPoint num="22" id="1138" />
 <TGConnectingPoint num="23" id="1139" />
 </COMPONENT>
-<SUBCOMPONENT type="5303" id="1089" >
+<SUBCOMPONENT type="5304" id="1089" >
 <father id="1140" num="0" />
-<cdparam x="88" y="176" />
-<sizeparam width="100" height="50" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="91" y="252" />
+<sizeparam width="102" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="24" minY="0" maxY="225" />
-<infoparam name="TGComponent" value="b" />
+<cdrectangleparam minX="0" maxX="22" minY="0" maxY="235" />
+<infoparam name="TGComponent" value="startMagnetron" />
 <TGConnectingPoint num="0" id="1077" />
 <TGConnectingPoint num="1" id="1078" />
 <TGConnectingPoint num="2" id="1079" />
@@ -1949,9 +1949,6 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <TGConnectingPoint num="9" id="1086" />
 <TGConnectingPoint num="10" id="1087" />
 <TGConnectingPoint num="11" id="1088" />
-<extraparam>
-<Toggle value="" />
-</extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="5303" id="1102" >
 <father id="1140" num="1" />
@@ -1976,13 +1973,13 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Toggle value="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5304" id="1115" >
+<SUBCOMPONENT type="5303" id="1115" >
 <father id="1140" num="2" />
-<cdparam x="91" y="252" />
-<sizeparam width="102" height="40" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="88" y="176" />
+<sizeparam width="100" height="50" minWidth="100" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="22" minY="0" maxY="235" />
-<infoparam name="TGComponent" value="startMagnetron" />
+<cdrectangleparam minX="0" maxX="24" minY="0" maxY="225" />
+<infoparam name="TGComponent" value="b" />
 <TGConnectingPoint num="0" id="1103" />
 <TGConnectingPoint num="1" id="1104" />
 <TGConnectingPoint num="2" id="1105" />
@@ -1995,6 +1992,9 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <TGConnectingPoint num="9" id="1112" />
 <TGConnectingPoint num="10" id="1113" />
 <TGConnectingPoint num="11" id="1114" />
+<extraparam>
+<Toggle value="" />
+</extraparam>
 </SUBCOMPONENT>
 
 
@@ -2006,311 +2006,195 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 
 
 <Modeling type="TML Component Design" nameTab="AppC" >
-<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="0" maxX="1213" minY="0" maxY="405" channels="true" events="true" requests="true" zoom="0.8000000000000013" >
-<CONNECTOR type="126" id="1141" >
-<cdparam x="460" y="270" />
+<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="0" maxX="1714" minY="0" maxY="906" channels="true" events="true" requests="true" zoom="1.0000000000000016" >
+<CONNECTOR type="126" id="2982" >
+<cdparam x="409" y="124" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="460" y="275" id="1227" />
-<P2  x="389" y="275" id="1194" />
+<P1  x="409" y="124" id="1190" />
+<P2  x="645" y="125" id="1510" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1142" >
-<cdparam x="387" y="129" />
+<CONNECTOR type="126" id="2981" >
+<cdparam x="652" y="444" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="387" y="134" id="1190" />
-<P2  x="462" y="134" id="1215" />
+<P1  x="816" y="554" id="1223" />
+<P2  x="975" y="502" id="1476" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1143" >
-<cdparam x="389" y="200" />
+<CONNECTOR type="126" id="2980" >
+<cdparam x="652" y="418" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="389" y="205" id="1196" />
-<P2  x="460" y="205" id="1229" />
+<P1  x="816" y="522" id="1221" />
+<P2  x="926" y="482" id="1478" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1144" >
-<cdparam x="460" y="236" />
+<CONNECTOR type="126" id="2979" >
+<cdparam x="602" y="327" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="460" y="241" id="1231" />
-<P2  x="389" y="241" id="1198" />
+<P1  x="752" y="408" id="1213" />
+<P2  x="835" y="376" id="2961" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1145" >
-<cdparam x="460" y="296" />
+<CONNECTOR type="126" id="2978" >
+<cdparam x="685" y="310" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="460" y="301" id="1233" />
-<P2  x="389" y="301" id="1200" />
+<P1  x="861" y="376" id="2965" />
+<P2  x="926" y="368" id="1468" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1146" >
-<cdparam x="389" y="163" />
+<CONNECTOR type="126" id="2958" >
+<cdparam x="652" y="395" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="389" y="168" id="1192" />
-<P2  x="460" y="168" id="1225" />
+<P1  x="816" y="493" id="1217" />
+<P2  x="926" y="459" id="1470" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1147" >
-<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="710" y="132" id="1473" />
-<P2  x="641" y="132" id="1237" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="1149" >
-<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="857" y="140" id="1276" />
-<P2  x="730" y="132" id="1478" />
-<Point x="857" y="132" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1148" >
-<father id="1149" num="0" />
-<cdparam x="857" y="132" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="3400" minY="10" maxY="2400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<CONNECTOR type="126" id="1151" >
-<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="418" y="86" id="1501" />
-<P2  x="327" y="100" id="1202" />
-<Point x="327" y="86" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1150" >
-<father id="1151" num="0" />
-<cdparam x="327" y="86" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1900" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<CONNECTOR type="126" id="1153" >
-<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="516" y="101" id="1235" />
-<P2  x="438" y="86" id="1506" />
-<Point x="516" y="86" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1152" >
-<father id="1153" num="0" />
-<cdparam x="516" y="86" />
+<CONNECTOR type="126" id="2957" >
+<cdparam x="652" y="369" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2400" minY="10" maxY="1900" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<CONNECTOR type="126" id="1154" >
-<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="710" y="247" id="1454" />
-<P2  x="641" y="259" id="1223" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="1155" >
-<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="770" y="247" id="1270" />
-<P2  x="730" y="247" id="1459" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="1156" >
-<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="730" y="218" id="1440" />
-<P2  x="770" y="218" id="1272" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="1157" >
-<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="641" y="230" id="1221" />
-<P2  x="710" y="218" id="1435" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="1158" >
-<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="730" y="183" id="1421" />
-<P2  x="770" y="183" id="1274" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="1159" >
-<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="641" y="195" id="1219" />
-<P2  x="710" y="183" id="1416" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="816" y="461" id="1219" />
+<P2  x="926" y="432" id="1472" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1160" >
-<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="631" y="312" id="1217" />
-<P2  x="710" y="304" id="1398" />
+<CONNECTOR type="126" id="2956" >
+<cdparam x="737" y="314" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="926" y="403" id="1474" />
+<P2  x="816" y="432" id="1215" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1161" >
-<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="546" y="310" id="1213" />
-<P2  x="546" y="280" id="1520" />
+<CONNECTOR type="126" id="2955" >
+<cdparam x="735" y="260" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="923" y="336" id="1466" />
+<P2  x="801" y="324" id="1522" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1162" >
-<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="730" y="304" id="1402" />
-<P2  x="772" y="288" id="1268" />
+<CONNECTOR type="126" id="2954" >
+<cdparam x="641" y="230" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="801" y="288" id="1524" />
+<P2  x="923" y="297" id="1464" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1163" >
-<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="665" y="336" id="1532" />
-<P2  x="710" y="304" id="1397" />
+<CONNECTOR type="126" id="2953" >
+<cdparam x="641" y="195" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="801" y="244" id="1526" />
+<P2  x="923" y="254" id="1462" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1165" >
-<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="730" y="395" id="1345" />
-<P2  x="827" y="405" id="1266" />
-<Point x="827" y="439" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1164" >
-<father id="1165" num="0" />
-<cdparam x="827" y="439" />
+<CONNECTOR type="126" id="2952" >
+<cdparam x="740" y="353" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="3400" minY="10" maxY="2400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<CONNECTOR type="126" id="1166" >
-<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="665" y="397" id="1528" />
-<P2  x="710" y="395" id="1340" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="835" y="376" id="2960" />
+<P2  x="801" y="355" id="1528" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1167" >
-<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="730" y="395" id="1326" />
-<P2  x="772" y="397" id="1264" />
+<CONNECTOR type="126" id="1141" >
+<cdparam x="460" y="270" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="574" y="344" id="1518" />
+<P2  x="486" y="344" id="1198" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1168" >
-<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="665" y="397" id="1526" />
-<P2  x="710" y="395" id="1321" />
+<CONNECTOR type="126" id="1142" >
+<cdparam x="387" y="129" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="484" y="167" id="1202" />
+<P2  x="577" y="167" id="1530" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1169" >
-<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="710" y="385" id="1302" />
-<P2  x="665" y="396" id="1524" />
+<CONNECTOR type="126" id="1143" >
+<cdparam x="389" y="200" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="486" y="256" id="1196" />
+<P2  x="574" y="256" id="1516" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1170" >
-<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="772" y="385" id="1258" />
-<P2  x="730" y="385" id="1307" />
+<CONNECTOR type="126" id="1144" >
+<cdparam x="460" y="236" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="574" y="301" id="1514" />
+<P2  x="486" y="301" id="1194" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1171" >
-<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="665" y="371" id="1522" />
-<P2  x="710" y="364" id="1359" />
+<CONNECTOR type="126" id="1145" >
+<cdparam x="460" y="296" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="588" y="389" id="1512" />
+<P2  x="486" y="376" id="1192" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1172" >
-<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="730" y="364" id="1364" />
-<P2  x="772" y="364" id="1260" />
+<CONNECTOR type="126" id="1146" >
+<cdparam x="389" y="163" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="486" y="210" id="1200" />
+<P2  x="574" y="210" id="1520" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1173" >
-<cdparam x="1626" y="659" />
+<CONNECTOR type="126" id="1149" >
+<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="710" y="337" id="1378" />
-<P2  x="665" y="349" id="1530" />
+<P1  x="923" y="204" id="1460" />
+<P2  x="801" y="165" id="1508" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1174" >
-<cdparam x="1799" y="673" />
+<CONNECTOR type="126" id="1161" >
+<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="772" y="337" id="1262" />
-<P2  x="730" y="337" id="1383" />
+<P1  x="682" y="387" id="1532" />
+<P2  x="671" y="408" id="1225" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1175" >
 <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="1044" y="240" id="1291" />
-<P2  x="978" y="240" id="1256" />
+<P1  x="1228" y="379" id="1445" />
+<P2  x="1184" y="386" id="1480" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1176" >
 <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="978" y="269" id="1254" />
-<P2  x="1044" y="269" id="1289" />
+<P1  x="1184" y="422" id="1482" />
+<P2  x="1228" y="414" id="1447" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1179" >
 <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="978" y="170" id="1252" />
-<P2  x="978" y="202" id="1250" />
-<Point x="1012" y="170" />
-<Point x="1012" y="202" />
+<P1  x="1184" y="214" id="1484" />
+<P2  x="1184" y="282" id="1486" />
+<Point x="1224" y="226" />
+<Point x="1224" y="266" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="1177" >
 <father id="1179" num="0" />
-<cdparam x="1012" y="170" />
+<cdparam x="1224" y="226" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
@@ -2318,7 +2202,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="-1" id="1178" >
 <father id="1179" num="1" />
-<cdparam x="1012" y="202" />
+<cdparam x="1224" y="266" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
@@ -2329,15 +2213,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="978" y="300" id="1248" />
-<P2  x="1044" y="300" id="1287" />
+<P1  x="1184" y="461" id="1488" />
+<P2  x="1228" y="442" id="1449" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <COMPONENT type="1205" id="1189" >
-<cdparam x="986" y="343" />
-<sizeparam width="165" height="84" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="1152" y="505" />
+<sizeparam width="206" height="105" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="1213" minY="0" maxY="405" />
+<cdrectangleparam minX="0" maxX="971" minY="0" maxY="325" />
 <infoparam name="Record component" value="TCP_CTRL" />
 <TGConnectingPoint num="0" id="1181" />
 <TGConnectingPoint num="1" id="1182" />
@@ -2354,10 +2238,10 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </COMPONENT>
 
 <COMPONENT type="1202" id="1212" >
-<cdparam x="137" y="110" />
-<sizeparam width="242" height="216" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="171" y="137" />
+<sizeparam width="302" height="270" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="1213" minY="0" maxY="405" />
+<cdrectangleparam minX="0" maxX="971" minY="0" maxY="325" />
 <infoparam name="TGComponent" value="InterfaceDevice" />
 <TGConnectingPoint num="0" id="1204" />
 <TGConnectingPoint num="1" id="1205" />
@@ -2376,14 +2260,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </COMPONENT>
 <SUBCOMPONENT type="1203" id="1191" >
 <father id="1212" num="0" />
-<cdparam x="371" y="126" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="396" y="124" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="234" minY="-8" maxY="208" />
-<infoparam name="TGComponent" value="Request activation" />
+<cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
 <TGConnectingPoint num="0" id="1190" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2393,14 +2277,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1193" >
 <father id="1212" num="1" />
-<cdparam x="369" y="158" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="460" y="363" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event data_Ready" />
+<cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
 <TGConnectingPoint num="0" id="1192" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2410,14 +2294,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1195" >
 <father id="1212" num="2" />
-<cdparam x="369" y="265" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="460" y="288" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
 <TGConnectingPoint num="0" id="1194" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2427,10 +2311,10 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1197" >
 <father id="1212" num="3" />
-<cdparam x="369" y="195" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="460" y="243" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
+<cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
 <infoparam name="TGComponent" value="Channel fromDtoSC" />
 <TGConnectingPoint num="0" id="1196" />
 <extraparam>
@@ -2444,14 +2328,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1199" >
 <father id="1212" num="4" />
-<cdparam x="369" y="231" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="460" y="331" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
 <TGConnectingPoint num="0" id="1198" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2461,14 +2345,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1201" >
 <father id="1212" num="5" />
-<cdparam x="369" y="291" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="460" y="197" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="1200" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2478,14 +2362,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1203" >
 <father id="1212" num="6" />
-<cdparam x="317" y="100" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="463" y="157" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
+<cdrectangleparam minX="-10" maxX="292" minY="-10" maxY="260" />
+<infoparam name="TGComponent" value="Request activation" />
 <TGConnectingPoint num="0" id="1202" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2495,10 +2379,10 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 
 <COMPONENT type="1200" id="1551" >
-<cdparam x="428" y="76" />
-<sizeparam width="749" height="386" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="535" y="94" />
+<sizeparam width="936" height="530" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="1213" minY="0" maxY="405" />
+<cdrectangleparam minX="0" maxX="971" minY="0" maxY="325" />
 <infoparam name="TGComponent" value="SmartCard" />
 <TGConnectingPoint num="0" id="1543" />
 <TGConnectingPoint num="1" id="1544" />
@@ -2512,41 +2396,34 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1202" id="1247" >
+<SUBCOMPONENT type="1202" id="1235" >
 <father id="1551" num="0" />
-<cdparam x="470" y="111" />
-<sizeparam width="161" height="191" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="565" y="418" />
+<sizeparam width="240" height="146" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="588" minY="0" maxY="195" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="1239" />
-<TGConnectingPoint num="1" id="1240" />
-<TGConnectingPoint num="2" id="1241" />
-<TGConnectingPoint num="3" id="1242" />
-<TGConnectingPoint num="4" id="1243" />
-<TGConnectingPoint num="5" id="1244" />
-<TGConnectingPoint num="6" id="1245" />
-<TGConnectingPoint num="7" id="1246" />
+<cdrectangleparam minX="0" maxX="696" minY="0" maxY="384" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="1227" />
+<TGConnectingPoint num="1" id="1228" />
+<TGConnectingPoint num="2" id="1229" />
+<TGConnectingPoint num="3" id="1230" />
+<TGConnectingPoint num="4" id="1231" />
+<TGConnectingPoint num="5" id="1232" />
+<TGConnectingPoint num="6" id="1233" />
+<TGConnectingPoint num="7" id="1234" />
 <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="1214" >
-<father id="1247" num="0" />
-<cdparam x="538" y="294" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1235" num="0" />
+<cdparam x="742" y="408" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="153" minY="-8" maxY="183" />
-<infoparam name="TGComponent" value="Request start_Application" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
 <TGConnectingPoint num="0" id="1213" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2555,15 +2432,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1216" >
-<father id="1247" num="1" />
-<cdparam x="462" y="126" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1235" num="1" />
+<cdparam x="795" y="422" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="153" minY="-8" maxY="183" />
-<infoparam name="TGComponent" value="Request activation" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
 <TGConnectingPoint num="0" id="1215" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2572,15 +2449,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1218" >
-<father id="1247" num="2" />
-<cdparam x="621" y="292" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1235" num="2" />
+<cdparam x="795" y="483" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Event send_TCP" />
 <TGConnectingPoint num="0" id="1217" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2589,15 +2466,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1220" >
-<father id="1247" num="3" />
-<cdparam x="621" y="185" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1235" num="3" />
+<cdparam x="795" y="451" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event receive" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
 <TGConnectingPoint num="0" id="1219" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2606,15 +2483,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1222" >
-<father id="1247" num="4" />
-<cdparam x="621" y="220" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1235" num="4" />
+<cdparam x="795" y="512" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Event receive_Application" />
 <TGConnectingPoint num="0" id="1221" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2623,15 +2500,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1224" >
-<father id="1247" num="5" />
-<cdparam x="621" y="249" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1235" num="5" />
+<cdparam x="795" y="544" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
 <TGConnectingPoint num="0" id="1223" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2640,32 +2517,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1226" >
-<father id="1247" num="6" />
-<cdparam x="460" y="158" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1235" num="6" />
+<cdparam x="661" y="408" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event data_Ready" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Request start_Application" />
 <TGConnectingPoint num="0" id="1225" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
-<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="1228" >
-<father id="1247" num="7" />
-<cdparam x="460" y="265" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="1227" />
-<extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2673,50 +2533,80 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1230" >
-<father id="1247" num="8" />
-<cdparam x="460" y="195" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1200" id="1507" >
+<father id="1551" num="1" />
+<cdparam x="848" y="134" />
+<sizeparam width="570" height="486" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="1229" />
+<cdrectangleparam minX="0" maxX="366" minY="0" maxY="44" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="1499" />
+<TGConnectingPoint num="1" id="1500" />
+<TGConnectingPoint num="2" id="1501" />
+<TGConnectingPoint num="3" id="1502" />
+<TGConnectingPoint num="4" id="1503" />
+<TGConnectingPoint num="5" id="1504" />
+<TGConnectingPoint num="6" id="1505" />
+<TGConnectingPoint num="7" id="1506" />
 <extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" />
-<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="1232" >
-<father id="1247" num="9" />
-<cdparam x="460" y="231" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="1231" />
+<SUBCOMPONENT type="1201" id="2959" >
+<father id="1507" num="0" />
+<cdparam x="835" y="363" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="473" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="2960" />
+<TGConnectingPoint num="1" id="2961" />
+<TGConnectingPoint num="2" id="2962" />
+<TGConnectingPoint num="3" id="2963" />
+<TGConnectingPoint num="4" id="2964" />
+<TGConnectingPoint num="5" id="2965" />
+<TGConnectingPoint num="6" id="2966" />
+<TGConnectingPoint num="7" id="2967" />
+<TGConnectingPoint num="8" id="2968" />
+<TGConnectingPoint num="9" id="2969" />
+<TGConnectingPoint num="10" id="2970" />
+<TGConnectingPoint num="11" id="2971" />
+<TGConnectingPoint num="12" id="2972" />
+<TGConnectingPoint num="13" id="2973" />
+<TGConnectingPoint num="14" id="2974" />
+<TGConnectingPoint num="15" id="2975" />
+<TGConnectingPoint num="16" id="2976" />
+<TGConnectingPoint num="17" id="2977" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="1459" >
+<father id="1507" num="1" />
+<cdparam x="1238" y="329" />
+<sizeparam width="141" height="142" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="429" minY="0" maxY="344" />
+<infoparam name="TGComponent" value="Timer" />
+<TGConnectingPoint num="0" id="1451" />
+<TGConnectingPoint num="1" id="1452" />
+<TGConnectingPoint num="2" id="1453" />
+<TGConnectingPoint num="3" id="1454" />
+<TGConnectingPoint num="4" id="1455" />
+<TGConnectingPoint num="5" id="1456" />
+<TGConnectingPoint num="6" id="1457" />
+<TGConnectingPoint num="7" id="1458" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1234" >
-<father id="1247" num="10" />
-<cdparam x="460" y="291" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1446" >
+<father id="1459" num="0" />
+<cdparam x="1228" y="369" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="1233" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="1445" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2724,16 +2614,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1236" >
-<father id="1247" num="11" />
-<cdparam x="506" y="101" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1448" >
+<father id="1459" num="1" />
+<cdparam x="1228" y="404" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
-<TGConnectingPoint num="0" id="1235" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="1447" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2741,16 +2631,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1238" >
-<father id="1247" num="12" />
-<cdparam x="621" y="122" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1450" >
+<father id="1459" num="2" />
+<cdparam x="1228" y="432" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="1237" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="1449" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2758,40 +2648,21 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1200" id="1500" >
-<father id="1551" num="1" />
-<cdparam x="720" y="68" />
-<sizeparam width="445" height="337" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="304" minY="0" maxY="49" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="1492" />
-<TGConnectingPoint num="1" id="1493" />
-<TGConnectingPoint num="2" id="1494" />
-<TGConnectingPoint num="3" id="1495" />
-<TGConnectingPoint num="4" id="1496" />
-<TGConnectingPoint num="5" id="1497" />
-<TGConnectingPoint num="6" id="1498" />
-<TGConnectingPoint num="7" id="1499" />
-<extraparam>
-<info hiddeni="false" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1286" >
-<father id="1500" num="0" />
-<cdparam x="780" y="150" />
-<sizeparam width="190" height="255" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="1498" >
+<father id="1507" num="2" />
+<cdparam x="936" y="173" />
+<sizeparam width="237" height="318" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="255" minY="0" maxY="82" />
+<cdrectangleparam minX="0" maxX="333" minY="0" maxY="168" />
 <infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="1278" />
-<TGConnectingPoint num="1" id="1279" />
-<TGConnectingPoint num="2" id="1280" />
-<TGConnectingPoint num="3" id="1281" />
-<TGConnectingPoint num="4" id="1282" />
-<TGConnectingPoint num="5" id="1283" />
-<TGConnectingPoint num="6" id="1284" />
-<TGConnectingPoint num="7" id="1285" />
+<TGConnectingPoint num="0" id="1490" />
+<TGConnectingPoint num="1" id="1491" />
+<TGConnectingPoint num="2" id="1492" />
+<TGConnectingPoint num="3" id="1493" />
+<TGConnectingPoint num="4" id="1494" />
+<TGConnectingPoint num="5" id="1495" />
+<TGConnectingPoint num="6" id="1496" />
+<TGConnectingPoint num="7" id="1497" />
 <extraparam>
 <Attribute access="2" id="wind" value="64" type="0" typeOther="" />
 <Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
@@ -2802,16 +2673,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1249" >
-<father id="1286" num="0" />
-<cdparam x="962" y="292" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1461" >
+<father id="1498" num="0" />
+<cdparam x="923" y="191" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1248" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="1460" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2819,16 +2690,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1251" >
-<father id="1286" num="1" />
-<cdparam x="962" y="194" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1463" >
+<father id="1498" num="1" />
+<cdparam x="923" y="241" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1250" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="1462" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2836,16 +2707,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1253" >
-<father id="1286" num="2" />
-<cdparam x="962" y="162" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1465" >
+<father id="1498" num="2" />
+<cdparam x="923" y="284" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1252" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="1464" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2853,16 +2724,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1255" >
-<father id="1286" num="3" />
-<cdparam x="962" y="261" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1467" >
+<father id="1498" num="3" />
+<cdparam x="923" y="323" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1254" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="1466" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2870,16 +2741,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1257" >
-<father id="1286" num="4" />
-<cdparam x="962" y="232" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1469" >
+<father id="1498" num="4" />
+<cdparam x="926" y="358" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1256" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="1468" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2887,16 +2758,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1259" >
-<father id="1286" num="5" />
-<cdparam x="772" y="377" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1471" >
+<father id="1498" num="5" />
+<cdparam x="926" y="449" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1258" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="1470" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2904,16 +2775,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1261" >
-<father id="1286" num="6" />
-<cdparam x="772" y="356" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1473" >
+<father id="1498" num="6" />
+<cdparam x="926" y="422" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1260" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="1472" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2921,14 +2792,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1263" >
-<father id="1286" num="7" />
-<cdparam x="772" y="329" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1475" >
+<father id="1498" num="7" />
+<cdparam x="926" y="393" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
 <infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="1262" />
+<TGConnectingPoint num="0" id="1474" />
 <extraparam>
 <Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
@@ -2938,16 +2809,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1265" >
-<father id="1286" num="8" />
-<cdparam x="772" y="389" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1477" >
+<father id="1498" num="8" />
+<cdparam x="965" y="481" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1264" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="1476" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2955,16 +2826,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1267" >
-<father id="1286" num="9" />
-<cdparam x="819" y="389" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1479" >
+<father id="1498" num="9" />
+<cdparam x="926" y="472" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1266" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="1478" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2972,16 +2843,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1269" >
-<father id="1286" num="10" />
-<cdparam x="772" y="280" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1481" >
+<father id="1498" num="10" />
+<cdparam x="1163" y="376" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1268" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="1480" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2989,16 +2860,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1271" >
-<father id="1286" num="11" />
-<cdparam x="770" y="237" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1483" >
+<father id="1498" num="11" />
+<cdparam x="1163" y="412" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1270" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="1482" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3006,16 +2877,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1273" >
-<father id="1286" num="12" />
-<cdparam x="770" y="208" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1485" >
+<father id="1498" num="12" />
+<cdparam x="1163" y="204" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1272" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="1484" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3023,16 +2894,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1275" >
-<father id="1286" num="13" />
-<cdparam x="770" y="173" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1487" >
+<father id="1498" num="13" />
+<cdparam x="1163" y="272" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1274" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="1486" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3040,16 +2911,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1277" >
-<father id="1286" num="14" />
-<cdparam x="847" y="140" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1489" >
+<father id="1498" num="14" />
+<cdparam x="1163" y="451" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" 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="1276" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="1488" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3057,35 +2928,41 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1301" >
-<father id="1500" num="1" />
-<cdparam x="1052" y="198" />
-<sizeparam width="113" height="114" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="1542" >
+<father id="1551" num="2" />
+<cdparam x="587" y="138" />
+<sizeparam width="201" height="238" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="332" minY="0" maxY="223" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="1293" />
-<TGConnectingPoint num="1" id="1294" />
-<TGConnectingPoint num="2" id="1295" />
-<TGConnectingPoint num="3" id="1296" />
-<TGConnectingPoint num="4" id="1297" />
-<TGConnectingPoint num="5" id="1298" />
-<TGConnectingPoint num="6" id="1299" />
-<TGConnectingPoint num="7" id="1300" />
+<cdrectangleparam minX="0" maxX="735" minY="0" maxY="292" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="1534" />
+<TGConnectingPoint num="1" id="1535" />
+<TGConnectingPoint num="2" id="1536" />
+<TGConnectingPoint num="3" id="1537" />
+<TGConnectingPoint num="4" id="1538" />
+<TGConnectingPoint num="5" id="1539" />
+<TGConnectingPoint num="6" id="1540" />
+<TGConnectingPoint num="7" id="1541" />
 <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="1288" >
-<father id="1301" num="0" />
-<cdparam x="1044" y="292" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1509" >
+<father id="1542" num="0" />
+<cdparam x="775" y="152" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="1287" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="1508" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3093,16 +2970,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1290" >
-<father id="1301" num="1" />
-<cdparam x="1044" y="261" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1511" >
+<father id="1542" num="1" />
+<cdparam x="632" y="125" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="1289" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="1510" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3110,16 +2987,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1292" >
-<father id="1301" num="2" />
-<cdparam x="1044" y="232" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1513" >
+<father id="1542" num="2" />
+<cdparam x="575" y="363" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="1291" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="1512" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3127,320 +3004,67 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1320" >
-<father id="1500" num="2" />
-<cdparam x="710" y="375" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1302" />
-<TGConnectingPoint num="1" id="1303" />
-<TGConnectingPoint num="2" id="1304" />
-<TGConnectingPoint num="3" id="1305" />
-<TGConnectingPoint num="4" id="1306" />
-<TGConnectingPoint num="5" id="1307" />
-<TGConnectingPoint num="6" id="1308" />
-<TGConnectingPoint num="7" id="1309" />
-<TGConnectingPoint num="8" id="1310" />
-<TGConnectingPoint num="9" id="1311" />
-<TGConnectingPoint num="10" id="1312" />
-<TGConnectingPoint num="11" id="1313" />
-<TGConnectingPoint num="12" id="1314" />
-<TGConnectingPoint num="13" id="1315" />
-<TGConnectingPoint num="14" id="1316" />
-<TGConnectingPoint num="15" id="1317" />
-<TGConnectingPoint num="16" id="1318" />
-<TGConnectingPoint num="17" id="1319" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1339" >
-<father id="1500" num="3" />
-<cdparam x="710" y="385" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1321" />
-<TGConnectingPoint num="1" id="1322" />
-<TGConnectingPoint num="2" id="1323" />
-<TGConnectingPoint num="3" id="1324" />
-<TGConnectingPoint num="4" id="1325" />
-<TGConnectingPoint num="5" id="1326" />
-<TGConnectingPoint num="6" id="1327" />
-<TGConnectingPoint num="7" id="1328" />
-<TGConnectingPoint num="8" id="1329" />
-<TGConnectingPoint num="9" id="1330" />
-<TGConnectingPoint num="10" id="1331" />
-<TGConnectingPoint num="11" id="1332" />
-<TGConnectingPoint num="12" id="1333" />
-<TGConnectingPoint num="13" id="1334" />
-<TGConnectingPoint num="14" id="1335" />
-<TGConnectingPoint num="15" id="1336" />
-<TGConnectingPoint num="16" id="1337" />
-<TGConnectingPoint num="17" id="1338" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1358" >
-<father id="1500" num="4" />
-<cdparam x="710" y="385" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1340" />
-<TGConnectingPoint num="1" id="1341" />
-<TGConnectingPoint num="2" id="1342" />
-<TGConnectingPoint num="3" id="1343" />
-<TGConnectingPoint num="4" id="1344" />
-<TGConnectingPoint num="5" id="1345" />
-<TGConnectingPoint num="6" id="1346" />
-<TGConnectingPoint num="7" id="1347" />
-<TGConnectingPoint num="8" id="1348" />
-<TGConnectingPoint num="9" id="1349" />
-<TGConnectingPoint num="10" id="1350" />
-<TGConnectingPoint num="11" id="1351" />
-<TGConnectingPoint num="12" id="1352" />
-<TGConnectingPoint num="13" id="1353" />
-<TGConnectingPoint num="14" id="1354" />
-<TGConnectingPoint num="15" id="1355" />
-<TGConnectingPoint num="16" id="1356" />
-<TGConnectingPoint num="17" id="1357" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1377" >
-<father id="1500" num="5" />
-<cdparam x="710" y="354" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1359" />
-<TGConnectingPoint num="1" id="1360" />
-<TGConnectingPoint num="2" id="1361" />
-<TGConnectingPoint num="3" id="1362" />
-<TGConnectingPoint num="4" id="1363" />
-<TGConnectingPoint num="5" id="1364" />
-<TGConnectingPoint num="6" id="1365" />
-<TGConnectingPoint num="7" id="1366" />
-<TGConnectingPoint num="8" id="1367" />
-<TGConnectingPoint num="9" id="1368" />
-<TGConnectingPoint num="10" id="1369" />
-<TGConnectingPoint num="11" id="1370" />
-<TGConnectingPoint num="12" id="1371" />
-<TGConnectingPoint num="13" id="1372" />
-<TGConnectingPoint num="14" id="1373" />
-<TGConnectingPoint num="15" id="1374" />
-<TGConnectingPoint num="16" id="1375" />
-<TGConnectingPoint num="17" id="1376" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1396" >
-<father id="1500" num="6" />
-<cdparam x="710" y="327" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1378" />
-<TGConnectingPoint num="1" id="1379" />
-<TGConnectingPoint num="2" id="1380" />
-<TGConnectingPoint num="3" id="1381" />
-<TGConnectingPoint num="4" id="1382" />
-<TGConnectingPoint num="5" id="1383" />
-<TGConnectingPoint num="6" id="1384" />
-<TGConnectingPoint num="7" id="1385" />
-<TGConnectingPoint num="8" id="1386" />
-<TGConnectingPoint num="9" id="1387" />
-<TGConnectingPoint num="10" id="1388" />
-<TGConnectingPoint num="11" id="1389" />
-<TGConnectingPoint num="12" id="1390" />
-<TGConnectingPoint num="13" id="1391" />
-<TGConnectingPoint num="14" id="1392" />
-<TGConnectingPoint num="15" id="1393" />
-<TGConnectingPoint num="16" id="1394" />
-<TGConnectingPoint num="17" id="1395" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1415" >
-<father id="1500" num="7" />
-<cdparam x="710" y="294" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1397" />
-<TGConnectingPoint num="1" id="1398" />
-<TGConnectingPoint num="2" id="1399" />
-<TGConnectingPoint num="3" id="1400" />
-<TGConnectingPoint num="4" id="1401" />
-<TGConnectingPoint num="5" id="1402" />
-<TGConnectingPoint num="6" id="1403" />
-<TGConnectingPoint num="7" id="1404" />
-<TGConnectingPoint num="8" id="1405" />
-<TGConnectingPoint num="9" id="1406" />
-<TGConnectingPoint num="10" id="1407" />
-<TGConnectingPoint num="11" id="1408" />
-<TGConnectingPoint num="12" id="1409" />
-<TGConnectingPoint num="13" id="1410" />
-<TGConnectingPoint num="14" id="1411" />
-<TGConnectingPoint num="15" id="1412" />
-<TGConnectingPoint num="16" id="1413" />
-<TGConnectingPoint num="17" id="1414" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1434" >
-<father id="1500" num="8" />
-<cdparam x="710" y="173" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1416" />
-<TGConnectingPoint num="1" id="1417" />
-<TGConnectingPoint num="2" id="1418" />
-<TGConnectingPoint num="3" id="1419" />
-<TGConnectingPoint num="4" id="1420" />
-<TGConnectingPoint num="5" id="1421" />
-<TGConnectingPoint num="6" id="1422" />
-<TGConnectingPoint num="7" id="1423" />
-<TGConnectingPoint num="8" id="1424" />
-<TGConnectingPoint num="9" id="1425" />
-<TGConnectingPoint num="10" id="1426" />
-<TGConnectingPoint num="11" id="1427" />
-<TGConnectingPoint num="12" id="1428" />
-<TGConnectingPoint num="13" id="1429" />
-<TGConnectingPoint num="14" id="1430" />
-<TGConnectingPoint num="15" id="1431" />
-<TGConnectingPoint num="16" id="1432" />
-<TGConnectingPoint num="17" id="1433" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1453" >
-<father id="1500" num="9" />
-<cdparam x="710" y="208" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1435" />
-<TGConnectingPoint num="1" id="1436" />
-<TGConnectingPoint num="2" id="1437" />
-<TGConnectingPoint num="3" id="1438" />
-<TGConnectingPoint num="4" id="1439" />
-<TGConnectingPoint num="5" id="1440" />
-<TGConnectingPoint num="6" id="1441" />
-<TGConnectingPoint num="7" id="1442" />
-<TGConnectingPoint num="8" id="1443" />
-<TGConnectingPoint num="9" id="1444" />
-<TGConnectingPoint num="10" id="1445" />
-<TGConnectingPoint num="11" id="1446" />
-<TGConnectingPoint num="12" id="1447" />
-<TGConnectingPoint num="13" id="1448" />
-<TGConnectingPoint num="14" id="1449" />
-<TGConnectingPoint num="15" id="1450" />
-<TGConnectingPoint num="16" id="1451" />
-<TGConnectingPoint num="17" id="1452" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1472" >
-<father id="1500" num="10" />
-<cdparam x="710" y="237" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1454" />
-<TGConnectingPoint num="1" id="1455" />
-<TGConnectingPoint num="2" id="1456" />
-<TGConnectingPoint num="3" id="1457" />
-<TGConnectingPoint num="4" id="1458" />
-<TGConnectingPoint num="5" id="1459" />
-<TGConnectingPoint num="6" id="1460" />
-<TGConnectingPoint num="7" id="1461" />
-<TGConnectingPoint num="8" id="1462" />
-<TGConnectingPoint num="9" id="1463" />
-<TGConnectingPoint num="10" id="1464" />
-<TGConnectingPoint num="11" id="1465" />
-<TGConnectingPoint num="12" id="1466" />
-<TGConnectingPoint num="13" id="1467" />
-<TGConnectingPoint num="14" id="1468" />
-<TGConnectingPoint num="15" id="1469" />
-<TGConnectingPoint num="16" id="1470" />
-<TGConnectingPoint num="17" id="1471" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1491" >
-<father id="1500" num="11" />
-<cdparam x="710" y="122" />
-<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="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1473" />
-<TGConnectingPoint num="1" id="1474" />
-<TGConnectingPoint num="2" id="1475" />
-<TGConnectingPoint num="3" id="1476" />
-<TGConnectingPoint num="4" id="1477" />
-<TGConnectingPoint num="5" id="1478" />
-<TGConnectingPoint num="6" id="1479" />
-<TGConnectingPoint num="7" id="1480" />
-<TGConnectingPoint num="8" id="1481" />
-<TGConnectingPoint num="9" id="1482" />
-<TGConnectingPoint num="10" id="1483" />
-<TGConnectingPoint num="11" id="1484" />
-<TGConnectingPoint num="12" id="1485" />
-<TGConnectingPoint num="13" id="1486" />
-<TGConnectingPoint num="14" id="1487" />
-<TGConnectingPoint num="15" id="1488" />
-<TGConnectingPoint num="16" id="1489" />
-<TGConnectingPoint num="17" id="1490" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1519" >
-<father id="1551" num="2" />
-<cdparam x="418" y="76" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="739" minY="-10" maxY="376" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1501" />
-<TGConnectingPoint num="1" id="1502" />
-<TGConnectingPoint num="2" id="1503" />
-<TGConnectingPoint num="3" id="1504" />
-<TGConnectingPoint num="4" id="1505" />
-<TGConnectingPoint num="5" id="1506" />
-<TGConnectingPoint num="6" id="1507" />
-<TGConnectingPoint num="7" id="1508" />
-<TGConnectingPoint num="8" id="1509" />
-<TGConnectingPoint num="9" id="1510" />
-<TGConnectingPoint num="10" id="1511" />
-<TGConnectingPoint num="11" id="1512" />
-<TGConnectingPoint num="12" id="1513" />
-<TGConnectingPoint num="13" id="1514" />
-<TGConnectingPoint num="14" id="1515" />
-<TGConnectingPoint num="15" id="1516" />
-<TGConnectingPoint num="16" id="1517" />
-<TGConnectingPoint num="17" id="1518" />
+<SUBCOMPONENT type="1203" id="1515" >
+<father id="1542" num="3" />
+<cdparam x="574" y="288" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="1514" />
+<extraparam>
+<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1542" >
-<father id="1551" num="3" />
-<cdparam x="465" y="288" />
-<sizeparam width="192" height="117" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1517" >
+<father id="1542" num="4" />
+<cdparam x="574" y="243" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="557" minY="0" maxY="269" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="1534" />
-<TGConnectingPoint num="1" id="1535" />
-<TGConnectingPoint num="2" id="1536" />
-<TGConnectingPoint num="3" id="1537" />
-<TGConnectingPoint num="4" id="1538" />
-<TGConnectingPoint num="5" id="1539" />
-<TGConnectingPoint num="6" id="1540" />
-<TGConnectingPoint num="7" id="1541" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="1516" />
+<extraparam>
+<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" 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="1519" >
+<father id="1542" num="5" />
+<cdparam x="574" y="331" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="1518" />
 <extraparam>
+<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="1521" >
-<father id="1542" num="0" />
-<cdparam x="538" y="280" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1542" num="6" />
+<cdparam x="574" y="197" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Request start_Application" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="1520" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<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="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3449,15 +3073,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1523" >
-<father id="1542" num="1" />
-<cdparam x="649" y="363" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1542" num="7" />
+<cdparam x="775" y="311" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
 <TGConnectingPoint num="0" id="1522" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3466,15 +3090,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1525" >
-<father id="1542" num="2" />
-<cdparam x="649" y="388" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1542" num="8" />
+<cdparam x="775" y="275" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Event receive_Application" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
 <TGConnectingPoint num="0" id="1524" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3483,15 +3107,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1527" >
-<father id="1542" num="3" />
-<cdparam x="649" y="389" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1542" num="9" />
+<cdparam x="775" y="231" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event receive" />
 <TGConnectingPoint num="0" id="1526" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3500,15 +3124,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1529" >
-<father id="1542" num="4" />
-<cdparam x="649" y="389" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1542" num="10" />
+<cdparam x="775" y="342" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Event send_TCP" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
 <TGConnectingPoint num="0" id="1528" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3517,15 +3141,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1531" >
-<father id="1542" num="5" />
-<cdparam x="649" y="341" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1542" num="11" />
+<cdparam x="577" y="157" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
+<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
+<infoparam name="TGComponent" value="Request activation" />
 <TGConnectingPoint num="0" id="1530" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3534,15 +3158,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1533" >
-<father id="1542" num="6" />
-<cdparam x="649" y="328" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1542" num="12" />
+<cdparam x="672" y="366" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="5000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
+<infoparam name="TGComponent" value="Request start_Application" />
 <TGConnectingPoint num="0" id="1532" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -4021,386 +3645,511 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1657" >
-<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="1653" />
-<TGConnectingPoint num="1" id="1654" />
-<TGConnectingPoint num="2" id="1655" />
-<TGConnectingPoint num="3" id="1656" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1650" >
-<father id="1657" num="0" />
-<cdparam x="466" y="287" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1651" >
-<father id="1657" num="1" />
-<cdparam x="526" y="287" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1652" >
-<father id="1657" num="2" />
-<cdparam x="511" y="322" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="1659" >
-<cdparam x="501" y="91" />
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1000" id="1651" >
+<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="1658" />
+<TGConnectingPoint num="0" id="1650" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1662" >
-<cdparam x="482" y="129" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1654" >
+<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="send event" value="open()" />
-<TGConnectingPoint num="0" id="1660" />
-<TGConnectingPoint num="1" id="1661" />
+<infoparam name="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="1652" />
+<TGConnectingPoint num="1" id="1653" />
 <extraparam>
-<Data eventName="open" nbOfParams="5" />
+<Data eventName="reset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1665" >
-<cdparam x="466" y="178" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1657" >
+<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="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="1663" />
-<TGConnectingPoint num="1" id="1664" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="1655" />
+<TGConnectingPoint num="1" id="1656" />
 <extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" />
+<Data eventName="answerToReset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1668" >
-<cdparam x="467" y="226" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1660" >
+<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="send event" value="send_TCP()" />
-<TGConnectingPoint num="0" id="1666" />
-<TGConnectingPoint num="1" id="1667" />
+<infoparam name="wait event" value="pTS() " />
+<TGConnectingPoint num="0" id="1658" />
+<TGConnectingPoint num="1" id="1659" />
 <extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
+<Data eventName="pTS" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1670" >
-<cdparam x="576" y="388" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1663" >
+<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="stop state" value="null" />
-<TGConnectingPoint num="0" id="1669" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="1661" />
+<TGConnectingPoint num="1" id="1662" />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1673" >
-<cdparam x="559" y="329" />
-<sizeparam width="54" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1680" >
+<cdparam x="376" y="98" />
+<sizeparam width="249" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="1671" />
-<TGConnectingPoint num="1" id="1672" />
+<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="1664" />
+<TGConnectingPoint num="1" id="1665" />
+<TGConnectingPoint num="2" id="1666" />
+<TGConnectingPoint num="3" id="1667" />
+<TGConnectingPoint num="4" id="1668" />
+<TGConnectingPoint num="5" id="1669" />
+<TGConnectingPoint num="6" id="1670" />
+<TGConnectingPoint num="7" id="1671" />
+<TGConnectingPoint num="8" id="1672" />
+<TGConnectingPoint num="9" id="1673" />
+<TGConnectingPoint num="10" id="1674" />
+<TGConnectingPoint num="11" id="1675" />
+<TGConnectingPoint num="12" id="1676" />
+<TGConnectingPoint num="13" id="1677" />
+<TGConnectingPoint num="14" id="1678" />
+<TGConnectingPoint num="15" id="1679" />
 <extraparam>
-<Data eventName="abort" nbOfParams="5" />
+<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="1008" id="1676" >
-<cdparam x="406" y="337" />
-<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1683" >
+<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 event" value="close()" />
-<TGConnectingPoint num="0" id="1674" />
-<TGConnectingPoint num="1" id="1675" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="1681" />
+<TGConnectingPoint num="1" id="1682" />
 <extraparam>
-<Data eventName="close" nbOfParams="5" />
+<Data requestName="start_TCP_IP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1678" >
-<cdparam x="422" y="386" />
+<COMPONENT type="1007" id="1686" >
+<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="1684" />
+<TGConnectingPoint num="1" id="1685" />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1688" >
+<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="1677" />
+<TGConnectingPoint num="0" id="1687" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="1679" >
-<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="1658" />
-<P2  x="508" y="124" id="1660" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1680" >
-<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="1661" />
-<P2  x="508" y="173" id="1663" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1681" >
-<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="1664" />
-<P2  x="507" y="221" id="1666" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1682" >
-<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="1672" />
-<P2  x="586" y="383" id="1669" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1683" >
-<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="1667" />
-<P2  x="506" y="267" id="1653" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1684" >
-<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="1654" />
-<P2  x="432" y="332" id="1674" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1685" >
-<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="1675" />
-<P2  x="432" y="381" id="1677" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1686" >
-<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="1655" />
-<P2  x="586" y="324" id="1671" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
+<COMPONENT type="1008" id="1691" >
+<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="1689" />
+<TGConnectingPoint num="1" id="1690" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-</TMLActivityDiagramPanel>
+<COMPONENT type="1001" id="1693" >
+<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="1692" />
+</COMPONENT>
 
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1694" >
-<cdparam x="509" y="222" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="1696" >
+<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="choice" value="null" />
-<TGConnectingPoint num="0" id="1690" />
-<TGConnectingPoint num="1" id="1691" />
-<TGConnectingPoint num="2" id="1692" />
-<TGConnectingPoint num="3" id="1693" />
+<infoparam name="read channel" value="fromTtoP(1) " />
+<TGConnectingPoint num="0" id="1694" />
+<TGConnectingPoint num="1" id="1695" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1687" >
-<father id="1694" num="0" />
-<cdparam x="464" y="232" />
-<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1010" id="1699" >
+<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="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ x==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1688" >
-<father id="1694" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="send() " />
+<TGConnectingPoint num="0" id="1697" />
+<TGConnectingPoint num="1" id="1698" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1702" >
+<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="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ x&gt;0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1689" >
-<father id="1694" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromSCtoD(1)" />
+<TGConnectingPoint num="0" id="1700" />
+<TGConnectingPoint num="1" id="1701" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1705" >
+<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="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="receive()" />
+<TGConnectingPoint num="0" id="1703" />
+<TGConnectingPoint num="1" id="1704" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1000" id="1696" >
-<cdparam x="517" y="87" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="1708" >
+<cdparam x="476" y="311" />
+<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="start state" value="null" />
-<TGConnectingPoint num="0" id="1695" />
+<infoparam name="read channel" value="fromDtoSC(1) " />
+<TGConnectingPoint num="0" id="1706" />
+<TGConnectingPoint num="1" id="1707" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1698" >
-<cdparam x="417" y="367" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1711" >
+<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="stop state" value="null" />
-<TGConnectingPoint num="0" id="1697" />
+<infoparam name="write channel" value="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="1709" />
+<TGConnectingPoint num="1" id="1710" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1701" >
-<cdparam x="393" y="299" />
-<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1714" >
+<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="send event" value="timeOut()" />
-<TGConnectingPoint num="0" id="1699" />
-<TGConnectingPoint num="1" id="1700" />
+<infoparam name="wait event" value="data_Ready() " />
+<TGConnectingPoint num="0" id="1712" />
+<TGConnectingPoint num="1" id="1713" />
+<breakpoint />
 <extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
+<Data eventName="data_Ready" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1704" >
-<cdparam x="596" y="300" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="1718" >
+<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="wait event" value="stop() " />
-<TGConnectingPoint num="0" id="1702" />
-<TGConnectingPoint num="1" id="1703" />
+<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
+<TGConnectingPoint num="0" id="1715" />
+<TGConnectingPoint num="1" id="1716" />
+<TGConnectingPoint num="2" id="1717" />
 <extraparam>
-<Data eventName="stop" nbOfParams="5" />
+<Data init="j=0" condition="x==0" increment="j = j" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1706" >
-<cdparam x="612" y="365" />
+<COMPONENT type="1001" id="1720" >
+<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="1705" />
+<TGConnectingPoint num="0" id="1719" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="1709" >
-<cdparam x="487" y="150" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1018" id="1731" >
+<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="notified event" value="x=?stop()" />
-<TGConnectingPoint num="0" id="1707" />
-<TGConnectingPoint num="1" id="1708" />
-<extraparam>
-<Data eventName="stop" variable="x" />
-</extraparam>
-</COMPONENT>
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="1721" />
+<TGConnectingPoint num="1" id="1722" />
+<TGConnectingPoint num="2" id="1723" />
+<TGConnectingPoint num="3" id="1724" />
+<TGConnectingPoint num="4" id="1725" />
+<TGConnectingPoint num="5" id="1726" />
+<TGConnectingPoint num="6" id="1727" />
+<TGConnectingPoint num="7" id="1728" />
+<TGConnectingPoint num="8" id="1729" />
+<TGConnectingPoint num="9" id="1730" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="1736" >
+<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="1662" />
+<P2  x="298" y="92" id="1681" />
+<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="1732" >
+<father id="1736" 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="1733" >
+<father id="1736" 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="1734" >
+<father id="1736" 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="1735" >
+<father id="1736" 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="1710" >
-<cdparam x="427" y="324" />
+<CONNECTOR type="115" id="1737" >
+<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 send event to stop state" value="null" />
-<P1  x="427" y="324" id="1700" />
-<P2  x="427" y="362" id="1697" />
+<infoparam name="connector from start state to wait event" value="null" />
+<P1  x="166" y="86" id="1650" />
+<P2  x="166" y="124" id="1652" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1711" >
-<cdparam x="622" y="325" />
+<CONNECTOR type="115" id="1738" >
+<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 stop state" value="null" />
-<P1  x="622" y="325" id="1703" />
-<P2  x="622" y="360" id="1705" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="154" id="1653" />
+<P2  x="166" y="177" id="1655" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1712" >
-<cdparam x="524" y="107" />
+<CONNECTOR type="115" id="1739" >
+<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 start state to notified event" value="null" />
-<P1  x="524" y="107" id="1695" />
-<P2  x="524" y="145" id="1707" />
+<infoparam name="connector from send request to send request" value="null" />
+<P1  x="298" y="122" id="1682" />
+<P2  x="298" y="143" id="1684" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1713" >
-<cdparam x="524" y="175" />
+<CONNECTOR type="115" id="1740" >
+<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 notified event to choice" value="null" />
-<P1  x="524" y="175" id="1708" />
-<P2  x="524" y="212" id="1690" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="362" y="289" id="1698" />
+<P2  x="362" y="303" id="1694" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1714" >
-<cdparam x="484" y="237" />
+<CONNECTOR type="115" id="1741" >
+<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 choice to send event" value="null" />
-<P1  x="484" y="237" id="1691" />
-<P2  x="427" y="294" id="1699" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="362" y="333" id="1695" />
+<P2  x="362" y="345" id="1689" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1715" >
-<cdparam x="564" y="237" />
+<CONNECTOR type="115" id="1742" >
+<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 wait event" value="null" />
-<P1  x="564" y="237" id="1692" />
-<P2  x="622" y="295" id="1702" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="362" y="375" id="1690" />
+<P2  x="362" y="387" id="1700" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1743" >
+<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="1701" />
+<P2  x="362" y="421" id="1692" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1744" >
+<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="1707" />
+<P2  x="525" y="345" id="1703" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1745" >
+<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="1704" />
+<P2  x="525" y="382" id="1709" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1746" >
+<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="1713" />
+<P2  x="525" y="306" id="1706" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1747" >
+<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="1710" />
+<P2  x="525" y="423" id="1687" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1748" >
+<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="1685" />
+<P2  x="298" y="197" id="1715" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1749" >
+<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="1717" />
+<P2  x="307" y="226" id="1719" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1750" >
+<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="1722" />
+<P2  x="362" y="259" id="1697" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1751" >
+<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="1723" />
+<P2  x="525" y="263" id="1712" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1752" >
+<cdparam x="391" y="282" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="360" y="216" id="1716" />
+<P2  x="439" y="216" id="1721" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1753" >
+<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="1659" />
+<P2  x="166" y="303" id="1661" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1754" >
+<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="1656" />
+<P2  x="166" y="232" id="1658" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
 <TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1012" id="1723" >
+<COMPONENT type="1012" id="1762" >
 <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="1719" />
-<TGConnectingPoint num="1" id="1720" />
-<TGConnectingPoint num="2" id="1721" />
-<TGConnectingPoint num="3" id="1722" />
+<TGConnectingPoint num="0" id="1758" />
+<TGConnectingPoint num="1" id="1759" />
+<TGConnectingPoint num="2" id="1760" />
+<TGConnectingPoint num="3" id="1761" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1716" >
-<father id="1723" num="0" />
+<SUBCOMPONENT type="-1" id="1755" >
+<father id="1762" num="0" />
 <cdparam x="2061" y="1388" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1717" >
-<father id="1723" num="1" />
+<SUBCOMPONENT type="-1" id="1756" >
+<father id="1762" num="1" />
 <cdparam x="2121" y="1388" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1718" >
-<father id="1723" num="2" />
+<SUBCOMPONENT type="-1" id="1757" >
+<father id="1762" num="2" />
 <cdparam x="2106" y="1426" />
 <sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4408,35 +4157,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1731" >
+<COMPONENT type="1012" id="1770" >
 <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="1727" />
-<TGConnectingPoint num="1" id="1728" />
-<TGConnectingPoint num="2" id="1729" />
-<TGConnectingPoint num="3" id="1730" />
+<TGConnectingPoint num="0" id="1766" />
+<TGConnectingPoint num="1" id="1767" />
+<TGConnectingPoint num="2" id="1768" />
+<TGConnectingPoint num="3" id="1769" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1724" >
-<father id="1731" num="0" />
+<SUBCOMPONENT type="-1" id="1763" >
+<father id="1770" num="0" />
 <cdparam x="2212" y="961" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1725" >
-<father id="1731" num="1" />
+<SUBCOMPONENT type="-1" id="1764" >
+<father id="1770" num="1" />
 <cdparam x="2297" y="961" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1726" >
-<father id="1731" num="2" />
+<SUBCOMPONENT type="-1" id="1765" >
+<father id="1770" num="2" />
 <cdparam x="2282" y="996" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4444,35 +4193,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1739" >
+<COMPONENT type="1012" id="1778" >
 <cdparam x="1981" y="1346" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1735" />
-<TGConnectingPoint num="1" id="1736" />
-<TGConnectingPoint num="2" id="1737" />
-<TGConnectingPoint num="3" id="1738" />
+<TGConnectingPoint num="0" id="1774" />
+<TGConnectingPoint num="1" id="1775" />
+<TGConnectingPoint num="2" id="1776" />
+<TGConnectingPoint num="3" id="1777" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1732" >
-<father id="1739" num="0" />
+<SUBCOMPONENT type="-1" id="1771" >
+<father id="1778" num="0" />
 <cdparam x="1934" y="1356" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1733" >
-<father id="1739" num="1" />
+<SUBCOMPONENT type="-1" id="1772" >
+<father id="1778" num="1" />
 <cdparam x="2016" y="1356" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1734" >
-<father id="1739" num="2" />
+<SUBCOMPONENT type="-1" id="1773" >
+<father id="1778" num="2" />
 <cdparam x="2001" y="1391" />
 <sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4480,35 +4229,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1747" >
+<COMPONENT type="1012" id="1786" >
 <cdparam x="1811" y="1269" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1743" />
-<TGConnectingPoint num="1" id="1744" />
-<TGConnectingPoint num="2" id="1745" />
-<TGConnectingPoint num="3" id="1746" />
+<TGConnectingPoint num="0" id="1782" />
+<TGConnectingPoint num="1" id="1783" />
+<TGConnectingPoint num="2" id="1784" />
+<TGConnectingPoint num="3" id="1785" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1740" >
-<father id="1747" num="0" />
+<SUBCOMPONENT type="-1" id="1779" >
+<father id="1786" num="0" />
 <cdparam x="1762" y="1279" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1741" >
-<father id="1747" num="1" />
+<SUBCOMPONENT type="-1" id="1780" >
+<father id="1786" num="1" />
 <cdparam x="1846" y="1279" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1742" >
-<father id="1747" num="2" />
+<SUBCOMPONENT type="-1" id="1781" >
+<father id="1786" num="2" />
 <cdparam x="1831" y="1314" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4516,35 +4265,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1755" >
+<COMPONENT type="1012" id="1794" >
 <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="1751" />
-<TGConnectingPoint num="1" id="1752" />
-<TGConnectingPoint num="2" id="1753" />
-<TGConnectingPoint num="3" id="1754" />
+<TGConnectingPoint num="0" id="1790" />
+<TGConnectingPoint num="1" id="1791" />
+<TGConnectingPoint num="2" id="1792" />
+<TGConnectingPoint num="3" id="1793" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1748" >
-<father id="1755" num="0" />
+<SUBCOMPONENT type="-1" id="1787" >
+<father id="1794" num="0" />
 <cdparam x="1691" y="1151" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1749" >
-<father id="1755" num="1" />
+<SUBCOMPONENT type="-1" id="1788" >
+<father id="1794" num="1" />
 <cdparam x="1751" y="1151" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1750" >
-<father id="1755" num="2" />
+<SUBCOMPONENT type="-1" id="1789" >
+<father id="1794" num="2" />
 <cdparam x="1736" y="1186" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4552,17 +4301,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1759" >
+<COMPONENT type="1013" id="1798" >
 <cdparam x="1524" y="1254" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="1757" />
-<TGConnectingPoint num="1" id="1758" />
+<TGConnectingPoint num="0" id="1796" />
+<TGConnectingPoint num="1" id="1797" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1756" >
-<father id="1759" num="0" />
+<SUBCOMPONENT type="-1" id="1795" >
+<father id="1798" 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" />
@@ -4570,17 +4319,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1763" >
+<COMPONENT type="1013" id="1802" >
 <cdparam x="1524" y="1064" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="1761" />
-<TGConnectingPoint num="1" id="1762" />
+<TGConnectingPoint num="0" id="1800" />
+<TGConnectingPoint num="1" id="1801" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1760" >
-<father id="1763" num="0" />
+<SUBCOMPONENT type="-1" id="1799" >
+<father id="1802" 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" />
@@ -4588,35 +4337,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1771" >
+<COMPONENT type="1012" id="1810" >
 <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="1767" />
-<TGConnectingPoint num="1" id="1768" />
-<TGConnectingPoint num="2" id="1769" />
-<TGConnectingPoint num="3" id="1770" />
+<TGConnectingPoint num="0" id="1806" />
+<TGConnectingPoint num="1" id="1807" />
+<TGConnectingPoint num="2" id="1808" />
+<TGConnectingPoint num="3" id="1809" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1764" >
-<father id="1771" num="0" />
+<SUBCOMPONENT type="-1" id="1803" >
+<father id="1810" num="0" />
 <cdparam x="1542" y="1016" />
 <sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1765" >
-<father id="1771" num="1" />
+<SUBCOMPONENT type="-1" id="1804" >
+<father id="1810" num="1" />
 <cdparam x="1627" y="1016" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1766" >
-<father id="1771" num="2" />
+<SUBCOMPONENT type="-1" id="1805" >
+<father id="1810" num="2" />
 <cdparam x="1612" y="1051" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4624,35 +4373,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1779" >
+<COMPONENT type="1012" id="1818" >
 <cdparam x="1713" y="875" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1775" />
-<TGConnectingPoint num="1" id="1776" />
-<TGConnectingPoint num="2" id="1777" />
-<TGConnectingPoint num="3" id="1778" />
+<TGConnectingPoint num="0" id="1814" />
+<TGConnectingPoint num="1" id="1815" />
+<TGConnectingPoint num="2" id="1816" />
+<TGConnectingPoint num="3" id="1817" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1772" >
-<father id="1779" num="0" />
+<SUBCOMPONENT type="-1" id="1811" >
+<father id="1818" num="0" />
 <cdparam x="1688" y="885" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1773" >
-<father id="1779" num="1" />
+<SUBCOMPONENT type="-1" id="1812" >
+<father id="1818" num="1" />
 <cdparam x="1748" y="885" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1774" >
-<father id="1779" num="2" />
+<SUBCOMPONENT type="-1" id="1813" >
+<father id="1818" num="2" />
 <cdparam x="1733" y="920" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4660,17 +4409,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1783" >
+<COMPONENT type="1013" id="1822" >
 <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="1781" />
-<TGConnectingPoint num="1" id="1782" />
+<TGConnectingPoint num="0" id="1820" />
+<TGConnectingPoint num="1" id="1821" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1780" >
-<father id="1783" num="0" />
+<SUBCOMPONENT type="-1" id="1819" >
+<father id="1822" 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" />
@@ -4678,17 +4427,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1787" >
+<COMPONENT type="1013" id="1826" >
 <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="1785" />
-<TGConnectingPoint num="1" id="1786" />
+<TGConnectingPoint num="0" id="1824" />
+<TGConnectingPoint num="1" id="1825" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1784" >
-<father id="1787" num="0" />
+<SUBCOMPONENT type="-1" id="1823" >
+<father id="1826" 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" />
@@ -4696,17 +4445,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1791" >
+<COMPONENT type="1013" id="1830" >
 <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="1789" />
-<TGConnectingPoint num="1" id="1790" />
+<TGConnectingPoint num="0" id="1828" />
+<TGConnectingPoint num="1" id="1829" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1788" >
-<father id="1791" num="0" />
+<SUBCOMPONENT type="-1" id="1827" >
+<father id="1830" 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" />
@@ -4714,35 +4463,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1799" >
+<COMPONENT type="1012" id="1838" >
 <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="1795" />
-<TGConnectingPoint num="1" id="1796" />
-<TGConnectingPoint num="2" id="1797" />
-<TGConnectingPoint num="3" id="1798" />
+<TGConnectingPoint num="0" id="1834" />
+<TGConnectingPoint num="1" id="1835" />
+<TGConnectingPoint num="2" id="1836" />
+<TGConnectingPoint num="3" id="1837" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1792" >
-<father id="1799" num="0" />
+<SUBCOMPONENT type="-1" id="1831" >
+<father id="1838" num="0" />
 <cdparam x="1168" y="1030" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1793" >
-<father id="1799" num="1" />
+<SUBCOMPONENT type="-1" id="1832" >
+<father id="1838" num="1" />
 <cdparam x="1228" y="1030" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1794" >
-<father id="1799" num="2" />
+<SUBCOMPONENT type="-1" id="1833" >
+<father id="1838" num="2" />
 <cdparam x="1213" y="1065" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4750,17 +4499,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1803" >
+<COMPONENT type="1013" id="1842" >
 <cdparam x="1203" y="1107" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="1801" />
-<TGConnectingPoint num="1" id="1802" />
+<TGConnectingPoint num="0" id="1840" />
+<TGConnectingPoint num="1" id="1841" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1800" >
-<father id="1803" num="0" />
+<SUBCOMPONENT type="-1" id="1839" >
+<father id="1842" 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" />
@@ -4768,35 +4517,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1811" >
+<COMPONENT type="1012" id="1850" >
 <cdparam x="557" y="712" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1807" />
-<TGConnectingPoint num="1" id="1808" />
-<TGConnectingPoint num="2" id="1809" />
-<TGConnectingPoint num="3" id="1810" />
+<TGConnectingPoint num="0" id="1846" />
+<TGConnectingPoint num="1" id="1847" />
+<TGConnectingPoint num="2" id="1848" />
+<TGConnectingPoint num="3" id="1849" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1804" >
-<father id="1811" num="0" />
+<SUBCOMPONENT type="-1" id="1843" >
+<father id="1850" num="0" />
 <cdparam x="514" y="722" />
 <sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1805" >
-<father id="1811" num="1" />
+<SUBCOMPONENT type="-1" id="1844" >
+<father id="1850" num="1" />
 <cdparam x="592" y="722" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1806" >
-<father id="1811" num="2" />
+<SUBCOMPONENT type="-1" id="1845" >
+<father id="1850" num="2" />
 <cdparam x="577" y="757" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4804,17 +4553,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1815" >
+<COMPONENT type="1013" id="1854" >
 <cdparam x="717" y="694" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="1813" />
-<TGConnectingPoint num="1" id="1814" />
+<TGConnectingPoint num="0" id="1852" />
+<TGConnectingPoint num="1" id="1853" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1812" >
-<father id="1815" num="0" />
+<SUBCOMPONENT type="-1" id="1851" >
+<father id="1854" 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" />
@@ -4822,17 +4571,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1819" >
+<COMPONENT type="1013" id="1858" >
 <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="1817" />
-<TGConnectingPoint num="1" id="1818" />
+<TGConnectingPoint num="0" id="1856" />
+<TGConnectingPoint num="1" id="1857" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1816" >
-<father id="1819" num="0" />
+<SUBCOMPONENT type="-1" id="1855" >
+<father id="1858" 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" />
@@ -4840,35 +4589,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1827" >
+<COMPONENT type="1012" id="1866" >
 <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="1823" />
-<TGConnectingPoint num="1" id="1824" />
-<TGConnectingPoint num="2" id="1825" />
-<TGConnectingPoint num="3" id="1826" />
+<TGConnectingPoint num="0" id="1862" />
+<TGConnectingPoint num="1" id="1863" />
+<TGConnectingPoint num="2" id="1864" />
+<TGConnectingPoint num="3" id="1865" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1820" >
-<father id="1827" num="0" />
+<SUBCOMPONENT type="-1" id="1859" >
+<father id="1866" num="0" />
 <cdparam x="989" y="949" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1821" >
-<father id="1827" num="1" />
+<SUBCOMPONENT type="-1" id="1860" >
+<father id="1866" num="1" />
 <cdparam x="1070" y="949" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1822" >
-<father id="1827" num="2" />
+<SUBCOMPONENT type="-1" id="1861" >
+<father id="1866" num="2" />
 <cdparam x="1054" y="984" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4876,17 +4625,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1831" >
+<COMPONENT type="1013" id="1870" >
 <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="1829" />
-<TGConnectingPoint num="1" id="1830" />
+<TGConnectingPoint num="0" id="1868" />
+<TGConnectingPoint num="1" id="1869" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1828" >
-<father id="1831" num="0" />
+<SUBCOMPONENT type="-1" id="1867" >
+<father id="1870" 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" />
@@ -4894,35 +4643,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1839" >
+<COMPONENT type="1012" id="1878" >
 <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="1835" />
-<TGConnectingPoint num="1" id="1836" />
-<TGConnectingPoint num="2" id="1837" />
-<TGConnectingPoint num="3" id="1838" />
+<TGConnectingPoint num="0" id="1874" />
+<TGConnectingPoint num="1" id="1875" />
+<TGConnectingPoint num="2" id="1876" />
+<TGConnectingPoint num="3" id="1877" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1832" >
-<father id="1839" num="0" />
+<SUBCOMPONENT type="-1" id="1871" >
+<father id="1878" num="0" />
 <cdparam x="753" y="885" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1833" >
-<father id="1839" num="1" />
+<SUBCOMPONENT type="-1" id="1872" >
+<father id="1878" num="1" />
 <cdparam x="863" y="879" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1834" >
-<father id="1839" num="2" />
+<SUBCOMPONENT type="-1" id="1873" >
+<father id="1878" num="2" />
 <cdparam x="848" y="914" />
 <sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -4930,17 +4679,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1843" >
+<COMPONENT type="1013" id="1882" >
 <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="1841" />
-<TGConnectingPoint num="1" id="1842" />
+<TGConnectingPoint num="0" id="1880" />
+<TGConnectingPoint num="1" id="1881" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1840" >
-<father id="1843" num="0" />
+<SUBCOMPONENT type="-1" id="1879" >
+<father id="1882" 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" />
@@ -4948,17 +4697,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1847" >
+<COMPONENT type="1013" id="1886" >
 <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="1845" />
-<TGConnectingPoint num="1" id="1846" />
+<TGConnectingPoint num="0" id="1884" />
+<TGConnectingPoint num="1" id="1885" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1844" >
-<father id="1847" num="0" />
+<SUBCOMPONENT type="-1" id="1883" >
+<father id="1886" 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" />
@@ -4966,35 +4715,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1855" >
+<COMPONENT type="1012" id="1894" >
 <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="1851" />
-<TGConnectingPoint num="1" id="1852" />
-<TGConnectingPoint num="2" id="1853" />
-<TGConnectingPoint num="3" id="1854" />
+<TGConnectingPoint num="0" id="1890" />
+<TGConnectingPoint num="1" id="1891" />
+<TGConnectingPoint num="2" id="1892" />
+<TGConnectingPoint num="3" id="1893" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1848" >
-<father id="1855" num="0" />
+<SUBCOMPONENT type="-1" id="1887" >
+<father id="1894" num="0" />
 <cdparam x="949" y="793" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1849" >
-<father id="1855" num="1" />
+<SUBCOMPONENT type="-1" id="1888" >
+<father id="1894" num="1" />
 <cdparam x="1028" y="790" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1850" >
-<father id="1855" num="2" />
+<SUBCOMPONENT type="-1" id="1889" >
+<father id="1894" num="2" />
 <cdparam x="1013" y="825" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -5002,17 +4751,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1859" >
+<COMPONENT type="1013" id="1898" >
 <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="1857" />
-<TGConnectingPoint num="1" id="1858" />
+<TGConnectingPoint num="0" id="1896" />
+<TGConnectingPoint num="1" id="1897" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1856" >
-<father id="1859" num="0" />
+<SUBCOMPONENT type="-1" id="1895" >
+<father id="1898" 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" />
@@ -5020,17 +4769,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1863" >
+<COMPONENT type="1013" id="1902" >
 <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="1861" />
-<TGConnectingPoint num="1" id="1862" />
+<TGConnectingPoint num="0" id="1900" />
+<TGConnectingPoint num="1" id="1901" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1860" >
-<father id="1863" num="0" />
+<SUBCOMPONENT type="-1" id="1899" >
+<father id="1902" 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" />
@@ -5038,17 +4787,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1867" >
+<COMPONENT type="1013" id="1906" >
 <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="1865" />
-<TGConnectingPoint num="1" id="1866" />
+<TGConnectingPoint num="0" id="1904" />
+<TGConnectingPoint num="1" id="1905" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1864" >
-<father id="1867" num="0" />
+<SUBCOMPONENT type="-1" id="1903" >
+<father id="1906" 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" />
@@ -5056,17 +4805,17 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1871" >
+<COMPONENT type="1013" id="1910" >
 <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="1869" />
-<TGConnectingPoint num="1" id="1870" />
+<TGConnectingPoint num="0" id="1908" />
+<TGConnectingPoint num="1" id="1909" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1868" >
-<father id="1871" num="0" />
+<SUBCOMPONENT type="-1" id="1907" >
+<father id="1910" 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" />
@@ -5074,35 +4823,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1879" >
+<COMPONENT type="1012" id="1918" >
 <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="1875" />
-<TGConnectingPoint num="1" id="1876" />
-<TGConnectingPoint num="2" id="1877" />
-<TGConnectingPoint num="3" id="1878" />
+<TGConnectingPoint num="0" id="1914" />
+<TGConnectingPoint num="1" id="1915" />
+<TGConnectingPoint num="2" id="1916" />
+<TGConnectingPoint num="3" id="1917" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1872" >
-<father id="1879" num="0" />
+<SUBCOMPONENT type="-1" id="1911" >
+<father id="1918" num="0" />
 <cdparam x="98" y="496" />
 <sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1873" >
-<father id="1879" num="1" />
+<SUBCOMPONENT type="-1" id="1912" >
+<father id="1918" num="1" />
 <cdparam x="208" y="496" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1874" >
-<father id="1879" num="2" />
+<SUBCOMPONENT type="-1" id="1913" >
+<father id="1918" num="2" />
 <cdparam x="193" y="531" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -5110,35 +4859,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1887" >
+<COMPONENT type="1012" id="1926" >
 <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="1883" />
-<TGConnectingPoint num="1" id="1884" />
-<TGConnectingPoint num="2" id="1885" />
-<TGConnectingPoint num="3" id="1886" />
+<TGConnectingPoint num="0" id="1922" />
+<TGConnectingPoint num="1" id="1923" />
+<TGConnectingPoint num="2" id="1924" />
+<TGConnectingPoint num="3" id="1925" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1880" >
-<father id="1887" num="0" />
+<SUBCOMPONENT type="-1" id="1919" >
+<father id="1926" num="0" />
 <cdparam x="317" y="202" />
 <sizeparam width="88" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1881" >
-<father id="1887" num="1" />
+<SUBCOMPONENT type="-1" id="1920" >
+<father id="1926" num="1" />
 <cdparam x="394" y="202" />
 <sizeparam width="98" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1882" >
-<father id="1887" num="2" />
+<SUBCOMPONENT type="-1" id="1921" >
+<father id="1926" num="2" />
 <cdparam x="379" y="237" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -5146,35 +4895,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1895" >
+<COMPONENT type="1012" id="1934" >
 <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="1891" />
-<TGConnectingPoint num="1" id="1892" />
-<TGConnectingPoint num="2" id="1893" />
-<TGConnectingPoint num="3" id="1894" />
+<TGConnectingPoint num="0" id="1930" />
+<TGConnectingPoint num="1" id="1931" />
+<TGConnectingPoint num="2" id="1932" />
+<TGConnectingPoint num="3" id="1933" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1888" >
-<father id="1895" num="0" />
+<SUBCOMPONENT type="-1" id="1927" >
+<father id="1934" num="0" />
 <cdparam x="398" y="592" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1889" >
-<father id="1895" num="1" />
+<SUBCOMPONENT type="-1" id="1928" >
+<father id="1934" num="1" />
 <cdparam x="500" y="599" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1890" >
-<father id="1895" num="2" />
+<SUBCOMPONENT type="-1" id="1929" >
+<father id="1934" num="2" />
 <cdparam x="469" y="627" />
 <sizeparam width="277" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -5182,35 +4931,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1903" >
+<COMPONENT type="1012" id="1942" >
 <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="1899" />
-<TGConnectingPoint num="1" id="1900" />
-<TGConnectingPoint num="2" id="1901" />
-<TGConnectingPoint num="3" id="1902" />
+<TGConnectingPoint num="0" id="1938" />
+<TGConnectingPoint num="1" id="1939" />
+<TGConnectingPoint num="2" id="1940" />
+<TGConnectingPoint num="3" id="1941" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1896" >
-<father id="1903" num="0" />
+<SUBCOMPONENT type="-1" id="1935" >
+<father id="1942" num="0" />
 <cdparam x="228" y="574" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1897" >
-<father id="1903" num="1" />
+<SUBCOMPONENT type="-1" id="1936" >
+<father id="1942" num="1" />
 <cdparam x="317" y="584" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1898" >
-<father id="1903" num="2" />
+<SUBCOMPONENT type="-1" id="1937" >
+<father id="1942" num="2" />
 <cdparam x="294" y="613" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -5218,16 +4967,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="1905" >
+<COMPONENT type="1000" id="1944" >
 <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="1904" />
+<TGConnectingPoint num="0" id="1943" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1922" >
+<COMPONENT type="301" id="1961" >
 <cdparam x="10" y="30" />
 <sizeparam width="98" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -5244,22 +4993,22 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 9: close wait
 10:last ack
 " />
-<TGConnectingPoint num="0" id="1906" />
-<TGConnectingPoint num="1" id="1907" />
-<TGConnectingPoint num="2" id="1908" />
-<TGConnectingPoint num="3" id="1909" />
-<TGConnectingPoint num="4" id="1910" />
-<TGConnectingPoint num="5" id="1911" />
-<TGConnectingPoint num="6" id="1912" />
-<TGConnectingPoint num="7" id="1913" />
-<TGConnectingPoint num="8" id="1914" />
-<TGConnectingPoint num="9" id="1915" />
-<TGConnectingPoint num="10" id="1916" />
-<TGConnectingPoint num="11" id="1917" />
-<TGConnectingPoint num="12" id="1918" />
-<TGConnectingPoint num="13" id="1919" />
-<TGConnectingPoint num="14" id="1920" />
-<TGConnectingPoint num="15" id="1921" />
+<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="8" id="1953" />
+<TGConnectingPoint num="9" id="1954" />
+<TGConnectingPoint num="10" id="1955" />
+<TGConnectingPoint num="11" id="1956" />
+<TGConnectingPoint num="12" id="1957" />
+<TGConnectingPoint num="13" id="1958" />
+<TGConnectingPoint num="14" id="1959" />
+<TGConnectingPoint num="15" id="1960" />
 <extraparam>
 <Line value="0: closed" />
 <Line value="1: Listen" />
@@ -5275,223 +5024,223 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1925" >
+<COMPONENT type="1011" id="1964" >
 <cdparam x="72" y="549" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="1923" />
-<TGConnectingPoint num="1" id="1924" />
+<TGConnectingPoint num="0" id="1962" />
+<TGConnectingPoint num="1" id="1963" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1927" >
+<COMPONENT type="1001" id="1966" >
 <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="1926" />
+<TGConnectingPoint num="0" id="1965" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="1930" >
+<COMPONENT type="1009" id="1969" >
 <cdparam x="964" y="585" />
 <sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromPtoT(1) " />
-<TGConnectingPoint num="0" id="1928" />
-<TGConnectingPoint num="1" id="1929" />
+<TGConnectingPoint num="0" id="1967" />
+<TGConnectingPoint num="1" id="1968" />
 <extraparam>
 <Data channelName="fromPtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="1934" >
+<COMPONENT type="1014" id="1973" >
 <cdparam x="144" y="79" />
 <sizeparam width="180" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" />
-<TGConnectingPoint num="0" id="1931" />
-<TGConnectingPoint num="1" id="1932" />
-<TGConnectingPoint num="2" id="1933" />
+<TGConnectingPoint num="0" id="1970" />
+<TGConnectingPoint num="1" id="1971" />
+<TGConnectingPoint num="2" id="1972" />
 <extraparam>
 <Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1936" >
+<COMPONENT type="1001" id="1975" >
 <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="1935" />
+<TGConnectingPoint num="0" id="1974" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1939" >
+<COMPONENT type="1011" id="1978" >
 <cdparam x="182" y="144" />
 <sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=0" />
-<TGConnectingPoint num="0" id="1937" />
-<TGConnectingPoint num="1" id="1938" />
+<TGConnectingPoint num="0" id="1976" />
+<TGConnectingPoint num="1" id="1977" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="1942" >
+<COMPONENT type="1017" id="1981" >
 <cdparam x="311" y="133" />
 <sizeparam width="127" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="notified event" value="tcpctrl.a=?abort()" />
-<TGConnectingPoint num="0" id="1940" />
-<TGConnectingPoint num="1" id="1941" />
+<TGConnectingPoint num="0" id="1979" />
+<TGConnectingPoint num="1" id="1980" />
 <extraparam>
 <Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1945" >
+<COMPONENT type="1009" id="1984" >
 <cdparam x="690" y="589" />
 <sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="1943" />
-<TGConnectingPoint num="1" id="1944" />
+<TGConnectingPoint num="0" id="1982" />
+<TGConnectingPoint num="1" id="1983" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1948" >
+<COMPONENT type="1010" id="1987" >
 <cdparam x="686" y="534" />
 <sizeparam width="73" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="timeOut() " />
-<TGConnectingPoint num="0" id="1946" />
-<TGConnectingPoint num="1" id="1947" />
+<TGConnectingPoint num="0" id="1985" />
+<TGConnectingPoint num="1" id="1986" />
 <extraparam>
 <Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1951" >
+<COMPONENT type="1010" id="1990" >
 <cdparam x="974" y="528" />
 <sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="receive() " />
-<TGConnectingPoint num="0" id="1949" />
-<TGConnectingPoint num="1" id="1950" />
+<TGConnectingPoint num="0" id="1988" />
+<TGConnectingPoint num="1" id="1989" />
 <extraparam>
 <Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1954" >
+<COMPONENT type="1010" id="1993" >
 <cdparam x="436" y="492" />
 <sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="close() " />
-<TGConnectingPoint num="0" id="1952" />
-<TGConnectingPoint num="1" id="1953" />
+<TGConnectingPoint num="0" id="1991" />
+<TGConnectingPoint num="1" id="1992" />
 <extraparam>
 <Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1957" >
+<COMPONENT type="1010" id="1996" >
 <cdparam x="247" y="468" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="send_TCP() " />
-<TGConnectingPoint num="0" id="1955" />
-<TGConnectingPoint num="1" id="1956" />
+<TGConnectingPoint num="0" id="1994" />
+<TGConnectingPoint num="1" id="1995" />
 <extraparam>
 <Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1960" >
+<COMPONENT type="1010" id="1999" >
 <cdparam x="160" y="419" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="open() " />
-<TGConnectingPoint num="0" id="1958" />
-<TGConnectingPoint num="1" id="1959" />
+<TGConnectingPoint num="0" id="1997" />
+<TGConnectingPoint num="1" id="1998" />
 <breakpoint />
 <extraparam>
 <Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1018" id="1971" >
+<COMPONENT type="1018" id="2010" >
 <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="1961" />
-<TGConnectingPoint num="1" id="1962" />
-<TGConnectingPoint num="2" id="1963" />
-<TGConnectingPoint num="3" id="1964" />
-<TGConnectingPoint num="4" id="1965" />
-<TGConnectingPoint num="5" id="1966" />
-<TGConnectingPoint num="6" id="1967" />
-<TGConnectingPoint num="7" id="1968" />
-<TGConnectingPoint num="8" id="1969" />
-<TGConnectingPoint num="9" id="1970" />
+<TGConnectingPoint num="0" id="2000" />
+<TGConnectingPoint num="1" id="2001" />
+<TGConnectingPoint num="2" id="2002" />
+<TGConnectingPoint num="3" id="2003" />
+<TGConnectingPoint num="4" id="2004" />
+<TGConnectingPoint num="5" id="2005" />
+<TGConnectingPoint num="6" id="2006" />
+<TGConnectingPoint num="7" id="2007" />
+<TGConnectingPoint num="8" id="2008" />
+<TGConnectingPoint num="9" id="2009" />
 <breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1973" >
+<COMPONENT type="1001" id="2012" >
 <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="1972" />
+<TGConnectingPoint num="0" id="2011" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1975" >
+<COMPONENT type="1001" id="2014" >
 <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="1974" />
+<TGConnectingPoint num="0" id="2013" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="1978" >
+<COMPONENT type="1010" id="2017" >
 <cdparam x="272" y="228" />
 <sizeparam width="58" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="abort() " />
-<TGConnectingPoint num="0" id="1976" />
-<TGConnectingPoint num="1" id="1977" />
+<TGConnectingPoint num="0" id="2015" />
+<TGConnectingPoint num="1" id="2016" />
 <extraparam>
 <Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1980" >
+<COMPONENT type="1001" id="2019" >
 <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="1979" />
+<TGConnectingPoint num="0" id="2018" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1997" >
+<COMPONENT type="301" id="2036" >
 <cdparam x="602" y="86" />
 <sizeparam width="393" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -5501,22 +5250,22 @@ ou depaquitiser un paquet TCP
 
 On prend b=1 comme exemple
 " />
-<TGConnectingPoint num="0" id="1981" />
-<TGConnectingPoint num="1" id="1982" />
-<TGConnectingPoint num="2" id="1983" />
-<TGConnectingPoint num="3" id="1984" />
-<TGConnectingPoint num="4" id="1985" />
-<TGConnectingPoint num="5" id="1986" />
-<TGConnectingPoint num="6" id="1987" />
-<TGConnectingPoint num="7" id="1988" />
-<TGConnectingPoint num="8" id="1989" />
-<TGConnectingPoint num="9" id="1990" />
-<TGConnectingPoint num="10" id="1991" />
-<TGConnectingPoint num="11" id="1992" />
-<TGConnectingPoint num="12" id="1993" />
-<TGConnectingPoint num="13" id="1994" />
-<TGConnectingPoint num="14" id="1995" />
-<TGConnectingPoint num="15" id="1996" />
+<TGConnectingPoint num="0" id="2020" />
+<TGConnectingPoint num="1" id="2021" />
+<TGConnectingPoint num="2" id="2022" />
+<TGConnectingPoint num="3" id="2023" />
+<TGConnectingPoint num="4" id="2024" />
+<TGConnectingPoint num="5" id="2025" />
+<TGConnectingPoint num="6" id="2026" />
+<TGConnectingPoint num="7" id="2027" />
+<TGConnectingPoint num="8" id="2028" />
+<TGConnectingPoint num="9" id="2029" />
+<TGConnectingPoint num="10" id="2030" />
+<TGConnectingPoint num="11" id="2031" />
+<TGConnectingPoint num="12" id="2032" />
+<TGConnectingPoint num="13" id="2033" />
+<TGConnectingPoint num="14" id="2034" />
+<TGConnectingPoint num="15" id="2035" />
 <extraparam>
 <Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
 <Line value="ou depaquitiser un paquet TCP" />
@@ -5525,2955 +5274,2830 @@ On prend b=1 comme exemple
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2000" >
+<COMPONENT type="1009" id="2039" >
 <cdparam x="186" y="808" />
 <sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromAtoT(1) " />
-<TGConnectingPoint num="0" id="1998" />
-<TGConnectingPoint num="1" id="1999" />
+<TGConnectingPoint num="0" id="2037" />
+<TGConnectingPoint num="1" id="2038" />
 <extraparam>
 <Data channelName="fromAtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2003" >
+<COMPONENT type="1006" id="2042" >
 <cdparam x="188" y="1002" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2001" />
-<TGConnectingPoint num="1" id="2002" />
+<TGConnectingPoint num="0" id="2040" />
+<TGConnectingPoint num="1" id="2041" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2005" >
+<COMPONENT type="1001" id="2044" >
 <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="2004" />
+<TGConnectingPoint num="0" id="2043" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2008" >
+<COMPONENT type="1011" id="2047" >
 <cdparam x="384" y="1032" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =5" />
-<TGConnectingPoint num="0" id="2006" />
-<TGConnectingPoint num="1" id="2007" />
+<TGConnectingPoint num="0" id="2045" />
+<TGConnectingPoint num="1" id="2046" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2010" >
+<COMPONENT type="1001" id="2049" >
 <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="2009" />
+<TGConnectingPoint num="0" id="2048" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2013" >
+<COMPONENT type="1011" id="2052" >
 <cdparam x="80" y="1041" />
 <sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=3" />
-<TGConnectingPoint num="0" id="2011" />
-<TGConnectingPoint num="1" id="2012" />
+<TGConnectingPoint num="0" id="2050" />
+<TGConnectingPoint num="1" id="2051" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2016" >
+<COMPONENT type="1006" id="2055" >
 <cdparam x="90" y="938" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2014" />
-<TGConnectingPoint num="1" id="2015" />
+<TGConnectingPoint num="0" id="2053" />
+<TGConnectingPoint num="1" id="2054" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2019" >
+<COMPONENT type="1011" id="2058" >
 <cdparam x="288" y="1026" />
 <sizeparam width="117" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =10" />
-<TGConnectingPoint num="0" id="2017" />
-<TGConnectingPoint num="1" id="2018" />
+<TGConnectingPoint num="0" id="2056" />
+<TGConnectingPoint num="1" id="2057" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2021" >
+<COMPONENT type="1001" id="2060" >
 <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="2020" />
+<TGConnectingPoint num="0" id="2059" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2024" >
+<COMPONENT type="1006" id="2063" >
 <cdparam x="397" y="941" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2022" />
-<TGConnectingPoint num="1" id="2023" />
+<TGConnectingPoint num="0" id="2061" />
+<TGConnectingPoint num="1" id="2062" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2027" >
+<COMPONENT type="1006" id="2066" >
 <cdparam x="304" y="900" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2025" />
-<TGConnectingPoint num="1" id="2026" />
+<TGConnectingPoint num="0" id="2064" />
+<TGConnectingPoint num="1" id="2065" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2029" >
+<COMPONENT type="1001" id="2068" >
 <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="2028" />
+<TGConnectingPoint num="0" id="2067" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2046" >
+<COMPONENT type="301" id="2085" >
 <cdparam x="998" y="850" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Fin
 " />
-<TGConnectingPoint num="0" id="2030" />
-<TGConnectingPoint num="1" id="2031" />
-<TGConnectingPoint num="2" id="2032" />
-<TGConnectingPoint num="3" id="2033" />
-<TGConnectingPoint num="4" id="2034" />
-<TGConnectingPoint num="5" id="2035" />
-<TGConnectingPoint num="6" id="2036" />
-<TGConnectingPoint num="7" id="2037" />
-<TGConnectingPoint num="8" id="2038" />
-<TGConnectingPoint num="9" id="2039" />
-<TGConnectingPoint num="10" id="2040" />
-<TGConnectingPoint num="11" id="2041" />
-<TGConnectingPoint num="12" id="2042" />
-<TGConnectingPoint num="13" id="2043" />
-<TGConnectingPoint num="14" id="2044" />
-<TGConnectingPoint num="15" id="2045" />
+<TGConnectingPoint num="0" id="2069" />
+<TGConnectingPoint num="1" id="2070" />
+<TGConnectingPoint num="2" id="2071" />
+<TGConnectingPoint num="3" id="2072" />
+<TGConnectingPoint num="4" id="2073" />
+<TGConnectingPoint num="5" id="2074" />
+<TGConnectingPoint num="6" id="2075" />
+<TGConnectingPoint num="7" id="2076" />
+<TGConnectingPoint num="8" id="2077" />
+<TGConnectingPoint num="9" id="2078" />
+<TGConnectingPoint num="10" id="2079" />
+<TGConnectingPoint num="11" id="2080" />
+<TGConnectingPoint num="12" id="2081" />
+<TGConnectingPoint num="13" id="2082" />
+<TGConnectingPoint num="14" id="2083" />
+<TGConnectingPoint num="15" id="2084" />
 <extraparam>
 <Line value="Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2049" >
+<COMPONENT type="1011" id="2088" >
 <cdparam x="674" y="965" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="2047" />
-<TGConnectingPoint num="1" id="2048" />
+<TGConnectingPoint num="0" id="2086" />
+<TGConnectingPoint num="1" id="2087" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2051" >
+<COMPONENT type="1001" id="2090" >
 <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="2050" />
+<TGConnectingPoint num="0" id="2089" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2054" >
+<COMPONENT type="1006" id="2093" >
 <cdparam x="758" y="1086" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2052" />
-<TGConnectingPoint num="1" id="2053" />
+<TGConnectingPoint num="0" id="2091" />
+<TGConnectingPoint num="1" id="2092" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2071" >
+<COMPONENT type="301" id="2110" >
 <cdparam x="781" y="950" />
 <sizeparam width="94" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Active Open
 " />
-<TGConnectingPoint num="0" id="2055" />
-<TGConnectingPoint num="1" id="2056" />
-<TGConnectingPoint num="2" id="2057" />
-<TGConnectingPoint num="3" id="2058" />
-<TGConnectingPoint num="4" id="2059" />
-<TGConnectingPoint num="5" id="2060" />
-<TGConnectingPoint num="6" id="2061" />
-<TGConnectingPoint num="7" id="2062" />
-<TGConnectingPoint num="8" id="2063" />
-<TGConnectingPoint num="9" id="2064" />
-<TGConnectingPoint num="10" id="2065" />
-<TGConnectingPoint num="11" id="2066" />
-<TGConnectingPoint num="12" id="2067" />
-<TGConnectingPoint num="13" id="2068" />
-<TGConnectingPoint num="14" id="2069" />
-<TGConnectingPoint num="15" id="2070" />
+<TGConnectingPoint num="0" id="2094" />
+<TGConnectingPoint num="1" id="2095" />
+<TGConnectingPoint num="2" id="2096" />
+<TGConnectingPoint num="3" id="2097" />
+<TGConnectingPoint num="4" id="2098" />
+<TGConnectingPoint num="5" id="2099" />
+<TGConnectingPoint num="6" id="2100" />
+<TGConnectingPoint num="7" id="2101" />
+<TGConnectingPoint num="8" id="2102" />
+<TGConnectingPoint num="9" id="2103" />
+<TGConnectingPoint num="10" id="2104" />
+<TGConnectingPoint num="11" id="2105" />
+<TGConnectingPoint num="12" id="2106" />
+<TGConnectingPoint num="13" id="2107" />
+<TGConnectingPoint num="14" id="2108" />
+<TGConnectingPoint num="15" id="2109" />
 <extraparam>
 <Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2088" >
+<COMPONENT type="301" id="2127" >
 <cdparam x="715" y="907" />
 <sizeparam width="104" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Passive Open
 " />
-<TGConnectingPoint num="0" id="2072" />
-<TGConnectingPoint num="1" id="2073" />
-<TGConnectingPoint num="2" id="2074" />
-<TGConnectingPoint num="3" id="2075" />
-<TGConnectingPoint num="4" id="2076" />
-<TGConnectingPoint num="5" id="2077" />
-<TGConnectingPoint num="6" id="2078" />
-<TGConnectingPoint num="7" id="2079" />
-<TGConnectingPoint num="8" id="2080" />
-<TGConnectingPoint num="9" id="2081" />
-<TGConnectingPoint num="10" id="2082" />
-<TGConnectingPoint num="11" id="2083" />
-<TGConnectingPoint num="12" id="2084" />
-<TGConnectingPoint num="13" id="2085" />
-<TGConnectingPoint num="14" id="2086" />
-<TGConnectingPoint num="15" id="2087" />
+<TGConnectingPoint num="0" id="2111" />
+<TGConnectingPoint num="1" id="2112" />
+<TGConnectingPoint num="2" id="2113" />
+<TGConnectingPoint num="3" id="2114" />
+<TGConnectingPoint num="4" id="2115" />
+<TGConnectingPoint num="5" id="2116" />
+<TGConnectingPoint num="6" id="2117" />
+<TGConnectingPoint num="7" id="2118" />
+<TGConnectingPoint num="8" id="2119" />
+<TGConnectingPoint num="9" id="2120" />
+<TGConnectingPoint num="10" id="2121" />
+<TGConnectingPoint num="11" id="2122" />
+<TGConnectingPoint num="12" id="2123" />
+<TGConnectingPoint num="13" id="2124" />
+<TGConnectingPoint num="14" id="2125" />
+<TGConnectingPoint num="15" id="2126" />
 <extraparam>
 <Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2091" >
+<COMPONENT type="1011" id="2130" >
 <cdparam x="745" y="1193" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =3" />
-<TGConnectingPoint num="0" id="2089" />
-<TGConnectingPoint num="1" id="2090" />
+<TGConnectingPoint num="0" id="2128" />
+<TGConnectingPoint num="1" id="2129" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2094" >
+<COMPONENT type="1011" id="2133" >
 <cdparam x="442" y="768" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="2092" />
-<TGConnectingPoint num="1" id="2093" />
+<TGConnectingPoint num="0" id="2131" />
+<TGConnectingPoint num="1" id="2132" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2096" >
+<COMPONENT type="1001" id="2135" >
 <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="2095" />
+<TGConnectingPoint num="0" id="2134" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2099" >
+<COMPONENT type="1006" id="2138" >
 <cdparam x="901" y="1123" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2097" />
-<TGConnectingPoint num="1" id="2098" />
+<TGConnectingPoint num="0" id="2136" />
+<TGConnectingPoint num="1" id="2137" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2116" >
+<COMPONENT type="301" id="2155" >
 <cdparam x="884" y="1068" />
 <sizeparam width="115" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="2100" />
-<TGConnectingPoint num="1" id="2101" />
-<TGConnectingPoint num="2" id="2102" />
-<TGConnectingPoint num="3" id="2103" />
-<TGConnectingPoint num="4" id="2104" />
-<TGConnectingPoint num="5" id="2105" />
-<TGConnectingPoint num="6" id="2106" />
-<TGConnectingPoint num="7" id="2107" />
-<TGConnectingPoint num="8" id="2108" />
-<TGConnectingPoint num="9" id="2109" />
-<TGConnectingPoint num="10" id="2110" />
-<TGConnectingPoint num="11" id="2111" />
-<TGConnectingPoint num="12" id="2112" />
-<TGConnectingPoint num="13" id="2113" />
-<TGConnectingPoint num="14" id="2114" />
-<TGConnectingPoint num="15" id="2115" />
+<TGConnectingPoint num="0" id="2139" />
+<TGConnectingPoint num="1" id="2140" />
+<TGConnectingPoint num="2" id="2141" />
+<TGConnectingPoint num="3" id="2142" />
+<TGConnectingPoint num="4" id="2143" />
+<TGConnectingPoint num="5" id="2144" />
+<TGConnectingPoint num="6" id="2145" />
+<TGConnectingPoint num="7" id="2146" />
+<TGConnectingPoint num="8" id="2147" />
+<TGConnectingPoint num="9" id="2148" />
+<TGConnectingPoint num="10" id="2149" />
+<TGConnectingPoint num="11" id="2150" />
+<TGConnectingPoint num="12" id="2151" />
+<TGConnectingPoint num="13" id="2152" />
+<TGConnectingPoint num="14" id="2153" />
+<TGConnectingPoint num="15" id="2154" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2119" >
+<COMPONENT type="1011" id="2158" >
 <cdparam x="889" y="1234" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =9" />
-<TGConnectingPoint num="0" id="2117" />
-<TGConnectingPoint num="1" id="2118" />
+<TGConnectingPoint num="0" id="2156" />
+<TGConnectingPoint num="1" id="2157" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2121" >
+<COMPONENT type="1001" id="2160" >
 <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="2120" />
+<TGConnectingPoint num="0" id="2159" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2124" >
+<COMPONENT type="1006" id="2163" >
 <cdparam x="1007" y="1155" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2122" />
-<TGConnectingPoint num="1" id="2123" />
+<TGConnectingPoint num="0" id="2161" />
+<TGConnectingPoint num="1" id="2162" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2141" >
+<COMPONENT type="301" id="2180" >
 <cdparam x="1000" y="1094" />
 <sizeparam width="115" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="2125" />
-<TGConnectingPoint num="1" id="2126" />
-<TGConnectingPoint num="2" id="2127" />
-<TGConnectingPoint num="3" id="2128" />
-<TGConnectingPoint num="4" id="2129" />
-<TGConnectingPoint num="5" id="2130" />
-<TGConnectingPoint num="6" id="2131" />
-<TGConnectingPoint num="7" id="2132" />
-<TGConnectingPoint num="8" id="2133" />
-<TGConnectingPoint num="9" id="2134" />
-<TGConnectingPoint num="10" id="2135" />
-<TGConnectingPoint num="11" id="2136" />
-<TGConnectingPoint num="12" id="2137" />
-<TGConnectingPoint num="13" id="2138" />
-<TGConnectingPoint num="14" id="2139" />
-<TGConnectingPoint num="15" id="2140" />
+<TGConnectingPoint num="0" id="2164" />
+<TGConnectingPoint num="1" id="2165" />
+<TGConnectingPoint num="2" id="2166" />
+<TGConnectingPoint num="3" id="2167" />
+<TGConnectingPoint num="4" id="2168" />
+<TGConnectingPoint num="5" id="2169" />
+<TGConnectingPoint num="6" id="2170" />
+<TGConnectingPoint num="7" id="2171" />
+<TGConnectingPoint num="8" id="2172" />
+<TGConnectingPoint num="9" id="2173" />
+<TGConnectingPoint num="10" id="2174" />
+<TGConnectingPoint num="11" id="2175" />
+<TGConnectingPoint num="12" id="2176" />
+<TGConnectingPoint num="13" id="2177" />
+<TGConnectingPoint num="14" id="2178" />
+<TGConnectingPoint num="15" id="2179" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2144" >
+<COMPONENT type="1011" id="2183" >
 <cdparam x="995" y="1266" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =7" />
-<TGConnectingPoint num="0" id="2142" />
-<TGConnectingPoint num="1" id="2143" />
+<TGConnectingPoint num="0" id="2181" />
+<TGConnectingPoint num="1" id="2182" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2146" >
+<COMPONENT type="1001" id="2185" >
 <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="2145" />
+<TGConnectingPoint num="0" id="2184" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2149" >
+<COMPONENT type="1006" id="2188" >
 <cdparam x="680" y="758" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2147" />
-<TGConnectingPoint num="1" id="2148" />
+<TGConnectingPoint num="0" id="2186" />
+<TGConnectingPoint num="1" id="2187" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2151" >
+<COMPONENT type="1001" id="2190" >
 <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="2150" />
+<TGConnectingPoint num="0" id="2189" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2154" >
+<COMPONENT type="1007" id="2193" >
 <cdparam x="92" y="1100" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="2152" />
-<TGConnectingPoint num="1" id="2153" />
+<TGConnectingPoint num="0" id="2191" />
+<TGConnectingPoint num="1" id="2192" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2157" >
+<COMPONENT type="1006" id="2196" >
 <cdparam x="102" y="1167" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="2155" />
-<TGConnectingPoint num="1" id="2156" />
+<TGConnectingPoint num="0" id="2194" />
+<TGConnectingPoint num="1" id="2195" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2159" >
+<COMPONENT type="1001" id="2198" >
 <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="2158" />
+<TGConnectingPoint num="0" id="2197" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2162" >
+<COMPONENT type="1007" id="2201" >
 <cdparam x="189" y="1102" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="2160" />
-<TGConnectingPoint num="1" id="2161" />
+<TGConnectingPoint num="0" id="2199" />
+<TGConnectingPoint num="1" id="2200" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2165" >
+<COMPONENT type="1006" id="2204" >
 <cdparam x="199" y="1169" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="2163" />
-<TGConnectingPoint num="1" id="2164" />
+<TGConnectingPoint num="0" id="2202" />
+<TGConnectingPoint num="1" id="2203" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="2168" >
+<COMPONENT type="1007" id="2207" >
 <cdparam x="306" y="1106" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="2166" />
-<TGConnectingPoint num="1" id="2167" />
+<TGConnectingPoint num="0" id="2205" />
+<TGConnectingPoint num="1" id="2206" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2171" >
+<COMPONENT type="1006" id="2210" >
 <cdparam x="316" y="1173" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="2169" />
-<TGConnectingPoint num="1" id="2170" />
+<TGConnectingPoint num="0" id="2208" />
+<TGConnectingPoint num="1" id="2209" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="2174" >
+<COMPONENT type="1007" id="2213" >
 <cdparam x="398" y="1090" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="2172" />
-<TGConnectingPoint num="1" id="2173" />
+<TGConnectingPoint num="0" id="2211" />
+<TGConnectingPoint num="1" id="2212" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2177" >
+<COMPONENT type="1006" id="2216" >
 <cdparam x="408" y="1159" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="2175" />
-<TGConnectingPoint num="1" id="2176" />
+<TGConnectingPoint num="0" id="2214" />
+<TGConnectingPoint num="1" id="2215" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2180" >
+<COMPONENT type="1011" id="2219" >
 <cdparam x="52" y="861" />
 <sizeparam width="160" 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="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="2178" />
-<TGConnectingPoint num="1" id="2179" />
+<TGConnectingPoint num="0" id="2217" />
+<TGConnectingPoint num="1" id="2218" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2183" >
+<COMPONENT type="1011" id="2222" >
 <cdparam x="150" y="940" />
 <sizeparam width="160" 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="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="2181" />
-<TGConnectingPoint num="1" id="2182" />
+<TGConnectingPoint num="0" id="2220" />
+<TGConnectingPoint num="1" id="2221" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2186" >
+<COMPONENT type="1011" id="2225" >
 <cdparam x="359" y="865" />
 <sizeparam width="160" 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="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="2184" />
-<TGConnectingPoint num="1" id="2185" />
+<TGConnectingPoint num="0" id="2223" />
+<TGConnectingPoint num="1" id="2224" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2189" >
+<COMPONENT type="1011" id="2228" >
 <cdparam x="266" y="831" />
 <sizeparam width="160" 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="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="2187" />
-<TGConnectingPoint num="1" id="2188" />
+<TGConnectingPoint num="0" id="2226" />
+<TGConnectingPoint num="1" id="2227" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2192" >
+<COMPONENT type="1008" id="2231" >
 <cdparam x="204" y="1052" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2190" />
-<TGConnectingPoint num="1" id="2191" />
+<TGConnectingPoint num="0" id="2229" />
+<TGConnectingPoint num="1" id="2230" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2195" >
+<COMPONENT type="1008" id="2234" >
 <cdparam x="321" y="962" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2193" />
-<TGConnectingPoint num="1" id="2194" />
+<TGConnectingPoint num="0" id="2232" />
+<TGConnectingPoint num="1" id="2233" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2198" >
+<COMPONENT type="1008" id="2237" >
 <cdparam x="413" y="983" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2196" />
-<TGConnectingPoint num="1" id="2197" />
+<TGConnectingPoint num="0" id="2235" />
+<TGConnectingPoint num="1" id="2236" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2201" >
+<COMPONENT type="1008" id="2240" >
 <cdparam x="107" y="986" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2199" />
-<TGConnectingPoint num="1" id="2200" />
+<TGConnectingPoint num="0" id="2238" />
+<TGConnectingPoint num="1" id="2239" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2204" >
+<COMPONENT type="1008" id="2243" >
 <cdparam x="697" y="813" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2202" />
-<TGConnectingPoint num="1" id="2203" />
+<TGConnectingPoint num="0" id="2241" />
+<TGConnectingPoint num="1" id="2242" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2207" >
+<COMPONENT type="1008" id="2246" >
 <cdparam x="773" y="1141" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2205" />
-<TGConnectingPoint num="1" id="2206" />
+<TGConnectingPoint num="0" id="2244" />
+<TGConnectingPoint num="1" id="2245" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2210" >
+<COMPONENT type="1008" id="2249" >
 <cdparam x="918" y="1178" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2208" />
-<TGConnectingPoint num="1" id="2209" />
+<TGConnectingPoint num="0" id="2247" />
+<TGConnectingPoint num="1" id="2248" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2213" >
+<COMPONENT type="1008" id="2252" >
 <cdparam x="1024" y="1211" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2211" />
-<TGConnectingPoint num="1" id="2212" />
+<TGConnectingPoint num="0" id="2250" />
+<TGConnectingPoint num="1" id="2251" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2215" >
+<COMPONENT type="1001" id="2254" >
 <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="2214" />
+<TGConnectingPoint num="0" id="2253" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2217" >
+<COMPONENT type="1001" id="2256" >
 <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="2216" />
+<TGConnectingPoint num="0" id="2255" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2220" >
+<COMPONENT type="1006" id="2259" >
 <cdparam x="1166" y="1214" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2218" />
-<TGConnectingPoint num="1" id="2219" />
+<TGConnectingPoint num="0" id="2257" />
+<TGConnectingPoint num="1" id="2258" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2237" >
+<COMPONENT type="301" id="2276" >
 <cdparam x="1159" y="1153" />
 <sizeparam width="115" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="2221" />
-<TGConnectingPoint num="1" id="2222" />
-<TGConnectingPoint num="2" id="2223" />
-<TGConnectingPoint num="3" id="2224" />
-<TGConnectingPoint num="4" id="2225" />
-<TGConnectingPoint num="5" id="2226" />
-<TGConnectingPoint num="6" id="2227" />
-<TGConnectingPoint num="7" id="2228" />
-<TGConnectingPoint num="8" id="2229" />
-<TGConnectingPoint num="9" id="2230" />
-<TGConnectingPoint num="10" id="2231" />
-<TGConnectingPoint num="11" id="2232" />
-<TGConnectingPoint num="12" id="2233" />
-<TGConnectingPoint num="13" id="2234" />
-<TGConnectingPoint num="14" id="2235" />
-<TGConnectingPoint num="15" id="2236" />
+<TGConnectingPoint num="0" id="2260" />
+<TGConnectingPoint num="1" id="2261" />
+<TGConnectingPoint num="2" id="2262" />
+<TGConnectingPoint num="3" id="2263" />
+<TGConnectingPoint num="4" id="2264" />
+<TGConnectingPoint num="5" id="2265" />
+<TGConnectingPoint num="6" id="2266" />
+<TGConnectingPoint num="7" id="2267" />
+<TGConnectingPoint num="8" id="2268" />
+<TGConnectingPoint num="9" id="2269" />
+<TGConnectingPoint num="10" id="2270" />
+<TGConnectingPoint num="11" id="2271" />
+<TGConnectingPoint num="12" id="2272" />
+<TGConnectingPoint num="13" id="2273" />
+<TGConnectingPoint num="14" id="2274" />
+<TGConnectingPoint num="15" id="2275" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2240" >
+<COMPONENT type="1011" id="2279" >
 <cdparam x="1154" y="1295" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="2238" />
-<TGConnectingPoint num="1" id="2239" />
+<TGConnectingPoint num="0" id="2277" />
+<TGConnectingPoint num="1" id="2278" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2242" >
+<COMPONENT type="1001" id="2281" >
 <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="2241" />
+<TGConnectingPoint num="0" id="2280" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2245" >
+<COMPONENT type="1011" id="2284" >
 <cdparam x="1153" y="1402" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="2243" />
-<TGConnectingPoint num="1" id="2244" />
+<TGConnectingPoint num="0" id="2282" />
+<TGConnectingPoint num="1" id="2283" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2248" >
+<COMPONENT type="1008" id="2287" >
 <cdparam x="1183" y="1351" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2246" />
-<TGConnectingPoint num="1" id="2247" />
+<TGConnectingPoint num="0" id="2285" />
+<TGConnectingPoint num="1" id="2286" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2250" >
+<COMPONENT type="1001" id="2289" >
 <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="2249" />
+<TGConnectingPoint num="0" id="2288" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2252" >
+<COMPONENT type="1001" id="2291" >
 <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="2251" />
+<TGConnectingPoint num="0" id="2290" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2255" >
+<COMPONENT type="1006" id="2294" >
 <cdparam x="1487" y="1132" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoA(1)" />
-<TGConnectingPoint num="0" id="2253" />
-<TGConnectingPoint num="1" id="2254" />
+<TGConnectingPoint num="0" id="2292" />
+<TGConnectingPoint num="1" id="2293" />
 <extraparam>
 <Data channelName="fromTtoA" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2258" >
+<COMPONENT type="1006" id="2297" >
 <cdparam x="1487" y="1348" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2256" />
-<TGConnectingPoint num="1" id="2257" />
+<TGConnectingPoint num="0" id="2295" />
+<TGConnectingPoint num="1" id="2296" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2261" >
+<COMPONENT type="1008" id="2300" >
 <cdparam x="1707" y="1026" />
 <sizeparam width="48" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="stop()" />
-<TGConnectingPoint num="0" id="2259" />
-<TGConnectingPoint num="1" id="2260" />
+<TGConnectingPoint num="0" id="2298" />
+<TGConnectingPoint num="1" id="2299" />
 <extraparam>
 <Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2278" >
+<COMPONENT type="301" id="2317" >
 <cdparam x="1759" y="1192" />
 <sizeparam width="92" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Correct ack
 " />
-<TGConnectingPoint num="0" id="2262" />
-<TGConnectingPoint num="1" id="2263" />
-<TGConnectingPoint num="2" id="2264" />
-<TGConnectingPoint num="3" id="2265" />
-<TGConnectingPoint num="4" id="2266" />
-<TGConnectingPoint num="5" id="2267" />
-<TGConnectingPoint num="6" id="2268" />
-<TGConnectingPoint num="7" id="2269" />
-<TGConnectingPoint num="8" id="2270" />
-<TGConnectingPoint num="9" id="2271" />
-<TGConnectingPoint num="10" id="2272" />
-<TGConnectingPoint num="11" id="2273" />
-<TGConnectingPoint num="12" id="2274" />
-<TGConnectingPoint num="13" id="2275" />
-<TGConnectingPoint num="14" id="2276" />
-<TGConnectingPoint num="15" id="2277" />
+<TGConnectingPoint num="0" id="2301" />
+<TGConnectingPoint num="1" id="2302" />
+<TGConnectingPoint num="2" id="2303" />
+<TGConnectingPoint num="3" id="2304" />
+<TGConnectingPoint num="4" id="2305" />
+<TGConnectingPoint num="5" id="2306" />
+<TGConnectingPoint num="6" id="2307" />
+<TGConnectingPoint num="7" id="2308" />
+<TGConnectingPoint num="8" id="2309" />
+<TGConnectingPoint num="9" id="2310" />
+<TGConnectingPoint num="10" id="2311" />
+<TGConnectingPoint num="11" id="2312" />
+<TGConnectingPoint num="12" id="2313" />
+<TGConnectingPoint num="13" id="2314" />
+<TGConnectingPoint num="14" id="2315" />
+<TGConnectingPoint num="15" id="2316" />
 <extraparam>
 <Line value="Correct ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2295" >
+<COMPONENT type="301" id="2334" >
 <cdparam x="1635" y="1168" />
 <sizeparam width="76" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="false ack
 " />
-<TGConnectingPoint num="0" id="2279" />
-<TGConnectingPoint num="1" id="2280" />
-<TGConnectingPoint num="2" id="2281" />
-<TGConnectingPoint num="3" id="2282" />
-<TGConnectingPoint num="4" id="2283" />
-<TGConnectingPoint num="5" id="2284" />
-<TGConnectingPoint num="6" id="2285" />
-<TGConnectingPoint num="7" id="2286" />
-<TGConnectingPoint num="8" id="2287" />
-<TGConnectingPoint num="9" id="2288" />
-<TGConnectingPoint num="10" id="2289" />
-<TGConnectingPoint num="11" id="2290" />
-<TGConnectingPoint num="12" id="2291" />
-<TGConnectingPoint num="13" id="2292" />
-<TGConnectingPoint num="14" id="2293" />
-<TGConnectingPoint num="15" id="2294" />
+<TGConnectingPoint num="0" id="2318" />
+<TGConnectingPoint num="1" id="2319" />
+<TGConnectingPoint num="2" id="2320" />
+<TGConnectingPoint num="3" id="2321" />
+<TGConnectingPoint num="4" id="2322" />
+<TGConnectingPoint num="5" id="2323" />
+<TGConnectingPoint num="6" id="2324" />
+<TGConnectingPoint num="7" id="2325" />
+<TGConnectingPoint num="8" id="2326" />
+<TGConnectingPoint num="9" id="2327" />
+<TGConnectingPoint num="10" id="2328" />
+<TGConnectingPoint num="11" id="2329" />
+<TGConnectingPoint num="12" id="2330" />
+<TGConnectingPoint num="13" id="2331" />
+<TGConnectingPoint num="14" id="2332" />
+<TGConnectingPoint num="15" id="2333" />
 <extraparam>
 <Line value="false ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2298" >
+<COMPONENT type="1006" id="2337" >
 <cdparam x="1599" y="1299" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2296" />
-<TGConnectingPoint num="1" id="2297" />
+<TGConnectingPoint num="0" id="2335" />
+<TGConnectingPoint num="1" id="2336" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2300" >
+<COMPONENT type="1001" id="2339" >
 <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="2299" />
+<TGConnectingPoint num="0" id="2338" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2317" >
+<COMPONENT type="301" id="2356" >
 <cdparam x="1469" y="1295" />
 <sizeparam width="137" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="return acknowldge
 " />
-<TGConnectingPoint num="0" id="2301" />
-<TGConnectingPoint num="1" id="2302" />
-<TGConnectingPoint num="2" id="2303" />
-<TGConnectingPoint num="3" id="2304" />
-<TGConnectingPoint num="4" id="2305" />
-<TGConnectingPoint num="5" id="2306" />
-<TGConnectingPoint num="6" id="2307" />
-<TGConnectingPoint num="7" id="2308" />
-<TGConnectingPoint num="8" id="2309" />
-<TGConnectingPoint num="9" id="2310" />
-<TGConnectingPoint num="10" id="2311" />
-<TGConnectingPoint num="11" id="2312" />
-<TGConnectingPoint num="12" id="2313" />
-<TGConnectingPoint num="13" id="2314" />
-<TGConnectingPoint num="14" id="2315" />
-<TGConnectingPoint num="15" id="2316" />
+<TGConnectingPoint num="0" id="2340" />
+<TGConnectingPoint num="1" id="2341" />
+<TGConnectingPoint num="2" id="2342" />
+<TGConnectingPoint num="3" id="2343" />
+<TGConnectingPoint num="4" id="2344" />
+<TGConnectingPoint num="5" id="2345" />
+<TGConnectingPoint num="6" id="2346" />
+<TGConnectingPoint num="7" id="2347" />
+<TGConnectingPoint num="8" id="2348" />
+<TGConnectingPoint num="9" id="2349" />
+<TGConnectingPoint num="10" id="2350" />
+<TGConnectingPoint num="11" id="2351" />
+<TGConnectingPoint num="12" id="2352" />
+<TGConnectingPoint num="13" id="2353" />
+<TGConnectingPoint num="14" id="2354" />
+<TGConnectingPoint num="15" id="2355" />
 <extraparam>
 <Line value="return acknowldge" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2334" >
+<COMPONENT type="301" id="2373" >
 <cdparam x="1620" y="927" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="data
 " />
-<TGConnectingPoint num="0" id="2318" />
-<TGConnectingPoint num="1" id="2319" />
-<TGConnectingPoint num="2" id="2320" />
-<TGConnectingPoint num="3" id="2321" />
-<TGConnectingPoint num="4" id="2322" />
-<TGConnectingPoint num="5" id="2323" />
-<TGConnectingPoint num="6" id="2324" />
-<TGConnectingPoint num="7" id="2325" />
-<TGConnectingPoint num="8" id="2326" />
-<TGConnectingPoint num="9" id="2327" />
-<TGConnectingPoint num="10" id="2328" />
-<TGConnectingPoint num="11" id="2329" />
-<TGConnectingPoint num="12" id="2330" />
-<TGConnectingPoint num="13" id="2331" />
-<TGConnectingPoint num="14" id="2332" />
-<TGConnectingPoint num="15" id="2333" />
+<TGConnectingPoint num="0" id="2357" />
+<TGConnectingPoint num="1" id="2358" />
+<TGConnectingPoint num="2" id="2359" />
+<TGConnectingPoint num="3" id="2360" />
+<TGConnectingPoint num="4" id="2361" />
+<TGConnectingPoint num="5" id="2362" />
+<TGConnectingPoint num="6" id="2363" />
+<TGConnectingPoint num="7" id="2364" />
+<TGConnectingPoint num="8" id="2365" />
+<TGConnectingPoint num="9" id="2366" />
+<TGConnectingPoint num="10" id="2367" />
+<TGConnectingPoint num="11" id="2368" />
+<TGConnectingPoint num="12" id="2369" />
+<TGConnectingPoint num="13" id="2370" />
+<TGConnectingPoint num="14" id="2371" />
+<TGConnectingPoint num="15" id="2372" />
 <extraparam>
 <Line value="data" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2337" >
+<COMPONENT type="1008" id="2376" >
 <cdparam x="1504" y="1405" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2335" />
-<TGConnectingPoint num="1" id="2336" />
+<TGConnectingPoint num="0" id="2374" />
+<TGConnectingPoint num="1" id="2375" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2340" >
+<COMPONENT type="1008" id="2379" >
 <cdparam x="1617" y="1348" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2338" />
-<TGConnectingPoint num="1" id="2339" />
+<TGConnectingPoint num="0" id="2377" />
+<TGConnectingPoint num="1" id="2378" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2343" >
+<COMPONENT type="1006" id="2382" >
 <cdparam x="1612" y="1404" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="2341" />
-<TGConnectingPoint num="1" id="2342" />
+<TGConnectingPoint num="0" id="2380" />
+<TGConnectingPoint num="1" id="2381" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2345" >
+<COMPONENT type="1001" id="2384" >
 <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="2344" />
+<TGConnectingPoint num="0" id="2383" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2348" >
+<COMPONENT type="1011" id="2387" >
 <cdparam x="1772" y="1349" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =4" />
-<TGConnectingPoint num="0" id="2346" />
-<TGConnectingPoint num="1" id="2347" />
+<TGConnectingPoint num="0" id="2385" />
+<TGConnectingPoint num="1" id="2386" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2350" >
+<COMPONENT type="1001" id="2389" >
 <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="2349" />
+<TGConnectingPoint num="0" id="2388" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2353" >
+<COMPONENT type="1011" id="2392" >
 <cdparam x="1866" y="1411" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =6" />
-<TGConnectingPoint num="0" id="2351" />
-<TGConnectingPoint num="1" id="2352" />
+<TGConnectingPoint num="0" id="2390" />
+<TGConnectingPoint num="1" id="2391" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2355" >
+<COMPONENT type="1001" id="2394" >
 <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="2354" />
+<TGConnectingPoint num="0" id="2393" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2357" >
+<COMPONENT type="1001" id="2396" >
 <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="2356" />
+<TGConnectingPoint num="0" id="2395" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2360" >
+<COMPONENT type="1011" id="2399" >
 <cdparam x="2047" y="1466" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="2358" />
-<TGConnectingPoint num="1" id="2359" />
+<TGConnectingPoint num="0" id="2397" />
+<TGConnectingPoint num="1" id="2398" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2362" >
+<COMPONENT type="1001" id="2401" >
 <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="2361" />
+<TGConnectingPoint num="0" id="2400" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2365" >
+<COMPONENT type="1011" id="2404" >
 <cdparam x="1942" y="1493" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="2363" />
-<TGConnectingPoint num="1" id="2364" />
+<TGConnectingPoint num="0" id="2402" />
+<TGConnectingPoint num="1" id="2403" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2368" >
+<COMPONENT type="1011" id="2407" >
 <cdparam x="1942" y="1434" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="2366" />
-<TGConnectingPoint num="1" id="2367" />
+<TGConnectingPoint num="0" id="2405" />
+<TGConnectingPoint num="1" id="2406" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2385" >
+<COMPONENT type="301" id="2424" >
 <cdparam x="1825" y="889" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Syn
 " />
-<TGConnectingPoint num="0" id="2369" />
-<TGConnectingPoint num="1" id="2370" />
-<TGConnectingPoint num="2" id="2371" />
-<TGConnectingPoint num="3" id="2372" />
-<TGConnectingPoint num="4" id="2373" />
-<TGConnectingPoint num="5" id="2374" />
-<TGConnectingPoint num="6" id="2375" />
-<TGConnectingPoint num="7" id="2376" />
-<TGConnectingPoint num="8" id="2377" />
-<TGConnectingPoint num="9" id="2378" />
-<TGConnectingPoint num="10" id="2379" />
-<TGConnectingPoint num="11" id="2380" />
-<TGConnectingPoint num="12" id="2381" />
-<TGConnectingPoint num="13" id="2382" />
-<TGConnectingPoint num="14" id="2383" />
-<TGConnectingPoint num="15" id="2384" />
+<TGConnectingPoint num="0" id="2408" />
+<TGConnectingPoint num="1" id="2409" />
+<TGConnectingPoint num="2" id="2410" />
+<TGConnectingPoint num="3" id="2411" />
+<TGConnectingPoint num="4" id="2412" />
+<TGConnectingPoint num="5" id="2413" />
+<TGConnectingPoint num="6" id="2414" />
+<TGConnectingPoint num="7" id="2415" />
+<TGConnectingPoint num="8" id="2416" />
+<TGConnectingPoint num="9" id="2417" />
+<TGConnectingPoint num="10" id="2418" />
+<TGConnectingPoint num="11" id="2419" />
+<TGConnectingPoint num="12" id="2420" />
+<TGConnectingPoint num="13" id="2421" />
+<TGConnectingPoint num="14" id="2422" />
+<TGConnectingPoint num="15" id="2423" />
 <extraparam>
 <Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2402" >
+<COMPONENT type="301" id="2441" >
 <cdparam x="1707" y="945" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="ack
 " />
-<TGConnectingPoint num="0" id="2386" />
-<TGConnectingPoint num="1" id="2387" />
-<TGConnectingPoint num="2" id="2388" />
-<TGConnectingPoint num="3" id="2389" />
-<TGConnectingPoint num="4" id="2390" />
-<TGConnectingPoint num="5" id="2391" />
-<TGConnectingPoint num="6" id="2392" />
-<TGConnectingPoint num="7" id="2393" />
-<TGConnectingPoint num="8" id="2394" />
-<TGConnectingPoint num="9" id="2395" />
-<TGConnectingPoint num="10" id="2396" />
-<TGConnectingPoint num="11" id="2397" />
-<TGConnectingPoint num="12" id="2398" />
-<TGConnectingPoint num="13" id="2399" />
-<TGConnectingPoint num="14" id="2400" />
-<TGConnectingPoint num="15" id="2401" />
+<TGConnectingPoint num="0" id="2425" />
+<TGConnectingPoint num="1" id="2426" />
+<TGConnectingPoint num="2" id="2427" />
+<TGConnectingPoint num="3" id="2428" />
+<TGConnectingPoint num="4" id="2429" />
+<TGConnectingPoint num="5" id="2430" />
+<TGConnectingPoint num="6" id="2431" />
+<TGConnectingPoint num="7" id="2432" />
+<TGConnectingPoint num="8" id="2433" />
+<TGConnectingPoint num="9" id="2434" />
+<TGConnectingPoint num="10" id="2435" />
+<TGConnectingPoint num="11" id="2436" />
+<TGConnectingPoint num="12" id="2437" />
+<TGConnectingPoint num="13" id="2438" />
+<TGConnectingPoint num="14" id="2439" />
+<TGConnectingPoint num="15" id="2440" />
 <extraparam>
 <Line value="ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2405" >
+<COMPONENT type="1006" id="2444" >
 <cdparam x="2176" y="1198" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2403" />
-<TGConnectingPoint num="1" id="2404" />
+<TGConnectingPoint num="0" id="2442" />
+<TGConnectingPoint num="1" id="2443" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2407" >
+<COMPONENT type="1001" id="2446" >
 <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="2406" />
+<TGConnectingPoint num="0" id="2445" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2410" >
+<COMPONENT type="1007" id="2449" >
 <cdparam x="2177" y="1298" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="2408" />
-<TGConnectingPoint num="1" id="2409" />
+<TGConnectingPoint num="0" id="2447" />
+<TGConnectingPoint num="1" id="2448" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2413" >
+<COMPONENT type="1006" id="2452" >
 <cdparam x="2187" y="1365" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="2411" />
-<TGConnectingPoint num="1" id="2412" />
+<TGConnectingPoint num="0" id="2450" />
+<TGConnectingPoint num="1" id="2451" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2416" >
+<COMPONENT type="1011" id="2455" >
 <cdparam x="2138" y="1136" />
 <sizeparam width="160" 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="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="2414" />
-<TGConnectingPoint num="1" id="2415" />
+<TGConnectingPoint num="0" id="2453" />
+<TGConnectingPoint num="1" id="2454" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2419" >
+<COMPONENT type="1008" id="2458" >
 <cdparam x="2192" y="1248" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2417" />
-<TGConnectingPoint num="1" id="2418" />
+<TGConnectingPoint num="0" id="2456" />
+<TGConnectingPoint num="1" id="2457" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2422" >
+<COMPONENT type="1011" id="2461" >
 <cdparam x="2163" y="1424" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="2420" />
-<TGConnectingPoint num="1" id="2421" />
+<TGConnectingPoint num="0" id="2459" />
+<TGConnectingPoint num="1" id="2460" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2425" >
+<COMPONENT type="1006" id="2464" >
 <cdparam x="2299" y="1122" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="2423" />
-<TGConnectingPoint num="1" id="2424" />
+<TGConnectingPoint num="0" id="2462" />
+<TGConnectingPoint num="1" id="2463" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2442" >
+<COMPONENT type="301" id="2481" >
 <cdparam x="2283" y="1065" />
 <sizeparam width="121" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of SYN
 " />
-<TGConnectingPoint num="0" id="2426" />
-<TGConnectingPoint num="1" id="2427" />
-<TGConnectingPoint num="2" id="2428" />
-<TGConnectingPoint num="3" id="2429" />
-<TGConnectingPoint num="4" id="2430" />
-<TGConnectingPoint num="5" id="2431" />
-<TGConnectingPoint num="6" id="2432" />
-<TGConnectingPoint num="7" id="2433" />
-<TGConnectingPoint num="8" id="2434" />
-<TGConnectingPoint num="9" id="2435" />
-<TGConnectingPoint num="10" id="2436" />
-<TGConnectingPoint num="11" id="2437" />
-<TGConnectingPoint num="12" id="2438" />
-<TGConnectingPoint num="13" id="2439" />
-<TGConnectingPoint num="14" id="2440" />
-<TGConnectingPoint num="15" id="2441" />
+<TGConnectingPoint num="0" id="2465" />
+<TGConnectingPoint num="1" id="2466" />
+<TGConnectingPoint num="2" id="2467" />
+<TGConnectingPoint num="3" id="2468" />
+<TGConnectingPoint num="4" id="2469" />
+<TGConnectingPoint num="5" id="2470" />
+<TGConnectingPoint num="6" id="2471" />
+<TGConnectingPoint num="7" id="2472" />
+<TGConnectingPoint num="8" id="2473" />
+<TGConnectingPoint num="9" id="2474" />
+<TGConnectingPoint num="10" id="2475" />
+<TGConnectingPoint num="11" id="2476" />
+<TGConnectingPoint num="12" id="2477" />
+<TGConnectingPoint num="13" id="2478" />
+<TGConnectingPoint num="14" id="2479" />
+<TGConnectingPoint num="15" id="2480" />
 <extraparam>
 <Line value="send Ack of SYN" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2445" >
+<COMPONENT type="1011" id="2484" >
 <cdparam x="2287" y="1267" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="2443" />
-<TGConnectingPoint num="1" id="2444" />
+<TGConnectingPoint num="0" id="2482" />
+<TGConnectingPoint num="1" id="2483" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2447" >
+<COMPONENT type="1001" id="2486" >
 <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="2446" />
+<TGConnectingPoint num="0" id="2485" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2450" >
+<COMPONENT type="1008" id="2489" >
 <cdparam x="2316" y="1199" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="2448" />
-<TGConnectingPoint num="1" id="2449" />
+<TGConnectingPoint num="0" id="2487" />
+<TGConnectingPoint num="1" id="2488" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2452" >
+<COMPONENT type="1001" id="2491" >
 <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="2451" />
+<TGConnectingPoint num="0" id="2490" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2454" >
+<COMPONENT type="1001" id="2493" >
 <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="2453" />
+<TGConnectingPoint num="0" id="2492" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2456" >
+<COMPONENT type="1001" id="2495" >
 <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="2455" />
+<TGConnectingPoint num="0" id="2494" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2459" >
+<COMPONENT type="1008" id="2498" >
 <cdparam x="1459" y="1192" />
 <sizeparam width="140" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="receive_Application()" />
-<TGConnectingPoint num="0" id="2457" />
-<TGConnectingPoint num="1" id="2458" />
+<TGConnectingPoint num="0" id="2496" />
+<TGConnectingPoint num="1" id="2497" />
 <extraparam>
 <Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2462" >
+<COMPONENT type="1009" id="2501" >
 <cdparam x="1699" y="1086" />
 <sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="2460" />
-<TGConnectingPoint num="1" id="2461" />
+<TGConnectingPoint num="0" id="2499" />
+<TGConnectingPoint num="1" id="2500" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="2463" >
+<CONNECTOR type="115" id="2502" >
 <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="1853" />
-<P2  x="1728" y="865" id="1775" />
+<P1  x="1048" y="795" id="1892" />
+<P2  x="1728" y="865" id="1814" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2464" >
+<CONNECTOR type="115" id="2503" >
 <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="1825" />
-<P2  x="1208" y="1010" id="1795" />
+<P1  x="1089" y="954" id="1864" />
+<P2  x="1208" y="1010" id="1834" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2465" >
+<CONNECTOR type="115" id="2504" >
 <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="1929" />
-<P2  x="1008" y="696" id="1857" />
+<P1  x="1008" y="610" id="1968" />
+<P2  x="1008" y="696" id="1896" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2466" >
+<CONNECTOR type="115" id="2505" >
 <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="1944" />
-<P2  x="722" y="689" id="1813" />
+<P1  x="722" y="614" id="1983" />
+<P2  x="722" y="689" id="1852" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2467" >
+<CONNECTOR type="115" id="2506" >
 <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="1893" />
-<P2  x="572" y="702" id="1807" />
+<P1  x="504" y="597" id="1932" />
+<P2  x="572" y="702" id="1846" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2468" >
+<CONNECTOR type="115" id="2507" >
 <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="1894" />
-<P2  x="439" y="778" id="1861" />
+<P1  x="464" y="637" id="1933" />
+<P2  x="439" y="778" id="1900" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2469" >
+<CONNECTOR type="115" id="2508" >
 <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="1892" />
-<P2  x="346" y="759" id="1841" />
+<P1  x="424" y="597" id="1931" />
+<P2  x="346" y="759" id="1880" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2470" >
+<CONNECTOR type="115" id="2509" >
 <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="1902" />
-<P2  x="230" y="803" id="1998" />
+<P1  x="289" y="619" id="1941" />
+<P2  x="230" y="803" id="2037" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2471" >
+<CONNECTOR type="115" id="2510" >
 <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="1900" />
-<P2  x="132" y="789" id="1845" />
+<P1  x="249" y="579" id="1939" />
+<P2  x="132" y="789" id="1884" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2472" >
+<CONNECTOR type="115" id="2511" >
 <cdparam x="371" y="93" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to notified event" value="null" />
-<P1  x="324" y="93" id="1932" />
-<P2  x="374" y="128" id="1940" />
+<P1  x="324" y="93" id="1971" />
+<P2  x="374" y="128" id="1979" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2473" >
+<CONNECTOR type="115" id="2512" >
 <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="1938" />
-<P2  x="234" y="202" id="1935" />
+<P1  x="234" y="169" id="1977" />
+<P2  x="234" y="202" id="1974" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2474" >
+<CONNECTOR type="115" id="2513" >
 <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="1933" />
-<P2  x="234" y="139" id="1937" />
+<P1  x="234" y="104" id="1972" />
+<P2  x="234" y="139" id="1976" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2475" >
+<CONNECTOR type="115" id="2514" >
 <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="1904" />
-<P2  x="234" y="74" id="1931" />
+<P1  x="234" y="47" id="1943" />
+<P2  x="234" y="74" id="1970" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2476" >
+<CONNECTOR type="115" id="2515" >
 <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="1941" />
-<P2  x="374" y="182" id="1883" />
+<P1  x="374" y="158" id="1980" />
+<P2  x="374" y="182" id="1922" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2477" >
+<CONNECTOR type="115" id="2516" >
 <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="1967" />
-<P2  x="722" y="529" id="1946" />
+<P1  x="464" y="322" id="2006" />
+<P2  x="722" y="529" id="1985" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2478" >
+<CONNECTOR type="115" id="2517" >
 <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="1947" />
-<P2  x="722" y="584" id="1943" />
+<P1  x="722" y="559" id="1986" />
+<P2  x="722" y="584" id="1982" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2479" >
+<CONNECTOR type="115" id="2518" >
 <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="1963" />
-<P2  x="1008" y="523" id="1949" />
+<P1  x="504" y="282" id="2002" />
+<P2  x="1008" y="523" id="1988" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2480" >
+<CONNECTOR type="115" id="2519" >
 <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="1950" />
-<P2  x="1008" y="580" id="1928" />
+<P1  x="1008" y="553" id="1989" />
+<P2  x="1008" y="580" id="1967" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2481" >
+<CONNECTOR type="115" id="2520" >
 <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="1964" />
-<P2  x="464" y="487" id="1952" />
+<P1  x="464" y="322" id="2003" />
+<P2  x="464" y="487" id="1991" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2482" >
+<CONNECTOR type="115" id="2521" >
 <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="1965" />
-<P2  x="289" y="463" id="1955" />
+<P1  x="424" y="282" id="2004" />
+<P2  x="289" y="463" id="1994" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2483" >
+<CONNECTOR type="115" id="2522" >
 <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="1956" />
-<P2  x="289" y="554" id="1899" />
+<P1  x="289" y="493" id="1995" />
+<P2  x="289" y="554" id="1938" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2484" >
+<CONNECTOR type="115" id="2523" >
 <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="1876" />
-<P2  x="126" y="544" id="1923" />
+<P1  x="148" y="501" id="1915" />
+<P2  x="126" y="544" id="1962" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2485" >
+<CONNECTOR type="115" id="2524" >
 <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="1962" />
-<P2  x="188" y="414" id="1958" />
+<P1  x="424" y="282" id="2001" />
+<P2  x="188" y="414" id="1997" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2486" >
+<CONNECTOR type="115" id="2525" >
 <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="1959" />
-<P2  x="188" y="476" id="1875" />
+<P1  x="188" y="444" id="1998" />
+<P2  x="188" y="476" id="1914" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2487" >
+<CONNECTOR type="115" id="2526" >
 <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="1877" />
-<P2  x="236" y="524" id="1972" />
+<P1  x="228" y="501" id="1916" />
+<P2  x="236" y="524" id="2011" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2488" >
+<CONNECTOR type="115" id="2527" >
 <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="1884" />
-<P2  x="301" y="223" id="1976" />
+<P1  x="334" y="207" id="1923" />
+<P2  x="301" y="223" id="2015" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2489" >
+<CONNECTOR type="115" id="2528" >
 <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="1977" />
-<P2  x="301" y="285" id="1979" />
+<P1  x="301" y="253" id="2016" />
+<P2  x="301" y="285" id="2018" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2490" >
+<CONNECTOR type="115" id="2529" >
 <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="1953" />
-<P2  x="464" y="572" id="1891" />
+<P1  x="464" y="517" id="1992" />
+<P2  x="464" y="572" id="1930" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2491" >
+<CONNECTOR type="115" id="2530" >
 <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="1901" />
-<P2  x="353" y="609" id="1974" />
+<P1  x="329" y="579" id="1940" />
+<P2  x="353" y="609" id="2013" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2492" >
+<CONNECTOR type="115" id="2531" >
 <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="1924" />
-<P2  x="126" y="610" id="1926" />
+<P1  x="126" y="574" id="1963" />
+<P2  x="126" y="610" id="1965" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2493" >
+<CONNECTOR type="115" id="2532" >
 <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="1885" />
-<P2  x="464" y="257" id="1961" />
+<P1  x="414" y="207" id="1924" />
+<P2  x="464" y="257" id="2000" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2494" >
+<CONNECTOR type="115" id="2533" >
 <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="1999" />
-<P2  x="230" y="858" id="1865" />
+<P1  x="230" y="833" id="2038" />
+<P2  x="230" y="858" id="1904" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2495" >
+<CONNECTOR type="115" id="2534" >
 <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="1852" />
-<P2  x="843" y="859" id="1835" />
+<P1  x="968" y="795" id="1891" />
+<P2  x="843" y="859" id="1874" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2496" >
+<CONNECTOR type="115" id="2535" >
 <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="2048" />
-<P2  x="728" y="1027" id="2050" />
+<P1  x="728" y="990" id="2087" />
+<P2  x="728" y="1027" id="2089" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2497" >
+<CONNECTOR type="115" id="2536" >
 <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="1836" />
-<P2  x="728" y="960" id="2047" />
+<P1  x="803" y="884" id="1875" />
+<P2  x="728" y="960" id="2086" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2498" >
+<CONNECTOR type="115" id="2537" >
 <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="1838" />
-<P2  x="800" y="1004" id="1829" />
+<P1  x="843" y="924" id="1877" />
+<P2  x="800" y="1004" id="1868" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2499" >
+<CONNECTOR type="115" id="2538" >
 <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="1830" />
-<P2  x="800" y="1081" id="2052" />
+<P1  x="800" y="1044" id="1869" />
+<P2  x="800" y="1081" id="2091" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2500" >
+<CONNECTOR type="115" id="2539" >
 <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="2179" />
-<P2  x="132" y="933" id="2014" />
+<P1  x="132" y="886" id="2218" />
+<P2  x="132" y="933" id="2053" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2501" >
+<CONNECTOR type="115" id="2540" >
 <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="1818" />
-<P2  x="943" y="1118" id="2097" />
+<P1  x="943" y="1060" id="1857" />
+<P2  x="943" y="1118" id="2136" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2502" >
+<CONNECTOR type="115" id="2541" >
 <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="1870" />
-<P2  x="1049" y="1150" id="2122" />
+<P1  x="1049" y="1092" id="1909" />
+<P2  x="1049" y="1150" id="2161" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2503" >
+<CONNECTOR type="115" id="2542" >
 <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="1826" />
-<P2  x="1049" y="1052" id="1869" />
+<P1  x="1049" y="994" id="1865" />
+<P2  x="1049" y="1052" id="1908" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2504" >
+<CONNECTOR type="115" id="2543" >
 <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="1814" />
-<P2  x="722" y="753" id="2147" />
+<P1  x="722" y="729" id="1853" />
+<P2  x="722" y="753" id="2186" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2505" >
+<CONNECTOR type="115" id="2544" >
 <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="2153" />
-<P2  x="132" y="1162" id="2155" />
+<P1  x="132" y="1125" id="2192" />
+<P2  x="132" y="1162" id="2194" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2506" >
+<CONNECTOR type="115" id="2545" >
 <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="2156" />
-<P2  x="132" y="1231" id="2158" />
+<P1  x="132" y="1192" id="2195" />
+<P2  x="132" y="1231" id="2197" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2507" >
+<CONNECTOR type="115" id="2546" >
 <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="2012" />
-<P2  x="132" y="1095" id="2152" />
+<P1  x="132" y="1066" id="2051" />
+<P2  x="132" y="1095" id="2191" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2508" >
+<CONNECTOR type="115" id="2547" >
 <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="2161" />
-<P2  x="229" y="1164" id="2163" />
+<P1  x="229" y="1127" id="2200" />
+<P2  x="229" y="1164" id="2202" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2509" >
+<CONNECTOR type="115" id="2548" >
 <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="2167" />
-<P2  x="346" y="1168" id="2169" />
+<P1  x="346" y="1131" id="2206" />
+<P2  x="346" y="1168" id="2208" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2510" >
+<CONNECTOR type="115" id="2549" >
 <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="2018" />
-<P2  x="346" y="1101" id="2166" />
+<P1  x="346" y="1051" id="2057" />
+<P2  x="346" y="1101" id="2205" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2511" >
+<CONNECTOR type="115" id="2550" >
 <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="2173" />
-<P2  x="438" y="1154" id="2175" />
+<P1  x="438" y="1115" id="2212" />
+<P2  x="438" y="1154" id="2214" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2512" >
+<CONNECTOR type="115" id="2551" >
 <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="2007" />
-<P2  x="438" y="1085" id="2172" />
+<P1  x="438" y="1057" id="2046" />
+<P2  x="438" y="1085" id="2211" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2513" >
+<CONNECTOR type="115" id="2552" >
 <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="1846" />
-<P2  x="132" y="856" id="2178" />
+<P1  x="132" y="829" id="1885" />
+<P2  x="132" y="856" id="2217" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2514" >
+<CONNECTOR type="115" id="2553" >
 <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="1866" />
-<P2  x="230" y="935" id="2181" />
+<P1  x="230" y="898" id="1905" />
+<P2  x="230" y="935" id="2220" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2515" >
+<CONNECTOR type="115" id="2554" >
 <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="2182" />
-<P2  x="230" y="997" id="2001" />
+<P1  x="230" y="965" id="2221" />
+<P2  x="230" y="997" id="2040" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2516" >
+<CONNECTOR type="115" id="2555" >
 <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="1842" />
-<P2  x="346" y="826" id="2187" />
+<P1  x="346" y="799" id="1881" />
+<P2  x="346" y="826" id="2226" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2517" >
+<CONNECTOR type="115" id="2556" >
 <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="2188" />
-<P2  x="346" y="895" id="2025" />
+<P1  x="346" y="856" id="2227" />
+<P2  x="346" y="895" id="2064" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2518" >
+<CONNECTOR type="115" id="2557" >
 <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="1862" />
-<P2  x="439" y="860" id="2184" />
+<P1  x="439" y="818" id="1901" />
+<P2  x="439" y="860" id="2223" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2519" >
+<CONNECTOR type="115" id="2558" >
 <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="2185" />
-<P2  x="439" y="936" id="2022" />
+<P1  x="439" y="890" id="2224" />
+<P2  x="439" y="936" id="2061" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2520" >
+<CONNECTOR type="115" id="2559" >
 <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="2015" />
-<P2  x="132" y="981" id="2199" />
+<P1  x="132" y="963" id="2054" />
+<P2  x="132" y="981" id="2238" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2521" >
+<CONNECTOR type="115" id="2560" >
 <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="2200" />
-<P2  x="132" y="1036" id="2011" />
+<P1  x="132" y="1011" id="2239" />
+<P2  x="132" y="1036" id="2050" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2522" >
+<CONNECTOR type="115" id="2561" >
 <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="2002" />
-<P2  x="229" y="1047" id="2190" />
+<P1  x="230" y="1027" id="2041" />
+<P2  x="229" y="1047" id="2229" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2523" >
+<CONNECTOR type="115" id="2562" >
 <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="2191" />
-<P2  x="229" y="1097" id="2160" />
+<P1  x="229" y="1077" id="2230" />
+<P2  x="229" y="1097" id="2199" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2524" >
+<CONNECTOR type="115" id="2563" >
 <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="2026" />
-<P2  x="346" y="957" id="2193" />
+<P1  x="346" y="925" id="2065" />
+<P2  x="346" y="957" id="2232" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2525" >
+<CONNECTOR type="115" id="2564" >
 <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="2194" />
-<P2  x="346" y="1021" id="2017" />
+<P1  x="346" y="987" id="2233" />
+<P2  x="346" y="1021" id="2056" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2526" >
+<CONNECTOR type="115" id="2565" >
 <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="2023" />
-<P2  x="438" y="978" id="2196" />
+<P1  x="439" y="966" id="2062" />
+<P2  x="438" y="978" id="2235" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2527" >
+<CONNECTOR type="115" id="2566" >
 <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="2197" />
-<P2  x="438" y="1027" id="2006" />
+<P1  x="438" y="1008" id="2236" />
+<P2  x="438" y="1027" id="2045" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2528" >
+<CONNECTOR type="115" id="2567" >
 <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="2148" />
-<P2  x="722" y="808" id="2202" />
+<P1  x="722" y="783" id="2187" />
+<P2  x="722" y="808" id="2241" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2529" >
+<CONNECTOR type="115" id="2568" >
 <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="2203" />
-<P2  x="722" y="860" id="2150" />
+<P1  x="722" y="838" id="2242" />
+<P2  x="722" y="860" id="2189" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2530" >
+<CONNECTOR type="115" id="2569" >
 <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="2053" />
-<P2  x="798" y="1136" id="2205" />
+<P1  x="800" y="1111" id="2092" />
+<P2  x="798" y="1136" id="2244" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2531" >
+<CONNECTOR type="115" id="2570" >
 <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="2206" />
-<P2  x="799" y="1188" id="2089" />
+<P1  x="798" y="1166" id="2245" />
+<P2  x="799" y="1188" id="2128" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2532" >
+<CONNECTOR type="115" id="2571" >
 <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="2098" />
-<P2  x="943" y="1173" id="2208" />
+<P1  x="943" y="1148" id="2137" />
+<P2  x="943" y="1173" id="2247" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2533" >
+<CONNECTOR type="115" id="2572" >
 <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="2209" />
-<P2  x="943" y="1229" id="2117" />
+<P1  x="943" y="1203" id="2248" />
+<P2  x="943" y="1229" id="2156" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2534" >
+<CONNECTOR type="115" id="2573" >
 <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="2123" />
-<P2  x="1049" y="1206" id="2211" />
+<P1  x="1049" y="1180" id="2162" />
+<P2  x="1049" y="1206" id="2250" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2535" >
+<CONNECTOR type="115" id="2574" >
 <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="2212" />
-<P2  x="1049" y="1261" id="2142" />
+<P1  x="1049" y="1236" id="2251" />
+<P2  x="1049" y="1261" id="2181" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2536" >
+<CONNECTOR type="115" id="2575" >
 <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="1837" />
-<P2  x="909" y="917" id="2216" />
+<P1  x="883" y="884" id="1876" />
+<P2  x="909" y="917" id="2255" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2537" >
+<CONNECTOR type="115" id="2576" >
 <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="1809" />
-<P2  x="622" y="757" id="2214" />
+<P1  x="612" y="727" id="1848" />
+<P2  x="622" y="757" id="2253" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2538" >
+<CONNECTOR type="115" id="2577" >
 <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="1808" />
-<P2  x="496" y="763" id="2092" />
+<P1  x="532" y="727" id="1847" />
+<P2  x="496" y="763" id="2131" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2539" >
+<CONNECTOR type="115" id="2578" >
 <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="2090" />
-<P2  x="799" y="1265" id="2028" />
+<P1  x="799" y="1218" id="2129" />
+<P2  x="799" y="1265" id="2067" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2540" >
+<CONNECTOR type="115" id="2579" >
 <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="1824" />
-<P2  x="943" y="1020" id="1817" />
+<P1  x="1009" y="954" id="1863" />
+<P2  x="943" y="1020" id="1856" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2541" >
+<CONNECTOR type="115" id="2580" >
 <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="2164" />
-<P2  x="229" y="1232" id="2004" />
+<P1  x="229" y="1194" id="2203" />
+<P2  x="229" y="1232" id="2043" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2542" >
+<CONNECTOR type="115" id="2581" >
 <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="2170" />
-<P2  x="344" y="1224" id="2020" />
+<P1  x="346" y="1198" id="2209" />
+<P2  x="344" y="1224" id="2059" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2543" >
+<CONNECTOR type="115" id="2582" >
 <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="2176" />
-<P2  x="438" y="1208" id="2009" />
+<P1  x="438" y="1184" id="2215" />
+<P2  x="438" y="1208" id="2048" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2544" >
+<CONNECTOR type="115" id="2583" >
 <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="2093" />
-<P2  x="496" y="825" id="2095" />
+<P1  x="496" y="793" id="2132" />
+<P2  x="496" y="825" id="2134" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2545" >
+<CONNECTOR type="115" id="2584" >
 <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="2118" />
-<P2  x="943" y="1306" id="2120" />
+<P1  x="943" y="1259" id="2157" />
+<P2  x="943" y="1306" id="2159" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2546" >
+<CONNECTOR type="115" id="2585" >
 <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="1858" />
-<P2  x="1008" y="770" id="1851" />
+<P1  x="1008" y="736" id="1897" />
+<P2  x="1008" y="770" id="1890" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2547" >
+<CONNECTOR type="115" id="2586" >
 <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="1854" />
-<P2  x="1049" y="929" id="1823" />
+<P1  x="1008" y="835" id="1893" />
+<P2  x="1049" y="929" id="1862" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2548" >
+<CONNECTOR type="115" id="2587" >
 <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="2143" />
-<P2  x="1049" y="1336" id="2145" />
+<P1  x="1049" y="1291" id="2182" />
+<P2  x="1049" y="1336" id="2184" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2549" >
+<CONNECTOR type="115" id="2588" >
 <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="1802" />
-<P2  x="1208" y="1209" id="2218" />
+<P1  x="1208" y="1142" id="1841" />
+<P2  x="1208" y="1209" id="2257" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2550" >
+<CONNECTOR type="115" id="2589" >
 <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="2219" />
-<P2  x="1208" y="1290" id="2238" />
+<P1  x="1208" y="1239" id="2258" />
+<P2  x="1208" y="1290" id="2277" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2551" >
+<CONNECTOR type="115" id="2590" >
 <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="2239" />
-<P2  x="1208" y="1346" id="2246" />
+<P1  x="1208" y="1320" id="2278" />
+<P2  x="1208" y="1346" id="2285" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2552" >
+<CONNECTOR type="115" id="2591" >
 <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="2247" />
-<P2  x="1207" y="1397" id="2243" />
+<P1  x="1208" y="1376" id="2286" />
+<P2  x="1207" y="1397" id="2282" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2553" >
+<CONNECTOR type="115" id="2592" >
 <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="1798" />
-<P2  x="1208" y="1102" id="1801" />
+<P1  x="1208" y="1075" id="1837" />
+<P2  x="1208" y="1102" id="1840" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2554" >
+<CONNECTOR type="115" id="2593" >
 <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="1797" />
-<P2  x="1287" y="1065" id="2249" />
+<P1  x="1248" y="1035" id="1836" />
+<P2  x="1287" y="1065" id="2288" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2555" >
+<CONNECTOR type="115" id="2594" >
 <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="2244" />
-<P2  x="1207" y="1466" id="2241" />
+<P1  x="1207" y="1427" id="2283" />
+<P2  x="1207" y="1466" id="2280" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2556" >
+<CONNECTOR type="115" id="2595" >
 <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="1768" />
-<P2  x="1529" y="1059" id="1761" />
+<P1  x="1567" y="1021" id="1807" />
+<P2  x="1529" y="1059" id="1800" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2557" >
+<CONNECTOR type="115" id="2596" >
 <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="1758" />
-<P2  x="1529" y="1343" id="2256" />
+<P1  x="1529" y="1289" id="1797" />
+<P2  x="1529" y="1343" id="2295" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2558" >
+<CONNECTOR type="115" id="2597" >
 <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="1778" />
-<P2  x="1731" y="1021" id="2259" />
+<P1  x="1728" y="930" id="1817" />
+<P2  x="1731" y="1021" id="2298" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2559" >
+<CONNECTOR type="115" id="2598" >
 <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="1782" />
-<P2  x="1641" y="1294" id="2296" />
+<P1  x="1641" y="1270" id="1821" />
+<P2  x="1641" y="1294" id="2335" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2560" >
+<CONNECTOR type="115" id="2599" >
 <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="2297" />
-<P2  x="1642" y="1343" id="2338" />
+<P1  x="1641" y="1324" id="2336" />
+<P2  x="1642" y="1343" id="2377" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2561" >
+<CONNECTOR type="115" id="2600" >
 <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="2257" />
-<P2  x="1529" y="1400" id="2335" />
+<P1  x="1529" y="1373" id="2296" />
+<P2  x="1529" y="1400" id="2374" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2562" >
+<CONNECTOR type="115" id="2601" >
 <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="2336" />
-<P2  x="1529" y="1452" id="2251" />
+<P1  x="1529" y="1430" id="2375" />
+<P2  x="1529" y="1452" id="2290" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2563" >
+<CONNECTOR type="115" id="2602" >
 <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="2339" />
-<P2  x="1642" y="1399" id="2341" />
+<P1  x="1642" y="1373" id="2378" />
+<P2  x="1642" y="1399" id="2380" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2564" >
+<CONNECTOR type="115" id="2603" >
 <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="1736" />
-<P2  x="1920" y="1406" id="2351" />
+<P1  x="1956" y="1361" id="1775" />
+<P2  x="1920" y="1406" id="2390" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2565" >
+<CONNECTOR type="115" id="2604" >
 <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="2359" />
-<P2  x="2101" y="1532" id="2361" />
+<P1  x="2101" y="1491" id="2398" />
+<P2  x="2101" y="1532" id="2400" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2566" >
+<CONNECTOR type="115" id="2605" >
 <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="1738" />
-<P2  x="1996" y="1429" id="2366" />
+<P1  x="1996" y="1401" id="1777" />
+<P2  x="1996" y="1429" id="2405" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2567" >
+<CONNECTOR type="115" id="2606" >
 <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="2367" />
-<P2  x="1996" y="1488" id="2363" />
+<P1  x="1996" y="1459" id="2406" />
+<P2  x="1996" y="1488" id="2402" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2568" >
+<CONNECTOR type="115" id="2607" >
 <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="1728" />
-<P2  x="2218" y="1054" id="1785" />
+<P1  x="2237" y="966" id="1767" />
+<P2  x="2218" y="1054" id="1824" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2569" >
+<CONNECTOR type="115" id="2608" >
 <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="2409" />
-<P2  x="2217" y="1360" id="2411" />
+<P1  x="2217" y="1323" id="2448" />
+<P2  x="2217" y="1360" id="2450" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2570" >
+<CONNECTOR type="115" id="2609" >
 <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="1786" />
-<P2  x="2218" y="1131" id="2414" />
+<P1  x="2218" y="1094" id="1825" />
+<P2  x="2218" y="1131" id="2453" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2571" >
+<CONNECTOR type="115" id="2610" >
 <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="2415" />
-<P2  x="2218" y="1193" id="2403" />
+<P1  x="2218" y="1161" id="2454" />
+<P2  x="2218" y="1193" id="2442" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2572" >
+<CONNECTOR type="115" id="2611" >
 <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="2404" />
-<P2  x="2217" y="1243" id="2417" />
+<P1  x="2218" y="1223" id="2443" />
+<P2  x="2217" y="1243" id="2456" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2573" >
+<CONNECTOR type="115" id="2612" >
 <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="2418" />
-<P2  x="2217" y="1293" id="2408" />
+<P1  x="2217" y="1273" id="2457" />
+<P2  x="2217" y="1293" id="2447" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2574" >
+<CONNECTOR type="115" id="2613" >
 <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="2412" />
-<P2  x="2217" y="1419" id="2420" />
+<P1  x="2217" y="1390" id="2451" />
+<P2  x="2217" y="1419" id="2459" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2575" >
+<CONNECTOR type="115" id="2614" >
 <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="1790" />
-<P2  x="2341" y="1117" id="2423" />
+<P1  x="2341" y="1059" id="1829" />
+<P2  x="2341" y="1117" id="2462" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2576" >
+<CONNECTOR type="115" id="2615" >
 <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="1762" />
-<P2  x="1529" y="1127" id="2253" />
+<P1  x="1529" y="1099" id="1801" />
+<P2  x="1529" y="1127" id="2292" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2577" >
+<CONNECTOR type="115" id="2616" >
 <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="1722" />
-<P2  x="2101" y="1461" id="2358" />
+<P1  x="2101" y="1433" id="1761" />
+<P2  x="2101" y="1461" id="2397" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2578" >
+<CONNECTOR type="115" id="2617" >
 <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="1721" />
-<P2  x="2178" y="1416" id="2453" />
+<P1  x="2141" y="1393" id="1760" />
+<P2  x="2178" y="1416" id="2492" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2579" >
+<CONNECTOR type="115" id="2618" >
 <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="1776" />
-<P2  x="1607" y="996" id="1767" />
+<P1  x="1688" y="890" id="1815" />
+<P2  x="1607" y="996" id="1806" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2580" >
+<CONNECTOR type="115" id="2619" >
 <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="1777" />
-<P2  x="2277" y="941" id="1727" />
+<P1  x="1768" y="890" id="1816" />
+<P2  x="2277" y="941" id="1766" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2581" >
+<CONNECTOR type="115" id="2620" >
 <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="1729" />
-<P2  x="2341" y="1019" id="1789" />
+<P1  x="2317" y="966" id="1768" />
+<P2  x="2341" y="1019" id="1828" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2582" >
+<CONNECTOR type="115" id="2621" >
 <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="2424" />
-<P2  x="2341" y="1194" id="2448" />
+<P1  x="2341" y="1147" id="2463" />
+<P2  x="2341" y="1194" id="2487" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2583" >
+<CONNECTOR type="115" id="2622" >
 <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="2449" />
-<P2  x="2341" y="1262" id="2443" />
+<P1  x="2341" y="1224" id="2488" />
+<P2  x="2341" y="1262" id="2482" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2584" >
+<CONNECTOR type="115" id="2623" >
 <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="2260" />
-<P2  x="1731" y="1081" id="2460" />
+<P1  x="1731" y="1051" id="2299" />
+<P2  x="1731" y="1081" id="2499" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2585" >
+<CONNECTOR type="115" id="2624" >
 <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="1769" />
-<P2  x="1659" y="1052" id="2451" />
+<P1  x="1647" y="1021" id="1808" />
+<P2  x="1659" y="1052" id="2490" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2586" >
+<CONNECTOR type="115" id="2625" >
 <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="1746" />
-<P2  x="1826" y="1344" id="2346" />
+<P1  x="1826" y="1324" id="1785" />
+<P2  x="1826" y="1344" id="2385" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2587" >
+<CONNECTOR type="115" id="2626" >
 <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="2347" />
-<P2  x="1828" y="1452" id="2349" />
+<P1  x="1826" y="1374" id="2386" />
+<P2  x="1828" y="1452" id="2388" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2588" >
+<CONNECTOR type="115" id="2627" >
 <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="1744" />
-<P2  x="1740" y="1330" id="2344" />
+<P1  x="1786" y="1284" id="1783" />
+<P2  x="1740" y="1330" id="2383" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2589" >
+<CONNECTOR type="115" id="2628" >
 <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="2352" />
-<P2  x="1920" y="1476" id="2354" />
+<P1  x="1920" y="1436" id="2391" />
+<P2  x="1920" y="1476" id="2393" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2590" >
+<CONNECTOR type="115" id="2629" >
 <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="2364" />
-<P2  x="1996" y="1538" id="2356" />
+<P1  x="1996" y="1518" id="2403" />
+<P2  x="1996" y="1538" id="2395" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2591" >
+<CONNECTOR type="115" id="2630" >
 <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="1737" />
-<P2  x="2101" y="1368" id="1719" />
+<P1  x="2036" y="1361" id="1776" />
+<P2  x="2101" y="1368" id="1758" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2592" >
+<CONNECTOR type="115" id="2631" >
 <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="1745" />
-<P2  x="1996" y="1336" id="1735" />
+<P1  x="1866" y="1284" id="1784" />
+<P2  x="1996" y="1336" id="1774" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2593" >
+<CONNECTOR type="115" id="2632" >
 <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="2444" />
-<P2  x="2340" y="1319" id="2446" />
+<P1  x="2341" y="1292" id="2483" />
+<P2  x="2340" y="1319" id="2485" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2594" >
+<CONNECTOR type="115" id="2633" >
 <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="2421" />
-<P2  x="2217" y="1478" id="2406" />
+<P1  x="2217" y="1449" id="2460" />
+<P2  x="2217" y="1478" id="2445" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2595" >
+<CONNECTOR type="115" id="2634" >
 <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="1730" />
-<P2  x="2278" y="1034" id="2455" />
+<P1  x="2277" y="1006" id="1769" />
+<P2  x="2278" y="1034" id="2494" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2596" >
+<CONNECTOR type="115" id="2635" >
 <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="2342" />
-<P2  x="1642" y="1463" id="2299" />
+<P1  x="1642" y="1429" id="2381" />
+<P2  x="1642" y="1463" id="2338" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2597" >
+<CONNECTOR type="115" id="2636" >
 <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="2254" />
-<P2  x="1529" y="1187" id="2457" />
+<P1  x="1529" y="1157" id="2293" />
+<P2  x="1529" y="1187" id="2496" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2598" >
+<CONNECTOR type="115" id="2637" >
 <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="2458" />
-<P2  x="1529" y="1249" id="1757" />
+<P1  x="1529" y="1217" id="2497" />
+<P2  x="1529" y="1249" id="1796" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2599" >
+<CONNECTOR type="115" id="2638" >
 <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="1752" />
-<P2  x="1641" y="1230" id="1781" />
+<P1  x="1691" y="1156" id="1791" />
+<P2  x="1641" y="1230" id="1820" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2600" >
+<CONNECTOR type="115" id="2639" >
 <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="1753" />
-<P2  x="1826" y="1259" id="1743" />
+<P1  x="1771" y="1156" id="1792" />
+<P2  x="1826" y="1259" id="1782" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2601" >
+<CONNECTOR type="115" id="2640" >
 <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="2461" />
-<P2  x="1731" y="1131" id="1751" />
+<P1  x="1731" y="1111" id="2500" />
+<P2  x="1731" y="1131" id="1790" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1000" id="2603" >
-<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="2648" >
+<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="2602" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="2644" />
+<TGConnectingPoint num="1" id="2645" />
+<TGConnectingPoint num="2" id="2646" />
+<TGConnectingPoint num="3" id="2647" />
 </COMPONENT>
-
-<COMPONENT type="1010" id="2606" >
-<cdparam x="138" y="129" />
-<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="2641" >
+<father id="2648" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="reset() " />
-<TGConnectingPoint num="0" id="2604" />
-<TGConnectingPoint num="1" id="2605" />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="2609" >
-<cdparam x="108" y="182" />
-<sizeparam width="116" 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="2642" >
+<father id="2648" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="answerToReset()" />
-<TGConnectingPoint num="0" id="2607" />
-<TGConnectingPoint num="1" id="2608" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="2612" >
-<cdparam x="143" y="237" />
-<sizeparam width="47" 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="2643" >
+<father id="2648" num="2" />
+<cdparam x="529" y="267" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTS() " />
-<TGConnectingPoint num="0" id="2610" />
-<TGConnectingPoint num="1" id="2611" />
-<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="2615" >
-<cdparam x="121" y="308" />
-<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="2650" >
+<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="2613" />
-<TGConnectingPoint num="1" id="2614" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
-</extraparam>
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2649" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2632" >
-<cdparam x="376" y="98" />
-<sizeparam width="249" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="2652" >
+<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="2616" />
-<TGConnectingPoint num="1" id="2617" />
-<TGConnectingPoint num="2" id="2618" />
-<TGConnectingPoint num="3" id="2619" />
-<TGConnectingPoint num="4" id="2620" />
-<TGConnectingPoint num="5" id="2621" />
-<TGConnectingPoint num="6" id="2622" />
-<TGConnectingPoint num="7" id="2623" />
-<TGConnectingPoint num="8" id="2624" />
-<TGConnectingPoint num="9" id="2625" />
-<TGConnectingPoint num="10" id="2626" />
-<TGConnectingPoint num="11" id="2627" />
-<TGConnectingPoint num="12" id="2628" />
-<TGConnectingPoint num="13" id="2629" />
-<TGConnectingPoint num="14" id="2630" />
-<TGConnectingPoint num="15" id="2631" />
-<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="2651" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2635" >
-<cdparam x="250" y="97" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2655" >
+<cdparam x="393" y="299" />
+<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_TCP_IP()" />
-<TGConnectingPoint num="0" id="2633" />
-<TGConnectingPoint num="1" id="2634" />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="2653" />
+<TGConnectingPoint num="1" id="2654" />
 <extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
+<Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="2638" >
-<cdparam x="236" y="148" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="2658" >
+<cdparam x="596" y="300" />
+<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="2636" />
-<TGConnectingPoint num="1" id="2637" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="2656" />
+<TGConnectingPoint num="1" id="2657" />
 <extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
+<Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2640" >
-<cdparam x="515" y="428" />
+<COMPONENT type="1001" id="2660" >
+<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="2639" />
+<TGConnectingPoint num="0" id="2659" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2643" >
-<cdparam x="305" y="350" />
-<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="2663" >
+<cdparam x="487" y="150" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready_SC()" />
-<TGConnectingPoint num="0" id="2641" />
-<TGConnectingPoint num="1" id="2642" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="2661" />
+<TGConnectingPoint num="1" id="2662" />
 <extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
+<Data eventName="stop" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2645" >
-<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="2644" />
-</COMPONENT>
+<CONNECTOR type="115" id="2664" >
+<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="2654" />
+<P2  x="427" y="362" id="2651" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2665" >
+<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="2657" />
+<P2  x="622" y="360" id="2659" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2666" >
+<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="2649" />
+<P2  x="524" y="145" id="2661" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2667" >
+<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="2662" />
+<P2  x="524" y="212" id="2644" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2668" >
+<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="2645" />
+<P2  x="427" y="294" id="2653" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2669" >
+<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="2646" />
+<P2  x="622" y="295" id="2656" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 
-<COMPONENT type="1009" id="2648" >
-<cdparam x="318" y="308" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="2677" >
+<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="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="2646" />
-<TGConnectingPoint num="1" id="2647" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="2673" />
+<TGConnectingPoint num="1" id="2674" />
+<TGConnectingPoint num="2" id="2675" />
+<TGConnectingPoint num="3" id="2676" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="2670" >
+<father id="2677" num="0" />
+<cdparam x="466" y="287" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2671" >
+<father id="2677" num="1" />
+<cdparam x="526" y="287" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2672" >
+<father id="2677" num="2" />
+<cdparam x="511" y="322" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="2651" >
-<cdparam x="335" y="264" />
-<sizeparam width="55" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="2679" >
+<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="wait event" value="send() " />
-<TGConnectingPoint num="0" id="2649" />
-<TGConnectingPoint num="1" id="2650" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2678" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2654" >
-<cdparam x="315" y="392" />
-<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2682" >
+<cdparam x="482" y="129" />
+<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromSCtoD(1)" />
-<TGConnectingPoint num="0" id="2652" />
-<TGConnectingPoint num="1" id="2653" />
+<infoparam name="send event" value="open()" />
+<TGConnectingPoint num="0" id="2680" />
+<TGConnectingPoint num="1" id="2681" />
 <extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" />
+<Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2657" >
-<cdparam x="493" y="350" />
-<sizeparam width="65" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2685" >
+<cdparam x="466" y="178" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="2655" />
-<TGConnectingPoint num="1" id="2656" />
+<infoparam name="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="2683" />
+<TGConnectingPoint num="1" id="2684" />
 <extraparam>
-<Data eventName="receive" nbOfParams="5" />
+<Data channelName="fromAtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2660" >
-<cdparam x="476" y="311" />
-<sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2688" >
+<cdparam x="467" y="226" />
+<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC(1) " />
-<TGConnectingPoint num="0" id="2658" />
-<TGConnectingPoint num="1" id="2659" />
+<infoparam name="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="2686" />
+<TGConnectingPoint num="1" id="2687" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" />
+<Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2663" >
-<cdparam x="483" y="387" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="2690" >
+<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="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="2661" />
-<TGConnectingPoint num="1" id="2662" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="2689" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="2666" >
-<cdparam x="477" y="268" />
-<sizeparam width="97" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2693" >
+<cdparam x="559" y="329" />
+<sizeparam width="54" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready() " />
-<TGConnectingPoint num="0" id="2664" />
-<TGConnectingPoint num="1" id="2665" />
-<breakpoint />
+<infoparam name="send event" value="abort()" />
+<TGConnectingPoint num="0" id="2691" />
+<TGConnectingPoint num="1" id="2692" />
 <extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
+<Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="2670" >
-<cdparam x="236" y="202" />
-<sizeparam width="124" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2696" >
+<cdparam x="406" y="337" />
+<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
-<TGConnectingPoint num="0" id="2667" />
-<TGConnectingPoint num="1" id="2668" />
-<TGConnectingPoint num="2" id="2669" />
+<infoparam name="send event" value="close()" />
+<TGConnectingPoint num="0" id="2694" />
+<TGConnectingPoint num="1" id="2695" />
 <extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
+<Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2672" >
-<cdparam x="297" y="231" />
+<COMPONENT type="1001" id="2698" >
+<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="2671" />
-</COMPONENT>
-
-<COMPONENT type="1018" id="2683" >
-<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="2673" />
-<TGConnectingPoint num="1" id="2674" />
-<TGConnectingPoint num="2" id="2675" />
-<TGConnectingPoint num="3" id="2676" />
-<TGConnectingPoint num="4" id="2677" />
-<TGConnectingPoint num="5" id="2678" />
-<TGConnectingPoint num="6" id="2679" />
-<TGConnectingPoint num="7" id="2680" />
-<TGConnectingPoint num="8" id="2681" />
-<TGConnectingPoint num="9" id="2682" />
+<TGConnectingPoint num="0" id="2697" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="2688" >
-<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="2614" />
-<P2  x="298" y="92" id="2633" />
-<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="2684" >
-<father id="2688" 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="2685" >
-<father id="2688" 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="2686" >
-<father id="2688" 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="2687" >
-<father id="2688" 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="2689" >
-<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="2602" />
-<P2  x="166" y="124" id="2604" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2690" >
-<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="2605" />
-<P2  x="166" y="177" id="2607" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2691" >
-<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="2634" />
-<P2  x="298" y="143" id="2636" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2692" >
-<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="2650" />
-<P2  x="362" y="303" id="2646" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2693" >
-<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="2647" />
-<P2  x="362" y="345" id="2641" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2694" >
-<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="2642" />
-<P2  x="362" y="387" id="2652" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2695" >
-<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="2653" />
-<P2  x="362" y="421" id="2644" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2696" >
-<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="2659" />
-<P2  x="525" y="345" id="2655" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2697" >
-<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="2656" />
-<P2  x="525" y="382" id="2661" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2698" >
-<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="2665" />
-<P2  x="525" y="306" id="2658" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
 <CONNECTOR type="115" id="2699" >
-<cdparam x="540" y="464" />
+<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 write channel to stop state" value="null" />
-<P1  x="525" y="412" id="2662" />
-<P2  x="525" y="423" id="2639" />
+<infoparam name="connector from start state to send event" value="null" />
+<P1  x="508" y="111" id="2678" />
+<P2  x="508" y="124" id="2680" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2700" >
-<cdparam x="298" y="173" />
+<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 request to for loop" value="null" />
-<P1  x="298" y="173" id="2637" />
-<P2  x="298" y="197" id="2667" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="508" y="154" id="2681" />
+<P2  x="508" y="173" id="2683" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2701" >
-<cdparam x="328" y="232" />
+<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 for loop to stop state" value="null" />
-<P1  x="298" y="227" id="2669" />
-<P2  x="307" y="226" id="2671" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="508" y="203" id="2684" />
+<P2  x="507" y="221" id="2686" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2702" >
-<cdparam x="395" y="283" />
+<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 select to wait event" value="null" />
-<P1  x="399" y="241" id="2674" />
-<P2  x="362" y="259" id="2649" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="586" y="354" id="2692" />
+<P2  x="586" y="383" id="2689" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2703" >
-<cdparam x="543" y="341" />
+<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 select to wait event" value="null" />
-<P1  x="479" y="241" id="2675" />
-<P2  x="525" y="263" id="2664" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="507" y="251" id="2687" />
+<P2  x="506" y="267" id="2673" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2704" >
-<cdparam x="391" y="282" />
+<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 for loop to select" value="null" />
-<P1  x="360" y="216" id="2668" />
-<P2  x="439" y="216" id="2673" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="466" y="292" id="2674" />
+<P2  x="432" y="332" id="2694" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2705" >
-<cdparam x="164" y="262" />
+<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 wait event to send event" value="null" />
-<P1  x="166" y="262" id="2611" />
-<P2  x="166" y="303" id="2613" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="432" y="362" id="2695" />
+<P2  x="432" y="381" id="2697" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2706" >
-<cdparam x="166" y="207" />
+<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 send event to wait event" value="null" />
-<P1  x="166" y="207" id="2608" />
-<P2  x="166" y="232" id="2610" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="546" y="292" id="2675" />
+<P2  x="586" y="324" id="2691" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -8523,11 +8147,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="2715" >
 <father id="2776" num="0" />
-<cdparam x="92" y="154" />
-<sizeparam width="172" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="226" y="304" />
+<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="287" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
 <TGConnectingPoint num="0" id="2707" />
 <TGConnectingPoint num="1" id="2708" />
 <TGConnectingPoint num="2" id="2709" />
@@ -8537,16 +8161,16 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2713" />
 <TGConnectingPoint num="7" id="2714" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2724" >
 <father id="2776" num="1" />
-<cdparam x="291" y="153" />
-<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="290" y="234" />
+<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
 <TGConnectingPoint num="0" id="2716" />
 <TGConnectingPoint num="1" id="2717" />
 <TGConnectingPoint num="2" id="2718" />
@@ -8556,7 +8180,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2722" />
 <TGConnectingPoint num="7" id="2723" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2733" >
@@ -8580,11 +8204,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2742" >
 <father id="2776" num="3" />
-<cdparam x="290" y="234" />
-<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="291" y="153" />
+<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
+<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="2734" />
 <TGConnectingPoint num="1" id="2735" />
 <TGConnectingPoint num="2" id="2736" />
@@ -8594,16 +8218,16 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2740" />
 <TGConnectingPoint num="7" id="2741" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2751" >
 <father id="2776" num="4" />
-<cdparam x="226" y="304" />
-<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="92" y="154" />
+<sizeparam width="172" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Timer" />
+<cdrectangleparam minX="0" maxX="287" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
 <TGConnectingPoint num="0" id="2743" />
 <TGConnectingPoint num="1" id="2744" />
 <TGConnectingPoint num="2" id="2745" />
@@ -8613,7 +8237,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2749" />
 <TGConnectingPoint num="7" id="2750" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -8846,11 +8470,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="2903" >
 <father id="2946" num="0" />
-<cdparam x="398" y="277" />
-<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="498" y="278" />
+<sizeparam width="141" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="141" minY="0" maxY="106" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
+<cdrectangleparam minX="0" maxX="109" minY="0" maxY="106" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="2895" />
 <TGConnectingPoint num="1" id="2896" />
 <TGConnectingPoint num="2" id="2897" />
@@ -8860,7 +8484,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2901" />
 <TGConnectingPoint num="7" id="2902" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2912" >
@@ -8884,11 +8508,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2921" >
 <father id="2946" num="2" />
-<cdparam x="498" y="278" />
-<sizeparam width="141" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="398" y="277" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="109" minY="0" maxY="106" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="141" minY="0" maxY="106" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
 <TGConnectingPoint num="0" id="2913" />
 <TGConnectingPoint num="1" id="2914" />
 <TGConnectingPoint num="2" id="2915" />
@@ -8898,7 +8522,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2919" />
 <TGConnectingPoint num="7" id="2920" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-- 
GitLab