From b42622e3e8d46e295a4f29356b3d0eaff357a2ed Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paristech.fr>
Date: Wed, 6 Jul 2016 13:46:03 +0000
Subject: [PATCH] Update on model checker

---
 modeling/SmartCardProtocol.xml                | 4714 ++++++++---------
 src/avatartranslator/AvatarStateMachine.java  |   14 +-
 .../modelchecker/AvatarModelChecker.java      |   13 +-
 3 files changed, 2374 insertions(+), 2367 deletions(-)

diff --git a/modeling/SmartCardProtocol.xml b/modeling/SmartCardProtocol.xml
index 7d80469e21..470ee5b27f 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,117 +2006,117 @@ 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="1717" minY="0" maxY="909" channels="true" events="true" requests="true" zoom="1.0000000000000016" >
+<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="0" maxX="1718" minY="0" maxY="910" channels="true" events="true" requests="true" zoom="1.0000000000000016" >
 <CONNECTOR type="126" id="1141" >
 <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="409" y="124" id="1188" />
-<P2  x="645" y="125" id="1221" />
+<P1  x="409" y="124" id="1176" />
+<P2  x="645" y="125" id="1306" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1142" >
 <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="805" y="544" id="1318" />
-<P2  x="975" y="481" id="1246" />
+<P1  x="805" y="544" id="1209" />
+<P2  x="975" y="481" id="1272" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1143" >
 <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="805" y="512" id="1320" />
-<P2  x="936" y="472" id="1244" />
+<P1  x="805" y="512" id="1207" />
+<P2  x="936" y="472" id="1274" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1144" >
 <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="752" y="408" id="1328" />
-<P2  x="848" y="363" id="1289" />
+<P1  x="752" y="408" id="1199" />
+<P2  x="848" y="363" id="1223" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1145" >
 <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="848" y="389" id="1293" />
-<P2  x="936" y="358" id="1254" />
+<P1  x="848" y="389" id="1227" />
+<P2  x="936" y="358" id="1264" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1146" >
 <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="805" y="483" id="1324" />
-<P2  x="936" y="449" id="1252" />
+<P1  x="805" y="483" id="1203" />
+<P2  x="936" y="449" id="1266" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1147" >
 <cdparam x="652" y="369" />
 <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="805" y="451" id="1322" />
-<P2  x="936" y="422" id="1250" />
+<P1  x="805" y="451" id="1205" />
+<P2  x="936" y="422" id="1268" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1148" >
 <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="936" y="393" id="1248" />
-<P2  x="805" y="422" id="1326" />
+<P1  x="936" y="393" id="1270" />
+<P2  x="805" y="422" id="1201" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1149" >
 <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="936" y="323" id="1256" />
-<P2  x="788" y="311" id="1209" />
+<P1  x="936" y="323" id="1262" />
+<P2  x="788" y="311" id="1318" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1150" >
 <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="788" y="275" id="1207" />
-<P2  x="936" y="284" id="1258" />
+<P1  x="788" y="275" id="1320" />
+<P2  x="936" y="284" id="1260" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1151" >
 <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="788" y="231" id="1205" />
-<P2  x="936" y="241" id="1260" />
+<P1  x="788" y="231" id="1322" />
+<P2  x="936" y="241" id="1258" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1152" >
 <cdparam x="740" y="353" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="848" y="363" id="1288" />
-<P2  x="788" y="342" id="1203" />
+<P1  x="848" y="363" id="1222" />
+<P2  x="788" y="342" id="1324" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1153" >
 <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="587" y="331" id="1213" />
-<P2  x="473" y="331" id="1180" />
+<P1  x="587" y="331" id="1314" />
+<P2  x="473" y="331" id="1184" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1154" >
 <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="473" y="157" id="1176" />
-<P2  x="587" y="157" id="1201" />
+<P1  x="473" y="157" id="1188" />
+<P2  x="587" y="157" id="1326" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1155" >
@@ -2124,71 +2124,71 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <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="473" y="243" id="1182" />
-<P2  x="587" y="243" id="1215" />
+<P2  x="587" y="243" id="1312" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1156" >
 <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="587" y="288" id="1217" />
-<P2  x="473" y="288" id="1184" />
+<P1  x="587" y="288" id="1310" />
+<P2  x="473" y="288" id="1180" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1157" >
 <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="363" id="1219" />
-<P2  x="473" y="363" id="1186" />
+<P1  x="588" y="363" id="1308" />
+<P2  x="473" y="363" id="1178" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1158" >
 <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="473" y="197" id="1178" />
-<P2  x="587" y="197" id="1211" />
+<P1  x="473" y="197" id="1186" />
+<P2  x="587" y="197" id="1316" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1159" >
 <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="936" y="191" id="1262" />
-<P2  x="788" y="152" id="1223" />
+<P1  x="936" y="191" id="1256" />
+<P2  x="788" y="152" id="1304" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1160" >
 <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="682" y="366" id="1199" />
-<P2  x="671" y="408" id="1316" />
+<P1  x="682" y="366" id="1328" />
+<P2  x="671" y="408" id="1211" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1161" >
 <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="1238" y="369" id="1277" />
-<P2  x="1173" y="376" id="1242" />
+<P1  x="1238" y="369" id="1241" />
+<P2  x="1173" y="376" id="1276" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1162" >
 <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="1173" y="412" id="1240" />
-<P2  x="1238" y="404" id="1275" />
+<P1  x="1173" y="412" id="1278" />
+<P2  x="1238" y="404" id="1243" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="1165" >
 <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="1173" y="204" id="1238" />
-<P2  x="1173" y="272" id="1236" />
+<P1  x="1173" y="204" id="1280" />
+<P2  x="1173" y="272" id="1282" />
 <Point x="1224" y="226" />
 <Point x="1224" y="266" />
 <AutomaticDrawing  data="true" />
@@ -2213,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="1173" y="451" id="1234" />
-<P2  x="1238" y="432" id="1273" />
+<P1  x="1173" y="451" id="1284" />
+<P2  x="1238" y="432" id="1245" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <COMPONENT type="1205" id="1175" >
 <cdparam x="1152" y="505" />
 <sizeparam width="206" height="105" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="1717" minY="0" maxY="909" />
+<cdrectangleparam minX="0" maxX="1718" minY="0" maxY="910" />
 <infoparam name="Record component" value="TCP_CTRL" />
 <TGConnectingPoint num="0" id="1167" />
 <TGConnectingPoint num="1" id="1168" />
@@ -2241,7 +2241,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <cdparam x="171" y="137" />
 <sizeparam width="302" height="270" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="1717" minY="0" maxY="909" />
+<cdrectangleparam minX="0" maxX="1718" minY="0" maxY="910" />
 <infoparam name="TGComponent" value="InterfaceDevice" />
 <TGConnectingPoint num="0" id="1190" />
 <TGConnectingPoint num="1" id="1191" />
@@ -2260,14 +2260,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </COMPONENT>
 <SUBCOMPONENT type="1203" id="1177" >
 <father id="1198" num="0" />
-<cdparam x="463" y="157" />
-<sizeparam width="21" height="21" 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="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="292" minY="-10" maxY="260" />
-<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="1176" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2277,14 +2277,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1179" >
 <father id="1198" num="1" />
-<cdparam x="460" y="197" />
+<cdparam x="460" y="363" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
-<infoparam name="TGComponent" value="Event data_Ready" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
 <TGConnectingPoint num="0" id="1178" />
 <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" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2294,14 +2294,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1181" >
 <father id="1198" num="2" />
-<cdparam x="460" y="331" />
+<cdparam x="460" y="288" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
 <TGConnectingPoint num="0" id="1180" />
 <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" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2328,14 +2328,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1185" >
 <father id="1198" num="4" />
-<cdparam x="460" y="288" />
+<cdparam x="460" y="331" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
 <TGConnectingPoint num="0" id="1184" />
 <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" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2345,14 +2345,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1187" >
 <father id="1198" num="5" />
-<cdparam x="460" y="363" />
+<cdparam x="460" y="197" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="1186" />
 <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" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2362,14 +2362,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1189" >
 <father id="1198" num="6" />
-<cdparam x="396" y="124" />
-<sizeparam width="26" height="26" 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="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="289" minY="-13" maxY="257" />
-<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="1188" />
 <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" checkConf="false" checkAuth="false" />
+<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2382,7 +2382,7 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <cdparam x="535" y="94" />
 <sizeparam width="936" height="530" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="1717" minY="0" maxY="909" />
+<cdrectangleparam minX="0" maxX="1718" minY="0" maxY="910" />
 <infoparam name="TGComponent" value="SmartCard" />
 <TGConnectingPoint num="0" id="1339" />
 <TGConnectingPoint num="1" id="1340" />
@@ -2396,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="1233" >
+<SUBCOMPONENT type="1202" id="1221" >
 <father id="1347" num="0" />
-<cdparam x="587" y="138" />
-<sizeparam width="201" height="238" 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="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="735" minY="0" maxY="292" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="1225" />
-<TGConnectingPoint num="1" id="1226" />
-<TGConnectingPoint num="2" id="1227" />
-<TGConnectingPoint num="3" id="1228" />
-<TGConnectingPoint num="4" id="1229" />
-<TGConnectingPoint num="5" id="1230" />
-<TGConnectingPoint num="6" id="1231" />
-<TGConnectingPoint num="7" id="1232" />
+<cdrectangleparam minX="0" maxX="696" minY="0" maxY="384" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="1213" />
+<TGConnectingPoint num="1" id="1214" />
+<TGConnectingPoint num="2" id="1215" />
+<TGConnectingPoint num="3" id="1216" />
+<TGConnectingPoint num="4" id="1217" />
+<TGConnectingPoint num="5" id="1218" />
+<TGConnectingPoint num="6" id="1219" />
+<TGConnectingPoint num="7" id="1220" />
 <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="1200" >
-<father id="1233" num="0" />
-<cdparam x="672" y="366" />
+<father id="1221" num="0" />
+<cdparam x="742" y="408" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
-<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="1199" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2439,15 +2432,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1202" >
-<father id="1233" num="1" />
-<cdparam x="577" y="157" />
+<father id="1221" num="1" />
+<cdparam x="795" y="422" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
-<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="1201" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2456,15 +2449,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1204" >
-<father id="1233" num="2" />
-<cdparam x="775" y="342" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1221" num="2" />
+<cdparam x="795" y="483" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<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="1203" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2473,15 +2466,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1206" >
-<father id="1233" num="3" />
-<cdparam x="775" y="231" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1221" num="3" />
+<cdparam x="795" y="451" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<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="1205" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2490,15 +2483,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1208" >
-<father id="1233" num="4" />
-<cdparam x="775" y="275" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1221" num="4" />
+<cdparam x="795" y="512" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<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="1207" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2507,15 +2500,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1210" >
-<father id="1233" num="5" />
-<cdparam x="775" y="311" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1221" num="5" />
+<cdparam x="795" y="544" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<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="1209" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2524,15 +2517,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1212" >
-<father id="1233" num="6" />
-<cdparam x="574" y="197" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1221" num="6" />
+<cdparam x="661" y="408" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<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="1211" />
 <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" checkConf="false" checkAuth="false" />
+<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2540,33 +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="1214" >
-<father id="1233" num="7" />
-<cdparam x="574" y="331" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1200" id="1303" >
+<father id="1347" num="1" />
+<cdparam x="848" y="134" />
+<sizeparam width="570" height="486" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" 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="1213" />
+<cdrectangleparam minX="0" maxX="366" minY="0" maxY="44" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="1295" />
+<TGConnectingPoint num="1" id="1296" />
+<TGConnectingPoint num="2" id="1297" />
+<TGConnectingPoint num="3" id="1298" />
+<TGConnectingPoint num="4" id="1299" />
+<TGConnectingPoint num="5" id="1300" />
+<TGConnectingPoint num="6" id="1301" />
+<TGConnectingPoint num="7" id="1302" />
 <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" checkConf="false" checkAuth="false" />
-<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="1216" >
-<father id="1233" num="8" />
-<cdparam x="574" y="243" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1201" id="1240" >
+<father id="1303" num="0" />
+<cdparam x="835" y="363" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="1215" />
+<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="473" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="1222" />
+<TGConnectingPoint num="1" id="1223" />
+<TGConnectingPoint num="2" id="1224" />
+<TGConnectingPoint num="3" id="1225" />
+<TGConnectingPoint num="4" id="1226" />
+<TGConnectingPoint num="5" id="1227" />
+<TGConnectingPoint num="6" id="1228" />
+<TGConnectingPoint num="7" id="1229" />
+<TGConnectingPoint num="8" id="1230" />
+<TGConnectingPoint num="9" id="1231" />
+<TGConnectingPoint num="10" id="1232" />
+<TGConnectingPoint num="11" id="1233" />
+<TGConnectingPoint num="12" id="1234" />
+<TGConnectingPoint num="13" id="1235" />
+<TGConnectingPoint num="14" id="1236" />
+<TGConnectingPoint num="15" id="1237" />
+<TGConnectingPoint num="16" id="1238" />
+<TGConnectingPoint num="17" id="1239" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="1255" >
+<father id="1303" num="1" />
+<cdparam x="1238" y="329" />
+<sizeparam width="141" height="142" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" 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="1247" />
+<TGConnectingPoint num="1" id="1248" />
+<TGConnectingPoint num="2" id="1249" />
+<TGConnectingPoint num="3" id="1250" />
+<TGConnectingPoint num="4" id="1251" />
+<TGConnectingPoint num="5" id="1252" />
+<TGConnectingPoint num="6" id="1253" />
+<TGConnectingPoint num="7" id="1254" />
 <extraparam>
-<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="" checkConf="false" checkAuth="false" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="1242" >
+<father id="1255" num="0" />
+<cdparam x="1228" y="369" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="1241" />
+<extraparam>
+<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2574,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="1218" >
-<father id="1233" num="9" />
-<cdparam x="574" y="288" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1244" >
+<father id="1255" num="1" />
+<cdparam x="1228" y="404" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" 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="1217" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="1243" />
 <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" checkConf="false" checkAuth="false" />
+<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2591,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="1220" >
-<father id="1233" num="10" />
-<cdparam x="575" y="363" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1246" >
+<father id="1255" num="2" />
+<cdparam x="1228" y="432" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="1219" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="1245" />
 <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" checkConf="false" checkAuth="false" />
+<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2608,16 +2648,41 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1222" >
-<father id="1233" num="11" />
-<cdparam x="632" y="125" />
+<SUBCOMPONENT type="1202" id="1294" >
+<father id="1303" num="2" />
+<cdparam x="936" y="173" />
+<sizeparam width="237" height="318" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="333" minY="0" maxY="168" />
+<infoparam name="TGComponent" value="TCPIP" />
+<TGConnectingPoint num="0" id="1286" />
+<TGConnectingPoint num="1" id="1287" />
+<TGConnectingPoint num="2" id="1288" />
+<TGConnectingPoint num="3" id="1289" />
+<TGConnectingPoint num="4" id="1290" />
+<TGConnectingPoint num="5" id="1291" />
+<TGConnectingPoint num="6" id="1292" />
+<TGConnectingPoint num="7" id="1293" />
+<extraparam>
+<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
+<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
+<Attribute access="2" id="i" value="" type="0" typeOther="" />
+<Attribute access="2" id="j" value="" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="1257" >
+<father id="1294" num="0" />
+<cdparam x="923" y="191" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
-<TGConnectingPoint num="0" id="1221" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="1256" />
 <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" checkConf="false" checkAuth="false" />
+<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2625,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="1224" >
-<father id="1233" num="12" />
-<cdparam x="775" y="152" />
+<SUBCOMPONENT type="1203" id="1259" >
+<father id="1294" num="1" />
+<cdparam x="923" y="241" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="1223" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="1258" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2642,60 +2707,50 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1200" id="1315" >
-<father id="1347" num="1" />
-<cdparam x="848" y="134" />
-<sizeparam width="570" height="486" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1261" >
+<father id="1294" num="2" />
+<cdparam x="923" y="284" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="366" minY="0" maxY="44" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="1307" />
-<TGConnectingPoint num="1" id="1308" />
-<TGConnectingPoint num="2" id="1309" />
-<TGConnectingPoint num="3" id="1310" />
-<TGConnectingPoint num="4" id="1311" />
-<TGConnectingPoint num="5" id="1312" />
-<TGConnectingPoint num="6" id="1313" />
-<TGConnectingPoint num="7" id="1314" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="1260" />
 <extraparam>
-<info hiddeni="false" />
+<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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="1272" >
-<father id="1315" num="0" />
-<cdparam x="936" y="173" />
-<sizeparam width="237" height="318" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1263" >
+<father id="1294" num="3" />
+<cdparam x="923" y="323" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="333" minY="0" maxY="168" />
-<infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="1264" />
-<TGConnectingPoint num="1" id="1265" />
-<TGConnectingPoint num="2" id="1266" />
-<TGConnectingPoint num="3" id="1267" />
-<TGConnectingPoint num="4" id="1268" />
-<TGConnectingPoint num="5" id="1269" />
-<TGConnectingPoint num="6" id="1270" />
-<TGConnectingPoint num="7" id="1271" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="1262" />
 <extraparam>
-<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
-<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
-<Attribute access="2" id="i" value="" type="0" typeOther="" />
-<Attribute access="2" id="j" value="" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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="1235" >
-<father id="1272" num="0" />
-<cdparam x="1163" y="451" />
+<SUBCOMPONENT type="1203" id="1265" >
+<father id="1294" num="4" />
+<cdparam x="926" y="358" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="1234" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="1264" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2703,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="1237" >
-<father id="1272" num="1" />
-<cdparam x="1163" y="272" />
+<SUBCOMPONENT type="1203" id="1267" >
+<father id="1294" num="5" />
+<cdparam x="926" y="449" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="1236" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="1266" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2720,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="1239" >
-<father id="1272" num="2" />
-<cdparam x="1163" y="204" />
+<SUBCOMPONENT type="1203" id="1269" >
+<father id="1294" num="6" />
+<cdparam x="926" y="422" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="1238" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="1268" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2737,16 +2792,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1241" >
-<father id="1272" num="3" />
-<cdparam x="1163" y="412" />
+<SUBCOMPONENT type="1203" id="1271" >
+<father id="1294" num="7" />
+<cdparam x="926" y="393" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="1240" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="1270" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2754,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="1243" >
-<father id="1272" num="4" />
-<cdparam x="1163" y="376" />
+<SUBCOMPONENT type="1203" id="1273" >
+<father id="1294" num="8" />
+<cdparam x="965" y="481" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="1242" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="1272" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2771,14 +2826,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1245" >
-<father id="1272" num="5" />
+<SUBCOMPONENT type="1203" id="1275" >
+<father id="1294" num="9" />
 <cdparam x="926" y="472" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
 <infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="1244" />
+<TGConnectingPoint num="0" id="1274" />
 <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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
@@ -2788,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="1247" >
-<father id="1272" num="6" />
-<cdparam x="965" y="481" />
+<SUBCOMPONENT type="1203" id="1277" >
+<father id="1294" num="10" />
+<cdparam x="1163" y="376" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="1246" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="1276" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2805,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="1249" >
-<father id="1272" num="7" />
-<cdparam x="926" y="393" />
+<SUBCOMPONENT type="1203" id="1279" >
+<father id="1294" num="11" />
+<cdparam x="1163" y="412" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="1248" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="1278" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2822,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="1251" >
-<father id="1272" num="8" />
-<cdparam x="926" y="422" />
+<SUBCOMPONENT type="1203" id="1281" >
+<father id="1294" num="12" />
+<cdparam x="1163" y="204" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="1250" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="1280" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2839,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="1253" >
-<father id="1272" num="9" />
-<cdparam x="926" y="449" />
+<SUBCOMPONENT type="1203" id="1283" >
+<father id="1294" num="13" />
+<cdparam x="1163" y="272" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="1252" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="1282" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2856,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="1255" >
-<father id="1272" num="10" />
-<cdparam x="926" y="358" />
+<SUBCOMPONENT type="1203" id="1285" >
+<father id="1294" num="14" />
+<cdparam x="1163" y="451" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="1254" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="1284" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2873,33 +2928,41 @@ 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="1272" num="11" />
-<cdparam x="923" y="323" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="1338" >
+<father id="1347" num="2" />
+<cdparam x="587" y="138" />
+<sizeparam width="201" height="238" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="1256" />
+<cdrectangleparam minX="0" maxX="735" minY="0" maxY="292" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="1330" />
+<TGConnectingPoint num="1" id="1331" />
+<TGConnectingPoint num="2" id="1332" />
+<TGConnectingPoint num="3" id="1333" />
+<TGConnectingPoint num="4" id="1334" />
+<TGConnectingPoint num="5" id="1335" />
+<TGConnectingPoint num="6" id="1336" />
+<TGConnectingPoint num="7" id="1337" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="0" type="0" typeOther="" />
+<Attribute access="2" id="i" value="0" type="0" typeOther="" />
+<Attribute access="2" id="j" value="0" type="0" typeOther="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1259" >
-<father id="1272" num="12" />
-<cdparam x="923" y="284" />
+<SUBCOMPONENT type="1203" id="1305" >
+<father id="1338" num="0" />
+<cdparam x="775" y="152" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="1258" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="1304" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2907,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="1261" >
-<father id="1272" num="13" />
-<cdparam x="923" y="241" />
+<SUBCOMPONENT type="1203" id="1307" >
+<father id="1338" num="1" />
+<cdparam x="632" y="125" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="1260" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="1306" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2924,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="1263" >
-<father id="1272" num="14" />
-<cdparam x="923" y="191" />
+<SUBCOMPONENT type="1203" id="1309" >
+<father id="1338" num="2" />
+<cdparam x="575" y="363" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="1262" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="1308" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2941,35 +3004,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1287" >
-<father id="1315" num="1" />
-<cdparam x="1238" y="329" />
-<sizeparam width="141" height="142" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" 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="1279" />
-<TGConnectingPoint num="1" id="1280" />
-<TGConnectingPoint num="2" id="1281" />
-<TGConnectingPoint num="3" id="1282" />
-<TGConnectingPoint num="4" id="1283" />
-<TGConnectingPoint num="5" id="1284" />
-<TGConnectingPoint num="6" id="1285" />
-<TGConnectingPoint num="7" id="1286" />
-<extraparam>
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1274" >
-<father id="1287" num="0" />
-<cdparam x="1228" y="432" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1311" >
+<father id="1338" num="3" />
+<cdparam x="574" y="288" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="1273" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="1310" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2977,16 +3021,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1276" >
-<father id="1287" num="1" />
-<cdparam x="1228" y="404" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1313" >
+<father id="1338" num="4" />
+<cdparam x="574" y="243" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="1275" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="1312" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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="" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2994,16 +3038,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1278" >
-<father id="1287" num="2" />
-<cdparam x="1228" y="369" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1315" >
+<father id="1338" num="5" />
+<cdparam x="574" y="331" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="1277" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="1314" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3011,60 +3055,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1306" >
-<father id="1315" num="2" />
-<cdparam x="835" y="363" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="473" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="1288" />
-<TGConnectingPoint num="1" id="1289" />
-<TGConnectingPoint num="2" id="1290" />
-<TGConnectingPoint num="3" id="1291" />
-<TGConnectingPoint num="4" id="1292" />
-<TGConnectingPoint num="5" id="1293" />
-<TGConnectingPoint num="6" id="1294" />
-<TGConnectingPoint num="7" id="1295" />
-<TGConnectingPoint num="8" id="1296" />
-<TGConnectingPoint num="9" id="1297" />
-<TGConnectingPoint num="10" id="1298" />
-<TGConnectingPoint num="11" id="1299" />
-<TGConnectingPoint num="12" id="1300" />
-<TGConnectingPoint num="13" id="1301" />
-<TGConnectingPoint num="14" id="1302" />
-<TGConnectingPoint num="15" id="1303" />
-<TGConnectingPoint num="16" id="1304" />
-<TGConnectingPoint num="17" id="1305" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1338" >
-<father id="1347" num="2" />
-<cdparam x="565" y="418" />
-<sizeparam width="240" height="146" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="696" minY="0" maxY="384" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="1330" />
-<TGConnectingPoint num="1" id="1331" />
-<TGConnectingPoint num="2" id="1332" />
-<TGConnectingPoint num="3" id="1333" />
-<TGConnectingPoint num="4" id="1334" />
-<TGConnectingPoint num="5" id="1335" />
-<TGConnectingPoint num="6" id="1336" />
-<TGConnectingPoint num="7" id="1337" />
-<extraparam>
-</extraparam>
-</SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1317" >
-<father id="1338" num="0" />
-<cdparam x="661" y="408" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1338" num="6" />
+<cdparam x="574" y="197" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<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="1316" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<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" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3073,15 +3073,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1319" >
-<father id="1338" num="1" />
-<cdparam x="795" y="544" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1338" num="7" />
+<cdparam x="775" y="311" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<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="1318" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3090,15 +3090,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1321" >
-<father id="1338" num="2" />
-<cdparam x="795" y="512" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1338" num="8" />
+<cdparam x="775" y="275" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<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="1320" />
 <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" checkConf="false" checkAuth="false" />
+<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3107,15 +3107,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1323" >
-<father id="1338" num="3" />
-<cdparam x="795" y="451" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1338" num="9" />
+<cdparam x="775" y="231" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<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="1322" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3124,15 +3124,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1325" >
-<father id="1338" num="4" />
-<cdparam x="795" y="483" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="1338" num="10" />
+<cdparam x="775" y="342" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<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="1324" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3141,15 +3141,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1327" >
-<father id="1338" num="5" />
-<cdparam x="795" y="422" />
+<father id="1338" num="11" />
+<cdparam x="577" y="157" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<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="1326" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3158,15 +3158,15 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="1329" >
-<father id="1338" num="6" />
-<cdparam x="742" y="408" />
+<father id="1338" num="12" />
+<cdparam x="672" y="366" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<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="1328" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
+<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkAuth="false" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3645,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="1453" >
-<cdparam x="491" y="277" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1000" id="1447" >
+<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="choice" value="null" />
-<TGConnectingPoint num="0" id="1449" />
-<TGConnectingPoint num="1" id="1450" />
-<TGConnectingPoint num="2" id="1451" />
-<TGConnectingPoint num="3" id="1452" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="1446" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1446" >
-<father id="1453" 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="1447" >
-<father id="1453" num="1" />
-<cdparam x="526" y="287" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1010" id="1450" >
+<cdparam x="141" y="129" />
+<sizeparam width="51" 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="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1448" >
-<father id="1453" num="2" />
-<cdparam x="511" y="322" />
-<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="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="1448" />
+<TGConnectingPoint num="1" id="1449" />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1453" >
+<cdparam x="113" y="182" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="1451" />
+<TGConnectingPoint num="1" id="1452" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1000" id="1455" >
-<cdparam x="501" y="91" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1456" >
+<cdparam x="144" y="237" />
+<sizeparam width="44" 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" />
+<infoparam name="wait event" value="pTS() " />
 <TGConnectingPoint num="0" id="1454" />
+<TGConnectingPoint num="1" id="1455" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1458" >
-<cdparam x="482" y="129" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1459" >
+<cdparam x="124" y="308" />
+<sizeparam width="85" 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="1456" />
-<TGConnectingPoint num="1" id="1457" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="1457" />
+<TGConnectingPoint num="1" id="1458" />
 <extraparam>
-<Data eventName="open" nbOfParams="5" />
+<Data eventName="pTSConfirm" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1461" >
-<cdparam x="466" y="178" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1476" >
+<cdparam x="376" y="98" />
+<sizeparam width="233" 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="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="1459" />
-<TGConnectingPoint num="1" id="1460" />
+<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="1460" />
+<TGConnectingPoint num="1" id="1461" />
+<TGConnectingPoint num="2" id="1462" />
+<TGConnectingPoint num="3" id="1463" />
+<TGConnectingPoint num="4" id="1464" />
+<TGConnectingPoint num="5" id="1465" />
+<TGConnectingPoint num="6" id="1466" />
+<TGConnectingPoint num="7" id="1467" />
+<TGConnectingPoint num="8" id="1468" />
+<TGConnectingPoint num="9" id="1469" />
+<TGConnectingPoint num="10" id="1470" />
+<TGConnectingPoint num="11" id="1471" />
+<TGConnectingPoint num="12" id="1472" />
+<TGConnectingPoint num="13" id="1473" />
+<TGConnectingPoint num="14" id="1474" />
+<TGConnectingPoint num="15" id="1475" />
 <extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" />
+<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="1464" >
-<cdparam x="467" y="226" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1479" >
+<cdparam x="254" y="97" />
+<sizeparam width="89" 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="1462" />
-<TGConnectingPoint num="1" id="1463" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="1477" />
+<TGConnectingPoint num="1" id="1478" />
 <extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="1482" >
+<cdparam x="241" y="148" />
+<sizeparam width="114" 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="1480" />
+<TGConnectingPoint num="1" id="1481" />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1484" >
+<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="1483" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1487" >
+<cdparam x="309" y="350" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="data_Ready_SC()" />
+<TGConnectingPoint num="0" id="1485" />
+<TGConnectingPoint num="1" id="1486" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1489" >
+<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="1488" />
+</COMPONENT>
+
+<COMPONENT type="1009" id="1492" >
+<cdparam x="321" y="308" />
+<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromTtoP(1) " />
+<TGConnectingPoint num="0" id="1490" />
+<TGConnectingPoint num="1" id="1491" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1495" >
+<cdparam x="337" y="264" />
+<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="send() " />
+<TGConnectingPoint num="0" id="1493" />
+<TGConnectingPoint num="1" id="1494" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1498" >
+<cdparam x="319" y="392" />
+<sizeparam width="87" 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="1496" />
+<TGConnectingPoint num="1" id="1497" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1501" >
+<cdparam x="496" y="350" />
+<sizeparam width="59" 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="1499" />
+<TGConnectingPoint num="1" id="1500" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1009" id="1504" >
+<cdparam x="480" y="311" />
+<sizeparam width="91" 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="1502" />
+<TGConnectingPoint num="1" id="1503" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1466" >
-<cdparam x="576" y="388" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1507" >
+<cdparam x="486" y="387" />
+<sizeparam width="79" 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="1465" />
+<infoparam name="write channel" value="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="1505" />
+<TGConnectingPoint num="1" id="1506" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1469" >
-<cdparam x="559" y="329" />
-<sizeparam width="54" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1510" >
+<cdparam x="480" y="268" />
+<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="1467" />
-<TGConnectingPoint num="1" id="1468" />
+<infoparam name="wait event" value="data_Ready() " />
+<TGConnectingPoint num="0" id="1508" />
+<TGConnectingPoint num="1" id="1509" />
+<breakpoint />
 <extraparam>
-<Data eventName="abort" nbOfParams="5" />
+<Data eventName="data_Ready" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1472" >
-<cdparam x="406" y="337" />
-<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="1514" >
+<cdparam x="236" y="202" />
+<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 event" value="close()" />
-<TGConnectingPoint num="0" id="1470" />
-<TGConnectingPoint num="1" id="1471" />
+<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
+<TGConnectingPoint num="0" id="1511" />
+<TGConnectingPoint num="1" id="1512" />
+<TGConnectingPoint num="2" id="1513" />
 <extraparam>
-<Data eventName="close" nbOfParams="5" />
+<Data init="j=0" condition="x==0" increment="j = j" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1474" >
-<cdparam x="422" y="386" />
+<COMPONENT type="1001" id="1516" >
+<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="1473" />
+<TGConnectingPoint num="0" id="1515" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="1475" >
-<cdparam x="509" y="94" />
+<COMPONENT type="1018" id="1527" >
+<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="1517" />
+<TGConnectingPoint num="1" id="1518" />
+<TGConnectingPoint num="2" id="1519" />
+<TGConnectingPoint num="3" id="1520" />
+<TGConnectingPoint num="4" id="1521" />
+<TGConnectingPoint num="5" id="1522" />
+<TGConnectingPoint num="6" id="1523" />
+<TGConnectingPoint num="7" id="1524" />
+<TGConnectingPoint num="8" id="1525" />
+<TGConnectingPoint num="9" id="1526" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="1532" >
+<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 start state to send event" value="null" />
-<P1  x="508" y="111" id="1454" />
-<P2  x="508" y="124" id="1456" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="166" y="333" id="1458" />
+<P2  x="298" y="92" id="1477" />
+<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="1528" >
+<father id="1532" 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="1529" >
+<father id="1532" 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="1530" >
+<father id="1532" 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="1531" >
+<father id="1532" 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="1533" >
+<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="1446" />
+<P2  x="166" y="124" id="1448" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1476" >
-<cdparam x="508" y="154" />
+<CONNECTOR type="115" id="1534" >
+<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="1449" />
+<P2  x="166" y="177" id="1451" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1535" >
+<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="1478" />
+<P2  x="298" y="143" id="1480" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1536" >
+<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="1494" />
+<P2  x="362" y="303" id="1490" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1537" >
+<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="1491" />
+<P2  x="362" y="345" id="1485" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1538" >
+<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="508" y="154" id="1457" />
-<P2  x="508" y="173" id="1459" />
+<P1  x="362" y="375" id="1486" />
+<P2  x="362" y="387" id="1496" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1477" >
-<cdparam x="508" y="222" />
+<CONNECTOR type="115" id="1539" >
+<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 send event" value="null" />
-<P1  x="508" y="203" id="1460" />
-<P2  x="507" y="221" id="1462" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="362" y="417" id="1497" />
+<P2  x="362" y="421" id="1488" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1478" >
-<cdparam x="586" y="354" />
+<CONNECTOR type="115" id="1540" >
+<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 send event to stop state" value="null" />
-<P1  x="586" y="354" id="1468" />
-<P2  x="586" y="383" id="1465" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="525" y="336" id="1503" />
+<P2  x="525" y="345" id="1499" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1479" >
-<cdparam x="508" y="298" />
+<CONNECTOR type="115" id="1541" >
+<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 choice" value="null" />
-<P1  x="507" y="251" id="1463" />
-<P2  x="506" y="267" id="1449" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="525" y="375" id="1500" />
+<P2  x="525" y="382" id="1505" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1480" >
-<cdparam x="470" y="348" />
+<CONNECTOR type="115" id="1542" >
+<cdparam x="543" y="305" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="466" y="292" id="1450" />
-<P2  x="432" y="332" id="1470" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="525" y="293" id="1509" />
+<P2  x="525" y="306" id="1502" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1481" >
-<cdparam x="432" y="362" />
+<CONNECTOR type="115" id="1543" >
+<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 send event to stop state" value="null" />
-<P1  x="432" y="362" id="1471" />
-<P2  x="432" y="381" id="1473" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="525" y="412" id="1506" />
+<P2  x="525" y="423" id="1483" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1482" >
-<cdparam x="550" y="348" />
+<CONNECTOR type="115" id="1544" >
+<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 choice to send event" value="null" />
-<P1  x="546" y="292" id="1451" />
-<P2  x="586" y="324" id="1467" />
+<infoparam name="connector from send request to for loop" value="null" />
+<P1  x="298" y="173" id="1481" />
+<P2  x="298" y="197" id="1511" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1490" >
-<cdparam x="509" y="222" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1486" />
-<TGConnectingPoint num="1" id="1487" />
-<TGConnectingPoint num="2" id="1488" />
-<TGConnectingPoint num="3" id="1489" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1483" >
-<father id="1490" num="0" />
-<cdparam x="464" y="232" />
-<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ x==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1484" >
-<father id="1490" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ x&gt;0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1485" >
-<father id="1490" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="1492" >
-<cdparam x="517" y="87" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1491" />
-</COMPONENT>
-
-<COMPONENT type="1001" id="1494" >
-<cdparam x="417" y="367" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1493" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1497" >
-<cdparam x="393" y="299" />
-<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="timeOut()" />
-<TGConnectingPoint num="0" id="1495" />
-<TGConnectingPoint num="1" id="1496" />
-<extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1500" >
-<cdparam x="596" y="300" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="stop() " />
-<TGConnectingPoint num="0" id="1498" />
-<TGConnectingPoint num="1" id="1499" />
-<extraparam>
-<Data eventName="stop" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1502" >
-<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="1501" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="1505" >
-<cdparam x="487" y="150" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?stop()" />
-<TGConnectingPoint num="0" id="1503" />
-<TGConnectingPoint num="1" id="1504" />
-<extraparam>
-<Data eventName="stop" variable="x" />
-</extraparam>
-</COMPONENT>
-
-<CONNECTOR type="115" id="1506" >
-<cdparam x="427" y="324" />
+<CONNECTOR type="115" id="1545" >
+<cdparam x="328" y="232" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="427" y="324" id="1496" />
-<P2  x="427" y="362" id="1493" />
+<infoparam name="connector from for loop to stop state" value="null" />
+<P1  x="298" y="227" id="1513" />
+<P2  x="307" y="226" id="1515" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1507" >
-<cdparam x="622" y="325" />
+<CONNECTOR type="115" id="1546" >
+<cdparam x="395" y="283" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="622" y="325" id="1499" />
-<P2  x="622" y="360" id="1501" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="399" y="241" id="1518" />
+<P2  x="362" y="259" id="1493" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1508" >
-<cdparam x="524" y="107" />
+<CONNECTOR type="115" id="1547" >
+<cdparam x="543" y="341" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to notified event" value="null" />
-<P1  x="524" y="107" id="1491" />
-<P2  x="524" y="145" id="1503" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="479" y="241" id="1519" />
+<P2  x="525" y="263" id="1508" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1509" >
-<cdparam x="524" y="175" />
+<CONNECTOR type="115" id="1548" >
+<cdparam x="391" y="282" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="524" y="175" id="1504" />
-<P2  x="524" y="212" id="1486" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="361" y="216" id="1512" />
+<P2  x="439" y="216" id="1517" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1510" >
-<cdparam x="484" y="237" />
+<CONNECTOR type="115" id="1549" >
+<cdparam x="164" y="262" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="484" y="237" id="1487" />
-<P2  x="427" y="294" id="1495" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="262" id="1455" />
+<P2  x="166" y="303" id="1457" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1511" >
-<cdparam x="564" y="237" />
+<CONNECTOR type="115" id="1550" >
+<cdparam x="166" y="207" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="564" y="237" id="1488" />
-<P2  x="622" y="295" id="1498" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="166" y="207" id="1452" />
+<P2  x="166" y="232" id="1454" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
 <TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1012" id="1519" >
+<COMPONENT type="1012" id="1558" >
 <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="1515" />
-<TGConnectingPoint num="1" id="1516" />
-<TGConnectingPoint num="2" id="1517" />
-<TGConnectingPoint num="3" id="1518" />
+<TGConnectingPoint num="0" id="1554" />
+<TGConnectingPoint num="1" id="1555" />
+<TGConnectingPoint num="2" id="1556" />
+<TGConnectingPoint num="3" id="1557" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1512" >
-<father id="1519" num="0" />
+<SUBCOMPONENT type="-1" id="1551" >
+<father id="1558" 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="1513" >
-<father id="1519" num="1" />
+<SUBCOMPONENT type="-1" id="1552" >
+<father id="1558" 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="1514" >
-<father id="1519" num="2" />
+<SUBCOMPONENT type="-1" id="1553" >
+<father id="1558" 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" />
@@ -4032,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="1527" >
+<COMPONENT type="1012" id="1566" >
 <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="1523" />
-<TGConnectingPoint num="1" id="1524" />
-<TGConnectingPoint num="2" id="1525" />
-<TGConnectingPoint num="3" id="1526" />
+<TGConnectingPoint num="0" id="1562" />
+<TGConnectingPoint num="1" id="1563" />
+<TGConnectingPoint num="2" id="1564" />
+<TGConnectingPoint num="3" id="1565" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1520" >
-<father id="1527" num="0" />
+<SUBCOMPONENT type="-1" id="1559" >
+<father id="1566" 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="1521" >
-<father id="1527" num="1" />
+<SUBCOMPONENT type="-1" id="1560" >
+<father id="1566" 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="1522" >
-<father id="1527" num="2" />
+<SUBCOMPONENT type="-1" id="1561" >
+<father id="1566" 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" />
@@ -4068,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="1535" >
+<COMPONENT type="1012" id="1574" >
 <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="1531" />
-<TGConnectingPoint num="1" id="1532" />
-<TGConnectingPoint num="2" id="1533" />
-<TGConnectingPoint num="3" id="1534" />
+<TGConnectingPoint num="0" id="1570" />
+<TGConnectingPoint num="1" id="1571" />
+<TGConnectingPoint num="2" id="1572" />
+<TGConnectingPoint num="3" id="1573" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1528" >
-<father id="1535" num="0" />
+<SUBCOMPONENT type="-1" id="1567" >
+<father id="1574" 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="1529" >
-<father id="1535" num="1" />
+<SUBCOMPONENT type="-1" id="1568" >
+<father id="1574" 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="1530" >
-<father id="1535" num="2" />
+<SUBCOMPONENT type="-1" id="1569" >
+<father id="1574" 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" />
@@ -4104,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="1543" >
+<COMPONENT type="1012" id="1582" >
 <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="1539" />
-<TGConnectingPoint num="1" id="1540" />
-<TGConnectingPoint num="2" id="1541" />
-<TGConnectingPoint num="3" id="1542" />
+<TGConnectingPoint num="0" id="1578" />
+<TGConnectingPoint num="1" id="1579" />
+<TGConnectingPoint num="2" id="1580" />
+<TGConnectingPoint num="3" id="1581" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1536" >
-<father id="1543" num="0" />
+<SUBCOMPONENT type="-1" id="1575" >
+<father id="1582" 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="1537" >
-<father id="1543" num="1" />
+<SUBCOMPONENT type="-1" id="1576" >
+<father id="1582" 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="1538" >
-<father id="1543" num="2" />
+<SUBCOMPONENT type="-1" id="1577" >
+<father id="1582" 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" />
@@ -4140,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="1551" >
+<COMPONENT type="1012" id="1590" >
 <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="1547" />
-<TGConnectingPoint num="1" id="1548" />
-<TGConnectingPoint num="2" id="1549" />
-<TGConnectingPoint num="3" id="1550" />
+<TGConnectingPoint num="0" id="1586" />
+<TGConnectingPoint num="1" id="1587" />
+<TGConnectingPoint num="2" id="1588" />
+<TGConnectingPoint num="3" id="1589" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1544" >
-<father id="1551" num="0" />
+<SUBCOMPONENT type="-1" id="1583" >
+<father id="1590" 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="1545" >
-<father id="1551" num="1" />
+<SUBCOMPONENT type="-1" id="1584" >
+<father id="1590" 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="1546" >
-<father id="1551" num="2" />
+<SUBCOMPONENT type="-1" id="1585" >
+<father id="1590" 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" />
@@ -4176,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="1555" >
+<COMPONENT type="1013" id="1594" >
 <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="1553" />
-<TGConnectingPoint num="1" id="1554" />
+<TGConnectingPoint num="0" id="1592" />
+<TGConnectingPoint num="1" id="1593" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1552" >
-<father id="1555" num="0" />
+<SUBCOMPONENT type="-1" id="1591" >
+<father id="1594" 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" />
@@ -4194,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="1559" >
+<COMPONENT type="1013" id="1598" >
 <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="1557" />
-<TGConnectingPoint num="1" id="1558" />
+<TGConnectingPoint num="0" id="1596" />
+<TGConnectingPoint num="1" id="1597" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1556" >
-<father id="1559" num="0" />
+<SUBCOMPONENT type="-1" id="1595" >
+<father id="1598" 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" />
@@ -4212,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="1567" >
+<COMPONENT type="1012" id="1606" >
 <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="1563" />
-<TGConnectingPoint num="1" id="1564" />
-<TGConnectingPoint num="2" id="1565" />
-<TGConnectingPoint num="3" id="1566" />
+<TGConnectingPoint num="0" id="1602" />
+<TGConnectingPoint num="1" id="1603" />
+<TGConnectingPoint num="2" id="1604" />
+<TGConnectingPoint num="3" id="1605" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1560" >
-<father id="1567" num="0" />
+<SUBCOMPONENT type="-1" id="1599" >
+<father id="1606" 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="1561" >
-<father id="1567" num="1" />
+<SUBCOMPONENT type="-1" id="1600" >
+<father id="1606" 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="1562" >
-<father id="1567" num="2" />
+<SUBCOMPONENT type="-1" id="1601" >
+<father id="1606" 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" />
@@ -4248,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="1575" >
+<COMPONENT type="1012" id="1614" >
 <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="1571" />
-<TGConnectingPoint num="1" id="1572" />
-<TGConnectingPoint num="2" id="1573" />
-<TGConnectingPoint num="3" id="1574" />
+<TGConnectingPoint num="0" id="1610" />
+<TGConnectingPoint num="1" id="1611" />
+<TGConnectingPoint num="2" id="1612" />
+<TGConnectingPoint num="3" id="1613" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1568" >
-<father id="1575" num="0" />
+<SUBCOMPONENT type="-1" id="1607" >
+<father id="1614" 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="1569" >
-<father id="1575" num="1" />
+<SUBCOMPONENT type="-1" id="1608" >
+<father id="1614" 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="1570" >
-<father id="1575" num="2" />
+<SUBCOMPONENT type="-1" id="1609" >
+<father id="1614" 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" />
@@ -4284,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="1579" >
+<COMPONENT type="1013" id="1618" >
 <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="1577" />
-<TGConnectingPoint num="1" id="1578" />
+<TGConnectingPoint num="0" id="1616" />
+<TGConnectingPoint num="1" id="1617" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1576" >
-<father id="1579" num="0" />
+<SUBCOMPONENT type="-1" id="1615" >
+<father id="1618" 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" />
@@ -4302,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="1583" >
+<COMPONENT type="1013" id="1622" >
 <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="1581" />
-<TGConnectingPoint num="1" id="1582" />
+<TGConnectingPoint num="0" id="1620" />
+<TGConnectingPoint num="1" id="1621" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1580" >
-<father id="1583" num="0" />
+<SUBCOMPONENT type="-1" id="1619" >
+<father id="1622" 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" />
@@ -4320,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="1587" >
+<COMPONENT type="1013" id="1626" >
 <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="1585" />
-<TGConnectingPoint num="1" id="1586" />
+<TGConnectingPoint num="0" id="1624" />
+<TGConnectingPoint num="1" id="1625" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1584" >
-<father id="1587" num="0" />
+<SUBCOMPONENT type="-1" id="1623" >
+<father id="1626" 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" />
@@ -4338,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="1595" >
+<COMPONENT type="1012" id="1634" >
 <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="1591" />
-<TGConnectingPoint num="1" id="1592" />
-<TGConnectingPoint num="2" id="1593" />
-<TGConnectingPoint num="3" id="1594" />
+<TGConnectingPoint num="0" id="1630" />
+<TGConnectingPoint num="1" id="1631" />
+<TGConnectingPoint num="2" id="1632" />
+<TGConnectingPoint num="3" id="1633" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1588" >
-<father id="1595" num="0" />
+<SUBCOMPONENT type="-1" id="1627" >
+<father id="1634" 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="1589" >
-<father id="1595" num="1" />
+<SUBCOMPONENT type="-1" id="1628" >
+<father id="1634" 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="1590" >
-<father id="1595" num="2" />
+<SUBCOMPONENT type="-1" id="1629" >
+<father id="1634" 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" />
@@ -4374,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="1599" >
+<COMPONENT type="1013" id="1638" >
 <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="1597" />
-<TGConnectingPoint num="1" id="1598" />
+<TGConnectingPoint num="0" id="1636" />
+<TGConnectingPoint num="1" id="1637" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1596" >
-<father id="1599" num="0" />
+<SUBCOMPONENT type="-1" id="1635" >
+<father id="1638" 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" />
@@ -4392,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="1607" >
+<COMPONENT type="1012" id="1646" >
 <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="1603" />
-<TGConnectingPoint num="1" id="1604" />
-<TGConnectingPoint num="2" id="1605" />
-<TGConnectingPoint num="3" id="1606" />
+<TGConnectingPoint num="0" id="1642" />
+<TGConnectingPoint num="1" id="1643" />
+<TGConnectingPoint num="2" id="1644" />
+<TGConnectingPoint num="3" id="1645" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1600" >
-<father id="1607" num="0" />
+<SUBCOMPONENT type="-1" id="1639" >
+<father id="1646" 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="1601" >
-<father id="1607" num="1" />
+<SUBCOMPONENT type="-1" id="1640" >
+<father id="1646" 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="1602" >
-<father id="1607" num="2" />
+<SUBCOMPONENT type="-1" id="1641" >
+<father id="1646" 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" />
@@ -4428,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="1611" >
+<COMPONENT type="1013" id="1650" >
 <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="1609" />
-<TGConnectingPoint num="1" id="1610" />
+<TGConnectingPoint num="0" id="1648" />
+<TGConnectingPoint num="1" id="1649" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1608" >
-<father id="1611" num="0" />
+<SUBCOMPONENT type="-1" id="1647" >
+<father id="1650" 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" />
@@ -4446,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="1615" >
+<COMPONENT type="1013" id="1654" >
 <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="1613" />
-<TGConnectingPoint num="1" id="1614" />
+<TGConnectingPoint num="0" id="1652" />
+<TGConnectingPoint num="1" id="1653" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1612" >
-<father id="1615" num="0" />
+<SUBCOMPONENT type="-1" id="1651" >
+<father id="1654" 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" />
@@ -4464,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="1623" >
+<COMPONENT type="1012" id="1662" >
 <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="1619" />
-<TGConnectingPoint num="1" id="1620" />
-<TGConnectingPoint num="2" id="1621" />
-<TGConnectingPoint num="3" id="1622" />
+<TGConnectingPoint num="0" id="1658" />
+<TGConnectingPoint num="1" id="1659" />
+<TGConnectingPoint num="2" id="1660" />
+<TGConnectingPoint num="3" id="1661" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1616" >
-<father id="1623" num="0" />
+<SUBCOMPONENT type="-1" id="1655" >
+<father id="1662" 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="1617" >
-<father id="1623" num="1" />
+<SUBCOMPONENT type="-1" id="1656" >
+<father id="1662" 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="1618" >
-<father id="1623" num="2" />
+<SUBCOMPONENT type="-1" id="1657" >
+<father id="1662" 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" />
@@ -4500,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="1627" >
+<COMPONENT type="1013" id="1666" >
 <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="1625" />
-<TGConnectingPoint num="1" id="1626" />
+<TGConnectingPoint num="0" id="1664" />
+<TGConnectingPoint num="1" id="1665" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1624" >
-<father id="1627" num="0" />
+<SUBCOMPONENT type="-1" id="1663" >
+<father id="1666" 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" />
@@ -4518,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="1635" >
+<COMPONENT type="1012" id="1674" >
 <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="1631" />
-<TGConnectingPoint num="1" id="1632" />
-<TGConnectingPoint num="2" id="1633" />
-<TGConnectingPoint num="3" id="1634" />
+<TGConnectingPoint num="0" id="1670" />
+<TGConnectingPoint num="1" id="1671" />
+<TGConnectingPoint num="2" id="1672" />
+<TGConnectingPoint num="3" id="1673" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1628" >
-<father id="1635" num="0" />
+<SUBCOMPONENT type="-1" id="1667" >
+<father id="1674" 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="1629" >
-<father id="1635" num="1" />
+<SUBCOMPONENT type="-1" id="1668" >
+<father id="1674" 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="1630" >
-<father id="1635" num="2" />
+<SUBCOMPONENT type="-1" id="1669" >
+<father id="1674" 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" />
@@ -4554,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="1639" >
+<COMPONENT type="1013" id="1678" >
 <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="1637" />
-<TGConnectingPoint num="1" id="1638" />
+<TGConnectingPoint num="0" id="1676" />
+<TGConnectingPoint num="1" id="1677" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1636" >
-<father id="1639" num="0" />
+<SUBCOMPONENT type="-1" id="1675" >
+<father id="1678" 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" />
@@ -4572,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="1643" >
+<COMPONENT type="1013" id="1682" >
 <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="1641" />
-<TGConnectingPoint num="1" id="1642" />
+<TGConnectingPoint num="0" id="1680" />
+<TGConnectingPoint num="1" id="1681" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1640" >
-<father id="1643" num="0" />
+<SUBCOMPONENT type="-1" id="1679" >
+<father id="1682" 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" />
@@ -4590,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="1651" >
+<COMPONENT type="1012" id="1690" >
 <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="1647" />
-<TGConnectingPoint num="1" id="1648" />
-<TGConnectingPoint num="2" id="1649" />
-<TGConnectingPoint num="3" id="1650" />
+<TGConnectingPoint num="0" id="1686" />
+<TGConnectingPoint num="1" id="1687" />
+<TGConnectingPoint num="2" id="1688" />
+<TGConnectingPoint num="3" id="1689" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1644" >
-<father id="1651" num="0" />
+<SUBCOMPONENT type="-1" id="1683" >
+<father id="1690" 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="1645" >
-<father id="1651" num="1" />
+<SUBCOMPONENT type="-1" id="1684" >
+<father id="1690" 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="1646" >
-<father id="1651" num="2" />
+<SUBCOMPONENT type="-1" id="1685" >
+<father id="1690" 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" />
@@ -4626,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="1655" >
+<COMPONENT type="1013" id="1694" >
 <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="1653" />
-<TGConnectingPoint num="1" id="1654" />
+<TGConnectingPoint num="0" id="1692" />
+<TGConnectingPoint num="1" id="1693" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1652" >
-<father id="1655" num="0" />
+<SUBCOMPONENT type="-1" id="1691" >
+<father id="1694" 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" />
@@ -4644,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="1659" >
+<COMPONENT type="1013" id="1698" >
 <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="1657" />
-<TGConnectingPoint num="1" id="1658" />
+<TGConnectingPoint num="0" id="1696" />
+<TGConnectingPoint num="1" id="1697" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1656" >
-<father id="1659" num="0" />
+<SUBCOMPONENT type="-1" id="1695" >
+<father id="1698" 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" />
@@ -4662,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="1663" >
+<COMPONENT type="1013" id="1702" >
 <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="1661" />
-<TGConnectingPoint num="1" id="1662" />
+<TGConnectingPoint num="0" id="1700" />
+<TGConnectingPoint num="1" id="1701" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1660" >
-<father id="1663" num="0" />
+<SUBCOMPONENT type="-1" id="1699" >
+<father id="1702" 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" />
@@ -4680,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="1667" >
+<COMPONENT type="1013" id="1706" >
 <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="1665" />
-<TGConnectingPoint num="1" id="1666" />
+<TGConnectingPoint num="0" id="1704" />
+<TGConnectingPoint num="1" id="1705" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1664" >
-<father id="1667" num="0" />
+<SUBCOMPONENT type="-1" id="1703" >
+<father id="1706" 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" />
@@ -4698,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="1675" >
+<COMPONENT type="1012" id="1714" >
 <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="1671" />
-<TGConnectingPoint num="1" id="1672" />
-<TGConnectingPoint num="2" id="1673" />
-<TGConnectingPoint num="3" id="1674" />
+<TGConnectingPoint num="0" id="1710" />
+<TGConnectingPoint num="1" id="1711" />
+<TGConnectingPoint num="2" id="1712" />
+<TGConnectingPoint num="3" id="1713" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1668" >
-<father id="1675" num="0" />
+<SUBCOMPONENT type="-1" id="1707" >
+<father id="1714" 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="1669" >
-<father id="1675" num="1" />
+<SUBCOMPONENT type="-1" id="1708" >
+<father id="1714" 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="1670" >
-<father id="1675" num="2" />
+<SUBCOMPONENT type="-1" id="1709" >
+<father id="1714" 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" />
@@ -4734,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="1683" >
+<COMPONENT type="1012" id="1722" >
 <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="1679" />
-<TGConnectingPoint num="1" id="1680" />
-<TGConnectingPoint num="2" id="1681" />
-<TGConnectingPoint num="3" id="1682" />
+<TGConnectingPoint num="0" id="1718" />
+<TGConnectingPoint num="1" id="1719" />
+<TGConnectingPoint num="2" id="1720" />
+<TGConnectingPoint num="3" id="1721" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1676" >
-<father id="1683" num="0" />
+<SUBCOMPONENT type="-1" id="1715" >
+<father id="1722" 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="1677" >
-<father id="1683" num="1" />
+<SUBCOMPONENT type="-1" id="1716" >
+<father id="1722" 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="1678" >
-<father id="1683" num="2" />
+<SUBCOMPONENT type="-1" id="1717" >
+<father id="1722" 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" />
@@ -4770,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="1691" >
+<COMPONENT type="1012" id="1730" >
 <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="1687" />
-<TGConnectingPoint num="1" id="1688" />
-<TGConnectingPoint num="2" id="1689" />
-<TGConnectingPoint num="3" id="1690" />
+<TGConnectingPoint num="0" id="1726" />
+<TGConnectingPoint num="1" id="1727" />
+<TGConnectingPoint num="2" id="1728" />
+<TGConnectingPoint num="3" id="1729" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1684" >
-<father id="1691" num="0" />
+<SUBCOMPONENT type="-1" id="1723" >
+<father id="1730" 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="1685" >
-<father id="1691" num="1" />
+<SUBCOMPONENT type="-1" id="1724" >
+<father id="1730" 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="1686" >
-<father id="1691" num="2" />
+<SUBCOMPONENT type="-1" id="1725" >
+<father id="1730" 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" />
@@ -4806,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="1699" >
+<COMPONENT type="1012" id="1738" >
 <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="1695" />
-<TGConnectingPoint num="1" id="1696" />
-<TGConnectingPoint num="2" id="1697" />
-<TGConnectingPoint num="3" id="1698" />
+<TGConnectingPoint num="0" id="1734" />
+<TGConnectingPoint num="1" id="1735" />
+<TGConnectingPoint num="2" id="1736" />
+<TGConnectingPoint num="3" id="1737" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1692" >
-<father id="1699" num="0" />
+<SUBCOMPONENT type="-1" id="1731" >
+<father id="1738" 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="1693" >
-<father id="1699" num="1" />
+<SUBCOMPONENT type="-1" id="1732" >
+<father id="1738" 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="1694" >
-<father id="1699" num="2" />
+<SUBCOMPONENT type="-1" id="1733" >
+<father id="1738" 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" />
@@ -4842,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="1701" >
+<COMPONENT type="1000" id="1740" >
 <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="1700" />
+<TGConnectingPoint num="0" id="1739" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1718" >
+<COMPONENT type="301" id="1757" >
 <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" />
@@ -4868,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="1702" />
-<TGConnectingPoint num="1" id="1703" />
-<TGConnectingPoint num="2" id="1704" />
-<TGConnectingPoint num="3" id="1705" />
-<TGConnectingPoint num="4" id="1706" />
-<TGConnectingPoint num="5" id="1707" />
-<TGConnectingPoint num="6" id="1708" />
-<TGConnectingPoint num="7" id="1709" />
-<TGConnectingPoint num="8" id="1710" />
-<TGConnectingPoint num="9" id="1711" />
-<TGConnectingPoint num="10" id="1712" />
-<TGConnectingPoint num="11" id="1713" />
-<TGConnectingPoint num="12" id="1714" />
-<TGConnectingPoint num="13" id="1715" />
-<TGConnectingPoint num="14" id="1716" />
-<TGConnectingPoint num="15" id="1717" />
+<TGConnectingPoint num="0" id="1741" />
+<TGConnectingPoint num="1" id="1742" />
+<TGConnectingPoint num="2" id="1743" />
+<TGConnectingPoint num="3" id="1744" />
+<TGConnectingPoint num="4" id="1745" />
+<TGConnectingPoint num="5" id="1746" />
+<TGConnectingPoint num="6" id="1747" />
+<TGConnectingPoint num="7" id="1748" />
+<TGConnectingPoint num="8" id="1749" />
+<TGConnectingPoint num="9" id="1750" />
+<TGConnectingPoint num="10" id="1751" />
+<TGConnectingPoint num="11" id="1752" />
+<TGConnectingPoint num="12" id="1753" />
+<TGConnectingPoint num="13" id="1754" />
+<TGConnectingPoint num="14" id="1755" />
+<TGConnectingPoint num="15" id="1756" />
 <extraparam>
 <Line value="0: closed" />
 <Line value="1: Listen" />
@@ -4899,223 +5024,223 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1721" >
+<COMPONENT type="1011" id="1760" >
 <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="1719" />
-<TGConnectingPoint num="1" id="1720" />
+<TGConnectingPoint num="0" id="1758" />
+<TGConnectingPoint num="1" id="1759" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1723" >
+<COMPONENT type="1001" id="1762" >
 <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="1722" />
+<TGConnectingPoint num="0" id="1761" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="1726" >
+<COMPONENT type="1009" id="1765" >
 <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="1724" />
-<TGConnectingPoint num="1" id="1725" />
+<TGConnectingPoint num="0" id="1763" />
+<TGConnectingPoint num="1" id="1764" />
 <extraparam>
 <Data channelName="fromPtoT" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="1730" >
+<COMPONENT type="1014" id="1769" >
 <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="1727" />
-<TGConnectingPoint num="1" id="1728" />
-<TGConnectingPoint num="2" id="1729" />
+<TGConnectingPoint num="0" id="1766" />
+<TGConnectingPoint num="1" id="1767" />
+<TGConnectingPoint num="2" id="1768" />
 <extraparam>
 <Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1732" >
+<COMPONENT type="1001" id="1771" >
 <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="1731" />
+<TGConnectingPoint num="0" id="1770" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1735" >
+<COMPONENT type="1011" id="1774" >
 <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="1733" />
-<TGConnectingPoint num="1" id="1734" />
+<TGConnectingPoint num="0" id="1772" />
+<TGConnectingPoint num="1" id="1773" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="1738" >
+<COMPONENT type="1017" id="1777" >
 <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="1736" />
-<TGConnectingPoint num="1" id="1737" />
+<TGConnectingPoint num="0" id="1775" />
+<TGConnectingPoint num="1" id="1776" />
 <extraparam>
 <Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1741" >
+<COMPONENT type="1009" id="1780" >
 <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="1739" />
-<TGConnectingPoint num="1" id="1740" />
+<TGConnectingPoint num="0" id="1778" />
+<TGConnectingPoint num="1" id="1779" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1744" >
+<COMPONENT type="1010" id="1783" >
 <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="1742" />
-<TGConnectingPoint num="1" id="1743" />
+<TGConnectingPoint num="0" id="1781" />
+<TGConnectingPoint num="1" id="1782" />
 <extraparam>
 <Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1747" >
+<COMPONENT type="1010" id="1786" >
 <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="1745" />
-<TGConnectingPoint num="1" id="1746" />
+<TGConnectingPoint num="0" id="1784" />
+<TGConnectingPoint num="1" id="1785" />
 <extraparam>
 <Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1750" >
+<COMPONENT type="1010" id="1789" >
 <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="1748" />
-<TGConnectingPoint num="1" id="1749" />
+<TGConnectingPoint num="0" id="1787" />
+<TGConnectingPoint num="1" id="1788" />
 <extraparam>
 <Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1753" >
+<COMPONENT type="1010" id="1792" >
 <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="1751" />
-<TGConnectingPoint num="1" id="1752" />
+<TGConnectingPoint num="0" id="1790" />
+<TGConnectingPoint num="1" id="1791" />
 <extraparam>
 <Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1756" >
+<COMPONENT type="1010" id="1795" >
 <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="1754" />
-<TGConnectingPoint num="1" id="1755" />
+<TGConnectingPoint num="0" id="1793" />
+<TGConnectingPoint num="1" id="1794" />
 <breakpoint />
 <extraparam>
 <Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1018" id="1767" >
+<COMPONENT type="1018" id="1806" >
 <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="1757" />
-<TGConnectingPoint num="1" id="1758" />
-<TGConnectingPoint num="2" id="1759" />
-<TGConnectingPoint num="3" id="1760" />
-<TGConnectingPoint num="4" id="1761" />
-<TGConnectingPoint num="5" id="1762" />
-<TGConnectingPoint num="6" id="1763" />
-<TGConnectingPoint num="7" id="1764" />
-<TGConnectingPoint num="8" id="1765" />
-<TGConnectingPoint num="9" id="1766" />
+<TGConnectingPoint num="0" id="1796" />
+<TGConnectingPoint num="1" id="1797" />
+<TGConnectingPoint num="2" id="1798" />
+<TGConnectingPoint num="3" id="1799" />
+<TGConnectingPoint num="4" id="1800" />
+<TGConnectingPoint num="5" id="1801" />
+<TGConnectingPoint num="6" id="1802" />
+<TGConnectingPoint num="7" id="1803" />
+<TGConnectingPoint num="8" id="1804" />
+<TGConnectingPoint num="9" id="1805" />
 <breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1769" >
+<COMPONENT type="1001" id="1808" >
 <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="1768" />
+<TGConnectingPoint num="0" id="1807" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1771" >
+<COMPONENT type="1001" id="1810" >
 <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="1770" />
+<TGConnectingPoint num="0" id="1809" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="1774" >
+<COMPONENT type="1010" id="1813" >
 <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="1772" />
-<TGConnectingPoint num="1" id="1773" />
+<TGConnectingPoint num="0" id="1811" />
+<TGConnectingPoint num="1" id="1812" />
 <extraparam>
 <Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1776" >
+<COMPONENT type="1001" id="1815" >
 <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="1775" />
+<TGConnectingPoint num="0" id="1814" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1793" >
+<COMPONENT type="301" id="1832" >
 <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" />
@@ -5125,22 +5250,22 @@ ou depaquitiser un paquet TCP
 
 On prend b=1 comme exemple
 " />
-<TGConnectingPoint num="0" id="1777" />
-<TGConnectingPoint num="1" id="1778" />
-<TGConnectingPoint num="2" id="1779" />
-<TGConnectingPoint num="3" id="1780" />
-<TGConnectingPoint num="4" id="1781" />
-<TGConnectingPoint num="5" id="1782" />
-<TGConnectingPoint num="6" id="1783" />
-<TGConnectingPoint num="7" id="1784" />
-<TGConnectingPoint num="8" id="1785" />
-<TGConnectingPoint num="9" id="1786" />
-<TGConnectingPoint num="10" id="1787" />
-<TGConnectingPoint num="11" id="1788" />
-<TGConnectingPoint num="12" id="1789" />
-<TGConnectingPoint num="13" id="1790" />
-<TGConnectingPoint num="14" id="1791" />
-<TGConnectingPoint num="15" id="1792" />
+<TGConnectingPoint num="0" id="1816" />
+<TGConnectingPoint num="1" id="1817" />
+<TGConnectingPoint num="2" id="1818" />
+<TGConnectingPoint num="3" id="1819" />
+<TGConnectingPoint num="4" id="1820" />
+<TGConnectingPoint num="5" id="1821" />
+<TGConnectingPoint num="6" id="1822" />
+<TGConnectingPoint num="7" id="1823" />
+<TGConnectingPoint num="8" id="1824" />
+<TGConnectingPoint num="9" id="1825" />
+<TGConnectingPoint num="10" id="1826" />
+<TGConnectingPoint num="11" id="1827" />
+<TGConnectingPoint num="12" id="1828" />
+<TGConnectingPoint num="13" id="1829" />
+<TGConnectingPoint num="14" id="1830" />
+<TGConnectingPoint num="15" id="1831" />
 <extraparam>
 <Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
 <Line value="ou depaquitiser un paquet TCP" />
@@ -5149,2955 +5274,2830 @@ On prend b=1 comme exemple
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1796" >
+<COMPONENT type="1009" id="1835" >
 <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="1794" />
-<TGConnectingPoint num="1" id="1795" />
+<TGConnectingPoint num="0" id="1833" />
+<TGConnectingPoint num="1" id="1834" />
 <extraparam>
 <Data channelName="fromAtoT" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1799" >
+<COMPONENT type="1006" id="1838" >
 <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="1797" />
-<TGConnectingPoint num="1" id="1798" />
+<TGConnectingPoint num="0" id="1836" />
+<TGConnectingPoint num="1" id="1837" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1801" >
+<COMPONENT type="1001" id="1840" >
 <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="1800" />
+<TGConnectingPoint num="0" id="1839" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1804" >
+<COMPONENT type="1011" id="1843" >
 <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="1802" />
-<TGConnectingPoint num="1" id="1803" />
+<TGConnectingPoint num="0" id="1841" />
+<TGConnectingPoint num="1" id="1842" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1806" >
+<COMPONENT type="1001" id="1845" >
 <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="1805" />
+<TGConnectingPoint num="0" id="1844" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1809" >
+<COMPONENT type="1011" id="1848" >
 <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="1807" />
-<TGConnectingPoint num="1" id="1808" />
+<TGConnectingPoint num="0" id="1846" />
+<TGConnectingPoint num="1" id="1847" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1812" >
+<COMPONENT type="1006" id="1851" >
 <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="1810" />
-<TGConnectingPoint num="1" id="1811" />
+<TGConnectingPoint num="0" id="1849" />
+<TGConnectingPoint num="1" id="1850" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1815" >
+<COMPONENT type="1011" id="1854" >
 <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="1813" />
-<TGConnectingPoint num="1" id="1814" />
+<TGConnectingPoint num="0" id="1852" />
+<TGConnectingPoint num="1" id="1853" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1817" >
+<COMPONENT type="1001" id="1856" >
 <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="1816" />
+<TGConnectingPoint num="0" id="1855" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1820" >
+<COMPONENT type="1006" id="1859" >
 <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="1818" />
-<TGConnectingPoint num="1" id="1819" />
+<TGConnectingPoint num="0" id="1857" />
+<TGConnectingPoint num="1" id="1858" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1823" >
+<COMPONENT type="1006" id="1862" >
 <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="1821" />
-<TGConnectingPoint num="1" id="1822" />
+<TGConnectingPoint num="0" id="1860" />
+<TGConnectingPoint num="1" id="1861" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1825" >
+<COMPONENT type="1001" id="1864" >
 <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="1824" />
+<TGConnectingPoint num="0" id="1863" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1842" >
+<COMPONENT type="301" id="1881" >
 <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="1826" />
-<TGConnectingPoint num="1" id="1827" />
-<TGConnectingPoint num="2" id="1828" />
-<TGConnectingPoint num="3" id="1829" />
-<TGConnectingPoint num="4" id="1830" />
-<TGConnectingPoint num="5" id="1831" />
-<TGConnectingPoint num="6" id="1832" />
-<TGConnectingPoint num="7" id="1833" />
-<TGConnectingPoint num="8" id="1834" />
-<TGConnectingPoint num="9" id="1835" />
-<TGConnectingPoint num="10" id="1836" />
-<TGConnectingPoint num="11" id="1837" />
-<TGConnectingPoint num="12" id="1838" />
-<TGConnectingPoint num="13" id="1839" />
-<TGConnectingPoint num="14" id="1840" />
-<TGConnectingPoint num="15" id="1841" />
+<TGConnectingPoint num="0" id="1865" />
+<TGConnectingPoint num="1" id="1866" />
+<TGConnectingPoint num="2" id="1867" />
+<TGConnectingPoint num="3" id="1868" />
+<TGConnectingPoint num="4" id="1869" />
+<TGConnectingPoint num="5" id="1870" />
+<TGConnectingPoint num="6" id="1871" />
+<TGConnectingPoint num="7" id="1872" />
+<TGConnectingPoint num="8" id="1873" />
+<TGConnectingPoint num="9" id="1874" />
+<TGConnectingPoint num="10" id="1875" />
+<TGConnectingPoint num="11" id="1876" />
+<TGConnectingPoint num="12" id="1877" />
+<TGConnectingPoint num="13" id="1878" />
+<TGConnectingPoint num="14" id="1879" />
+<TGConnectingPoint num="15" id="1880" />
 <extraparam>
 <Line value="Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1845" >
+<COMPONENT type="1011" id="1884" >
 <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="1843" />
-<TGConnectingPoint num="1" id="1844" />
+<TGConnectingPoint num="0" id="1882" />
+<TGConnectingPoint num="1" id="1883" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1847" >
+<COMPONENT type="1001" id="1886" >
 <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="1846" />
+<TGConnectingPoint num="0" id="1885" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1850" >
+<COMPONENT type="1006" id="1889" >
 <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="1848" />
-<TGConnectingPoint num="1" id="1849" />
+<TGConnectingPoint num="0" id="1887" />
+<TGConnectingPoint num="1" id="1888" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1867" >
+<COMPONENT type="301" id="1906" >
 <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="1851" />
-<TGConnectingPoint num="1" id="1852" />
-<TGConnectingPoint num="2" id="1853" />
-<TGConnectingPoint num="3" id="1854" />
-<TGConnectingPoint num="4" id="1855" />
-<TGConnectingPoint num="5" id="1856" />
-<TGConnectingPoint num="6" id="1857" />
-<TGConnectingPoint num="7" id="1858" />
-<TGConnectingPoint num="8" id="1859" />
-<TGConnectingPoint num="9" id="1860" />
-<TGConnectingPoint num="10" id="1861" />
-<TGConnectingPoint num="11" id="1862" />
-<TGConnectingPoint num="12" id="1863" />
-<TGConnectingPoint num="13" id="1864" />
-<TGConnectingPoint num="14" id="1865" />
-<TGConnectingPoint num="15" id="1866" />
+<TGConnectingPoint num="0" id="1890" />
+<TGConnectingPoint num="1" id="1891" />
+<TGConnectingPoint num="2" id="1892" />
+<TGConnectingPoint num="3" id="1893" />
+<TGConnectingPoint num="4" id="1894" />
+<TGConnectingPoint num="5" id="1895" />
+<TGConnectingPoint num="6" id="1896" />
+<TGConnectingPoint num="7" id="1897" />
+<TGConnectingPoint num="8" id="1898" />
+<TGConnectingPoint num="9" id="1899" />
+<TGConnectingPoint num="10" id="1900" />
+<TGConnectingPoint num="11" id="1901" />
+<TGConnectingPoint num="12" id="1902" />
+<TGConnectingPoint num="13" id="1903" />
+<TGConnectingPoint num="14" id="1904" />
+<TGConnectingPoint num="15" id="1905" />
 <extraparam>
 <Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1884" >
+<COMPONENT type="301" id="1923" >
 <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="1868" />
-<TGConnectingPoint num="1" id="1869" />
-<TGConnectingPoint num="2" id="1870" />
-<TGConnectingPoint num="3" id="1871" />
-<TGConnectingPoint num="4" id="1872" />
-<TGConnectingPoint num="5" id="1873" />
-<TGConnectingPoint num="6" id="1874" />
-<TGConnectingPoint num="7" id="1875" />
-<TGConnectingPoint num="8" id="1876" />
-<TGConnectingPoint num="9" id="1877" />
-<TGConnectingPoint num="10" id="1878" />
-<TGConnectingPoint num="11" id="1879" />
-<TGConnectingPoint num="12" id="1880" />
-<TGConnectingPoint num="13" id="1881" />
-<TGConnectingPoint num="14" id="1882" />
-<TGConnectingPoint num="15" id="1883" />
+<TGConnectingPoint num="0" id="1907" />
+<TGConnectingPoint num="1" id="1908" />
+<TGConnectingPoint num="2" id="1909" />
+<TGConnectingPoint num="3" id="1910" />
+<TGConnectingPoint num="4" id="1911" />
+<TGConnectingPoint num="5" id="1912" />
+<TGConnectingPoint num="6" id="1913" />
+<TGConnectingPoint num="7" id="1914" />
+<TGConnectingPoint num="8" id="1915" />
+<TGConnectingPoint num="9" id="1916" />
+<TGConnectingPoint num="10" id="1917" />
+<TGConnectingPoint num="11" id="1918" />
+<TGConnectingPoint num="12" id="1919" />
+<TGConnectingPoint num="13" id="1920" />
+<TGConnectingPoint num="14" id="1921" />
+<TGConnectingPoint num="15" id="1922" />
 <extraparam>
 <Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1887" >
+<COMPONENT type="1011" id="1926" >
 <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="1885" />
-<TGConnectingPoint num="1" id="1886" />
+<TGConnectingPoint num="0" id="1924" />
+<TGConnectingPoint num="1" id="1925" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1890" >
+<COMPONENT type="1011" id="1929" >
 <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="1888" />
-<TGConnectingPoint num="1" id="1889" />
+<TGConnectingPoint num="0" id="1927" />
+<TGConnectingPoint num="1" id="1928" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1892" >
+<COMPONENT type="1001" id="1931" >
 <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="1891" />
+<TGConnectingPoint num="0" id="1930" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1895" >
+<COMPONENT type="1006" id="1934" >
 <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="1893" />
-<TGConnectingPoint num="1" id="1894" />
+<TGConnectingPoint num="0" id="1932" />
+<TGConnectingPoint num="1" id="1933" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1912" >
+<COMPONENT type="301" id="1951" >
 <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="1896" />
-<TGConnectingPoint num="1" id="1897" />
-<TGConnectingPoint num="2" id="1898" />
-<TGConnectingPoint num="3" id="1899" />
-<TGConnectingPoint num="4" id="1900" />
-<TGConnectingPoint num="5" id="1901" />
-<TGConnectingPoint num="6" id="1902" />
-<TGConnectingPoint num="7" id="1903" />
-<TGConnectingPoint num="8" id="1904" />
-<TGConnectingPoint num="9" id="1905" />
-<TGConnectingPoint num="10" id="1906" />
-<TGConnectingPoint num="11" id="1907" />
-<TGConnectingPoint num="12" id="1908" />
-<TGConnectingPoint num="13" id="1909" />
-<TGConnectingPoint num="14" id="1910" />
-<TGConnectingPoint num="15" id="1911" />
+<TGConnectingPoint num="0" id="1935" />
+<TGConnectingPoint num="1" id="1936" />
+<TGConnectingPoint num="2" id="1937" />
+<TGConnectingPoint num="3" id="1938" />
+<TGConnectingPoint num="4" id="1939" />
+<TGConnectingPoint num="5" id="1940" />
+<TGConnectingPoint num="6" id="1941" />
+<TGConnectingPoint num="7" id="1942" />
+<TGConnectingPoint num="8" id="1943" />
+<TGConnectingPoint num="9" id="1944" />
+<TGConnectingPoint num="10" id="1945" />
+<TGConnectingPoint num="11" id="1946" />
+<TGConnectingPoint num="12" id="1947" />
+<TGConnectingPoint num="13" id="1948" />
+<TGConnectingPoint num="14" id="1949" />
+<TGConnectingPoint num="15" id="1950" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1915" >
+<COMPONENT type="1011" id="1954" >
 <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="1913" />
-<TGConnectingPoint num="1" id="1914" />
+<TGConnectingPoint num="0" id="1952" />
+<TGConnectingPoint num="1" id="1953" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1917" >
+<COMPONENT type="1001" id="1956" >
 <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="1916" />
+<TGConnectingPoint num="0" id="1955" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1920" >
+<COMPONENT type="1006" id="1959" >
 <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="1918" />
-<TGConnectingPoint num="1" id="1919" />
+<TGConnectingPoint num="0" id="1957" />
+<TGConnectingPoint num="1" id="1958" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1937" >
+<COMPONENT type="301" id="1976" >
 <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="1921" />
-<TGConnectingPoint num="1" id="1922" />
-<TGConnectingPoint num="2" id="1923" />
-<TGConnectingPoint num="3" id="1924" />
-<TGConnectingPoint num="4" id="1925" />
-<TGConnectingPoint num="5" id="1926" />
-<TGConnectingPoint num="6" id="1927" />
-<TGConnectingPoint num="7" id="1928" />
-<TGConnectingPoint num="8" id="1929" />
-<TGConnectingPoint num="9" id="1930" />
-<TGConnectingPoint num="10" id="1931" />
-<TGConnectingPoint num="11" id="1932" />
-<TGConnectingPoint num="12" id="1933" />
-<TGConnectingPoint num="13" id="1934" />
-<TGConnectingPoint num="14" id="1935" />
-<TGConnectingPoint num="15" id="1936" />
+<TGConnectingPoint num="0" id="1960" />
+<TGConnectingPoint num="1" id="1961" />
+<TGConnectingPoint num="2" id="1962" />
+<TGConnectingPoint num="3" id="1963" />
+<TGConnectingPoint num="4" id="1964" />
+<TGConnectingPoint num="5" id="1965" />
+<TGConnectingPoint num="6" id="1966" />
+<TGConnectingPoint num="7" id="1967" />
+<TGConnectingPoint num="8" id="1968" />
+<TGConnectingPoint num="9" id="1969" />
+<TGConnectingPoint num="10" id="1970" />
+<TGConnectingPoint num="11" id="1971" />
+<TGConnectingPoint num="12" id="1972" />
+<TGConnectingPoint num="13" id="1973" />
+<TGConnectingPoint num="14" id="1974" />
+<TGConnectingPoint num="15" id="1975" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1940" >
+<COMPONENT type="1011" id="1979" >
 <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="1938" />
-<TGConnectingPoint num="1" id="1939" />
+<TGConnectingPoint num="0" id="1977" />
+<TGConnectingPoint num="1" id="1978" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1942" >
+<COMPONENT type="1001" id="1981" >
 <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="1941" />
+<TGConnectingPoint num="0" id="1980" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1945" >
+<COMPONENT type="1006" id="1984" >
 <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="1943" />
-<TGConnectingPoint num="1" id="1944" />
+<TGConnectingPoint num="0" id="1982" />
+<TGConnectingPoint num="1" id="1983" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1947" >
+<COMPONENT type="1001" id="1986" >
 <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="1946" />
+<TGConnectingPoint num="0" id="1985" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1950" >
+<COMPONENT type="1007" id="1989" >
 <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="1948" />
-<TGConnectingPoint num="1" id="1949" />
+<TGConnectingPoint num="0" id="1987" />
+<TGConnectingPoint num="1" id="1988" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1953" >
+<COMPONENT type="1006" id="1992" >
 <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="1951" />
-<TGConnectingPoint num="1" id="1952" />
+<TGConnectingPoint num="0" id="1990" />
+<TGConnectingPoint num="1" id="1991" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1955" >
+<COMPONENT type="1001" id="1994" >
 <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="1954" />
+<TGConnectingPoint num="0" id="1993" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1958" >
+<COMPONENT type="1007" id="1997" >
 <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="1956" />
-<TGConnectingPoint num="1" id="1957" />
+<TGConnectingPoint num="0" id="1995" />
+<TGConnectingPoint num="1" id="1996" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1961" >
+<COMPONENT type="1006" id="2000" >
 <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="1959" />
-<TGConnectingPoint num="1" id="1960" />
+<TGConnectingPoint num="0" id="1998" />
+<TGConnectingPoint num="1" id="1999" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1964" >
+<COMPONENT type="1007" id="2003" >
 <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="1962" />
-<TGConnectingPoint num="1" id="1963" />
+<TGConnectingPoint num="0" id="2001" />
+<TGConnectingPoint num="1" id="2002" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1967" >
+<COMPONENT type="1006" id="2006" >
 <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="1965" />
-<TGConnectingPoint num="1" id="1966" />
+<TGConnectingPoint num="0" id="2004" />
+<TGConnectingPoint num="1" id="2005" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1970" >
+<COMPONENT type="1007" id="2009" >
 <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="1968" />
-<TGConnectingPoint num="1" id="1969" />
+<TGConnectingPoint num="0" id="2007" />
+<TGConnectingPoint num="1" id="2008" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1973" >
+<COMPONENT type="1006" id="2012" >
 <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="1971" />
-<TGConnectingPoint num="1" id="1972" />
+<TGConnectingPoint num="0" id="2010" />
+<TGConnectingPoint num="1" id="2011" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1976" >
+<COMPONENT type="1011" id="2015" >
 <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="1974" />
-<TGConnectingPoint num="1" id="1975" />
+<TGConnectingPoint num="0" id="2013" />
+<TGConnectingPoint num="1" id="2014" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1979" >
+<COMPONENT type="1011" id="2018" >
 <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="1977" />
-<TGConnectingPoint num="1" id="1978" />
+<TGConnectingPoint num="0" id="2016" />
+<TGConnectingPoint num="1" id="2017" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1982" >
+<COMPONENT type="1011" id="2021" >
 <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="1980" />
-<TGConnectingPoint num="1" id="1981" />
+<TGConnectingPoint num="0" id="2019" />
+<TGConnectingPoint num="1" id="2020" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1985" >
+<COMPONENT type="1011" id="2024" >
 <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="1983" />
-<TGConnectingPoint num="1" id="1984" />
+<TGConnectingPoint num="0" id="2022" />
+<TGConnectingPoint num="1" id="2023" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1988" >
+<COMPONENT type="1008" id="2027" >
 <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="1986" />
-<TGConnectingPoint num="1" id="1987" />
+<TGConnectingPoint num="0" id="2025" />
+<TGConnectingPoint num="1" id="2026" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1991" >
+<COMPONENT type="1008" id="2030" >
 <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="1989" />
-<TGConnectingPoint num="1" id="1990" />
+<TGConnectingPoint num="0" id="2028" />
+<TGConnectingPoint num="1" id="2029" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1994" >
+<COMPONENT type="1008" id="2033" >
 <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="1992" />
-<TGConnectingPoint num="1" id="1993" />
+<TGConnectingPoint num="0" id="2031" />
+<TGConnectingPoint num="1" id="2032" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1997" >
+<COMPONENT type="1008" id="2036" >
 <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="1995" />
-<TGConnectingPoint num="1" id="1996" />
+<TGConnectingPoint num="0" id="2034" />
+<TGConnectingPoint num="1" id="2035" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2000" >
+<COMPONENT type="1008" id="2039" >
 <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="1998" />
-<TGConnectingPoint num="1" id="1999" />
+<TGConnectingPoint num="0" id="2037" />
+<TGConnectingPoint num="1" id="2038" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2003" >
+<COMPONENT type="1008" id="2042" >
 <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="2001" />
-<TGConnectingPoint num="1" id="2002" />
+<TGConnectingPoint num="0" id="2040" />
+<TGConnectingPoint num="1" id="2041" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2006" >
+<COMPONENT type="1008" id="2045" >
 <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="2004" />
-<TGConnectingPoint num="1" id="2005" />
+<TGConnectingPoint num="0" id="2043" />
+<TGConnectingPoint num="1" id="2044" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2009" >
+<COMPONENT type="1008" id="2048" >
 <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="2007" />
-<TGConnectingPoint num="1" id="2008" />
+<TGConnectingPoint num="0" id="2046" />
+<TGConnectingPoint num="1" id="2047" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2011" >
+<COMPONENT type="1001" id="2050" >
 <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="2010" />
+<TGConnectingPoint num="0" id="2049" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2013" >
+<COMPONENT type="1001" id="2052" >
 <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="2012" />
+<TGConnectingPoint num="0" id="2051" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2016" >
+<COMPONENT type="1006" id="2055" >
 <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="2014" />
-<TGConnectingPoint num="1" id="2015" />
+<TGConnectingPoint num="0" id="2053" />
+<TGConnectingPoint num="1" id="2054" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2033" >
+<COMPONENT type="301" id="2072" >
 <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="2017" />
-<TGConnectingPoint num="1" id="2018" />
-<TGConnectingPoint num="2" id="2019" />
-<TGConnectingPoint num="3" id="2020" />
-<TGConnectingPoint num="4" id="2021" />
-<TGConnectingPoint num="5" id="2022" />
-<TGConnectingPoint num="6" id="2023" />
-<TGConnectingPoint num="7" id="2024" />
-<TGConnectingPoint num="8" id="2025" />
-<TGConnectingPoint num="9" id="2026" />
-<TGConnectingPoint num="10" id="2027" />
-<TGConnectingPoint num="11" id="2028" />
-<TGConnectingPoint num="12" id="2029" />
-<TGConnectingPoint num="13" id="2030" />
-<TGConnectingPoint num="14" id="2031" />
-<TGConnectingPoint num="15" id="2032" />
+<TGConnectingPoint num="0" id="2056" />
+<TGConnectingPoint num="1" id="2057" />
+<TGConnectingPoint num="2" id="2058" />
+<TGConnectingPoint num="3" id="2059" />
+<TGConnectingPoint num="4" id="2060" />
+<TGConnectingPoint num="5" id="2061" />
+<TGConnectingPoint num="6" id="2062" />
+<TGConnectingPoint num="7" id="2063" />
+<TGConnectingPoint num="8" id="2064" />
+<TGConnectingPoint num="9" id="2065" />
+<TGConnectingPoint num="10" id="2066" />
+<TGConnectingPoint num="11" id="2067" />
+<TGConnectingPoint num="12" id="2068" />
+<TGConnectingPoint num="13" id="2069" />
+<TGConnectingPoint num="14" id="2070" />
+<TGConnectingPoint num="15" id="2071" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2036" >
+<COMPONENT type="1011" id="2075" >
 <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="2034" />
-<TGConnectingPoint num="1" id="2035" />
+<TGConnectingPoint num="0" id="2073" />
+<TGConnectingPoint num="1" id="2074" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2038" >
+<COMPONENT type="1001" id="2077" >
 <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="2037" />
+<TGConnectingPoint num="0" id="2076" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2041" >
+<COMPONENT type="1011" id="2080" >
 <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="2039" />
-<TGConnectingPoint num="1" id="2040" />
+<TGConnectingPoint num="0" id="2078" />
+<TGConnectingPoint num="1" id="2079" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2044" >
+<COMPONENT type="1008" id="2083" >
 <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="2042" />
-<TGConnectingPoint num="1" id="2043" />
+<TGConnectingPoint num="0" id="2081" />
+<TGConnectingPoint num="1" id="2082" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2046" >
+<COMPONENT type="1001" id="2085" >
 <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="2045" />
+<TGConnectingPoint num="0" id="2084" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2048" >
+<COMPONENT type="1001" id="2087" >
 <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="2047" />
+<TGConnectingPoint num="0" id="2086" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2051" >
+<COMPONENT type="1006" id="2090" >
 <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="2049" />
-<TGConnectingPoint num="1" id="2050" />
+<TGConnectingPoint num="0" id="2088" />
+<TGConnectingPoint num="1" id="2089" />
 <extraparam>
 <Data channelName="fromTtoA" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2054" >
+<COMPONENT type="1006" id="2093" >
 <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="2052" />
-<TGConnectingPoint num="1" id="2053" />
+<TGConnectingPoint num="0" id="2091" />
+<TGConnectingPoint num="1" id="2092" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2057" >
+<COMPONENT type="1008" id="2096" >
 <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="2055" />
-<TGConnectingPoint num="1" id="2056" />
+<TGConnectingPoint num="0" id="2094" />
+<TGConnectingPoint num="1" id="2095" />
 <extraparam>
 <Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2074" >
+<COMPONENT type="301" id="2113" >
 <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="2058" />
-<TGConnectingPoint num="1" id="2059" />
-<TGConnectingPoint num="2" id="2060" />
-<TGConnectingPoint num="3" id="2061" />
-<TGConnectingPoint num="4" id="2062" />
-<TGConnectingPoint num="5" id="2063" />
-<TGConnectingPoint num="6" id="2064" />
-<TGConnectingPoint num="7" id="2065" />
-<TGConnectingPoint num="8" id="2066" />
-<TGConnectingPoint num="9" id="2067" />
-<TGConnectingPoint num="10" id="2068" />
-<TGConnectingPoint num="11" id="2069" />
-<TGConnectingPoint num="12" id="2070" />
-<TGConnectingPoint num="13" id="2071" />
-<TGConnectingPoint num="14" id="2072" />
-<TGConnectingPoint num="15" id="2073" />
+<TGConnectingPoint num="0" id="2097" />
+<TGConnectingPoint num="1" id="2098" />
+<TGConnectingPoint num="2" id="2099" />
+<TGConnectingPoint num="3" id="2100" />
+<TGConnectingPoint num="4" id="2101" />
+<TGConnectingPoint num="5" id="2102" />
+<TGConnectingPoint num="6" id="2103" />
+<TGConnectingPoint num="7" id="2104" />
+<TGConnectingPoint num="8" id="2105" />
+<TGConnectingPoint num="9" id="2106" />
+<TGConnectingPoint num="10" id="2107" />
+<TGConnectingPoint num="11" id="2108" />
+<TGConnectingPoint num="12" id="2109" />
+<TGConnectingPoint num="13" id="2110" />
+<TGConnectingPoint num="14" id="2111" />
+<TGConnectingPoint num="15" id="2112" />
 <extraparam>
 <Line value="Correct ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2091" >
+<COMPONENT type="301" id="2130" >
 <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="2075" />
-<TGConnectingPoint num="1" id="2076" />
-<TGConnectingPoint num="2" id="2077" />
-<TGConnectingPoint num="3" id="2078" />
-<TGConnectingPoint num="4" id="2079" />
-<TGConnectingPoint num="5" id="2080" />
-<TGConnectingPoint num="6" id="2081" />
-<TGConnectingPoint num="7" id="2082" />
-<TGConnectingPoint num="8" id="2083" />
-<TGConnectingPoint num="9" id="2084" />
-<TGConnectingPoint num="10" id="2085" />
-<TGConnectingPoint num="11" id="2086" />
-<TGConnectingPoint num="12" id="2087" />
-<TGConnectingPoint num="13" id="2088" />
-<TGConnectingPoint num="14" id="2089" />
-<TGConnectingPoint num="15" id="2090" />
+<TGConnectingPoint num="0" id="2114" />
+<TGConnectingPoint num="1" id="2115" />
+<TGConnectingPoint num="2" id="2116" />
+<TGConnectingPoint num="3" id="2117" />
+<TGConnectingPoint num="4" id="2118" />
+<TGConnectingPoint num="5" id="2119" />
+<TGConnectingPoint num="6" id="2120" />
+<TGConnectingPoint num="7" id="2121" />
+<TGConnectingPoint num="8" id="2122" />
+<TGConnectingPoint num="9" id="2123" />
+<TGConnectingPoint num="10" id="2124" />
+<TGConnectingPoint num="11" id="2125" />
+<TGConnectingPoint num="12" id="2126" />
+<TGConnectingPoint num="13" id="2127" />
+<TGConnectingPoint num="14" id="2128" />
+<TGConnectingPoint num="15" id="2129" />
 <extraparam>
 <Line value="false ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2094" >
+<COMPONENT type="1006" id="2133" >
 <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="2092" />
-<TGConnectingPoint num="1" id="2093" />
+<TGConnectingPoint num="0" id="2131" />
+<TGConnectingPoint num="1" id="2132" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2096" >
+<COMPONENT type="1001" id="2135" >
 <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="2095" />
+<TGConnectingPoint num="0" id="2134" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2113" >
+<COMPONENT type="301" id="2152" >
 <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="2097" />
-<TGConnectingPoint num="1" id="2098" />
-<TGConnectingPoint num="2" id="2099" />
-<TGConnectingPoint num="3" id="2100" />
-<TGConnectingPoint num="4" id="2101" />
-<TGConnectingPoint num="5" id="2102" />
-<TGConnectingPoint num="6" id="2103" />
-<TGConnectingPoint num="7" id="2104" />
-<TGConnectingPoint num="8" id="2105" />
-<TGConnectingPoint num="9" id="2106" />
-<TGConnectingPoint num="10" id="2107" />
-<TGConnectingPoint num="11" id="2108" />
-<TGConnectingPoint num="12" id="2109" />
-<TGConnectingPoint num="13" id="2110" />
-<TGConnectingPoint num="14" id="2111" />
-<TGConnectingPoint num="15" id="2112" />
+<TGConnectingPoint num="0" id="2136" />
+<TGConnectingPoint num="1" id="2137" />
+<TGConnectingPoint num="2" id="2138" />
+<TGConnectingPoint num="3" id="2139" />
+<TGConnectingPoint num="4" id="2140" />
+<TGConnectingPoint num="5" id="2141" />
+<TGConnectingPoint num="6" id="2142" />
+<TGConnectingPoint num="7" id="2143" />
+<TGConnectingPoint num="8" id="2144" />
+<TGConnectingPoint num="9" id="2145" />
+<TGConnectingPoint num="10" id="2146" />
+<TGConnectingPoint num="11" id="2147" />
+<TGConnectingPoint num="12" id="2148" />
+<TGConnectingPoint num="13" id="2149" />
+<TGConnectingPoint num="14" id="2150" />
+<TGConnectingPoint num="15" id="2151" />
 <extraparam>
 <Line value="return acknowldge" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2130" >
+<COMPONENT type="301" id="2169" >
 <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="2114" />
-<TGConnectingPoint num="1" id="2115" />
-<TGConnectingPoint num="2" id="2116" />
-<TGConnectingPoint num="3" id="2117" />
-<TGConnectingPoint num="4" id="2118" />
-<TGConnectingPoint num="5" id="2119" />
-<TGConnectingPoint num="6" id="2120" />
-<TGConnectingPoint num="7" id="2121" />
-<TGConnectingPoint num="8" id="2122" />
-<TGConnectingPoint num="9" id="2123" />
-<TGConnectingPoint num="10" id="2124" />
-<TGConnectingPoint num="11" id="2125" />
-<TGConnectingPoint num="12" id="2126" />
-<TGConnectingPoint num="13" id="2127" />
-<TGConnectingPoint num="14" id="2128" />
-<TGConnectingPoint num="15" id="2129" />
+<TGConnectingPoint num="0" id="2153" />
+<TGConnectingPoint num="1" id="2154" />
+<TGConnectingPoint num="2" id="2155" />
+<TGConnectingPoint num="3" id="2156" />
+<TGConnectingPoint num="4" id="2157" />
+<TGConnectingPoint num="5" id="2158" />
+<TGConnectingPoint num="6" id="2159" />
+<TGConnectingPoint num="7" id="2160" />
+<TGConnectingPoint num="8" id="2161" />
+<TGConnectingPoint num="9" id="2162" />
+<TGConnectingPoint num="10" id="2163" />
+<TGConnectingPoint num="11" id="2164" />
+<TGConnectingPoint num="12" id="2165" />
+<TGConnectingPoint num="13" id="2166" />
+<TGConnectingPoint num="14" id="2167" />
+<TGConnectingPoint num="15" id="2168" />
 <extraparam>
 <Line value="data" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2133" >
+<COMPONENT type="1008" id="2172" >
 <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="2131" />
-<TGConnectingPoint num="1" id="2132" />
+<TGConnectingPoint num="0" id="2170" />
+<TGConnectingPoint num="1" id="2171" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2136" >
+<COMPONENT type="1008" id="2175" >
 <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="2134" />
-<TGConnectingPoint num="1" id="2135" />
+<TGConnectingPoint num="0" id="2173" />
+<TGConnectingPoint num="1" id="2174" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2139" >
+<COMPONENT type="1006" id="2178" >
 <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="2137" />
-<TGConnectingPoint num="1" id="2138" />
+<TGConnectingPoint num="0" id="2176" />
+<TGConnectingPoint num="1" id="2177" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2141" >
+<COMPONENT type="1001" id="2180" >
 <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="2140" />
+<TGConnectingPoint num="0" id="2179" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2144" >
+<COMPONENT type="1011" id="2183" >
 <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="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="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="2145" />
+<TGConnectingPoint num="0" id="2184" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2149" >
+<COMPONENT type="1011" id="2188" >
 <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="2147" />
-<TGConnectingPoint num="1" id="2148" />
+<TGConnectingPoint num="0" id="2186" />
+<TGConnectingPoint num="1" id="2187" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2151" >
+<COMPONENT type="1001" id="2190" >
 <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="2150" />
+<TGConnectingPoint num="0" id="2189" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2153" >
+<COMPONENT type="1001" id="2192" >
 <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="2152" />
+<TGConnectingPoint num="0" id="2191" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2156" >
+<COMPONENT type="1011" id="2195" >
 <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="2154" />
-<TGConnectingPoint num="1" id="2155" />
+<TGConnectingPoint num="0" id="2193" />
+<TGConnectingPoint num="1" id="2194" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2158" >
+<COMPONENT type="1001" id="2197" >
 <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="2157" />
+<TGConnectingPoint num="0" id="2196" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2161" >
+<COMPONENT type="1011" id="2200" >
 <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="2159" />
-<TGConnectingPoint num="1" id="2160" />
+<TGConnectingPoint num="0" id="2198" />
+<TGConnectingPoint num="1" id="2199" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2164" >
+<COMPONENT type="1011" id="2203" >
 <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="2162" />
-<TGConnectingPoint num="1" id="2163" />
+<TGConnectingPoint num="0" id="2201" />
+<TGConnectingPoint num="1" id="2202" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2181" >
+<COMPONENT type="301" id="2220" >
 <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="2165" />
-<TGConnectingPoint num="1" id="2166" />
-<TGConnectingPoint num="2" id="2167" />
-<TGConnectingPoint num="3" id="2168" />
-<TGConnectingPoint num="4" id="2169" />
-<TGConnectingPoint num="5" id="2170" />
-<TGConnectingPoint num="6" id="2171" />
-<TGConnectingPoint num="7" id="2172" />
-<TGConnectingPoint num="8" id="2173" />
-<TGConnectingPoint num="9" id="2174" />
-<TGConnectingPoint num="10" id="2175" />
-<TGConnectingPoint num="11" id="2176" />
-<TGConnectingPoint num="12" id="2177" />
-<TGConnectingPoint num="13" id="2178" />
-<TGConnectingPoint num="14" id="2179" />
-<TGConnectingPoint num="15" id="2180" />
+<TGConnectingPoint num="0" id="2204" />
+<TGConnectingPoint num="1" id="2205" />
+<TGConnectingPoint num="2" id="2206" />
+<TGConnectingPoint num="3" id="2207" />
+<TGConnectingPoint num="4" id="2208" />
+<TGConnectingPoint num="5" id="2209" />
+<TGConnectingPoint num="6" id="2210" />
+<TGConnectingPoint num="7" id="2211" />
+<TGConnectingPoint num="8" id="2212" />
+<TGConnectingPoint num="9" id="2213" />
+<TGConnectingPoint num="10" id="2214" />
+<TGConnectingPoint num="11" id="2215" />
+<TGConnectingPoint num="12" id="2216" />
+<TGConnectingPoint num="13" id="2217" />
+<TGConnectingPoint num="14" id="2218" />
+<TGConnectingPoint num="15" id="2219" />
 <extraparam>
 <Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2198" >
+<COMPONENT type="301" id="2237" >
 <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="2182" />
-<TGConnectingPoint num="1" id="2183" />
-<TGConnectingPoint num="2" id="2184" />
-<TGConnectingPoint num="3" id="2185" />
-<TGConnectingPoint num="4" id="2186" />
-<TGConnectingPoint num="5" id="2187" />
-<TGConnectingPoint num="6" id="2188" />
-<TGConnectingPoint num="7" id="2189" />
-<TGConnectingPoint num="8" id="2190" />
-<TGConnectingPoint num="9" id="2191" />
-<TGConnectingPoint num="10" id="2192" />
-<TGConnectingPoint num="11" id="2193" />
-<TGConnectingPoint num="12" id="2194" />
-<TGConnectingPoint num="13" id="2195" />
-<TGConnectingPoint num="14" id="2196" />
-<TGConnectingPoint num="15" id="2197" />
+<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" />
 <extraparam>
 <Line value="ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2201" >
+<COMPONENT type="1006" id="2240" >
 <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="2199" />
-<TGConnectingPoint num="1" id="2200" />
+<TGConnectingPoint num="0" id="2238" />
+<TGConnectingPoint num="1" id="2239" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2203" >
+<COMPONENT type="1001" id="2242" >
 <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="2202" />
+<TGConnectingPoint num="0" id="2241" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2206" >
+<COMPONENT type="1007" id="2245" >
 <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="2204" />
-<TGConnectingPoint num="1" id="2205" />
+<TGConnectingPoint num="0" id="2243" />
+<TGConnectingPoint num="1" id="2244" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2209" >
+<COMPONENT type="1006" id="2248" >
 <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="2207" />
-<TGConnectingPoint num="1" id="2208" />
+<TGConnectingPoint num="0" id="2246" />
+<TGConnectingPoint num="1" id="2247" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2212" >
+<COMPONENT type="1011" id="2251" >
 <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="2210" />
-<TGConnectingPoint num="1" id="2211" />
+<TGConnectingPoint num="0" id="2249" />
+<TGConnectingPoint num="1" id="2250" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2215" >
+<COMPONENT type="1008" id="2254" >
 <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="2213" />
-<TGConnectingPoint num="1" id="2214" />
+<TGConnectingPoint num="0" id="2252" />
+<TGConnectingPoint num="1" id="2253" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2218" >
+<COMPONENT type="1011" id="2257" >
 <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="2216" />
-<TGConnectingPoint num="1" id="2217" />
+<TGConnectingPoint num="0" id="2255" />
+<TGConnectingPoint num="1" id="2256" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2221" >
+<COMPONENT type="1006" id="2260" >
 <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="2219" />
-<TGConnectingPoint num="1" id="2220" />
+<TGConnectingPoint num="0" id="2258" />
+<TGConnectingPoint num="1" id="2259" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2238" >
+<COMPONENT type="301" id="2277" >
 <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="2222" />
-<TGConnectingPoint num="1" id="2223" />
-<TGConnectingPoint num="2" id="2224" />
-<TGConnectingPoint num="3" id="2225" />
-<TGConnectingPoint num="4" id="2226" />
-<TGConnectingPoint num="5" id="2227" />
-<TGConnectingPoint num="6" id="2228" />
-<TGConnectingPoint num="7" id="2229" />
-<TGConnectingPoint num="8" id="2230" />
-<TGConnectingPoint num="9" id="2231" />
-<TGConnectingPoint num="10" id="2232" />
-<TGConnectingPoint num="11" id="2233" />
-<TGConnectingPoint num="12" id="2234" />
-<TGConnectingPoint num="13" id="2235" />
-<TGConnectingPoint num="14" id="2236" />
-<TGConnectingPoint num="15" id="2237" />
+<TGConnectingPoint num="0" id="2261" />
+<TGConnectingPoint num="1" id="2262" />
+<TGConnectingPoint num="2" id="2263" />
+<TGConnectingPoint num="3" id="2264" />
+<TGConnectingPoint num="4" id="2265" />
+<TGConnectingPoint num="5" id="2266" />
+<TGConnectingPoint num="6" id="2267" />
+<TGConnectingPoint num="7" id="2268" />
+<TGConnectingPoint num="8" id="2269" />
+<TGConnectingPoint num="9" id="2270" />
+<TGConnectingPoint num="10" id="2271" />
+<TGConnectingPoint num="11" id="2272" />
+<TGConnectingPoint num="12" id="2273" />
+<TGConnectingPoint num="13" id="2274" />
+<TGConnectingPoint num="14" id="2275" />
+<TGConnectingPoint num="15" id="2276" />
 <extraparam>
 <Line value="send Ack of SYN" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2241" >
+<COMPONENT type="1011" id="2280" >
 <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="2239" />
-<TGConnectingPoint num="1" id="2240" />
+<TGConnectingPoint num="0" id="2278" />
+<TGConnectingPoint num="1" id="2279" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2243" >
+<COMPONENT type="1001" id="2282" >
 <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="2242" />
+<TGConnectingPoint num="0" id="2281" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2246" >
+<COMPONENT type="1008" id="2285" >
 <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="2244" />
-<TGConnectingPoint num="1" id="2245" />
+<TGConnectingPoint num="0" id="2283" />
+<TGConnectingPoint num="1" id="2284" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2248" >
+<COMPONENT type="1001" id="2287" >
 <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="2247" />
+<TGConnectingPoint num="0" id="2286" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2250" >
+<COMPONENT type="1001" id="2289" >
 <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="2249" />
+<TGConnectingPoint num="0" id="2288" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2252" >
+<COMPONENT type="1001" id="2291" >
 <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="2251" />
+<TGConnectingPoint num="0" id="2290" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2255" >
+<COMPONENT type="1008" id="2294" >
 <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="2253" />
-<TGConnectingPoint num="1" id="2254" />
+<TGConnectingPoint num="0" id="2292" />
+<TGConnectingPoint num="1" id="2293" />
 <extraparam>
 <Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2258" >
+<COMPONENT type="1009" id="2297" >
 <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="2256" />
-<TGConnectingPoint num="1" id="2257" />
+<TGConnectingPoint num="0" id="2295" />
+<TGConnectingPoint num="1" id="2296" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="2259" >
+<CONNECTOR type="115" id="2298" >
 <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="1649" />
-<P2  x="1728" y="865" id="1571" />
+<P1  x="1048" y="795" id="1688" />
+<P2  x="1728" y="865" id="1610" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2260" >
+<CONNECTOR type="115" id="2299" >
 <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="1621" />
-<P2  x="1208" y="1010" id="1591" />
+<P1  x="1089" y="954" id="1660" />
+<P2  x="1208" y="1010" id="1630" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2261" >
+<CONNECTOR type="115" id="2300" >
 <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="1725" />
-<P2  x="1008" y="696" id="1653" />
+<P1  x="1008" y="610" id="1764" />
+<P2  x="1008" y="696" id="1692" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2262" >
+<CONNECTOR type="115" id="2301" >
 <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="1740" />
-<P2  x="722" y="689" id="1609" />
+<P1  x="722" y="614" id="1779" />
+<P2  x="722" y="689" id="1648" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2263" >
+<CONNECTOR type="115" id="2302" >
 <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="1689" />
-<P2  x="572" y="702" id="1603" />
+<P1  x="504" y="597" id="1728" />
+<P2  x="572" y="702" id="1642" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2264" >
+<CONNECTOR type="115" id="2303" >
 <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="1690" />
-<P2  x="439" y="778" id="1657" />
+<P1  x="464" y="637" id="1729" />
+<P2  x="439" y="778" id="1696" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2265" >
+<CONNECTOR type="115" id="2304" >
 <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="1688" />
-<P2  x="346" y="759" id="1637" />
+<P1  x="424" y="597" id="1727" />
+<P2  x="346" y="759" id="1676" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2266" >
+<CONNECTOR type="115" id="2305" >
 <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="1698" />
-<P2  x="230" y="803" id="1794" />
+<P1  x="289" y="619" id="1737" />
+<P2  x="230" y="803" id="1833" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2267" >
+<CONNECTOR type="115" id="2306" >
 <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="1696" />
-<P2  x="132" y="789" id="1641" />
+<P1  x="249" y="579" id="1735" />
+<P2  x="132" y="789" id="1680" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2268" >
+<CONNECTOR type="115" id="2307" >
 <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="1728" />
-<P2  x="374" y="128" id="1736" />
+<P1  x="324" y="93" id="1767" />
+<P2  x="374" y="128" id="1775" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2269" >
+<CONNECTOR type="115" id="2308" >
 <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="1734" />
-<P2  x="234" y="202" id="1731" />
+<P1  x="234" y="169" id="1773" />
+<P2  x="234" y="202" id="1770" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2270" >
+<CONNECTOR type="115" id="2309" >
 <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="1729" />
-<P2  x="234" y="139" id="1733" />
+<P1  x="234" y="104" id="1768" />
+<P2  x="234" y="139" id="1772" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2271" >
+<CONNECTOR type="115" id="2310" >
 <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="1700" />
-<P2  x="234" y="74" id="1727" />
+<P1  x="234" y="47" id="1739" />
+<P2  x="234" y="74" id="1766" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2272" >
+<CONNECTOR type="115" id="2311" >
 <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="1737" />
-<P2  x="374" y="182" id="1679" />
+<P1  x="374" y="158" id="1776" />
+<P2  x="374" y="182" id="1718" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2273" >
+<CONNECTOR type="115" id="2312" >
 <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="1763" />
-<P2  x="722" y="529" id="1742" />
+<P1  x="464" y="322" id="1802" />
+<P2  x="722" y="529" id="1781" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2274" >
+<CONNECTOR type="115" id="2313" >
 <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="1743" />
-<P2  x="722" y="584" id="1739" />
+<P1  x="722" y="559" id="1782" />
+<P2  x="722" y="584" id="1778" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2275" >
+<CONNECTOR type="115" id="2314" >
 <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="1759" />
-<P2  x="1008" y="523" id="1745" />
+<P1  x="504" y="282" id="1798" />
+<P2  x="1008" y="523" id="1784" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2276" >
+<CONNECTOR type="115" id="2315" >
 <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="1746" />
-<P2  x="1008" y="580" id="1724" />
+<P1  x="1008" y="553" id="1785" />
+<P2  x="1008" y="580" id="1763" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2277" >
+<CONNECTOR type="115" id="2316" >
 <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="1760" />
-<P2  x="464" y="487" id="1748" />
+<P1  x="464" y="322" id="1799" />
+<P2  x="464" y="487" id="1787" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2278" >
+<CONNECTOR type="115" id="2317" >
 <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="1761" />
-<P2  x="289" y="463" id="1751" />
+<P1  x="424" y="282" id="1800" />
+<P2  x="289" y="463" id="1790" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2279" >
+<CONNECTOR type="115" id="2318" >
 <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="1752" />
-<P2  x="289" y="554" id="1695" />
+<P1  x="289" y="493" id="1791" />
+<P2  x="289" y="554" id="1734" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2280" >
+<CONNECTOR type="115" id="2319" >
 <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="1672" />
-<P2  x="126" y="544" id="1719" />
+<P1  x="148" y="501" id="1711" />
+<P2  x="126" y="544" id="1758" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2281" >
+<CONNECTOR type="115" id="2320" >
 <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="1758" />
-<P2  x="188" y="414" id="1754" />
+<P1  x="424" y="282" id="1797" />
+<P2  x="188" y="414" id="1793" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2282" >
+<CONNECTOR type="115" id="2321" >
 <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="1755" />
-<P2  x="188" y="476" id="1671" />
+<P1  x="188" y="444" id="1794" />
+<P2  x="188" y="476" id="1710" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2283" >
+<CONNECTOR type="115" id="2322" >
 <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="1673" />
-<P2  x="236" y="524" id="1768" />
+<P1  x="228" y="501" id="1712" />
+<P2  x="236" y="524" id="1807" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2284" >
+<CONNECTOR type="115" id="2323" >
 <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="1680" />
-<P2  x="301" y="223" id="1772" />
+<P1  x="334" y="207" id="1719" />
+<P2  x="301" y="223" id="1811" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2285" >
+<CONNECTOR type="115" id="2324" >
 <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="1773" />
-<P2  x="301" y="285" id="1775" />
+<P1  x="301" y="253" id="1812" />
+<P2  x="301" y="285" id="1814" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2286" >
+<CONNECTOR type="115" id="2325" >
 <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="1749" />
-<P2  x="464" y="572" id="1687" />
+<P1  x="464" y="517" id="1788" />
+<P2  x="464" y="572" id="1726" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2287" >
+<CONNECTOR type="115" id="2326" >
 <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="1697" />
-<P2  x="353" y="609" id="1770" />
+<P1  x="329" y="579" id="1736" />
+<P2  x="353" y="609" id="1809" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2288" >
+<CONNECTOR type="115" id="2327" >
 <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="1720" />
-<P2  x="126" y="610" id="1722" />
+<P1  x="126" y="574" id="1759" />
+<P2  x="126" y="610" id="1761" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2289" >
+<CONNECTOR type="115" id="2328" >
 <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="1681" />
-<P2  x="464" y="257" id="1757" />
+<P1  x="414" y="207" id="1720" />
+<P2  x="464" y="257" id="1796" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2290" >
+<CONNECTOR type="115" id="2329" >
 <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="1795" />
-<P2  x="230" y="858" id="1661" />
+<P1  x="230" y="833" id="1834" />
+<P2  x="230" y="858" id="1700" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2291" >
+<CONNECTOR type="115" id="2330" >
 <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="1648" />
-<P2  x="843" y="859" id="1631" />
+<P1  x="968" y="795" id="1687" />
+<P2  x="843" y="859" id="1670" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2292" >
+<CONNECTOR type="115" id="2331" >
 <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="1844" />
-<P2  x="728" y="1027" id="1846" />
+<P1  x="728" y="990" id="1883" />
+<P2  x="728" y="1027" id="1885" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2293" >
+<CONNECTOR type="115" id="2332" >
 <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="1632" />
-<P2  x="728" y="960" id="1843" />
+<P1  x="803" y="884" id="1671" />
+<P2  x="728" y="960" id="1882" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2294" >
+<CONNECTOR type="115" id="2333" >
 <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="1634" />
-<P2  x="800" y="1004" id="1625" />
+<P1  x="843" y="924" id="1673" />
+<P2  x="800" y="1004" id="1664" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2295" >
+<CONNECTOR type="115" id="2334" >
 <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="1626" />
-<P2  x="800" y="1081" id="1848" />
+<P1  x="800" y="1044" id="1665" />
+<P2  x="800" y="1081" id="1887" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2296" >
+<CONNECTOR type="115" id="2335" >
 <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="1975" />
-<P2  x="132" y="933" id="1810" />
+<P1  x="132" y="886" id="2014" />
+<P2  x="132" y="933" id="1849" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2297" >
+<CONNECTOR type="115" id="2336" >
 <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="1614" />
-<P2  x="943" y="1118" id="1893" />
+<P1  x="943" y="1060" id="1653" />
+<P2  x="943" y="1118" id="1932" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2298" >
+<CONNECTOR type="115" id="2337" >
 <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="1666" />
-<P2  x="1049" y="1150" id="1918" />
+<P1  x="1049" y="1092" id="1705" />
+<P2  x="1049" y="1150" id="1957" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2299" >
+<CONNECTOR type="115" id="2338" >
 <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="1622" />
-<P2  x="1049" y="1052" id="1665" />
+<P1  x="1049" y="994" id="1661" />
+<P2  x="1049" y="1052" id="1704" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2300" >
+<CONNECTOR type="115" id="2339" >
 <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="1610" />
-<P2  x="722" y="753" id="1943" />
+<P1  x="722" y="729" id="1649" />
+<P2  x="722" y="753" id="1982" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2301" >
+<CONNECTOR type="115" id="2340" >
 <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="1949" />
-<P2  x="132" y="1162" id="1951" />
+<P1  x="132" y="1125" id="1988" />
+<P2  x="132" y="1162" id="1990" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2302" >
+<CONNECTOR type="115" id="2341" >
 <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="1952" />
-<P2  x="132" y="1231" id="1954" />
+<P1  x="132" y="1192" id="1991" />
+<P2  x="132" y="1231" id="1993" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2303" >
+<CONNECTOR type="115" id="2342" >
 <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="1808" />
-<P2  x="132" y="1095" id="1948" />
+<P1  x="132" y="1066" id="1847" />
+<P2  x="132" y="1095" id="1987" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2304" >
+<CONNECTOR type="115" id="2343" >
 <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="1957" />
-<P2  x="229" y="1164" id="1959" />
+<P1  x="229" y="1127" id="1996" />
+<P2  x="229" y="1164" id="1998" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2305" >
+<CONNECTOR type="115" id="2344" >
 <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="1963" />
-<P2  x="346" y="1168" id="1965" />
+<P1  x="346" y="1131" id="2002" />
+<P2  x="346" y="1168" id="2004" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2306" >
+<CONNECTOR type="115" id="2345" >
 <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="1814" />
-<P2  x="346" y="1101" id="1962" />
+<P1  x="346" y="1051" id="1853" />
+<P2  x="346" y="1101" id="2001" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2307" >
+<CONNECTOR type="115" id="2346" >
 <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="1969" />
-<P2  x="438" y="1154" id="1971" />
+<P1  x="438" y="1115" id="2008" />
+<P2  x="438" y="1154" id="2010" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2308" >
+<CONNECTOR type="115" id="2347" >
 <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="1803" />
-<P2  x="438" y="1085" id="1968" />
+<P1  x="438" y="1057" id="1842" />
+<P2  x="438" y="1085" id="2007" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2309" >
+<CONNECTOR type="115" id="2348" >
 <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="1642" />
-<P2  x="132" y="856" id="1974" />
+<P1  x="132" y="829" id="1681" />
+<P2  x="132" y="856" id="2013" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2310" >
+<CONNECTOR type="115" id="2349" >
 <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="1662" />
-<P2  x="230" y="935" id="1977" />
+<P1  x="230" y="898" id="1701" />
+<P2  x="230" y="935" id="2016" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2311" >
+<CONNECTOR type="115" id="2350" >
 <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="1978" />
-<P2  x="230" y="997" id="1797" />
+<P1  x="230" y="965" id="2017" />
+<P2  x="230" y="997" id="1836" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2312" >
+<CONNECTOR type="115" id="2351" >
 <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="1638" />
-<P2  x="346" y="826" id="1983" />
+<P1  x="346" y="799" id="1677" />
+<P2  x="346" y="826" id="2022" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2313" >
+<CONNECTOR type="115" id="2352" >
 <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="1984" />
-<P2  x="346" y="895" id="1821" />
+<P1  x="346" y="856" id="2023" />
+<P2  x="346" y="895" id="1860" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2314" >
+<CONNECTOR type="115" id="2353" >
 <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="1658" />
-<P2  x="439" y="860" id="1980" />
+<P1  x="439" y="818" id="1697" />
+<P2  x="439" y="860" id="2019" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2315" >
+<CONNECTOR type="115" id="2354" >
 <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="1981" />
-<P2  x="439" y="936" id="1818" />
+<P1  x="439" y="890" id="2020" />
+<P2  x="439" y="936" id="1857" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2316" >
+<CONNECTOR type="115" id="2355" >
 <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="1811" />
-<P2  x="132" y="981" id="1995" />
+<P1  x="132" y="963" id="1850" />
+<P2  x="132" y="981" id="2034" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2317" >
+<CONNECTOR type="115" id="2356" >
 <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="1996" />
-<P2  x="132" y="1036" id="1807" />
+<P1  x="132" y="1011" id="2035" />
+<P2  x="132" y="1036" id="1846" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2318" >
+<CONNECTOR type="115" id="2357" >
 <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="1798" />
-<P2  x="229" y="1047" id="1986" />
+<P1  x="230" y="1027" id="1837" />
+<P2  x="229" y="1047" id="2025" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2319" >
+<CONNECTOR type="115" id="2358" >
 <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="1987" />
-<P2  x="229" y="1097" id="1956" />
+<P1  x="229" y="1077" id="2026" />
+<P2  x="229" y="1097" id="1995" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2320" >
+<CONNECTOR type="115" id="2359" >
 <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="1822" />
-<P2  x="346" y="957" id="1989" />
+<P1  x="346" y="925" id="1861" />
+<P2  x="346" y="957" id="2028" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2321" >
+<CONNECTOR type="115" id="2360" >
 <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="1990" />
-<P2  x="346" y="1021" id="1813" />
+<P1  x="346" y="987" id="2029" />
+<P2  x="346" y="1021" id="1852" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2322" >
+<CONNECTOR type="115" id="2361" >
 <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="1819" />
-<P2  x="438" y="978" id="1992" />
+<P1  x="439" y="966" id="1858" />
+<P2  x="438" y="978" id="2031" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2323" >
+<CONNECTOR type="115" id="2362" >
 <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="1993" />
-<P2  x="438" y="1027" id="1802" />
+<P1  x="438" y="1008" id="2032" />
+<P2  x="438" y="1027" id="1841" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2324" >
+<CONNECTOR type="115" id="2363" >
 <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="1944" />
-<P2  x="722" y="808" id="1998" />
+<P1  x="722" y="783" id="1983" />
+<P2  x="722" y="808" id="2037" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2325" >
+<CONNECTOR type="115" id="2364" >
 <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="1999" />
-<P2  x="722" y="860" id="1946" />
+<P1  x="722" y="838" id="2038" />
+<P2  x="722" y="860" id="1985" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2326" >
+<CONNECTOR type="115" id="2365" >
 <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="1849" />
-<P2  x="798" y="1136" id="2001" />
+<P1  x="800" y="1111" id="1888" />
+<P2  x="798" y="1136" id="2040" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2327" >
+<CONNECTOR type="115" id="2366" >
 <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="2002" />
-<P2  x="799" y="1188" id="1885" />
+<P1  x="798" y="1166" id="2041" />
+<P2  x="799" y="1188" id="1924" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2328" >
+<CONNECTOR type="115" id="2367" >
 <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="1894" />
-<P2  x="943" y="1173" id="2004" />
+<P1  x="943" y="1148" id="1933" />
+<P2  x="943" y="1173" id="2043" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2329" >
+<CONNECTOR type="115" id="2368" >
 <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="2005" />
-<P2  x="943" y="1229" id="1913" />
+<P1  x="943" y="1203" id="2044" />
+<P2  x="943" y="1229" id="1952" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2330" >
+<CONNECTOR type="115" id="2369" >
 <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="1919" />
-<P2  x="1049" y="1206" id="2007" />
+<P1  x="1049" y="1180" id="1958" />
+<P2  x="1049" y="1206" id="2046" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2331" >
+<CONNECTOR type="115" id="2370" >
 <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="2008" />
-<P2  x="1049" y="1261" id="1938" />
+<P1  x="1049" y="1236" id="2047" />
+<P2  x="1049" y="1261" id="1977" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2332" >
+<CONNECTOR type="115" id="2371" >
 <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="1633" />
-<P2  x="909" y="917" id="2012" />
+<P1  x="883" y="884" id="1672" />
+<P2  x="909" y="917" id="2051" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2333" >
+<CONNECTOR type="115" id="2372" >
 <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="1605" />
-<P2  x="622" y="757" id="2010" />
+<P1  x="612" y="727" id="1644" />
+<P2  x="622" y="757" id="2049" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2334" >
+<CONNECTOR type="115" id="2373" >
 <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="1604" />
-<P2  x="496" y="763" id="1888" />
+<P1  x="532" y="727" id="1643" />
+<P2  x="496" y="763" id="1927" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2335" >
+<CONNECTOR type="115" id="2374" >
 <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="1886" />
-<P2  x="799" y="1265" id="1824" />
+<P1  x="799" y="1218" id="1925" />
+<P2  x="799" y="1265" id="1863" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2336" >
+<CONNECTOR type="115" id="2375" >
 <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="1620" />
-<P2  x="943" y="1020" id="1613" />
+<P1  x="1009" y="954" id="1659" />
+<P2  x="943" y="1020" id="1652" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2337" >
+<CONNECTOR type="115" id="2376" >
 <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="1960" />
-<P2  x="229" y="1232" id="1800" />
+<P1  x="229" y="1194" id="1999" />
+<P2  x="229" y="1232" id="1839" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2338" >
+<CONNECTOR type="115" id="2377" >
 <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="1966" />
-<P2  x="344" y="1224" id="1816" />
+<P1  x="346" y="1198" id="2005" />
+<P2  x="344" y="1224" id="1855" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2339" >
+<CONNECTOR type="115" id="2378" >
 <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="1972" />
-<P2  x="438" y="1208" id="1805" />
+<P1  x="438" y="1184" id="2011" />
+<P2  x="438" y="1208" id="1844" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2340" >
+<CONNECTOR type="115" id="2379" >
 <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="1889" />
-<P2  x="496" y="825" id="1891" />
+<P1  x="496" y="793" id="1928" />
+<P2  x="496" y="825" id="1930" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2341" >
+<CONNECTOR type="115" id="2380" >
 <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="1914" />
-<P2  x="943" y="1306" id="1916" />
+<P1  x="943" y="1259" id="1953" />
+<P2  x="943" y="1306" id="1955" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2342" >
+<CONNECTOR type="115" id="2381" >
 <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="1654" />
-<P2  x="1008" y="770" id="1647" />
+<P1  x="1008" y="736" id="1693" />
+<P2  x="1008" y="770" id="1686" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2343" >
+<CONNECTOR type="115" id="2382" >
 <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="1650" />
-<P2  x="1049" y="929" id="1619" />
+<P1  x="1008" y="835" id="1689" />
+<P2  x="1049" y="929" id="1658" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2344" >
+<CONNECTOR type="115" id="2383" >
 <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="1939" />
-<P2  x="1049" y="1336" id="1941" />
+<P1  x="1049" y="1291" id="1978" />
+<P2  x="1049" y="1336" id="1980" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2345" >
+<CONNECTOR type="115" id="2384" >
 <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="1598" />
-<P2  x="1208" y="1209" id="2014" />
+<P1  x="1208" y="1142" id="1637" />
+<P2  x="1208" y="1209" id="2053" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2346" >
+<CONNECTOR type="115" id="2385" >
 <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="2015" />
-<P2  x="1208" y="1290" id="2034" />
+<P1  x="1208" y="1239" id="2054" />
+<P2  x="1208" y="1290" id="2073" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2347" >
+<CONNECTOR type="115" id="2386" >
 <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="2035" />
-<P2  x="1208" y="1346" id="2042" />
+<P1  x="1208" y="1320" id="2074" />
+<P2  x="1208" y="1346" id="2081" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2348" >
+<CONNECTOR type="115" id="2387" >
 <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="2043" />
-<P2  x="1207" y="1397" id="2039" />
+<P1  x="1208" y="1376" id="2082" />
+<P2  x="1207" y="1397" id="2078" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2349" >
+<CONNECTOR type="115" id="2388" >
 <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="1594" />
-<P2  x="1208" y="1102" id="1597" />
+<P1  x="1208" y="1075" id="1633" />
+<P2  x="1208" y="1102" id="1636" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2350" >
+<CONNECTOR type="115" id="2389" >
 <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="1593" />
-<P2  x="1287" y="1065" id="2045" />
+<P1  x="1248" y="1035" id="1632" />
+<P2  x="1287" y="1065" id="2084" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2351" >
+<CONNECTOR type="115" id="2390" >
 <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="2040" />
-<P2  x="1207" y="1466" id="2037" />
+<P1  x="1207" y="1427" id="2079" />
+<P2  x="1207" y="1466" id="2076" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2352" >
+<CONNECTOR type="115" id="2391" >
 <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="1564" />
-<P2  x="1529" y="1059" id="1557" />
+<P1  x="1567" y="1021" id="1603" />
+<P2  x="1529" y="1059" id="1596" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2353" >
+<CONNECTOR type="115" id="2392" >
 <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="1554" />
-<P2  x="1529" y="1343" id="2052" />
+<P1  x="1529" y="1289" id="1593" />
+<P2  x="1529" y="1343" id="2091" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2354" >
+<CONNECTOR type="115" id="2393" >
 <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="1574" />
-<P2  x="1731" y="1021" id="2055" />
+<P1  x="1728" y="930" id="1613" />
+<P2  x="1731" y="1021" id="2094" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2355" >
+<CONNECTOR type="115" id="2394" >
 <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="1578" />
-<P2  x="1641" y="1294" id="2092" />
+<P1  x="1641" y="1270" id="1617" />
+<P2  x="1641" y="1294" id="2131" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2356" >
+<CONNECTOR type="115" id="2395" >
 <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="2093" />
-<P2  x="1642" y="1343" id="2134" />
+<P1  x="1641" y="1324" id="2132" />
+<P2  x="1642" y="1343" id="2173" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2357" >
+<CONNECTOR type="115" id="2396" >
 <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="2053" />
-<P2  x="1529" y="1400" id="2131" />
+<P1  x="1529" y="1373" id="2092" />
+<P2  x="1529" y="1400" id="2170" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2358" >
+<CONNECTOR type="115" id="2397" >
 <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="2132" />
-<P2  x="1529" y="1452" id="2047" />
+<P1  x="1529" y="1430" id="2171" />
+<P2  x="1529" y="1452" id="2086" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2359" >
+<CONNECTOR type="115" id="2398" >
 <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="2135" />
-<P2  x="1642" y="1399" id="2137" />
+<P1  x="1642" y="1373" id="2174" />
+<P2  x="1642" y="1399" id="2176" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2360" >
+<CONNECTOR type="115" id="2399" >
 <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="1532" />
-<P2  x="1920" y="1406" id="2147" />
+<P1  x="1956" y="1361" id="1571" />
+<P2  x="1920" y="1406" id="2186" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2361" >
+<CONNECTOR type="115" id="2400" >
 <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="2155" />
-<P2  x="2101" y="1532" id="2157" />
+<P1  x="2101" y="1491" id="2194" />
+<P2  x="2101" y="1532" id="2196" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2362" >
+<CONNECTOR type="115" id="2401" >
 <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="1534" />
-<P2  x="1996" y="1429" id="2162" />
+<P1  x="1996" y="1401" id="1573" />
+<P2  x="1996" y="1429" id="2201" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2363" >
+<CONNECTOR type="115" id="2402" >
 <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="2163" />
-<P2  x="1996" y="1488" id="2159" />
+<P1  x="1996" y="1459" id="2202" />
+<P2  x="1996" y="1488" id="2198" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2364" >
+<CONNECTOR type="115" id="2403" >
 <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="1524" />
-<P2  x="2218" y="1054" id="1581" />
+<P1  x="2237" y="966" id="1563" />
+<P2  x="2218" y="1054" id="1620" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2365" >
+<CONNECTOR type="115" id="2404" >
 <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="2205" />
-<P2  x="2217" y="1360" id="2207" />
+<P1  x="2217" y="1323" id="2244" />
+<P2  x="2217" y="1360" id="2246" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2366" >
+<CONNECTOR type="115" id="2405" >
 <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="1582" />
-<P2  x="2218" y="1131" id="2210" />
+<P1  x="2218" y="1094" id="1621" />
+<P2  x="2218" y="1131" id="2249" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2367" >
+<CONNECTOR type="115" id="2406" >
 <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="2211" />
-<P2  x="2218" y="1193" id="2199" />
+<P1  x="2218" y="1161" id="2250" />
+<P2  x="2218" y="1193" id="2238" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2368" >
+<CONNECTOR type="115" id="2407" >
 <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="2200" />
-<P2  x="2217" y="1243" id="2213" />
+<P1  x="2218" y="1223" id="2239" />
+<P2  x="2217" y="1243" id="2252" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2369" >
+<CONNECTOR type="115" id="2408" >
 <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="2214" />
-<P2  x="2217" y="1293" id="2204" />
+<P1  x="2217" y="1273" id="2253" />
+<P2  x="2217" y="1293" id="2243" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2370" >
+<CONNECTOR type="115" id="2409" >
 <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="2208" />
-<P2  x="2217" y="1419" id="2216" />
+<P1  x="2217" y="1390" id="2247" />
+<P2  x="2217" y="1419" id="2255" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2371" >
+<CONNECTOR type="115" id="2410" >
 <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="1586" />
-<P2  x="2341" y="1117" id="2219" />
+<P1  x="2341" y="1059" id="1625" />
+<P2  x="2341" y="1117" id="2258" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2372" >
+<CONNECTOR type="115" id="2411" >
 <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="1558" />
-<P2  x="1529" y="1127" id="2049" />
+<P1  x="1529" y="1099" id="1597" />
+<P2  x="1529" y="1127" id="2088" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2373" >
+<CONNECTOR type="115" id="2412" >
 <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="1518" />
-<P2  x="2101" y="1461" id="2154" />
+<P1  x="2101" y="1433" id="1557" />
+<P2  x="2101" y="1461" id="2193" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2374" >
+<CONNECTOR type="115" id="2413" >
 <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="1517" />
-<P2  x="2178" y="1416" id="2249" />
+<P1  x="2141" y="1393" id="1556" />
+<P2  x="2178" y="1416" id="2288" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2375" >
+<CONNECTOR type="115" id="2414" >
 <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="1572" />
-<P2  x="1607" y="996" id="1563" />
+<P1  x="1688" y="890" id="1611" />
+<P2  x="1607" y="996" id="1602" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2376" >
+<CONNECTOR type="115" id="2415" >
 <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="1573" />
-<P2  x="2277" y="941" id="1523" />
+<P1  x="1768" y="890" id="1612" />
+<P2  x="2277" y="941" id="1562" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2377" >
+<CONNECTOR type="115" id="2416" >
 <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="1525" />
-<P2  x="2341" y="1019" id="1585" />
+<P1  x="2317" y="966" id="1564" />
+<P2  x="2341" y="1019" id="1624" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2378" >
+<CONNECTOR type="115" id="2417" >
 <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="2220" />
-<P2  x="2341" y="1194" id="2244" />
+<P1  x="2341" y="1147" id="2259" />
+<P2  x="2341" y="1194" id="2283" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2379" >
+<CONNECTOR type="115" id="2418" >
 <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="2245" />
-<P2  x="2341" y="1262" id="2239" />
+<P1  x="2341" y="1224" id="2284" />
+<P2  x="2341" y="1262" id="2278" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2380" >
+<CONNECTOR type="115" id="2419" >
 <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="2056" />
-<P2  x="1731" y="1081" id="2256" />
+<P1  x="1731" y="1051" id="2095" />
+<P2  x="1731" y="1081" id="2295" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2381" >
+<CONNECTOR type="115" id="2420" >
 <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="1565" />
-<P2  x="1659" y="1052" id="2247" />
+<P1  x="1647" y="1021" id="1604" />
+<P2  x="1659" y="1052" id="2286" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2382" >
+<CONNECTOR type="115" id="2421" >
 <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="1542" />
-<P2  x="1826" y="1344" id="2142" />
+<P1  x="1826" y="1324" id="1581" />
+<P2  x="1826" y="1344" id="2181" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2383" >
+<CONNECTOR type="115" id="2422" >
 <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="2143" />
-<P2  x="1828" y="1452" id="2145" />
+<P1  x="1826" y="1374" id="2182" />
+<P2  x="1828" y="1452" id="2184" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2384" >
+<CONNECTOR type="115" id="2423" >
 <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="1540" />
-<P2  x="1740" y="1330" id="2140" />
+<P1  x="1786" y="1284" id="1579" />
+<P2  x="1740" y="1330" id="2179" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2385" >
+<CONNECTOR type="115" id="2424" >
 <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="2148" />
-<P2  x="1920" y="1476" id="2150" />
+<P1  x="1920" y="1436" id="2187" />
+<P2  x="1920" y="1476" id="2189" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2386" >
+<CONNECTOR type="115" id="2425" >
 <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="2160" />
-<P2  x="1996" y="1538" id="2152" />
+<P1  x="1996" y="1518" id="2199" />
+<P2  x="1996" y="1538" id="2191" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2387" >
+<CONNECTOR type="115" id="2426" >
 <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="1533" />
-<P2  x="2101" y="1368" id="1515" />
+<P1  x="2036" y="1361" id="1572" />
+<P2  x="2101" y="1368" id="1554" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2388" >
+<CONNECTOR type="115" id="2427" >
 <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="1541" />
-<P2  x="1996" y="1336" id="1531" />
+<P1  x="1866" y="1284" id="1580" />
+<P2  x="1996" y="1336" id="1570" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2389" >
+<CONNECTOR type="115" id="2428" >
 <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="2240" />
-<P2  x="2340" y="1319" id="2242" />
+<P1  x="2341" y="1292" id="2279" />
+<P2  x="2340" y="1319" id="2281" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2390" >
+<CONNECTOR type="115" id="2429" >
 <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="2217" />
-<P2  x="2217" y="1478" id="2202" />
+<P1  x="2217" y="1449" id="2256" />
+<P2  x="2217" y="1478" id="2241" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2391" >
+<CONNECTOR type="115" id="2430" >
 <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="1526" />
-<P2  x="2278" y="1034" id="2251" />
+<P1  x="2277" y="1006" id="1565" />
+<P2  x="2278" y="1034" id="2290" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2392" >
+<CONNECTOR type="115" id="2431" >
 <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="2138" />
-<P2  x="1642" y="1463" id="2095" />
+<P1  x="1642" y="1429" id="2177" />
+<P2  x="1642" y="1463" id="2134" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2393" >
+<CONNECTOR type="115" id="2432" >
 <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="2050" />
-<P2  x="1529" y="1187" id="2253" />
+<P1  x="1529" y="1157" id="2089" />
+<P2  x="1529" y="1187" id="2292" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2394" >
+<CONNECTOR type="115" id="2433" >
 <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="2254" />
-<P2  x="1529" y="1249" id="1553" />
+<P1  x="1529" y="1217" id="2293" />
+<P2  x="1529" y="1249" id="1592" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2395" >
+<CONNECTOR type="115" id="2434" >
 <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="1548" />
-<P2  x="1641" y="1230" id="1577" />
+<P1  x="1691" y="1156" id="1587" />
+<P2  x="1641" y="1230" id="1616" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2396" >
+<CONNECTOR type="115" id="2435" >
 <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="1549" />
-<P2  x="1826" y="1259" id="1539" />
+<P1  x="1771" y="1156" id="1588" />
+<P2  x="1826" y="1259" id="1578" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2397" >
+<CONNECTOR type="115" id="2436" >
 <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="2257" />
-<P2  x="1731" y="1131" id="1547" />
+<P1  x="1731" y="1111" id="2296" />
+<P2  x="1731" y="1131" id="1586" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1000" id="2399" >
-<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="2444" >
+<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="2398" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="2440" />
+<TGConnectingPoint num="1" id="2441" />
+<TGConnectingPoint num="2" id="2442" />
+<TGConnectingPoint num="3" id="2443" />
 </COMPONENT>
-
-<COMPONENT type="1010" id="2402" >
-<cdparam x="141" y="129" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="2437" >
+<father id="2444" 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="2400" />
-<TGConnectingPoint num="1" id="2401" />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="2405" >
-<cdparam x="113" y="182" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ x==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2438" >
+<father id="2444" 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="2403" />
-<TGConnectingPoint num="1" id="2404" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="2408" >
-<cdparam x="144" y="237" />
-<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ x&gt;0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2439" >
+<father id="2444" 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="2406" />
-<TGConnectingPoint num="1" id="2407" />
-<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="2411" >
-<cdparam x="124" y="308" />
-<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="2446" >
+<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="2409" />
-<TGConnectingPoint num="1" id="2410" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
-</extraparam>
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2445" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2428" >
-<cdparam x="376" y="98" />
-<sizeparam width="233" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="2448" >
+<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="2412" />
-<TGConnectingPoint num="1" id="2413" />
-<TGConnectingPoint num="2" id="2414" />
-<TGConnectingPoint num="3" id="2415" />
-<TGConnectingPoint num="4" id="2416" />
-<TGConnectingPoint num="5" id="2417" />
-<TGConnectingPoint num="6" id="2418" />
-<TGConnectingPoint num="7" id="2419" />
-<TGConnectingPoint num="8" id="2420" />
-<TGConnectingPoint num="9" id="2421" />
-<TGConnectingPoint num="10" id="2422" />
-<TGConnectingPoint num="11" id="2423" />
-<TGConnectingPoint num="12" id="2424" />
-<TGConnectingPoint num="13" id="2425" />
-<TGConnectingPoint num="14" id="2426" />
-<TGConnectingPoint num="15" id="2427" />
-<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="2447" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2431" >
-<cdparam x="254" y="97" />
-<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2451" >
+<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="2429" />
-<TGConnectingPoint num="1" id="2430" />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="2449" />
+<TGConnectingPoint num="1" id="2450" />
 <extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
+<Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="2434" >
-<cdparam x="241" y="148" />
-<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="2454" >
+<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="2432" />
-<TGConnectingPoint num="1" id="2433" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="2452" />
+<TGConnectingPoint num="1" id="2453" />
 <extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
+<Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2436" >
-<cdparam x="515" y="428" />
+<COMPONENT type="1001" id="2456" >
+<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="2435" />
+<TGConnectingPoint num="0" id="2455" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2439" >
-<cdparam x="309" y="350" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="2459" >
+<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="2437" />
-<TGConnectingPoint num="1" id="2438" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="2457" />
+<TGConnectingPoint num="1" id="2458" />
 <extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
+<Data eventName="stop" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2441" >
-<cdparam x="352" y="426" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="2460" >
+<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="2450" />
+<P2  x="427" y="362" id="2447" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2461" >
+<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="2453" />
+<P2  x="622" y="360" id="2455" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2462" >
+<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="2445" />
+<P2  x="524" y="145" id="2457" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2463" >
+<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="2458" />
+<P2  x="524" y="212" id="2440" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2464" >
+<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="2441" />
+<P2  x="427" y="294" id="2449" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2465" >
+<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="2442" />
+<P2  x="622" y="295" id="2452" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="2473" >
+<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="stop state" value="null" />
-<TGConnectingPoint num="0" id="2440" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="2469" />
+<TGConnectingPoint num="1" id="2470" />
+<TGConnectingPoint num="2" id="2471" />
+<TGConnectingPoint num="3" id="2472" />
 </COMPONENT>
-
-<COMPONENT type="1009" id="2444" >
-<cdparam x="321" y="308" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="2466" >
+<father id="2473" 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="2467" >
+<father id="2473" 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="2468" >
+<father id="2473" 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="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="2442" />
-<TGConnectingPoint num="1" id="2443" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="2447" >
-<cdparam x="337" y="264" />
-<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="2475" >
+<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="2445" />
-<TGConnectingPoint num="1" id="2446" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2474" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2450" >
-<cdparam x="319" y="392" />
-<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2478" >
+<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="2448" />
-<TGConnectingPoint num="1" id="2449" />
+<infoparam name="send event" value="open()" />
+<TGConnectingPoint num="0" id="2476" />
+<TGConnectingPoint num="1" id="2477" />
 <extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" />
+<Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2453" >
-<cdparam x="496" y="350" />
-<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2481" >
+<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="2451" />
-<TGConnectingPoint num="1" id="2452" />
+<infoparam name="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="2479" />
+<TGConnectingPoint num="1" id="2480" />
 <extraparam>
-<Data eventName="receive" nbOfParams="5" />
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2456" >
-<cdparam x="480" y="311" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2484" >
+<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="2454" />
-<TGConnectingPoint num="1" id="2455" />
+<infoparam name="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="2482" />
+<TGConnectingPoint num="1" id="2483" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" />
+<Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2459" >
-<cdparam x="486" y="387" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="2486" >
+<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="2457" />
-<TGConnectingPoint num="1" id="2458" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="2485" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="2462" >
-<cdparam x="480" y="268" />
-<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2489" >
+<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="2460" />
-<TGConnectingPoint num="1" id="2461" />
-<breakpoint />
+<infoparam name="send event" value="abort()" />
+<TGConnectingPoint num="0" id="2487" />
+<TGConnectingPoint num="1" id="2488" />
 <extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
+<Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="2466" >
-<cdparam x="236" y="202" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2492" >
+<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="2463" />
-<TGConnectingPoint num="1" id="2464" />
-<TGConnectingPoint num="2" id="2465" />
+<infoparam name="send event" value="close()" />
+<TGConnectingPoint num="0" id="2490" />
+<TGConnectingPoint num="1" id="2491" />
 <extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
+<Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2468" >
-<cdparam x="297" y="231" />
+<COMPONENT type="1001" id="2494" >
+<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="2467" />
-</COMPONENT>
-
-<COMPONENT type="1018" id="2479" >
-<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="2469" />
-<TGConnectingPoint num="1" id="2470" />
-<TGConnectingPoint num="2" id="2471" />
-<TGConnectingPoint num="3" id="2472" />
-<TGConnectingPoint num="4" id="2473" />
-<TGConnectingPoint num="5" id="2474" />
-<TGConnectingPoint num="6" id="2475" />
-<TGConnectingPoint num="7" id="2476" />
-<TGConnectingPoint num="8" id="2477" />
-<TGConnectingPoint num="9" id="2478" />
+<TGConnectingPoint num="0" id="2493" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="2484" >
-<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="2410" />
-<P2  x="298" y="92" id="2429" />
-<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="2480" >
-<father id="2484" 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="2481" >
-<father id="2484" 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="2482" >
-<father id="2484" 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="2483" >
-<father id="2484" 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="2485" >
-<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="2398" />
-<P2  x="166" y="124" id="2400" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2486" >
-<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="2401" />
-<P2  x="166" y="177" id="2403" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2487" >
-<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="2430" />
-<P2  x="298" y="143" id="2432" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2488" >
-<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="2446" />
-<P2  x="362" y="303" id="2442" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2489" >
-<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="2443" />
-<P2  x="362" y="345" id="2437" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2490" >
-<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="2438" />
-<P2  x="362" y="387" id="2448" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2491" >
-<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="2449" />
-<P2  x="362" y="421" id="2440" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2492" >
-<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="2455" />
-<P2  x="525" y="345" id="2451" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2493" >
-<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="2452" />
-<P2  x="525" y="382" id="2457" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="2494" >
-<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="2461" />
-<P2  x="525" y="306" id="2454" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
 <CONNECTOR type="115" id="2495" >
-<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="2458" />
-<P2  x="525" y="423" id="2435" />
+<infoparam name="connector from start state to send event" value="null" />
+<P1  x="508" y="111" id="2474" />
+<P2  x="508" y="124" id="2476" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2496" >
-<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="2433" />
-<P2  x="298" y="197" id="2463" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="508" y="154" id="2477" />
+<P2  x="508" y="173" id="2479" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2497" >
-<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="2465" />
-<P2  x="307" y="226" id="2467" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="508" y="203" id="2480" />
+<P2  x="507" y="221" id="2482" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2498" >
-<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="2470" />
-<P2  x="362" y="259" id="2445" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="586" y="354" id="2488" />
+<P2  x="586" y="383" id="2485" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2499" >
-<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="2471" />
-<P2  x="525" y="263" id="2460" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="507" y="251" id="2483" />
+<P2  x="506" y="267" id="2469" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2500" >
-<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="361" y="216" id="2464" />
-<P2  x="439" y="216" id="2469" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="466" y="292" id="2470" />
+<P2  x="432" y="332" id="2490" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2501" >
-<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="2407" />
-<P2  x="166" y="303" id="2409" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="432" y="362" id="2491" />
+<P2  x="432" y="381" id="2493" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="2502" >
-<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="2404" />
-<P2  x="166" y="232" id="2406" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="546" y="292" id="2471" />
+<P2  x="586" y="324" id="2487" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -8147,11 +8147,11 @@ the smart card and the terminal
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="2511" >
 <father id="2572" 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="2503" />
 <TGConnectingPoint num="1" id="2504" />
 <TGConnectingPoint num="2" id="2505" />
@@ -8161,16 +8161,16 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2509" />
 <TGConnectingPoint num="7" id="2510" />
 <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="2520" >
 <father id="2572" 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="2512" />
 <TGConnectingPoint num="1" id="2513" />
 <TGConnectingPoint num="2" id="2514" />
@@ -8180,7 +8180,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2518" />
 <TGConnectingPoint num="7" id="2519" />
 <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="2529" >
@@ -8204,11 +8204,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2538" >
 <father id="2572" 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="2530" />
 <TGConnectingPoint num="1" id="2531" />
 <TGConnectingPoint num="2" id="2532" />
@@ -8218,16 +8218,16 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2536" />
 <TGConnectingPoint num="7" id="2537" />
 <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="2547" >
 <father id="2572" 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="2539" />
 <TGConnectingPoint num="1" id="2540" />
 <TGConnectingPoint num="2" id="2541" />
@@ -8237,7 +8237,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2545" />
 <TGConnectingPoint num="7" id="2546" />
 <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>
 
@@ -8464,17 +8464,17 @@ the smart card and the terminal
 <TGConnectingPoint num="22" id="2740" />
 <TGConnectingPoint num="23" id="2741" />
 <extraparam>
-<info stereotype="CPU" nodeName="CPU0" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0" encryption="0"/>
+<info stereotype="CPURR" nodeName="CPU0" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="18" execiTime="1" execcTime="1" clockRatio="1" MECType="0" encryption="0"/>
 </extraparam>
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="2699" >
 <father id="2742" num="0" />
-<cdparam x="398" y="277" />
-<sizeparam width="108" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="486" y="303" />
+<sizeparam width="136" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="142" minY="0" maxY="106" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
+<cdrectangleparam minX="0" maxX="114" minY="0" maxY="106" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="2691" />
 <TGConnectingPoint num="1" id="2692" />
 <TGConnectingPoint num="2" id="2693" />
@@ -8484,12 +8484,12 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2697" />
 <TGConnectingPoint num="7" id="2698" />
 <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="2708" >
 <father id="2742" num="1" />
-<cdparam x="422" y="323" />
+<cdparam x="415" y="349" />
 <sizeparam width="139" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="111" minY="0" maxY="106" />
@@ -8508,11 +8508,11 @@ the smart card and the terminal
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="2717" >
 <father id="2742" num="2" />
-<cdparam x="498" y="278" />
-<sizeparam width="136" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="396" y="258" />
+<sizeparam width="108" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="114" minY="0" maxY="106" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="142" minY="0" maxY="106" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
 <TGConnectingPoint num="0" id="2709" />
 <TGConnectingPoint num="1" id="2710" />
 <TGConnectingPoint num="2" id="2711" />
@@ -8522,7 +8522,7 @@ the smart card and the terminal
 <TGConnectingPoint num="6" id="2715" />
 <TGConnectingPoint num="7" id="2716" />
 <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>
 
diff --git a/src/avatartranslator/AvatarStateMachine.java b/src/avatartranslator/AvatarStateMachine.java
index 95d6fcd584..2ce6bd63b0 100644
--- a/src/avatartranslator/AvatarStateMachine.java
+++ b/src/avatartranslator/AvatarStateMachine.java
@@ -195,7 +195,7 @@ public class AvatarStateMachine extends AvatarElement {
     // Add missing implicit states.
     public void makeFullStates(AvatarBlock _block) {
         addStatesToTransitionsBetweenTwoNonStates(_block);
-        addStatesToTransitionsWithActions(_block);
+        addStatesToNonEmptyTransitions(_block);
     }
 
 
@@ -220,10 +220,10 @@ public class AvatarStateMachine extends AvatarElement {
                         AvatarTransition at1 = new AvatarTransition(_block, "TransitionForIntermediateState__" + id, elt.getReferenceObject());
                         toAdd.add(at1);
 
-                        tr.removeAllNexts();
-                        tr.addNext(state);
-                        state.addNext(at1);
-                        at1.addNext(next);
+			
+                        previous.removeAllNexts();
+                        previous.addNext(state);
+                        state.addNext(tr);
 
                         id ++;
                     }
@@ -243,7 +243,7 @@ public class AvatarStateMachine extends AvatarElement {
 
     // Then, handling transitions with actions which have a non state
     // before
-    private void addStatesToTransitionsWithActions(AvatarBlock _block) {
+    private void addStatesToNonEmptyTransitions(AvatarBlock _block) {
         AvatarStateMachineElement next;
         AvatarStateMachineElement previous;
         ArrayList<AvatarStateMachineElement> toAdd = new ArrayList<AvatarStateMachineElement>();
@@ -253,7 +253,7 @@ public class AvatarStateMachine extends AvatarElement {
                 AvatarTransition tr = (AvatarTransition)elt;
 
                 // tr with actions?
-                if (tr.getNbOfAction() > 0) {
+                if ((tr.getNbOfAction() > 0) || (tr.hasDelay()) || (tr.isGuarded())){
                     previous = getPreviousElementOf(elt);
                     next = elt.getNext(0);
 
diff --git a/src/avatartranslator/modelchecker/AvatarModelChecker.java b/src/avatartranslator/modelchecker/AvatarModelChecker.java
index d35063d895..c1eb97e388 100644
--- a/src/avatartranslator/modelchecker/AvatarModelChecker.java
+++ b/src/avatartranslator/modelchecker/AvatarModelChecker.java
@@ -246,7 +246,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
         }
 
 
-        //TraceManager.addDev("Preparing Avatar specification :" + spec.toString());
+        TraceManager.addDev("Preparing Avatar specification :" + spec.toString());
         prepareStates();
         prepareTransitions();
 
@@ -486,7 +486,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
             SpecificationTransition st = null;
             // See whether there is at least one transition with an immediate internal action with no alternative in the same block
             for(SpecificationTransition tr: transitions) {
-                if ((AvatarTransition.isActionType(tr.getType()) && (tr.clockMax ==  clockMin))|| tr.getType() == AvatarTransition.TYPE_EMPTY) {
+                if ((AvatarTransition.isActionType(tr.getType()) && (tr.clockMin == tr.clockMax) && (tr.clockMin == 0)) || tr.getType() == AvatarTransition.TYPE_EMPTY) {
                     // Must look for similar transitions in the the same block
                     //TraceManager.addDev("Lookin for same block for " + tr);
                     boolean foundSameBlock = false;
@@ -985,6 +985,13 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
 
         //TraceManager.addDev("Handling Empty transition of previous= 3 " + _ase.getName() + " trans=" + at.getName());
 
+	// Check time
+	boolean hasTime = at.hasDelay();
+	if (hasTime)  {
+	    return _ase;
+	}
+			 
+	
         // Check guard;
         boolean guard = guardResult(at, _block, _sb);
 
@@ -992,7 +999,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
             return _ase;
         }
 
-        //TraceManager.addDev("Handling Empty transition of previous= 4 " + _ase.getName() + " trans=" + at.getName());
+        //TraceManager.addDev("Handling Empty transition of previous= 4 " + _ase.getName() + " trans=" + at.getName() + " delay=" + at.getMinDelay());
 
 
         AvatarStateElement ase = (AvatarStateElement)(at.getNext(0));
-- 
GitLab