diff --git a/Makefile b/Makefile
index f534ea89a2aea70e45ab40855c05fb04ef60e7ed..b4a8cc945674e5d8cace75d7a853a00bed7de269 100755
--- a/Makefile
+++ b/Makefile
@@ -59,9 +59,10 @@ TTOOL_PATH := $(shell /bin/pwd)
 TTOOL_SRC = $(TTOOL_PATH)/src
 TTOOL_BIN = $(TTOOL_PATH)/bin
 TTOOL_MODELING = $(TTOOL_PATH)/modeling
+TTOOL_MODELING = $(TTOOL_PATH)/figures
 TTOOL_EXECUTABLECODE = $(TTOOL_PATH)/executablecode
 TTOOL_SIMULATORS = $(TTOOL_PATH)/simulators
-TTOOL_DOC = $(TTOOL_PATH)/doc
+TTOOL_FIGURES = $(TTOOL_PATH)/doc
 TTOOL_DOC_HTML = $(TTOOL_PATH)/doc/html
 TTOOL_VCD = $(TTOOL_PATH)/vcd
 TTOOL_WORD = $(TTOOL_PATH)/doc/word
@@ -249,8 +250,10 @@ stdrelease:
 	mkdir -p $(TTOOL_TARGET)/proverif
 	cp $(TTOOL_DOC)/README_proverif $(TTOOL_TARGET)/proverif
 # Figure
-	mkdir -p $(TTOOL_TARGET)/figure
-	cp $(TTOOL_DOC)/README_figure $(TTOOL_TARGET)/figure
+	mkdir -p $(TTOOL_TARGET)/figures
+	cp $(TTOOL_DOC)/README_figure $(TTOOL_TARGET)/figures
+	cp $(TTOOL_FIGURES)/Makefile $(TTOOL_TARGET)/figures
+	cp $(TTOOL_FIGURES)/mli.mk $(TTOOL_TARGET)/figures
 # VCD
 	mkdir -p $(TTOOL_TARGET)/vcd
 	cp $(TTOOL_DOC)/README_vcd $(TTOOL_TARGET)/vcd
diff --git a/doc/README_figure b/doc/README_figure
index 435809f47057dd1b156b2520214e6fc74a102d4d..10096d8a60c574eee8160d7568bc636aa291d56e 100644
--- a/doc/README_figure
+++ b/doc/README_figure
@@ -1,6 +1,17 @@
 TTool, an open-source UML toolkit for modeling embedded systems and procotols.
-TTool is developed at ENST, http://labsoc.comelec.enst.fr/turtle/
+TTool is developed at ENST, http://ttool.telecom-paristech.fr
 -------------------------------------------------------------------------------
 
-Directory generally configured as the one for saving diagram captures performed from TTool.
+Directory generally configured as the one for saving diagram captures performed from TTool, and the HTML/Latex documentation that can be generated from TTool.
+
+Two latex sources are generated:
+* One using a png-based capture of the diagrams
+* Another one using the svg-based diagram capture.
+To compile the generated latex source code, (you must have inkscape installed) simply type:
+$ make all
+
+If you wish to compile the png-version of the generated latex, you may also simply do:
+$ pdflatex doc.tex
+
+
 
diff --git a/figures/Makefile b/figures/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..302c8faa677963fc4306c0674aaceee0c40f2db7
--- /dev/null
+++ b/figures/Makefile
@@ -0,0 +1,9 @@
+SHELL	:=/bin/bash
+FIGDIR	:= .
+BUILDDIR := build
+
+include mli.mk
+
+docsvg.pdf: $(FIGURES)
+
+doc.pdf: $(FIGURES)
diff --git a/figures/mli.mk b/figures/mli.mk
new file mode 100644
index 0000000000000000000000000000000000000000..26348052f247b2543aa6cec785c3cdcfa8b10945
--- /dev/null
+++ b/figures/mli.mk
@@ -0,0 +1,296 @@
+###########################################################
+#                 COPYRIGHT                               #
+#                 ---------                               #
+#                                                         #
+# See Copyright Notice in COPYING and license in LICENSE. #
+###########################################################
+
+#######################
+# Adapt to your needs #
+#######################
+
+# mli needs bash
+SHELL		?= /bin/bash
+# Default max number of compilations
+MAXPASSES	?= 30
+# Default sub-directory of sources of figures
+FIGDIR		?= figures
+# Default bibliography
+BIBLIO		?= $(wildcard biblio.bib)
+# Build directory
+BUILDDIR	?= build
+
+#########################################################
+# Normally you shouldn't have to change anything below. #
+# Unless you know what you are doing, of course.        #
+#########################################################
+
+# Tools
+PDFLATEX	?= $(shell which pdflatex 2> /dev/null)
+PDFLATEXFLAGS	?= -halt-on-error -interaction=batchmode -output-directory=$(BUILDDIR)
+BIBTEX		?= $(shell which bibtex 2> /dev/null)
+BIBTEXFLAGS	?=
+FIG2DEV		?= $(shell which fig2dev 2> /dev/null)
+FIG2DEVFLAGS	?=
+DOT		?= $(shell which dot 2> /dev/null)
+DOTFLAGS	?= -Tpdf
+EPSTOPDF	?= $(shell which epstopdf 2> /dev/null)
+EPSTOPDFFLAGS	?=
+DIA		?= $(shell which dia 2> /dev/null)
+DIAFLAGS	?= -t eps-pango
+GNUPLOT		?= $(shell which gnuplot 2> /dev/null)
+GNUPLOTFLAGS	?=
+INKSCAPE	?= $(shell which inkscape 2> /dev/null)
+INKSCAPEFLAGS	?=
+
+# Files, path...
+TEXTOPS		= $(shell grep -l '[^%]*\\begin{document}' *.tex)
+PDFTARGETS	= $(patsubst %.tex,$(BUILDDIR)/%.pdf,$(TEXTOPS))
+TARGETS		= $(patsubst %.tex,%,$(TEXTOPS))
+FIGURESLOG	= $(BUILDDIR)/figures.log
+XFIGSRCS	= $(wildcard $(FIGDIR)/*.fig)
+XFIGPDFS	= $(patsubst $(FIGDIR)/%.fig,$(BUILDDIR)/%-fig.pdf,$(XFIGSRCS))
+XFIGPDFTS	= $(patsubst $(FIGDIR)/%.fig,$(BUILDDIR)/%-fig.pdf_t,$(XFIGSRCS))
+DOTSRCS		= $(wildcard $(FIGDIR)/*.dot)
+DOTPDFS		= $(patsubst $(FIGDIR)/%.dot,$(BUILDDIR)/%-dot.pdf,$(DOTSRCS))
+EPSSRCS		= $(filter-out $(DIAEPSS),$(wildcard $(FIGDIR)/*.eps))
+EPSPDFS		= $(patsubst $(FIGDIR)/%.eps,$(BUILDDIR)/%-eps.pdf,$(EPSSRCS))
+DIASRCS		= $(wildcard $(FIGDIR)/*.dia)
+DIAEPSS		= $(patsubst $(FIGDIR)/%.dia,$(BUILDDIR)/%-dia.eps,$(DIASRCS))
+DIAPDFS		= $(patsubst $(FIGDIR)/%.dia,$(BUILDDIR)/%-dia.pdf,$(DIASRCS))
+GNUPLOTSRCS	= $(wildcard $(FIGDIR)/*.gnuplot)
+GNUPLOTPDFS	= $(patsubst $(FIGDIR)/%.gnuplot,$(BUILDDIR)/%-gnuplot.pdf,$(GNUPLOTSRCS))
+SVGSRCS		= $(wildcard $(FIGDIR)/*.svg)
+SVGPDFS		= $(patsubst $(FIGDIR)/%.svg,$(BUILDDIR)/%-svg.pdf,$(SVGSRCS))
+
+# Tex files
+TEXFILES	= $(wildcard *.tex)
+
+# Aux files
+define  AUXFILE_names
+$(addsuffix .$(1),$(patsubst %.tex,%,$(TEXFILES)))
+endef
+SUFFIXES	= aux log lof out bbl blg toc nav snm vrb bibtex.log
+AUXFILES	= $(addprefix $(BUILDDIR)/,$(foreach suffix,$(SUFFIXES),$(call AUXFILE_names,$(suffix))))
+
+# Figures build files
+FIGURES	= $(XFIGPDFS) $(XFIGPDFTS) $(DOTPDFS) $(EPSPDFS) $(DIAEPSS) $(DIAPDFS) $(GNUPLOTPDFS) $(SVGPDFS)
+
+.PRECIOUS: $(FIGURES)
+
+define HELP_message
+make (help)				print this help
+make foo (or $(BUILDDIR)/foo.pdf)	build the $(BUILDDIR)/foo.pdf document
+make all				build all documents
+make clean				delete generated files except PDFs of documents
+make ultraclean				delete $(BUILDDIR) build directory
+
+Buildable documents:
+  $(sort $(TARGETS))
+Please report bugs or suggestions of improvements to:
+  Renaud Pacalet <renaud.pacalet@telecom-paristech.fr>
+endef
+export HELP_message
+
+define MAXPASSES_message
+Sorry, $(MAXPASSES) passes were not sufficient to build the document. Please
+check the log files or increase the number of passes:
+  make MAXPASSES=5 foo
+endef
+export MAXPASSES_message
+
+# Targets
+help:
+	@echo "$$HELP_message"
+
+debug: 
+	echo $(PDFTARGETS)
+
+all: $(PDFTARGETS)
+
+$(TARGETS): %: $(BUILDDIR)/%.pdf
+
+$(PDFTARGETS) $(FIGURES): $(BUILDDIR)/.exists
+
+##################
+# Xfig to PDFTEX #
+##################
+
+define FIG2DEVNOTFOUND_message
+Could not find fig2dev. Cannot produce the pdf from fig sources. Please install
+fig2dev and point your PATH to the fig2dev executable. Alternately you can also
+pass the fig2dev variable wen invoking make:
+  make FIG2DEV=/opt/bin/fig2dev foo
+endef
+export FIG2DEVNOTFOUND_message
+
+# Xfig to PDF (figure without text)
+$(XFIGPDFS): $(BUILDDIR)/%-fig.pdf: $(FIGDIR)/%.fig
+ifeq ($(FIG2DEV),)
+	@echo "$$FIG2DEVNOTFOUND_message"
+else
+	@echo " [FIG2DEV] $< -> $@"; \
+	$(FIG2DEV) $(FIG2DEVFLAGS) -L pdftex $< $@ >> $(FIGURESLOG) 2>&1
+endif
+
+# Xfig to LaTeX (text and included PDF)
+$(XFIGPDFTS): $(BUILDDIR)/%-fig.pdf_t: $(FIGDIR)/%.fig $(BUILDDIR)/%-fig.pdf
+ifeq ($(FIG2DEV),)
+	@echo "$$FIG2DEVNOTFOUND_message"
+else
+	@echo " [FIG2DEV] $< -> $@"; \
+	$(FIG2DEV) $(FIG2DEVFLAGS) -L pdftex_t -p $(patsubst %.pdf_t,%.pdf,$@) $< $@ >> $(FIGURESLOG) 2>&1
+endif
+
+########################
+# dot (graphviz to PDF #
+########################
+
+define DOTNOTFOUND_message
+Could not find dot. Cannot produce the pdf from dot sources. Please install dot
+and point your PATH to the dot executable. Alternately you can also pass the dot
+variable wen invoking make:
+  make DOT=/opt/bin/dot foo
+endef
+export DOTNOTFOUND_message
+
+$(DOTPDFS): $(BUILDDIR)/%-dot.pdf: $(FIGDIR)/%.dot
+ifeq ($(DOT),)
+	@echo "$$DOTNOTFOUND_message"
+else
+	@echo " [DOT] $< -> $@"; \
+	$(DOT) $(DOTFLAGS) -o$@ $< >> $(FIGURESLOG) 2>&1
+endif
+
+##############
+# EPS to PDF #
+##############
+
+define EPSTOPDFNOTFOUND_message
+Could not find epstopdf. Cannot produce the pdf from eps sources. Please install epstopdf
+and point your PATH to the epstopdf executable. Alternately you can also pass the epstopdf
+variable wen invoking make:
+  make EPSTOPDF=/opt/bin/epstopdf foo
+endef
+export EPSTOPDFNOTFOUND_message
+
+$(EPSPDFS): $(BUILDDIR)/%.eps.pdf: $(FIGDIR)/%.eps
+ifeq ($(EPSTOPDF),)
+	@echo "$$EPSTOPDFNOTFOUND_message"
+else
+	@echo " [EPSTOPDF] $< -> $@"; \
+	$(EPSTOPDF) $(EPSTOPDFFLAGS) --outfile=$@ $< >> $(FIGURESLOG) 2>&1
+endif
+
+######################
+# dia to EPS and PDF #
+######################
+
+define DIANOTFOUND_message
+Could not find dia. Cannot produce the pdf from dia sources. Please install dia
+and point your PATH to the dia executable. Alternately you can also pass the dia
+variable wen invoking make:
+  make DIA=/opt/bin/dia foo
+endef
+export DIANOTFOUND_message
+
+# dia to EPS
+$(DIAEPSS): $(BUILDDIR)/%-dia.eps: $(FIGDIR)/%.dia
+ifeq ($(DIA),)
+	@echo "$$DIANOTFOUND_message"
+else
+	@echo " [DIA] $< -> $@"; \
+	$(DIA) $(DIAFLAGS) -e $@ $< >> $(FIGURESLOG) 2>&1
+endif
+
+# dia to PDF
+$(DIAPDFS): $(BUILDDIR)/%-dia.pdf: $(BUILDDIR)/%-dia.eps
+ifeq ($(EPSTOPDF),)
+	@echo "$$EPSTOPDFNOTFOUND_message"
+else
+	@echo " [DIAEPSTOPDF] $< -> $@"; \
+	$(EPSTOPDF) $(EPSTOPDFFLAGS) --outfile=$@ $< >> $(FIGURESLOG) 2>&1
+endif
+
+##################
+# gnuplot to PDF #
+##################
+
+define GNUPLOTNOTFOUND_message
+Could not find gnuplot. Cannot produce the pdf from gnuplot sources. Please install
+gnuplot and point your PATH to the gnuplot executable. Alternately you can
+also pass the GNUPLOT variable wen invoking make:
+  make GNUPLOT=/opt/bin/gnuplot foo
+endef
+export GNUPLOTNOTFOUND_message
+
+$(GNUPLOTPDFS): $(BUILDDIR)/%-gnuplot.pdf: $(FIGDIR)/%.gnuplot
+ifeq ($(GNUPLOT),)
+	@echo "$$GNUPLOTNOTFOUND_message"
+else
+	@echo " [GNUPLOT] $< -> $@"; \
+	$(GNUPLOT) $(GNUPLOTFLAGS) -e "set output '| ps2pdf - $@'" $< >> $(FIGURESLOG) 2>&1
+endif
+
+##############
+# SVG to PDF #
+##############
+
+define INKSCAPENOTFOUND_message
+Could not find inkscape. Cannot produce the pdf from svg sources. Please install
+inkscape and point your PATH to the inkscape executable. Alternately you can
+also pass the INKSCAPE variable wen invoking make:
+  make INKSCAPE=/opt/bin/inkscape foo
+endef
+export INKSCAPENOTFOUND_message
+
+$(SVGPDFS): $(BUILDDIR)/%-svg.pdf: $(FIGDIR)/%.svg
+ifeq ($(INKSCAPE),)
+	@echo "$$INKSCAPENOTFOUND_message"
+else
+	@echo " [INKSCAPE] $< -> $@"; \
+	$(INKSCAPE) $(INKSCAPEFLAGS) $< --export-pdf=$@ >> $(FIGURESLOG) 2>&1
+endif
+
+$(PDFTARGETS): $(BUILDDIR)/%.pdf: %.tex
+	@echo " [PDFLATEX] $< -> $@"; \
+	f=$(patsubst %.tex,%,$<); \
+	$(PDFLATEX) $(PDFLATEXFLAGS) $$f > $(BUILDDIR)/$$f.previous.log 2>&1; \
+	if [ -f $(BUILDDIR)/$$f.aux ]; then \
+		if egrep -q '(\\citation)|(\\bibdata)|(\\bibstyle)' $(BUILDDIR)/$$f.aux; then \
+			echo "  [BIBTEX] $$f"; \
+			$(BIBTEX) $(BUILDDIR)/$$f > $(BUILDDIR)/$$f.bibtex.log 2>&1; \
+		fi; \
+	fi; \
+	for (( i = 1; i <= $(MAXPASSES); i += 1 )); do \
+		echo "  [PASS #$$i]"; \
+		$(PDFLATEX) $(PDFLATEXFLAGS) $$f > $(BUILDDIR)/$$f.log 2>&1; \
+		if diff --brief $(BUILDDIR)/$$f.log $(BUILDDIR)/$$f.previous.log &> /dev/null; then \
+			break; \
+		fi; \
+		if (( i < $(MAXPASSES) )); then \
+			mv $(BUILDDIR)/$$f.log $(BUILDDIR)/$$f.previous.log; \
+		fi; \
+	done; \
+	if (( i > $(MAXPASSES) )); then \
+		echo "$$MAXPASSES_message"; \
+		echo "Keeping last two log messages. Comparing them may help understanding the problem:"; \
+		echo "diff $(BUILDDIR)/$$f.previous.log $(BUILDDIR)/$$f.log"; \
+		exit -1; \
+	fi; \
+	rm $(BUILDDIR)/$$f.previous.log; \
+	grep -v 'Package: infwarerr .* Providing info/warning/error messages' $(BUILDDIR)/$$f.log | \
+		grep -iE 'warning|error' || rm $(BUILDDIR)/$$f.log; \
+	if [ -f $(FIGURESLOG) ]; then \
+		grep -iE 'warning|error' $(FIGURESLOG) || rm $(FIGURESLOG); \
+	fi
+
+$(BUILDDIR)/.exists:
+	@mkdir -p $(BUILDDIR); \
+	touch $@
+
+clean:
+	@rm -f $(FIGURES) $(AUXFILES) $(FIGURESLOG)
+
+ultraclean:
+	@rm -rf $(BUILDDIR)
diff --git a/modeling/SmartCardProtocol.xml b/modeling/SmartCardProtocol.xml
index 392043d5e8ca5f68013ceadea816963dd2ff3b00..31767fa58c64379b9a043c18aea594e490946cfe 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="591" />
+<P1  x="127" y="80" id="604" />
 <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="599" />
+<P1  x="126" y="154" id="586" />
 <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="5303" id="596" >
+<SUBCOMPONENT type="5304" id="596" >
 <father id="634" num="0" />
-<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="584" />
 <TGConnectingPoint num="1" id="585" />
 <TGConnectingPoint num="2" id="586" />
@@ -1082,17 +1082,14 @@ 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="5304" id="609" >
+<SUBCOMPONENT type="5303" id="609" >
 <father id="634" num="1" />
-<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="597" />
 <TGConnectingPoint num="1" id="598" />
 <TGConnectingPoint num="2" id="599" />
@@ -1105,6 +1102,9 @@ 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="814" />
+<P1  x="119" y="400" id="801" />
 <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="801" />
+<P1  x="121" y="353" id="814" />
 <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="750" />
+<P1  x="120" y="248" id="763" />
 <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="763" />
+<P1  x="122" y="198" id="750" />
 <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="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="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="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="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="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="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="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="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="1105" />
+<P1  x="188" y="201" id="1079" />
 <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="1028" />
+<P1  x="192" y="439" id="1041" />
 <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="1041" />
+<P1  x="190" y="391" id="1028" />
 <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="1079" />
+<P1  x="193" y="272" id="1105" />
 <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="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="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="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="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="5304" id="1089" >
+<SUBCOMPONENT type="5303" id="1089" >
 <father id="1140" num="0" />
-<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="1077" />
 <TGConnectingPoint num="1" id="1078" />
 <TGConnectingPoint num="2" id="1079" />
@@ -1949,6 +1949,9 @@ 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" />
@@ -1973,13 +1976,13 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Toggle value="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5303" id="1115" >
+<SUBCOMPONENT type="5304" id="1115" >
 <father id="1140" num="2" />
-<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="1103" />
 <TGConnectingPoint num="1" id="1104" />
 <TGConnectingPoint num="2" id="1105" />
@@ -1992,9 +1995,6 @@ 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,73 +2006,73 @@ 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="1515" minY="0" maxY="506" channels="true" events="true" requests="true" zoom="0.8000000000000013" >
-<CONNECTOR type="126" id="3077" >
+<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="0" maxX="1213" minY="0" maxY="405" channels="true" events="true" requests="true" zoom="0.8000000000000013" >
+<CONNECTOR type="126" id="1141" >
 <cdparam x="460" y="270" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="460" y="275" id="1638" />
-<P2  x="389" y="275" id="1204" />
+<P1  x="460" y="275" id="1227" />
+<P2  x="389" y="275" id="1194" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="3076" >
+<CONNECTOR type="126" id="1142" >
 <cdparam x="387" y="129" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="387" y="134" id="1208" />
-<P2  x="462" y="134" id="1650" />
+<P1  x="387" y="134" id="1190" />
+<P2  x="462" y="134" id="1215" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="3075" >
+<CONNECTOR type="126" id="1143" >
 <cdparam x="389" y="200" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="389" y="205" id="1202" />
-<P2  x="460" y="205" id="1636" />
+<P1  x="389" y="205" id="1196" />
+<P2  x="460" y="205" id="1229" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="3074" >
+<CONNECTOR type="126" id="1144" >
 <cdparam x="460" y="236" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="460" y="241" id="1634" />
-<P2  x="389" y="241" id="1200" />
+<P1  x="460" y="241" id="1231" />
+<P2  x="389" y="241" id="1198" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="3073" >
+<CONNECTOR type="126" id="1145" >
 <cdparam x="460" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="460" y="301" id="1632" />
-<P2  x="389" y="301" id="1198" />
+<P1  x="460" y="301" id="1233" />
+<P2  x="389" y="301" id="1200" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="3072" >
+<CONNECTOR type="126" id="1146" >
 <cdparam x="389" y="163" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="389" y="168" id="1206" />
-<P2  x="460" y="168" id="1640" />
+<P1  x="389" y="168" id="1192" />
+<P2  x="460" y="168" id="1225" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1141" >
+<CONNECTOR type="126" id="1147" >
 <cdparam x="967" y="112" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="710" y="132" id="1352" />
-<P2  x="641" y="132" id="1628" />
+<P1  x="710" y="132" id="1473" />
+<P2  x="641" y="132" id="1237" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1143" >
+<CONNECTOR type="126" id="1149" >
 <cdparam x="967" y="190" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="857" y="148" id="1557" />
-<P2  x="730" y="132" id="1357" />
+<P1  x="857" y="140" id="1276" />
+<P2  x="730" y="132" id="1478" />
 <Point x="857" y="132" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1142" >
-<father id="1143" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1148" >
+<father id="1149" num="0" />
 <cdparam x="857" y="132" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2080,16 +2080,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="1145" >
+<CONNECTOR type="126" id="1151" >
 <cdparam x="337" y="99" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="418" y="86" id="1219" />
-<P2  x="327" y="100" id="1196" />
+<P1  x="418" y="86" id="1501" />
+<P2  x="327" y="100" id="1202" />
 <Point x="327" y="86" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1144" >
-<father id="1145" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1150" >
+<father id="1151" num="0" />
 <cdparam x="327" y="86" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2097,16 +2097,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="1147" >
+<CONNECTOR type="126" id="1153" >
 <cdparam x="440" y="107" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="516" y="101" id="1630" />
-<P2  x="438" y="86" id="1224" />
+<P1  x="516" y="101" id="1235" />
+<P2  x="438" y="86" id="1506" />
 <Point x="516" y="86" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1146" >
-<father id="1147" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1152" >
+<father id="1153" num="0" />
 <cdparam x="516" y="86" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2114,96 +2114,96 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="1158" >
+<CONNECTOR type="126" id="1154" >
 <cdparam x="787" y="206" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="710" y="247" id="1371" />
-<P2  x="641" y="259" id="1642" />
+<P1  x="710" y="247" id="1454" />
+<P2  x="641" y="259" id="1223" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1159" >
+<CONNECTOR type="126" id="1155" >
 <cdparam x="867" y="190" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="770" y="247" id="1563" />
-<P2  x="730" y="247" id="1376" />
+<P1  x="770" y="247" id="1270" />
+<P2  x="730" y="247" id="1459" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1160" >
+<CONNECTOR type="126" id="1156" >
 <cdparam x="803" y="180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="730" y="218" id="1395" />
-<P2  x="770" y="218" id="1561" />
+<P1  x="730" y="218" id="1440" />
+<P2  x="770" y="218" id="1272" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1161" >
+<CONNECTOR type="126" id="1157" >
 <cdparam x="655" y="211" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="641" y="230" id="1644" />
-<P2  x="710" y="218" id="1390" />
+<P1  x="641" y="230" id="1221" />
+<P2  x="710" y="218" id="1435" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1162" >
+<CONNECTOR type="126" id="1158" >
 <cdparam x="803" y="159" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="730" y="183" id="1414" />
-<P2  x="770" y="183" id="1559" />
+<P1  x="730" y="183" id="1421" />
+<P2  x="770" y="183" id="1274" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1163" >
+<CONNECTOR type="126" id="1159" >
 <cdparam x="655" y="182" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="641" y="195" id="1646" />
-<P2  x="710" y="183" id="1409" />
+<P1  x="641" y="195" id="1219" />
+<P2  x="710" y="183" id="1416" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1164" >
+<CONNECTOR type="126" id="1160" >
 <cdparam x="655" y="151" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="631" y="312" id="1648" />
-<P2  x="710" y="304" id="1429" />
+<P1  x="631" y="312" id="1217" />
+<P2  x="710" y="304" id="1398" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1165" >
+<CONNECTOR type="126" id="1161" >
 <cdparam x="1028" y="535" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="546" y="310" id="1652" />
-<P2  x="546" y="328" id="1608" />
+<P1  x="546" y="310" id="1213" />
+<P2  x="546" y="280" id="1520" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1166" >
+<CONNECTOR type="126" id="1162" >
 <cdparam x="1307" y="853" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="730" y="304" id="1433" />
-<P2  x="772" y="288" id="1565" />
+<P1  x="730" y="304" id="1402" />
+<P2  x="772" y="288" id="1268" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1167" >
+<CONNECTOR type="126" id="1163" >
 <cdparam x="1154" y="902" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="634" y="328" id="1596" />
-<P2  x="710" y="304" id="1428" />
+<P1  x="665" y="336" id="1532" />
+<P2  x="710" y="304" id="1397" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1169" >
+<CONNECTOR type="126" id="1165" >
 <cdparam x="1307" y="807" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="730" y="439" id="1490" />
-<P2  x="827" y="421" id="1567" />
+<P1  x="730" y="395" id="1345" />
+<P2  x="827" y="405" id="1266" />
 <Point x="827" y="439" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1168" >
-<father id="1169" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1164" >
+<father id="1165" num="0" />
 <cdparam x="827" y="439" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2211,113 +2211,113 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="1170" >
+<CONNECTOR type="126" id="1166" >
 <cdparam x="1154" y="856" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="665" y="439" id="1600" />
-<P2  x="710" y="439" id="1485" />
+<P1  x="665" y="397" id="1528" />
+<P2  x="710" y="395" id="1340" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1171" >
+<CONNECTOR type="126" id="1167" >
 <cdparam x="1307" y="761" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="730" y="409" id="1509" />
-<P2  x="772" y="401" id="1569" />
+<P1  x="730" y="395" id="1326" />
+<P2  x="772" y="397" id="1264" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1172" >
+<CONNECTOR type="126" id="1168" >
 <cdparam x="1154" y="811" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="665" y="418" id="1602" />
-<P2  x="710" y="409" id="1504" />
+<P1  x="665" y="397" id="1526" />
+<P2  x="710" y="395" id="1321" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1173" >
+<CONNECTOR type="126" id="1169" >
 <cdparam x="1626" y="770" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="710" y="385" id="1523" />
-<P2  x="665" y="396" id="1604" />
+<P1  x="710" y="385" id="1302" />
+<P2  x="665" y="396" id="1524" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1174" >
+<CONNECTOR type="126" id="1170" >
 <cdparam x="1799" y="785" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="772" y="385" id="1575" />
-<P2  x="730" y="385" id="1528" />
+<P1  x="772" y="385" id="1258" />
+<P2  x="730" y="385" id="1307" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1175" >
+<CONNECTOR type="126" id="1171" >
 <cdparam x="1438" y="869" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="665" y="371" id="1606" />
-<P2  x="710" y="364" id="1466" />
+<P1  x="665" y="371" id="1522" />
+<P2  x="710" y="364" id="1359" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1176" >
+<CONNECTOR type="126" id="1172" >
 <cdparam x="1699" y="736" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="730" y="364" id="1471" />
-<P2  x="772" y="364" id="1573" />
+<P1  x="730" y="364" id="1364" />
+<P2  x="772" y="364" id="1260" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1177" >
+<CONNECTOR type="126" id="1173" >
 <cdparam x="1626" y="659" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="710" y="337" id="1447" />
-<P2  x="665" y="349" id="1598" />
+<P1  x="710" y="337" id="1378" />
+<P2  x="665" y="349" id="1530" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1178" >
+<CONNECTOR type="126" id="1174" >
 <cdparam x="1799" y="673" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="772" y="337" id="1571" />
-<P2  x="730" y="337" id="1452" />
+<P1  x="772" y="337" id="1262" />
+<P2  x="730" y="337" id="1383" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1179" >
+<CONNECTOR type="126" id="1175" >
 <cdparam x="1304" y="321" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1044" y="240" id="1542" />
-<P2  x="978" y="240" id="1577" />
+<P1  x="1044" y="240" id="1291" />
+<P2  x="978" y="240" id="1256" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1180" >
+<CONNECTOR type="126" id="1176" >
 <cdparam x="1168" y="455" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="978" y="269" id="1579" />
-<P2  x="1044" y="269" id="1544" />
+<P1  x="978" y="269" id="1254" />
+<P2  x="1044" y="269" id="1289" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="126" id="1183" >
+<CONNECTOR type="126" id="1179" >
 <cdparam x="1037" y="180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="978" y="170" id="1581" />
-<P2  x="978" y="202" id="1583" />
+<P1  x="978" y="170" id="1252" />
+<P2  x="978" y="202" id="1250" />
 <Point x="1012" y="170" />
 <Point x="1012" y="202" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1181" >
-<father id="1183" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1177" >
+<father id="1179" num="0" />
 <cdparam x="1012" y="170" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1182" >
-<father id="1183" num="1" />
+<SUBCOMPONENT type="-1" id="1178" >
+<father id="1179" num="1" />
 <cdparam x="1012" y="202" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2325,48 +2325,48 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="1184" >
+<CONNECTOR type="126" id="1180" >
 <cdparam x="873" y="361" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="978" y="300" id="1585" />
-<P2  x="1044" y="300" id="1546" />
+<P1  x="978" y="300" id="1248" />
+<P2  x="1044" y="300" id="1287" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<COMPONENT type="1205" id="1195" >
+<COMPONENT type="1205" id="1189" >
 <cdparam x="986" y="343" />
 <sizeparam width="165" height="84" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="715" minY="0" maxY="506" />
+<cdrectangleparam minX="0" maxX="1213" minY="0" maxY="405" />
 <infoparam name="Record component" value="TCP_CTRL" />
-<TGConnectingPoint num="0" id="1187" />
-<TGConnectingPoint num="1" id="1188" />
-<TGConnectingPoint num="2" id="1189" />
-<TGConnectingPoint num="3" id="1190" />
-<TGConnectingPoint num="4" id="1191" />
-<TGConnectingPoint num="5" id="1192" />
-<TGConnectingPoint num="6" id="1193" />
-<TGConnectingPoint num="7" id="1194" />
+<TGConnectingPoint num="0" id="1181" />
+<TGConnectingPoint num="1" id="1182" />
+<TGConnectingPoint num="2" id="1183" />
+<TGConnectingPoint num="3" id="1184" />
+<TGConnectingPoint num="4" id="1185" />
+<TGConnectingPoint num="5" id="1186" />
+<TGConnectingPoint num="6" id="1187" />
+<TGConnectingPoint num="7" id="1188" />
 <extraparam>
 <Attribute access="2" id="a" value="" type="0" typeOther="" />
 <Attribute access="2" id="state" value="" type="0" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1202" id="1218" >
+<COMPONENT type="1202" id="1212" >
 <cdparam x="137" y="110" />
 <sizeparam width="242" height="216" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="715" minY="0" maxY="506" />
+<cdrectangleparam minX="0" maxX="1213" minY="0" maxY="405" />
 <infoparam name="TGComponent" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="1210" />
-<TGConnectingPoint num="1" id="1211" />
-<TGConnectingPoint num="2" id="1212" />
-<TGConnectingPoint num="3" id="1213" />
-<TGConnectingPoint num="4" id="1214" />
-<TGConnectingPoint num="5" id="1215" />
-<TGConnectingPoint num="6" id="1216" />
-<TGConnectingPoint num="7" id="1217" />
+<TGConnectingPoint num="0" id="1204" />
+<TGConnectingPoint num="1" id="1205" />
+<TGConnectingPoint num="2" id="1206" />
+<TGConnectingPoint num="3" id="1207" />
+<TGConnectingPoint num="4" id="1208" />
+<TGConnectingPoint num="5" id="1209" />
+<TGConnectingPoint num="6" id="1210" />
+<TGConnectingPoint num="7" id="1211" />
 <extraparam>
 <Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
 <Attribute access="2" id="x" value="0" type="0" typeOther="" />
@@ -2374,16 +2374,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Attribute access="2" id="nbOfComputedPackets" value="1" type="0" typeOther="" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1203" id="1197" >
-<father id="1218" num="0" />
-<cdparam x="317" y="100" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1191" >
+<father id="1212" num="0" />
+<cdparam x="371" y="126" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
-<TGConnectingPoint num="0" id="1196" />
+<cdrectangleparam minX="-8" maxX="234" minY="-8" maxY="208" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="1190" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2391,16 +2391,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1199" >
-<father id="1218" num="1" />
-<cdparam x="369" y="291" />
+<SUBCOMPONENT type="1203" id="1193" >
+<father id="1212" num="1" />
+<cdparam x="369" y="158" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="1198" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="1192" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2408,16 +2408,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1201" >
-<father id="1218" num="2" />
-<cdparam x="369" y="231" />
+<SUBCOMPONENT type="1203" id="1195" >
+<father id="1212" num="2" />
+<cdparam x="369" y="265" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="1200" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="1194" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2425,14 +2425,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1203" >
-<father id="1218" num="3" />
+<SUBCOMPONENT type="1203" id="1197" >
+<father id="1212" num="3" />
 <cdparam x="369" y="195" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
 <infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="1202" />
+<TGConnectingPoint num="0" id="1196" />
 <extraparam>
 <Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
@@ -2442,16 +2442,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1205" >
-<father id="1218" num="4" />
-<cdparam x="369" y="265" />
+<SUBCOMPONENT type="1203" id="1199" >
+<father id="1212" num="4" />
+<cdparam x="369" y="231" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="1204" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="1198" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2459,16 +2459,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1207" >
-<father id="1218" num="5" />
-<cdparam x="369" y="158" />
+<SUBCOMPONENT type="1203" id="1201" >
+<father id="1212" num="5" />
+<cdparam x="369" y="291" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="1206" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="1200" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2476,16 +2476,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1209" >
-<father id="1218" num="6" />
-<cdparam x="371" y="126" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1203" >
+<father id="1212" num="6" />
+<cdparam x="317" y="100" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="234" minY="-8" maxY="208" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="1208" />
+<cdrectangleparam minX="-10" maxX="232" minY="-10" maxY="206" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="1202" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2494,52 +2494,59 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1200" id="1671" >
+<COMPONENT type="1200" id="1551" >
 <cdparam x="428" y="76" />
 <sizeparam width="749" height="386" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="715" minY="0" maxY="506" />
+<cdrectangleparam minX="0" maxX="1213" minY="0" maxY="405" />
 <infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="1663" />
-<TGConnectingPoint num="1" id="1664" />
-<TGConnectingPoint num="2" id="1665" />
-<TGConnectingPoint num="3" id="1666" />
-<TGConnectingPoint num="4" id="1667" />
-<TGConnectingPoint num="5" id="1668" />
-<TGConnectingPoint num="6" id="1669" />
-<TGConnectingPoint num="7" id="1670" />
+<TGConnectingPoint num="0" id="1543" />
+<TGConnectingPoint num="1" id="1544" />
+<TGConnectingPoint num="2" id="1545" />
+<TGConnectingPoint num="3" id="1546" />
+<TGConnectingPoint num="4" id="1547" />
+<TGConnectingPoint num="5" id="1548" />
+<TGConnectingPoint num="6" id="1549" />
+<TGConnectingPoint num="7" id="1550" />
 <extraparam>
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1202" id="1618" >
-<father id="1671" num="0" />
-<cdparam x="465" y="336" />
-<sizeparam width="192" height="117" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="1247" >
+<father id="1551" num="0" />
+<cdparam x="470" y="111" />
+<sizeparam width="161" height="191" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="557" minY="0" maxY="269" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="1610" />
-<TGConnectingPoint num="1" id="1611" />
-<TGConnectingPoint num="2" id="1612" />
-<TGConnectingPoint num="3" id="1613" />
-<TGConnectingPoint num="4" id="1614" />
-<TGConnectingPoint num="5" id="1615" />
-<TGConnectingPoint num="6" id="1616" />
-<TGConnectingPoint num="7" id="1617" />
+<cdrectangleparam minX="0" maxX="588" minY="0" maxY="195" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="1239" />
+<TGConnectingPoint num="1" id="1240" />
+<TGConnectingPoint num="2" id="1241" />
+<TGConnectingPoint num="3" id="1242" />
+<TGConnectingPoint num="4" id="1243" />
+<TGConnectingPoint num="5" id="1244" />
+<TGConnectingPoint num="6" id="1245" />
+<TGConnectingPoint num="7" id="1246" />
 <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="1597" >
-<father id="1618" num="0" />
-<cdparam x="626" y="328" />
+<SUBCOMPONENT type="1203" id="1214" >
+<father id="1247" num="0" />
+<cdparam x="538" y="294" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="1596" />
+<cdrectangleparam minX="-8" maxX="153" minY="-8" maxY="183" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="1213" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2547,16 +2554,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1599" >
-<father id="1618" num="1" />
-<cdparam x="649" y="341" />
+<SUBCOMPONENT type="1203" id="1216" >
+<father id="1247" num="1" />
+<cdparam x="462" y="126" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="1598" />
+<cdrectangleparam minX="-8" maxX="153" minY="-8" maxY="183" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="1215" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2564,16 +2571,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1601" >
-<father id="1618" num="2" />
-<cdparam x="649" y="431" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1218" >
+<father id="1247" num="2" />
+<cdparam x="621" y="292" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="1600" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="1217" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2581,16 +2588,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1603" >
-<father id="1618" num="3" />
-<cdparam x="649" y="410" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1220" >
+<father id="1247" num="3" />
+<cdparam x="621" y="185" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="1602" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="1219" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2598,16 +2605,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1605" >
-<father id="1618" num="4" />
-<cdparam x="649" y="388" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1222" >
+<father id="1247" num="4" />
+<cdparam x="621" y="220" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="1604" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="1221" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2615,16 +2622,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1607" >
-<father id="1618" num="5" />
-<cdparam x="649" y="363" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1224" >
+<father id="1247" num="5" />
+<cdparam x="621" y="249" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="1606" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="1223" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2632,16 +2639,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1609" >
-<father id="1618" num="6" />
-<cdparam x="538" y="328" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1226" >
+<father id="1247" num="6" />
+<cdparam x="460" y="158" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="1608" />
-<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" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="1225" />
+<extraparam>
+<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2649,340 +2656,67 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1237" >
-<father id="1671" num="1" />
-<cdparam x="418" y="76" />
+<SUBCOMPONENT type="1203" id="1228" >
+<father id="1247" num="7" />
+<cdparam x="460" y="265" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="739" minY="-10" maxY="376" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1219" />
-<TGConnectingPoint num="1" id="1220" />
-<TGConnectingPoint num="2" id="1221" />
-<TGConnectingPoint num="3" id="1222" />
-<TGConnectingPoint num="4" id="1223" />
-<TGConnectingPoint num="5" id="1224" />
-<TGConnectingPoint num="6" id="1225" />
-<TGConnectingPoint num="7" id="1226" />
-<TGConnectingPoint num="8" id="1227" />
-<TGConnectingPoint num="9" id="1228" />
-<TGConnectingPoint num="10" id="1229" />
-<TGConnectingPoint num="11" id="1230" />
-<TGConnectingPoint num="12" id="1231" />
-<TGConnectingPoint num="13" id="1232" />
-<TGConnectingPoint num="14" id="1233" />
-<TGConnectingPoint num="15" id="1234" />
-<TGConnectingPoint num="16" id="1235" />
-<TGConnectingPoint num="17" id="1236" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1200" id="1627" >
-<father id="1671" num="2" />
-<cdparam x="720" y="107" />
-<sizeparam width="445" height="337" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="304" minY="0" maxY="49" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="1619" />
-<TGConnectingPoint num="1" id="1620" />
-<TGConnectingPoint num="2" id="1621" />
-<TGConnectingPoint num="3" id="1622" />
-<TGConnectingPoint num="4" id="1623" />
-<TGConnectingPoint num="5" id="1624" />
-<TGConnectingPoint num="6" id="1625" />
-<TGConnectingPoint num="7" id="1626" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="1227" />
 <extraparam>
-<info hiddeni="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" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1370" >
-<father id="1627" num="0" />
-<cdparam x="710" y="122" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1352" />
-<TGConnectingPoint num="1" id="1353" />
-<TGConnectingPoint num="2" id="1354" />
-<TGConnectingPoint num="3" id="1355" />
-<TGConnectingPoint num="4" id="1356" />
-<TGConnectingPoint num="5" id="1357" />
-<TGConnectingPoint num="6" id="1358" />
-<TGConnectingPoint num="7" id="1359" />
-<TGConnectingPoint num="8" id="1360" />
-<TGConnectingPoint num="9" id="1361" />
-<TGConnectingPoint num="10" id="1362" />
-<TGConnectingPoint num="11" id="1363" />
-<TGConnectingPoint num="12" id="1364" />
-<TGConnectingPoint num="13" id="1365" />
-<TGConnectingPoint num="14" id="1366" />
-<TGConnectingPoint num="15" id="1367" />
-<TGConnectingPoint num="16" id="1368" />
-<TGConnectingPoint num="17" id="1369" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1389" >
-<father id="1627" num="1" />
-<cdparam x="710" y="237" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1371" />
-<TGConnectingPoint num="1" id="1372" />
-<TGConnectingPoint num="2" id="1373" />
-<TGConnectingPoint num="3" id="1374" />
-<TGConnectingPoint num="4" id="1375" />
-<TGConnectingPoint num="5" id="1376" />
-<TGConnectingPoint num="6" id="1377" />
-<TGConnectingPoint num="7" id="1378" />
-<TGConnectingPoint num="8" id="1379" />
-<TGConnectingPoint num="9" id="1380" />
-<TGConnectingPoint num="10" id="1381" />
-<TGConnectingPoint num="11" id="1382" />
-<TGConnectingPoint num="12" id="1383" />
-<TGConnectingPoint num="13" id="1384" />
-<TGConnectingPoint num="14" id="1385" />
-<TGConnectingPoint num="15" id="1386" />
-<TGConnectingPoint num="16" id="1387" />
-<TGConnectingPoint num="17" id="1388" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1408" >
-<father id="1627" num="2" />
-<cdparam x="710" y="208" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1390" />
-<TGConnectingPoint num="1" id="1391" />
-<TGConnectingPoint num="2" id="1392" />
-<TGConnectingPoint num="3" id="1393" />
-<TGConnectingPoint num="4" id="1394" />
-<TGConnectingPoint num="5" id="1395" />
-<TGConnectingPoint num="6" id="1396" />
-<TGConnectingPoint num="7" id="1397" />
-<TGConnectingPoint num="8" id="1398" />
-<TGConnectingPoint num="9" id="1399" />
-<TGConnectingPoint num="10" id="1400" />
-<TGConnectingPoint num="11" id="1401" />
-<TGConnectingPoint num="12" id="1402" />
-<TGConnectingPoint num="13" id="1403" />
-<TGConnectingPoint num="14" id="1404" />
-<TGConnectingPoint num="15" id="1405" />
-<TGConnectingPoint num="16" id="1406" />
-<TGConnectingPoint num="17" id="1407" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1427" >
-<father id="1627" num="3" />
-<cdparam x="710" y="173" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1409" />
-<TGConnectingPoint num="1" id="1410" />
-<TGConnectingPoint num="2" id="1411" />
-<TGConnectingPoint num="3" id="1412" />
-<TGConnectingPoint num="4" id="1413" />
-<TGConnectingPoint num="5" id="1414" />
-<TGConnectingPoint num="6" id="1415" />
-<TGConnectingPoint num="7" id="1416" />
-<TGConnectingPoint num="8" id="1417" />
-<TGConnectingPoint num="9" id="1418" />
-<TGConnectingPoint num="10" id="1419" />
-<TGConnectingPoint num="11" id="1420" />
-<TGConnectingPoint num="12" id="1421" />
-<TGConnectingPoint num="13" id="1422" />
-<TGConnectingPoint num="14" id="1423" />
-<TGConnectingPoint num="15" id="1424" />
-<TGConnectingPoint num="16" id="1425" />
-<TGConnectingPoint num="17" id="1426" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1446" >
-<father id="1627" num="4" />
-<cdparam x="710" y="294" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1428" />
-<TGConnectingPoint num="1" id="1429" />
-<TGConnectingPoint num="2" id="1430" />
-<TGConnectingPoint num="3" id="1431" />
-<TGConnectingPoint num="4" id="1432" />
-<TGConnectingPoint num="5" id="1433" />
-<TGConnectingPoint num="6" id="1434" />
-<TGConnectingPoint num="7" id="1435" />
-<TGConnectingPoint num="8" id="1436" />
-<TGConnectingPoint num="9" id="1437" />
-<TGConnectingPoint num="10" id="1438" />
-<TGConnectingPoint num="11" id="1439" />
-<TGConnectingPoint num="12" id="1440" />
-<TGConnectingPoint num="13" id="1441" />
-<TGConnectingPoint num="14" id="1442" />
-<TGConnectingPoint num="15" id="1443" />
-<TGConnectingPoint num="16" id="1444" />
-<TGConnectingPoint num="17" id="1445" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1465" >
-<father id="1627" num="5" />
-<cdparam x="710" y="327" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1447" />
-<TGConnectingPoint num="1" id="1448" />
-<TGConnectingPoint num="2" id="1449" />
-<TGConnectingPoint num="3" id="1450" />
-<TGConnectingPoint num="4" id="1451" />
-<TGConnectingPoint num="5" id="1452" />
-<TGConnectingPoint num="6" id="1453" />
-<TGConnectingPoint num="7" id="1454" />
-<TGConnectingPoint num="8" id="1455" />
-<TGConnectingPoint num="9" id="1456" />
-<TGConnectingPoint num="10" id="1457" />
-<TGConnectingPoint num="11" id="1458" />
-<TGConnectingPoint num="12" id="1459" />
-<TGConnectingPoint num="13" id="1460" />
-<TGConnectingPoint num="14" id="1461" />
-<TGConnectingPoint num="15" id="1462" />
-<TGConnectingPoint num="16" id="1463" />
-<TGConnectingPoint num="17" id="1464" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1484" >
-<father id="1627" num="6" />
-<cdparam x="710" y="354" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1466" />
-<TGConnectingPoint num="1" id="1467" />
-<TGConnectingPoint num="2" id="1468" />
-<TGConnectingPoint num="3" id="1469" />
-<TGConnectingPoint num="4" id="1470" />
-<TGConnectingPoint num="5" id="1471" />
-<TGConnectingPoint num="6" id="1472" />
-<TGConnectingPoint num="7" id="1473" />
-<TGConnectingPoint num="8" id="1474" />
-<TGConnectingPoint num="9" id="1475" />
-<TGConnectingPoint num="10" id="1476" />
-<TGConnectingPoint num="11" id="1477" />
-<TGConnectingPoint num="12" id="1478" />
-<TGConnectingPoint num="13" id="1479" />
-<TGConnectingPoint num="14" id="1480" />
-<TGConnectingPoint num="15" id="1481" />
-<TGConnectingPoint num="16" id="1482" />
-<TGConnectingPoint num="17" id="1483" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1503" >
-<father id="1627" num="7" />
-<cdparam x="710" y="429" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1485" />
-<TGConnectingPoint num="1" id="1486" />
-<TGConnectingPoint num="2" id="1487" />
-<TGConnectingPoint num="3" id="1488" />
-<TGConnectingPoint num="4" id="1489" />
-<TGConnectingPoint num="5" id="1490" />
-<TGConnectingPoint num="6" id="1491" />
-<TGConnectingPoint num="7" id="1492" />
-<TGConnectingPoint num="8" id="1493" />
-<TGConnectingPoint num="9" id="1494" />
-<TGConnectingPoint num="10" id="1495" />
-<TGConnectingPoint num="11" id="1496" />
-<TGConnectingPoint num="12" id="1497" />
-<TGConnectingPoint num="13" id="1498" />
-<TGConnectingPoint num="14" id="1499" />
-<TGConnectingPoint num="15" id="1500" />
-<TGConnectingPoint num="16" id="1501" />
-<TGConnectingPoint num="17" id="1502" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1522" >
-<father id="1627" num="8" />
-<cdparam x="710" y="399" />
+<SUBCOMPONENT type="1203" id="1230" >
+<father id="1247" num="8" />
+<cdparam x="460" y="195" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1504" />
-<TGConnectingPoint num="1" id="1505" />
-<TGConnectingPoint num="2" id="1506" />
-<TGConnectingPoint num="3" id="1507" />
-<TGConnectingPoint num="4" id="1508" />
-<TGConnectingPoint num="5" id="1509" />
-<TGConnectingPoint num="6" id="1510" />
-<TGConnectingPoint num="7" id="1511" />
-<TGConnectingPoint num="8" id="1512" />
-<TGConnectingPoint num="9" id="1513" />
-<TGConnectingPoint num="10" id="1514" />
-<TGConnectingPoint num="11" id="1515" />
-<TGConnectingPoint num="12" id="1516" />
-<TGConnectingPoint num="13" id="1517" />
-<TGConnectingPoint num="14" id="1518" />
-<TGConnectingPoint num="15" id="1519" />
-<TGConnectingPoint num="16" id="1520" />
-<TGConnectingPoint num="17" id="1521" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="1541" >
-<father id="1627" num="9" />
-<cdparam x="710" y="375" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="1229" />
+<extraparam>
+<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="1232" >
+<father id="1247" num="9" />
+<cdparam x="460" y="231" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
-<infoparam name="TGComponent" value="MyName" />
-<TGConnectingPoint num="0" id="1523" />
-<TGConnectingPoint num="1" id="1524" />
-<TGConnectingPoint num="2" id="1525" />
-<TGConnectingPoint num="3" id="1526" />
-<TGConnectingPoint num="4" id="1527" />
-<TGConnectingPoint num="5" id="1528" />
-<TGConnectingPoint num="6" id="1529" />
-<TGConnectingPoint num="7" id="1530" />
-<TGConnectingPoint num="8" id="1531" />
-<TGConnectingPoint num="9" id="1532" />
-<TGConnectingPoint num="10" id="1533" />
-<TGConnectingPoint num="11" id="1534" />
-<TGConnectingPoint num="12" id="1535" />
-<TGConnectingPoint num="13" id="1536" />
-<TGConnectingPoint num="14" id="1537" />
-<TGConnectingPoint num="15" id="1538" />
-<TGConnectingPoint num="16" id="1539" />
-<TGConnectingPoint num="17" id="1540" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1556" >
-<father id="1627" num="10" />
-<cdparam x="1052" y="198" />
-<sizeparam width="113" height="114" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="332" minY="0" maxY="223" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="1548" />
-<TGConnectingPoint num="1" id="1549" />
-<TGConnectingPoint num="2" id="1550" />
-<TGConnectingPoint num="3" id="1551" />
-<TGConnectingPoint num="4" id="1552" />
-<TGConnectingPoint num="5" id="1553" />
-<TGConnectingPoint num="6" id="1554" />
-<TGConnectingPoint num="7" id="1555" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="1231" />
 <extraparam>
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1543" >
-<father id="1556" num="0" />
-<cdparam x="1044" y="232" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1234" >
+<father id="1247" num="10" />
+<cdparam x="460" y="291" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="1542" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="1233" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -2990,16 +2724,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1545" >
-<father id="1556" num="1" />
-<cdparam x="1044" y="261" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1236" >
+<father id="1247" num="11" />
+<cdparam x="506" y="101" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="1544" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="1235" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3007,16 +2741,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1547" >
-<father id="1556" num="2" />
-<cdparam x="1044" y="292" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1238" >
+<father id="1247" num="12" />
+<cdparam x="621" y="122" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="1546" />
+<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="1237" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3024,21 +2758,40 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1595" >
-<father id="1627" num="11" />
-<cdparam x="780" y="158" />
+<SUBCOMPONENT type="1200" id="1500" >
+<father id="1551" num="1" />
+<cdparam x="720" y="68" />
+<sizeparam width="445" height="337" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="304" minY="0" maxY="49" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="1492" />
+<TGConnectingPoint num="1" id="1493" />
+<TGConnectingPoint num="2" id="1494" />
+<TGConnectingPoint num="3" id="1495" />
+<TGConnectingPoint num="4" id="1496" />
+<TGConnectingPoint num="5" id="1497" />
+<TGConnectingPoint num="6" id="1498" />
+<TGConnectingPoint num="7" id="1499" />
+<extraparam>
+<info hiddeni="false" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="1286" >
+<father id="1500" num="0" />
+<cdparam x="780" y="150" />
 <sizeparam width="190" height="255" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="255" minY="0" maxY="82" />
 <infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="1587" />
-<TGConnectingPoint num="1" id="1588" />
-<TGConnectingPoint num="2" id="1589" />
-<TGConnectingPoint num="3" id="1590" />
-<TGConnectingPoint num="4" id="1591" />
-<TGConnectingPoint num="5" id="1592" />
-<TGConnectingPoint num="6" id="1593" />
-<TGConnectingPoint num="7" id="1594" />
+<TGConnectingPoint num="0" id="1278" />
+<TGConnectingPoint num="1" id="1279" />
+<TGConnectingPoint num="2" id="1280" />
+<TGConnectingPoint num="3" id="1281" />
+<TGConnectingPoint num="4" id="1282" />
+<TGConnectingPoint num="5" id="1283" />
+<TGConnectingPoint num="6" id="1284" />
+<TGConnectingPoint num="7" id="1285" />
 <extraparam>
 <Attribute access="2" id="wind" value="64" type="0" typeOther="" />
 <Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
@@ -3049,16 +2802,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1558" >
-<father id="1595" num="0" />
-<cdparam x="847" y="148" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1249" >
+<father id="1286" num="0" />
+<cdparam x="962" y="292" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="1557" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="1248" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3066,16 +2819,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1560" >
-<father id="1595" num="1" />
-<cdparam x="770" y="173" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1251" >
+<father id="1286" num="1" />
+<cdparam x="962" y="194" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="1559" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="1250" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3083,16 +2836,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1562" >
-<father id="1595" num="2" />
-<cdparam x="770" y="208" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1253" >
+<father id="1286" num="2" />
+<cdparam x="962" y="162" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="1561" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="1252" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3100,16 +2853,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1564" >
-<father id="1595" num="3" />
-<cdparam x="770" y="237" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1255" >
+<father id="1286" num="3" />
+<cdparam x="962" y="261" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="1563" />
+<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="1254" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3117,16 +2870,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1566" >
-<father id="1595" num="4" />
-<cdparam x="772" y="280" />
+<SUBCOMPONENT type="1203" id="1257" >
+<father id="1286" num="4" />
+<cdparam x="962" y="232" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="1565" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="1256" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3134,16 +2887,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1568" >
-<father id="1595" num="5" />
-<cdparam x="819" y="405" />
+<SUBCOMPONENT type="1203" id="1259" >
+<father id="1286" num="5" />
+<cdparam x="772" y="377" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="1567" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="1258" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3151,16 +2904,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1570" >
-<father id="1595" num="6" />
-<cdparam x="772" y="393" />
+<SUBCOMPONENT type="1203" id="1261" >
+<father id="1286" num="6" />
+<cdparam x="772" y="356" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="1569" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="1260" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3168,14 +2921,14 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1572" >
-<father id="1595" num="7" />
+<SUBCOMPONENT type="1203" id="1263" >
+<father id="1286" num="7" />
 <cdparam x="772" y="329" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
 <infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="1571" />
+<TGConnectingPoint num="0" id="1262" />
 <extraparam>
 <Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
@@ -3185,16 +2938,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1574" >
-<father id="1595" num="8" />
-<cdparam x="772" y="356" />
+<SUBCOMPONENT type="1203" id="1265" >
+<father id="1286" num="8" />
+<cdparam x="772" y="389" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="1573" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="1264" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3202,16 +2955,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1576" >
-<father id="1595" num="9" />
-<cdparam x="772" y="377" />
+<SUBCOMPONENT type="1203" id="1267" >
+<father id="1286" num="9" />
+<cdparam x="819" y="389" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="1575" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="1266" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3219,16 +2972,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1578" >
-<father id="1595" num="10" />
-<cdparam x="962" y="232" />
+<SUBCOMPONENT type="1203" id="1269" >
+<father id="1286" num="10" />
+<cdparam x="772" y="280" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="1577" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="1268" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3236,16 +2989,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1580" >
-<father id="1595" num="11" />
-<cdparam x="962" y="261" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1271" >
+<father id="1286" num="11" />
+<cdparam x="770" y="237" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="1579" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<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" />
+<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3253,16 +3006,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1582" >
-<father id="1595" num="12" />
-<cdparam x="962" y="162" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1273" >
+<father id="1286" num="12" />
+<cdparam x="770" y="208" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="1581" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="1272" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3270,16 +3023,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1584" >
-<father id="1595" num="13" />
-<cdparam x="962" y="194" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1275" >
+<father id="1286" num="13" />
+<cdparam x="770" y="173" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="1583" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="1274" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3287,16 +3040,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1586" >
-<father id="1595" num="14" />
-<cdparam x="962" y="292" />
-<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1277" >
+<father id="1286" num="14" />
+<cdparam x="847" y="140" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="182" minY="-8" maxY="247" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="1585" />
+<cdrectangleparam minX="-10" maxX="180" minY="-10" maxY="245" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="1276" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3304,41 +3057,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="1662" >
-<father id="1671" num="3" />
-<cdparam x="470" y="111" />
-<sizeparam width="161" height="191" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="1301" >
+<father id="1500" num="1" />
+<cdparam x="1052" y="198" />
+<sizeparam width="113" height="114" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="588" minY="0" maxY="195" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="1654" />
-<TGConnectingPoint num="1" id="1655" />
-<TGConnectingPoint num="2" id="1656" />
-<TGConnectingPoint num="3" id="1657" />
-<TGConnectingPoint num="4" id="1658" />
-<TGConnectingPoint num="5" id="1659" />
-<TGConnectingPoint num="6" id="1660" />
-<TGConnectingPoint num="7" id="1661" />
+<cdrectangleparam minX="0" maxX="332" minY="0" maxY="223" />
+<infoparam name="TGComponent" value="Timer" />
+<TGConnectingPoint num="0" id="1293" />
+<TGConnectingPoint num="1" id="1294" />
+<TGConnectingPoint num="2" id="1295" />
+<TGConnectingPoint num="3" id="1296" />
+<TGConnectingPoint num="4" id="1297" />
+<TGConnectingPoint num="5" id="1298" />
+<TGConnectingPoint num="6" id="1299" />
+<TGConnectingPoint num="7" id="1300" />
 <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="1629" >
-<father id="1662" num="0" />
-<cdparam x="621" y="122" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1288" >
+<father id="1301" num="0" />
+<cdparam x="1044" y="292" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="1628" />
+<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="1287" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3346,16 +3093,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1631" >
-<father id="1662" num="1" />
-<cdparam x="506" y="101" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1290" >
+<father id="1301" num="1" />
+<cdparam x="1044" y="261" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
-<TGConnectingPoint num="0" id="1630" />
+<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="1289" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3363,16 +3110,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1633" >
-<father id="1662" num="2" />
-<cdparam x="460" y="291" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1292" >
+<father id="1301" num="2" />
+<cdparam x="1044" y="232" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="1632" />
+<cdrectangleparam minX="-8" maxX="105" minY="-8" maxY="106" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="1291" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3380,67 +3127,320 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1635" >
-<father id="1662" num="3" />
-<cdparam x="460" y="231" />
+<SUBCOMPONENT type="1201" id="1320" >
+<father id="1500" num="2" />
+<cdparam x="710" y="375" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="1634" />
-<extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1637" >
-<father id="1662" num="4" />
-<cdparam x="460" y="195" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1302" />
+<TGConnectingPoint num="1" id="1303" />
+<TGConnectingPoint num="2" id="1304" />
+<TGConnectingPoint num="3" id="1305" />
+<TGConnectingPoint num="4" id="1306" />
+<TGConnectingPoint num="5" id="1307" />
+<TGConnectingPoint num="6" id="1308" />
+<TGConnectingPoint num="7" id="1309" />
+<TGConnectingPoint num="8" id="1310" />
+<TGConnectingPoint num="9" id="1311" />
+<TGConnectingPoint num="10" id="1312" />
+<TGConnectingPoint num="11" id="1313" />
+<TGConnectingPoint num="12" id="1314" />
+<TGConnectingPoint num="13" id="1315" />
+<TGConnectingPoint num="14" id="1316" />
+<TGConnectingPoint num="15" id="1317" />
+<TGConnectingPoint num="16" id="1318" />
+<TGConnectingPoint num="17" id="1319" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1339" >
+<father id="1500" num="3" />
+<cdparam x="710" y="385" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="1636" />
-<extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1639" >
-<father id="1662" num="5" />
-<cdparam x="460" y="265" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1321" />
+<TGConnectingPoint num="1" id="1322" />
+<TGConnectingPoint num="2" id="1323" />
+<TGConnectingPoint num="3" id="1324" />
+<TGConnectingPoint num="4" id="1325" />
+<TGConnectingPoint num="5" id="1326" />
+<TGConnectingPoint num="6" id="1327" />
+<TGConnectingPoint num="7" id="1328" />
+<TGConnectingPoint num="8" id="1329" />
+<TGConnectingPoint num="9" id="1330" />
+<TGConnectingPoint num="10" id="1331" />
+<TGConnectingPoint num="11" id="1332" />
+<TGConnectingPoint num="12" id="1333" />
+<TGConnectingPoint num="13" id="1334" />
+<TGConnectingPoint num="14" id="1335" />
+<TGConnectingPoint num="15" id="1336" />
+<TGConnectingPoint num="16" id="1337" />
+<TGConnectingPoint num="17" id="1338" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1358" >
+<father id="1500" num="4" />
+<cdparam x="710" y="385" />
 <sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="1638" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1340" />
+<TGConnectingPoint num="1" id="1341" />
+<TGConnectingPoint num="2" id="1342" />
+<TGConnectingPoint num="3" id="1343" />
+<TGConnectingPoint num="4" id="1344" />
+<TGConnectingPoint num="5" id="1345" />
+<TGConnectingPoint num="6" id="1346" />
+<TGConnectingPoint num="7" id="1347" />
+<TGConnectingPoint num="8" id="1348" />
+<TGConnectingPoint num="9" id="1349" />
+<TGConnectingPoint num="10" id="1350" />
+<TGConnectingPoint num="11" id="1351" />
+<TGConnectingPoint num="12" id="1352" />
+<TGConnectingPoint num="13" id="1353" />
+<TGConnectingPoint num="14" id="1354" />
+<TGConnectingPoint num="15" id="1355" />
+<TGConnectingPoint num="16" id="1356" />
+<TGConnectingPoint num="17" id="1357" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1377" >
+<father id="1500" num="5" />
+<cdparam x="710" y="354" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1359" />
+<TGConnectingPoint num="1" id="1360" />
+<TGConnectingPoint num="2" id="1361" />
+<TGConnectingPoint num="3" id="1362" />
+<TGConnectingPoint num="4" id="1363" />
+<TGConnectingPoint num="5" id="1364" />
+<TGConnectingPoint num="6" id="1365" />
+<TGConnectingPoint num="7" id="1366" />
+<TGConnectingPoint num="8" id="1367" />
+<TGConnectingPoint num="9" id="1368" />
+<TGConnectingPoint num="10" id="1369" />
+<TGConnectingPoint num="11" id="1370" />
+<TGConnectingPoint num="12" id="1371" />
+<TGConnectingPoint num="13" id="1372" />
+<TGConnectingPoint num="14" id="1373" />
+<TGConnectingPoint num="15" id="1374" />
+<TGConnectingPoint num="16" id="1375" />
+<TGConnectingPoint num="17" id="1376" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1396" >
+<father id="1500" num="6" />
+<cdparam x="710" y="327" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1378" />
+<TGConnectingPoint num="1" id="1379" />
+<TGConnectingPoint num="2" id="1380" />
+<TGConnectingPoint num="3" id="1381" />
+<TGConnectingPoint num="4" id="1382" />
+<TGConnectingPoint num="5" id="1383" />
+<TGConnectingPoint num="6" id="1384" />
+<TGConnectingPoint num="7" id="1385" />
+<TGConnectingPoint num="8" id="1386" />
+<TGConnectingPoint num="9" id="1387" />
+<TGConnectingPoint num="10" id="1388" />
+<TGConnectingPoint num="11" id="1389" />
+<TGConnectingPoint num="12" id="1390" />
+<TGConnectingPoint num="13" id="1391" />
+<TGConnectingPoint num="14" id="1392" />
+<TGConnectingPoint num="15" id="1393" />
+<TGConnectingPoint num="16" id="1394" />
+<TGConnectingPoint num="17" id="1395" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1415" >
+<father id="1500" num="7" />
+<cdparam x="710" y="294" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1397" />
+<TGConnectingPoint num="1" id="1398" />
+<TGConnectingPoint num="2" id="1399" />
+<TGConnectingPoint num="3" id="1400" />
+<TGConnectingPoint num="4" id="1401" />
+<TGConnectingPoint num="5" id="1402" />
+<TGConnectingPoint num="6" id="1403" />
+<TGConnectingPoint num="7" id="1404" />
+<TGConnectingPoint num="8" id="1405" />
+<TGConnectingPoint num="9" id="1406" />
+<TGConnectingPoint num="10" id="1407" />
+<TGConnectingPoint num="11" id="1408" />
+<TGConnectingPoint num="12" id="1409" />
+<TGConnectingPoint num="13" id="1410" />
+<TGConnectingPoint num="14" id="1411" />
+<TGConnectingPoint num="15" id="1412" />
+<TGConnectingPoint num="16" id="1413" />
+<TGConnectingPoint num="17" id="1414" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1434" >
+<father id="1500" num="8" />
+<cdparam x="710" y="173" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1416" />
+<TGConnectingPoint num="1" id="1417" />
+<TGConnectingPoint num="2" id="1418" />
+<TGConnectingPoint num="3" id="1419" />
+<TGConnectingPoint num="4" id="1420" />
+<TGConnectingPoint num="5" id="1421" />
+<TGConnectingPoint num="6" id="1422" />
+<TGConnectingPoint num="7" id="1423" />
+<TGConnectingPoint num="8" id="1424" />
+<TGConnectingPoint num="9" id="1425" />
+<TGConnectingPoint num="10" id="1426" />
+<TGConnectingPoint num="11" id="1427" />
+<TGConnectingPoint num="12" id="1428" />
+<TGConnectingPoint num="13" id="1429" />
+<TGConnectingPoint num="14" id="1430" />
+<TGConnectingPoint num="15" id="1431" />
+<TGConnectingPoint num="16" id="1432" />
+<TGConnectingPoint num="17" id="1433" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1453" >
+<father id="1500" num="9" />
+<cdparam x="710" y="208" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1435" />
+<TGConnectingPoint num="1" id="1436" />
+<TGConnectingPoint num="2" id="1437" />
+<TGConnectingPoint num="3" id="1438" />
+<TGConnectingPoint num="4" id="1439" />
+<TGConnectingPoint num="5" id="1440" />
+<TGConnectingPoint num="6" id="1441" />
+<TGConnectingPoint num="7" id="1442" />
+<TGConnectingPoint num="8" id="1443" />
+<TGConnectingPoint num="9" id="1444" />
+<TGConnectingPoint num="10" id="1445" />
+<TGConnectingPoint num="11" id="1446" />
+<TGConnectingPoint num="12" id="1447" />
+<TGConnectingPoint num="13" id="1448" />
+<TGConnectingPoint num="14" id="1449" />
+<TGConnectingPoint num="15" id="1450" />
+<TGConnectingPoint num="16" id="1451" />
+<TGConnectingPoint num="17" id="1452" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1472" >
+<father id="1500" num="10" />
+<cdparam x="710" y="237" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1454" />
+<TGConnectingPoint num="1" id="1455" />
+<TGConnectingPoint num="2" id="1456" />
+<TGConnectingPoint num="3" id="1457" />
+<TGConnectingPoint num="4" id="1458" />
+<TGConnectingPoint num="5" id="1459" />
+<TGConnectingPoint num="6" id="1460" />
+<TGConnectingPoint num="7" id="1461" />
+<TGConnectingPoint num="8" id="1462" />
+<TGConnectingPoint num="9" id="1463" />
+<TGConnectingPoint num="10" id="1464" />
+<TGConnectingPoint num="11" id="1465" />
+<TGConnectingPoint num="12" id="1466" />
+<TGConnectingPoint num="13" id="1467" />
+<TGConnectingPoint num="14" id="1468" />
+<TGConnectingPoint num="15" id="1469" />
+<TGConnectingPoint num="16" id="1470" />
+<TGConnectingPoint num="17" id="1471" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1491" >
+<father id="1500" num="11" />
+<cdparam x="710" y="122" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="435" minY="-10" maxY="327" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1473" />
+<TGConnectingPoint num="1" id="1474" />
+<TGConnectingPoint num="2" id="1475" />
+<TGConnectingPoint num="3" id="1476" />
+<TGConnectingPoint num="4" id="1477" />
+<TGConnectingPoint num="5" id="1478" />
+<TGConnectingPoint num="6" id="1479" />
+<TGConnectingPoint num="7" id="1480" />
+<TGConnectingPoint num="8" id="1481" />
+<TGConnectingPoint num="9" id="1482" />
+<TGConnectingPoint num="10" id="1483" />
+<TGConnectingPoint num="11" id="1484" />
+<TGConnectingPoint num="12" id="1485" />
+<TGConnectingPoint num="13" id="1486" />
+<TGConnectingPoint num="14" id="1487" />
+<TGConnectingPoint num="15" id="1488" />
+<TGConnectingPoint num="16" id="1489" />
+<TGConnectingPoint num="17" id="1490" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="1519" >
+<father id="1551" num="2" />
+<cdparam x="418" y="76" />
+<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="739" minY="-10" maxY="376" />
+<infoparam name="TGComponent" value="MyName" />
+<TGConnectingPoint num="0" id="1501" />
+<TGConnectingPoint num="1" id="1502" />
+<TGConnectingPoint num="2" id="1503" />
+<TGConnectingPoint num="3" id="1504" />
+<TGConnectingPoint num="4" id="1505" />
+<TGConnectingPoint num="5" id="1506" />
+<TGConnectingPoint num="6" id="1507" />
+<TGConnectingPoint num="7" id="1508" />
+<TGConnectingPoint num="8" id="1509" />
+<TGConnectingPoint num="9" id="1510" />
+<TGConnectingPoint num="10" id="1511" />
+<TGConnectingPoint num="11" id="1512" />
+<TGConnectingPoint num="12" id="1513" />
+<TGConnectingPoint num="13" id="1514" />
+<TGConnectingPoint num="14" id="1515" />
+<TGConnectingPoint num="15" id="1516" />
+<TGConnectingPoint num="16" id="1517" />
+<TGConnectingPoint num="17" id="1518" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="1542" >
+<father id="1551" num="3" />
+<cdparam x="465" y="288" />
+<sizeparam width="192" height="117" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="557" minY="0" maxY="269" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="1534" />
+<TGConnectingPoint num="1" id="1535" />
+<TGConnectingPoint num="2" id="1536" />
+<TGConnectingPoint num="3" id="1537" />
+<TGConnectingPoint num="4" id="1538" />
+<TGConnectingPoint num="5" id="1539" />
+<TGConnectingPoint num="6" id="1540" />
+<TGConnectingPoint num="7" id="1541" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1641" >
-<father id="1662" num="6" />
-<cdparam x="460" y="158" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1521" >
+<father id="1542" num="0" />
+<cdparam x="538" y="280" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="1640" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="1520" />
 <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" />
+<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3448,16 +3448,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1643" >
-<father id="1662" num="7" />
-<cdparam x="621" y="249" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1523" >
+<father id="1542" num="1" />
+<cdparam x="649" y="363" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="1642" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="1522" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3465,16 +3465,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1645" >
-<father id="1662" num="8" />
-<cdparam x="621" y="220" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1525" >
+<father id="1542" num="2" />
+<cdparam x="649" y="388" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="1644" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="1524" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3482,16 +3482,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1647" >
-<father id="1662" num="9" />
-<cdparam x="621" y="185" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1527" >
+<father id="1542" num="3" />
+<cdparam x="649" y="389" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="1646" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="1526" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3499,16 +3499,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1649" >
-<father id="1662" num="10" />
-<cdparam x="621" y="292" />
-<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="1529" >
+<father id="1542" num="4" />
+<cdparam x="649" y="389" />
+<sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="151" minY="-10" maxY="181" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="1648" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="1528" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3516,16 +3516,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1651" >
-<father id="1662" num="11" />
-<cdparam x="462" y="126" />
+<SUBCOMPONENT type="1203" id="1531" >
+<father id="1542" num="5" />
+<cdparam x="649" y="341" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="153" minY="-8" maxY="183" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="1650" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="1530" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3533,16 +3533,16 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="1653" >
-<father id="1662" num="12" />
-<cdparam x="538" y="294" />
+<SUBCOMPONENT type="1203" id="1533" >
+<father id="1542" num="6" />
+<cdparam x="649" y="328" />
 <sizeparam width="16" height="16" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-8" maxX="153" minY="-8" maxY="183" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="1652" />
+<cdrectangleparam minX="-8" maxX="184" minY="-8" maxY="109" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="1532" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -3555,35 +3555,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 </TMLComponentTaskDiagramPanel>
 
 <TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1679" >
+<COMPONENT type="1012" id="1559" >
 <cdparam x="553" y="376" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1675" />
-<TGConnectingPoint num="1" id="1676" />
-<TGConnectingPoint num="2" id="1677" />
-<TGConnectingPoint num="3" id="1678" />
+<TGConnectingPoint num="0" id="1555" />
+<TGConnectingPoint num="1" id="1556" />
+<TGConnectingPoint num="2" id="1557" />
+<TGConnectingPoint num="3" id="1558" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1672" >
-<father id="1679" num="0" />
+<SUBCOMPONENT type="-1" id="1552" >
+<father id="1559" num="0" />
 <cdparam x="528" y="386" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1673" >
-<father id="1679" num="1" />
+<SUBCOMPONENT type="-1" id="1553" >
+<father id="1559" num="1" />
 <cdparam x="588" y="386" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1674" >
-<father id="1679" num="2" />
+<SUBCOMPONENT type="-1" id="1554" >
+<father id="1559" num="2" />
 <cdparam x="573" y="421" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3591,35 +3591,35 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1687" >
+<COMPONENT type="1012" id="1567" >
 <cdparam x="644" y="517" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1683" />
-<TGConnectingPoint num="1" id="1684" />
-<TGConnectingPoint num="2" id="1685" />
-<TGConnectingPoint num="3" id="1686" />
+<TGConnectingPoint num="0" id="1563" />
+<TGConnectingPoint num="1" id="1564" />
+<TGConnectingPoint num="2" id="1565" />
+<TGConnectingPoint num="3" id="1566" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1680" >
-<father id="1687" num="0" />
+<SUBCOMPONENT type="-1" id="1560" >
+<father id="1567" num="0" />
 <cdparam x="599" y="527" />
 <sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1681" >
-<father id="1687" num="1" />
+<SUBCOMPONENT type="-1" id="1561" >
+<father id="1567" num="1" />
 <cdparam x="679" y="527" />
 <sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1682" >
-<father id="1687" num="2" />
+<SUBCOMPONENT type="-1" id="1562" >
+<father id="1567" num="2" />
 <cdparam x="664" y="562" />
 <sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3627,262 +3627,262 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="guard 3" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="1689" >
+<COMPONENT type="1000" id="1569" >
 <cdparam x="221" y="37" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1688" />
+<TGConnectingPoint num="0" id="1568" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1692" >
+<COMPONENT type="1007" id="1572" >
 <cdparam x="188" y="137" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send request" value="activation()" />
-<TGConnectingPoint num="0" id="1690" />
-<TGConnectingPoint num="1" id="1691" />
+<TGConnectingPoint num="0" id="1570" />
+<TGConnectingPoint num="1" id="1571" />
 <extraparam>
 <Data requestName="activation" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1695" >
+<COMPONENT type="1008" id="1575" >
 <cdparam x="202" y="237" />
 <sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="reset()" />
-<TGConnectingPoint num="0" id="1693" />
-<TGConnectingPoint num="1" id="1694" />
+<TGConnectingPoint num="0" id="1573" />
+<TGConnectingPoint num="1" id="1574" />
 <extraparam>
 <Data eventName="reset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1698" >
+<COMPONENT type="1010" id="1578" >
 <cdparam x="167" y="288" />
 <sizeparam width="120" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="answerToReset() " />
-<TGConnectingPoint num="0" id="1696" />
-<TGConnectingPoint num="1" id="1697" />
+<TGConnectingPoint num="0" id="1576" />
+<TGConnectingPoint num="1" id="1577" />
 <extraparam>
 <Data eventName="answerToReset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1701" >
+<COMPONENT type="1008" id="1581" >
 <cdparam x="207" y="337" />
 <sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="pTS()" />
-<TGConnectingPoint num="0" id="1699" />
-<TGConnectingPoint num="1" id="1700" />
+<TGConnectingPoint num="0" id="1579" />
+<TGConnectingPoint num="1" id="1580" />
 <extraparam>
 <Data eventName="pTS" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1704" >
+<COMPONENT type="1010" id="1584" >
 <cdparam x="356" y="165" />
 <sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="pTSConfirm() " />
-<TGConnectingPoint num="0" id="1702" />
-<TGConnectingPoint num="1" id="1703" />
+<TGConnectingPoint num="0" id="1582" />
+<TGConnectingPoint num="1" id="1583" />
 <breakpoint />
 <extraparam>
 <Data eventName="pTSConfirm" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1721" >
+<COMPONENT type="301" id="1601" >
 <cdparam x="367" y="222" />
 <sizeparam width="114" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="UML Note" value="data exchange
 " />
-<TGConnectingPoint num="0" id="1705" />
-<TGConnectingPoint num="1" id="1706" />
-<TGConnectingPoint num="2" id="1707" />
-<TGConnectingPoint num="3" id="1708" />
-<TGConnectingPoint num="4" id="1709" />
-<TGConnectingPoint num="5" id="1710" />
-<TGConnectingPoint num="6" id="1711" />
-<TGConnectingPoint num="7" id="1712" />
-<TGConnectingPoint num="8" id="1713" />
-<TGConnectingPoint num="9" id="1714" />
-<TGConnectingPoint num="10" id="1715" />
-<TGConnectingPoint num="11" id="1716" />
-<TGConnectingPoint num="12" id="1717" />
-<TGConnectingPoint num="13" id="1718" />
-<TGConnectingPoint num="14" id="1719" />
-<TGConnectingPoint num="15" id="1720" />
+<TGConnectingPoint num="0" id="1585" />
+<TGConnectingPoint num="1" id="1586" />
+<TGConnectingPoint num="2" id="1587" />
+<TGConnectingPoint num="3" id="1588" />
+<TGConnectingPoint num="4" id="1589" />
+<TGConnectingPoint num="5" id="1590" />
+<TGConnectingPoint num="6" id="1591" />
+<TGConnectingPoint num="7" id="1592" />
+<TGConnectingPoint num="8" id="1593" />
+<TGConnectingPoint num="9" id="1594" />
+<TGConnectingPoint num="10" id="1595" />
+<TGConnectingPoint num="11" id="1596" />
+<TGConnectingPoint num="12" id="1597" />
+<TGConnectingPoint num="13" id="1598" />
+<TGConnectingPoint num="14" id="1599" />
+<TGConnectingPoint num="15" id="1600" />
 <extraparam>
 <Line value="data exchange" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1724" >
+<COMPONENT type="1006" id="1604" >
 <cdparam x="429" y="448" />
 <sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="write channel" value="fromDtoSC(1)" />
-<TGConnectingPoint num="0" id="1722" />
-<TGConnectingPoint num="1" id="1723" />
+<TGConnectingPoint num="0" id="1602" />
+<TGConnectingPoint num="1" id="1603" />
 <extraparam>
 <Data channelName="fromDtoSC" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1727" >
+<COMPONENT type="1008" id="1607" >
 <cdparam x="430" y="507" />
 <sizeparam width="93" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="data_Ready()" />
-<TGConnectingPoint num="0" id="1725" />
-<TGConnectingPoint num="1" id="1726" />
+<TGConnectingPoint num="0" id="1605" />
+<TGConnectingPoint num="1" id="1606" />
 <extraparam>
 <Data eventName="data_Ready" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1729" >
+<COMPONENT type="1001" id="1609" >
 <cdparam x="466" y="570" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1728" />
+<TGConnectingPoint num="0" id="1608" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="1732" >
+<COMPONENT type="1017" id="1612" >
 <cdparam x="588" y="447" />
 <sizeparam width="142" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="notified event" value="x=?data_Ready_SC()" />
-<TGConnectingPoint num="0" id="1730" />
-<TGConnectingPoint num="1" id="1731" />
+<TGConnectingPoint num="0" id="1610" />
+<TGConnectingPoint num="1" id="1611" />
 <extraparam>
 <Data eventName="data_Ready_SC" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1734" >
+<COMPONENT type="1001" id="1614" >
 <cdparam x="569" y="577" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1733" />
+<TGConnectingPoint num="0" id="1613" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="1737" >
+<COMPONENT type="1009" id="1617" >
 <cdparam x="610" y="700" />
 <sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="read channel" value="fromSCtoD(1) " />
-<TGConnectingPoint num="0" id="1735" />
-<TGConnectingPoint num="1" id="1736" />
+<TGConnectingPoint num="0" id="1615" />
+<TGConnectingPoint num="1" id="1616" />
 <extraparam>
 <Data channelName="fromSCtoD" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1740" >
+<COMPONENT type="1010" id="1620" >
 <cdparam x="600" y="619" />
 <sizeparam width="119" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="data_Ready_SC() " />
-<TGConnectingPoint num="0" id="1738" />
-<TGConnectingPoint num="1" id="1739" />
+<TGConnectingPoint num="0" id="1618" />
+<TGConnectingPoint num="1" id="1619" />
 <accessibility />
 <extraparam>
 <Data eventName="data_Ready_SC" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1742" >
+<COMPONENT type="1001" id="1622" >
 <cdparam x="649" y="774" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1741" />
+<TGConnectingPoint num="0" id="1621" />
 </COMPONENT>
 
-<COMPONENT type="1014" id="1746" >
+<COMPONENT type="1014" id="1626" >
 <cdparam x="300" y="287" />
 <sizeparam width="268" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="for loop" value="for(i=0;i&lt;nbOfComputedPackets;i = i +1)" />
-<TGConnectingPoint num="0" id="1743" />
-<TGConnectingPoint num="1" id="1744" />
-<TGConnectingPoint num="2" id="1745" />
+<TGConnectingPoint num="0" id="1623" />
+<TGConnectingPoint num="1" id="1624" />
+<TGConnectingPoint num="2" id="1625" />
 <extraparam>
 <Data init="i=0" condition="i&lt;nbOfComputedPackets" increment="i = i +1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1748" >
+<COMPONENT type="1001" id="1628" >
 <cdparam x="382" y="380" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1747" />
+<TGConnectingPoint num="0" id="1627" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="1753" >
+<CONNECTOR type="115" id="1633" >
 <cdparam x="78" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="362" id="1700" />
-<P2  x="403" y="160" id="1702" />
+<P1  x="228" y="362" id="1580" />
+<P2  x="403" y="160" id="1582" />
 <Point x="228" y="383" />
 <Point x="307" y="383" />
 <Point x="307" y="140" />
 <Point x="403" y="140" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1749" >
-<father id="1753" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1629" >
+<father id="1633" num="0" />
 <cdparam x="228" y="383" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1750" >
-<father id="1753" num="1" />
+<SUBCOMPONENT type="-1" id="1630" >
+<father id="1633" num="1" />
 <cdparam x="307" y="383" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1751" >
-<father id="1753" num="2" />
+<SUBCOMPONENT type="-1" id="1631" >
+<father id="1633" num="2" />
 <cdparam x="307" y="140" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1752" >
-<father id="1753" num="3" />
+<SUBCOMPONENT type="-1" id="1632" >
+<father id="1633" num="3" />
 <cdparam x="403" y="140" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3890,1000 +3890,679 @@ A sensor attached to the door enables detection of &quot;open door&quot;.
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="115" id="1754" >
+<CONNECTOR type="115" id="1634" >
 <cdparam x="228" y="57" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to send request" value="null" />
-<P1  x="228" y="57" id="1688" />
-<P2  x="228" y="132" id="1690" />
+<P1  x="228" y="57" id="1568" />
+<P2  x="228" y="132" id="1570" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1755" >
+<CONNECTOR type="115" id="1635" >
 <cdparam x="228" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send request to send event" value="null" />
-<P1  x="228" y="162" id="1691" />
-<P2  x="228" y="232" id="1693" />
+<P1  x="228" y="162" id="1571" />
+<P2  x="228" y="232" id="1573" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1756" >
+<CONNECTOR type="115" id="1636" >
 <cdparam x="228" y="284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to send event" value="null" />
-<P1  x="227" y="313" id="1697" />
-<P2  x="228" y="332" id="1699" />
+<P1  x="227" y="313" id="1577" />
+<P2  x="228" y="332" id="1579" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1757" >
+<CONNECTOR type="115" id="1637" >
 <cdparam x="528" y="391" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to write channel" value="null" />
-<P1  x="528" y="391" id="1676" />
-<P2  x="476" y="443" id="1722" />
+<P1  x="528" y="391" id="1556" />
+<P2  x="476" y="443" id="1602" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1758" >
+<CONNECTOR type="115" id="1638" >
 <cdparam x="476" y="473" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="476" y="473" id="1723" />
-<P2  x="476" y="502" id="1725" />
+<P1  x="476" y="473" id="1603" />
+<P2  x="476" y="502" id="1605" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1759" >
+<CONNECTOR type="115" id="1639" >
 <cdparam x="471" y="529" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to stop state" value="null" />
-<P1  x="476" y="532" id="1726" />
-<P2  x="476" y="565" id="1728" />
+<P1  x="476" y="532" id="1606" />
+<P2  x="476" y="565" id="1608" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1760" >
+<CONNECTOR type="115" id="1640" >
 <cdparam x="619" y="532" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="619" y="532" id="1684" />
-<P2  x="579" y="572" id="1733" />
+<P1  x="619" y="532" id="1564" />
+<P2  x="579" y="572" id="1613" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1761" >
+<CONNECTOR type="115" id="1641" >
 <cdparam x="580" y="405" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to notified event" value="null" />
-<P1  x="608" y="391" id="1677" />
-<P2  x="659" y="442" id="1730" />
+<P1  x="608" y="391" id="1557" />
+<P2  x="659" y="442" id="1610" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1762" >
+<CONNECTOR type="115" id="1642" >
 <cdparam x="659" y="472" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from notified event to choice" value="null" />
-<P1  x="659" y="472" id="1731" />
-<P2  x="659" y="507" id="1683" />
+<P1  x="659" y="472" id="1611" />
+<P2  x="659" y="507" id="1563" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1763" >
+<CONNECTOR type="115" id="1643" >
 <cdparam x="659" y="572" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="659" y="572" id="1686" />
-<P2  x="659" y="614" id="1738" />
+<P1  x="659" y="572" id="1566" />
+<P2  x="659" y="614" id="1618" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1764" >
+<CONNECTOR type="115" id="1644" >
 <cdparam x="670" y="644" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="659" y="644" id="1739" />
-<P2  x="659" y="695" id="1735" />
+<P1  x="659" y="644" id="1619" />
+<P2  x="659" y="695" id="1615" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1765" >
+<CONNECTOR type="115" id="1645" >
 <cdparam x="659" y="725" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to stop state" value="null" />
-<P1  x="659" y="725" id="1736" />
-<P2  x="659" y="769" id="1741" />
+<P1  x="659" y="725" id="1616" />
+<P2  x="659" y="769" id="1621" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1766" >
+<CONNECTOR type="115" id="1646" >
 <cdparam x="491" y="302" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to choice" value="null" />
-<P1  x="568" y="301" id="1744" />
-<P2  x="568" y="366" id="1675" />
+<P1  x="568" y="301" id="1624" />
+<P2  x="568" y="366" id="1555" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1767" >
+<CONNECTOR type="115" id="1647" >
 <cdparam x="403" y="190" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to for loop" value="null" />
-<P1  x="403" y="190" id="1703" />
-<P2  x="434" y="282" id="1743" />
+<P1  x="403" y="190" id="1583" />
+<P2  x="434" y="282" id="1623" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1768" >
+<CONNECTOR type="115" id="1648" >
 <cdparam x="437" y="313" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to stop state" value="null" />
-<P1  x="434" y="312" id="1745" />
-<P2  x="392" y="375" id="1747" />
+<P1  x="434" y="312" id="1625" />
+<P2  x="392" y="375" id="1627" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1769" >
+<CONNECTOR type="115" id="1649" >
 <cdparam x="228" y="262" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="262" id="1694" />
-<P2  x="227" y="283" id="1696" />
+<P1  x="228" y="262" id="1574" />
+<P2  x="227" y="283" id="1576" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1000" id="1771" >
-<cdparam x="159" y="66" />
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="1657" >
+<cdparam x="491" y="277" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="1653" />
+<TGConnectingPoint num="1" id="1654" />
+<TGConnectingPoint num="2" id="1655" />
+<TGConnectingPoint num="3" id="1656" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="1650" >
+<father id="1657" num="0" />
+<cdparam x="466" y="287" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="1651" >
+<father id="1657" num="1" />
+<cdparam x="526" y="287" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="1652" >
+<father id="1657" num="2" />
+<cdparam x="511" y="322" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1000" id="1659" >
+<cdparam x="501" y="91" />
 <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="1770" />
+<TGConnectingPoint num="0" id="1658" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="1774" >
-<cdparam x="138" y="129" />
-<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1662" >
+<cdparam x="482" y="129" />
+<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="reset() " />
-<TGConnectingPoint num="0" id="1772" />
-<TGConnectingPoint num="1" id="1773" />
+<infoparam name="send event" value="open()" />
+<TGConnectingPoint num="0" id="1660" />
+<TGConnectingPoint num="1" id="1661" />
 <extraparam>
-<Data eventName="reset" nbOfParams="5" />
+<Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1777" >
-<cdparam x="108" y="182" />
-<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1665" >
+<cdparam x="466" y="178" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="answerToReset()" />
-<TGConnectingPoint num="0" id="1775" />
-<TGConnectingPoint num="1" id="1776" />
+<infoparam name="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="1663" />
+<TGConnectingPoint num="1" id="1664" />
 <extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
+<Data channelName="fromAtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1780" >
-<cdparam x="143" y="237" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1668" >
+<cdparam x="467" y="226" />
+<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTS() " />
-<TGConnectingPoint num="0" id="1778" />
-<TGConnectingPoint num="1" id="1779" />
+<infoparam name="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="1666" />
+<TGConnectingPoint num="1" id="1667" />
 <extraparam>
-<Data eventName="pTS" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1783" >
-<cdparam x="121" y="308" />
-<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTSConfirm()" />
-<TGConnectingPoint num="0" id="1781" />
-<TGConnectingPoint num="1" id="1782" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
+<Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1800" >
-<cdparam x="376" y="98" />
-<sizeparam width="249" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1670" >
+<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="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="1784" />
-<TGConnectingPoint num="1" id="1785" />
-<TGConnectingPoint num="2" id="1786" />
-<TGConnectingPoint num="3" id="1787" />
-<TGConnectingPoint num="4" id="1788" />
-<TGConnectingPoint num="5" id="1789" />
-<TGConnectingPoint num="6" id="1790" />
-<TGConnectingPoint num="7" id="1791" />
-<TGConnectingPoint num="8" id="1792" />
-<TGConnectingPoint num="9" id="1793" />
-<TGConnectingPoint num="10" id="1794" />
-<TGConnectingPoint num="11" id="1795" />
-<TGConnectingPoint num="12" id="1796" />
-<TGConnectingPoint num="13" id="1797" />
-<TGConnectingPoint num="14" id="1798" />
-<TGConnectingPoint num="15" id="1799" />
-<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="1669" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1803" >
-<cdparam x="250" y="97" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1673" >
+<cdparam x="559" y="329" />
+<sizeparam width="54" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_TCP_IP()" />
-<TGConnectingPoint num="0" id="1801" />
-<TGConnectingPoint num="1" id="1802" />
+<infoparam name="send event" value="abort()" />
+<TGConnectingPoint num="0" id="1671" />
+<TGConnectingPoint num="1" id="1672" />
 <extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
+<Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1806" >
-<cdparam x="236" y="148" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1676" >
+<cdparam x="406" y="337" />
+<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="1804" />
-<TGConnectingPoint num="1" id="1805" />
+<infoparam name="send event" value="close()" />
+<TGConnectingPoint num="0" id="1674" />
+<TGConnectingPoint num="1" id="1675" />
 <extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
+<Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1808" >
-<cdparam x="515" y="428" />
+<COMPONENT type="1001" id="1678" >
+<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="1807" />
+<TGConnectingPoint num="0" id="1677" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1811" >
-<cdparam x="305" y="350" />
-<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready_SC()" />
-<TGConnectingPoint num="0" id="1809" />
-<TGConnectingPoint num="1" id="1810" />
-<extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
+<CONNECTOR type="115" id="1679" >
+<cdparam x="509" y="94" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to send event" value="null" />
+<P1  x="508" y="111" id="1658" />
+<P2  x="508" y="124" id="1660" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1680" >
+<cdparam x="508" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="508" y="154" id="1661" />
+<P2  x="508" y="173" id="1663" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1681" >
+<cdparam x="508" y="222" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="508" y="203" id="1664" />
+<P2  x="507" y="221" id="1666" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1682" >
+<cdparam x="586" y="354" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="586" y="354" id="1672" />
+<P2  x="586" y="383" id="1669" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1683" >
+<cdparam x="508" y="298" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="507" y="251" id="1667" />
+<P2  x="506" y="267" id="1653" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1684" >
+<cdparam x="470" y="348" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="466" y="292" id="1654" />
+<P2  x="432" y="332" id="1674" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1685" >
+<cdparam x="432" y="362" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="432" y="362" id="1675" />
+<P2  x="432" y="381" id="1677" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1686" >
+<cdparam x="550" y="348" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="546" y="292" id="1655" />
+<P2  x="586" y="324" id="1671" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 
-<COMPONENT type="1001" id="1813" >
-<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="1812" />
-</COMPONENT>
+</TMLActivityDiagramPanel>
 
-<COMPONENT type="1009" id="1816" >
-<cdparam x="318" y="308" />
-<sizeparam width="88" height="20" minWidth="30" 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="1694" >
+<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="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="1814" />
-<TGConnectingPoint num="1" id="1815" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="1690" />
+<TGConnectingPoint num="1" id="1691" />
+<TGConnectingPoint num="2" id="1692" />
+<TGConnectingPoint num="3" id="1693" />
 </COMPONENT>
-
-<COMPONENT type="1010" id="1819" >
-<cdparam x="335" y="264" />
-<sizeparam width="55" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="1687" >
+<father id="1694" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="send() " />
-<TGConnectingPoint num="0" id="1817" />
-<TGConnectingPoint num="1" id="1818" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1822" >
-<cdparam x="315" y="392" />
-<sizeparam width="94" 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="1688" >
+<father id="1694" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromSCtoD(1)" />
-<TGConnectingPoint num="0" id="1820" />
-<TGConnectingPoint num="1" id="1821" />
-<extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1825" >
-<cdparam x="493" y="350" />
-<sizeparam width="65" 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="1689" >
+<father id="1694" num="2" />
+<cdparam x="529" y="267" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="1823" />
-<TGConnectingPoint num="1" id="1824" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1009" id="1828" >
-<cdparam x="476" y="311" />
-<sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="1696" >
+<cdparam x="517" y="87" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC(1) " />
-<TGConnectingPoint num="0" id="1826" />
-<TGConnectingPoint num="1" id="1827" />
-<extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" />
-</extraparam>
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="1695" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1831" >
-<cdparam x="483" y="387" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1698" >
+<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="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="1829" />
-<TGConnectingPoint num="1" id="1830" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1697" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="1834" >
-<cdparam x="477" y="268" />
-<sizeparam width="97" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1701" >
+<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="wait event" value="data_Ready() " />
-<TGConnectingPoint num="0" id="1832" />
-<TGConnectingPoint num="1" id="1833" />
-<breakpoint />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="1699" />
+<TGConnectingPoint num="1" id="1700" />
 <extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
+<Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="1838" >
-<cdparam x="236" y="202" />
-<sizeparam width="124" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1704" >
+<cdparam x="596" y="300" />
+<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <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="1835" />
-<TGConnectingPoint num="1" id="1836" />
-<TGConnectingPoint num="2" id="1837" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="1702" />
+<TGConnectingPoint num="1" id="1703" />
 <extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
+<Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1840" >
-<cdparam x="297" y="231" />
+<COMPONENT type="1001" id="1706" >
+<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="1839" />
+<TGConnectingPoint num="0" id="1705" />
 </COMPONENT>
 
-<COMPONENT type="1018" id="1851" >
-<cdparam x="424" y="226" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="1709" >
+<cdparam x="487" y="150" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="1841" />
-<TGConnectingPoint num="1" id="1842" />
-<TGConnectingPoint num="2" id="1843" />
-<TGConnectingPoint num="3" id="1844" />
-<TGConnectingPoint num="4" id="1845" />
-<TGConnectingPoint num="5" id="1846" />
-<TGConnectingPoint num="6" id="1847" />
-<TGConnectingPoint num="7" id="1848" />
-<TGConnectingPoint num="8" id="1849" />
-<TGConnectingPoint num="9" id="1850" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="1707" />
+<TGConnectingPoint num="1" id="1708" />
+<extraparam>
+<Data eventName="stop" variable="x" />
+</extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="1856" >
-<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="1782" />
-<P2  x="298" y="92" id="1801" />
-<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="1852" >
-<father id="1856" 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="1853" >
-<father id="1856" 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="1854" >
-<father id="1856" 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="1855" >
-<father id="1856" 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="1857" >
-<cdparam x="166" y="64" />
+<CONNECTOR type="115" id="1710" >
+<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 start state to wait event" value="null" />
-<P1  x="166" y="86" id="1770" />
-<P2  x="166" y="124" id="1772" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="427" y="324" id="1700" />
+<P2  x="427" y="362" id="1697" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1858" >
-<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="1773" />
-<P2  x="166" y="177" id="1775" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1859" >
-<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="1802" />
-<P2  x="298" y="143" id="1804" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1860" >
-<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="1818" />
-<P2  x="362" y="303" id="1814" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1861" >
-<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="1815" />
-<P2  x="362" y="345" id="1809" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1862" >
-<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="1810" />
-<P2  x="362" y="387" id="1820" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1863" >
-<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="1821" />
-<P2  x="362" y="421" id="1812" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1864" >
-<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="1827" />
-<P2  x="525" y="345" id="1823" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1865" >
-<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="1824" />
-<P2  x="525" y="382" id="1829" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1866" >
-<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="1833" />
-<P2  x="525" y="306" id="1826" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1867" >
-<cdparam x="540" y="464" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="525" y="412" id="1830" />
-<P2  x="525" y="423" id="1807" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1868" >
-<cdparam x="298" y="173" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to for loop" value="null" />
-<P1  x="298" y="173" id="1805" />
-<P2  x="298" y="197" id="1835" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1869" >
-<cdparam x="328" y="232" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to stop state" value="null" />
-<P1  x="298" y="227" id="1837" />
-<P2  x="307" y="226" id="1839" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1870" >
-<cdparam x="395" y="283" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="399" y="241" id="1842" />
-<P2  x="362" y="259" id="1817" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1871" >
-<cdparam x="543" y="341" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="479" y="241" id="1843" />
-<P2  x="525" y="263" id="1832" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1872" >
-<cdparam x="391" y="282" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to select" value="null" />
-<P1  x="360" y="216" id="1836" />
-<P2  x="439" y="216" id="1841" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1873" >
-<cdparam x="164" y="262" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="262" id="1779" />
-<P2  x="166" y="303" id="1781" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1874" >
-<cdparam x="166" y="207" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="166" y="207" id="1776" />
-<P2  x="166" y="232" id="1778" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1882" >
-<cdparam x="491" y="277" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1878" />
-<TGConnectingPoint num="1" id="1879" />
-<TGConnectingPoint num="2" id="1880" />
-<TGConnectingPoint num="3" id="1881" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1875" >
-<father id="1882" num="0" />
-<cdparam x="466" y="287" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1876" >
-<father id="1882" num="1" />
-<cdparam x="526" y="287" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1877" >
-<father id="1882" num="2" />
-<cdparam x="511" y="322" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="1884" >
-<cdparam x="501" y="91" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1883" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1887" >
-<cdparam x="485" y="129" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="open()" />
-<TGConnectingPoint num="0" id="1885" />
-<TGConnectingPoint num="1" id="1886" />
-<extraparam>
-<Data eventName="open" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1890" >
-<cdparam x="468" y="178" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="1888" />
-<TGConnectingPoint num="1" id="1889" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1893" >
-<cdparam x="470" y="226" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="send_TCP()" />
-<TGConnectingPoint num="0" id="1891" />
-<TGConnectingPoint num="1" id="1892" />
-<extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1895" >
-<cdparam x="576" y="388" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1894" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1898" >
-<cdparam x="562" y="329" />
-<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="1896" />
-<TGConnectingPoint num="1" id="1897" />
-<extraparam>
-<Data eventName="abort" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1901" >
-<cdparam x="409" y="337" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="close()" />
-<TGConnectingPoint num="0" id="1899" />
-<TGConnectingPoint num="1" id="1900" />
-<extraparam>
-<Data eventName="close" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1903" >
-<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="1902" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="1904" >
-<cdparam x="509" y="94" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to send event" value="null" />
-<P1  x="508" y="111" id="1883" />
-<P2  x="508" y="124" id="1885" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1905" >
-<cdparam x="508" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="508" y="154" id="1886" />
-<P2  x="508" y="173" id="1888" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1906" >
-<cdparam x="508" y="222" />
+<CONNECTOR type="115" id="1711" >
+<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 write channel to send event" value="null" />
-<P1  x="508" y="203" id="1889" />
-<P2  x="507" y="221" id="1891" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="622" y="325" id="1703" />
+<P2  x="622" y="360" id="1705" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1907" >
-<cdparam x="586" y="354" />
+<CONNECTOR type="115" id="1712" >
+<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 send event to stop state" value="null" />
-<P1  x="586" y="354" id="1897" />
-<P2  x="586" y="383" id="1894" />
+<infoparam name="connector from start state to notified event" value="null" />
+<P1  x="524" y="107" id="1695" />
+<P2  x="524" y="145" id="1707" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1908" >
-<cdparam x="508" y="298" />
+<CONNECTOR type="115" id="1713" >
+<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 send event to choice" value="null" />
-<P1  x="507" y="251" id="1892" />
-<P2  x="506" y="267" id="1878" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="524" y="175" id="1708" />
+<P2  x="524" y="212" id="1690" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1909" >
-<cdparam x="470" y="348" />
+<CONNECTOR type="115" id="1714" >
+<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="466" y="292" id="1879" />
-<P2  x="432" y="332" id="1899" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1910" >
-<cdparam x="432" y="362" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="432" y="362" id="1900" />
-<P2  x="432" y="381" id="1902" />
+<P1  x="484" y="237" id="1691" />
+<P2  x="427" y="294" id="1699" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1911" >
-<cdparam x="550" y="348" />
+<CONNECTOR type="115" id="1715" >
+<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 send event" value="null" />
-<P1  x="546" y="292" id="1880" />
-<P2  x="586" y="324" id="1896" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="564" y="237" id="1692" />
+<P2  x="622" y="295" id="1702" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
 <TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1012" id="1919" >
+<COMPONENT type="1012" id="1723" >
 <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="1915" />
-<TGConnectingPoint num="1" id="1916" />
-<TGConnectingPoint num="2" id="1917" />
-<TGConnectingPoint num="3" id="1918" />
+<TGConnectingPoint num="0" id="1719" />
+<TGConnectingPoint num="1" id="1720" />
+<TGConnectingPoint num="2" id="1721" />
+<TGConnectingPoint num="3" id="1722" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1912" >
-<father id="1919" num="0" />
+<SUBCOMPONENT type="-1" id="1716" >
+<father id="1723" num="0" />
 <cdparam x="2061" y="1388" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1913" >
-<father id="1919" num="1" />
+<SUBCOMPONENT type="-1" id="1717" >
+<father id="1723" num="1" />
 <cdparam x="2121" y="1388" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1914" >
-<father id="1919" num="2" />
+<SUBCOMPONENT type="-1" id="1718" >
+<father id="1723" num="2" />
 <cdparam x="2106" y="1426" />
-<sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1927" >
+<COMPONENT type="1012" id="1731" >
 <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="1923" />
-<TGConnectingPoint num="1" id="1924" />
-<TGConnectingPoint num="2" id="1925" />
-<TGConnectingPoint num="3" id="1926" />
+<TGConnectingPoint num="0" id="1727" />
+<TGConnectingPoint num="1" id="1728" />
+<TGConnectingPoint num="2" id="1729" />
+<TGConnectingPoint num="3" id="1730" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1920" >
-<father id="1927" num="0" />
+<SUBCOMPONENT type="-1" id="1724" >
+<father id="1731" num="0" />
 <cdparam x="2212" y="961" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1921" >
-<father id="1927" num="1" />
+<SUBCOMPONENT type="-1" id="1725" >
+<father id="1731" num="1" />
 <cdparam x="2297" y="961" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1922" >
-<father id="1927" num="2" />
+<SUBCOMPONENT type="-1" id="1726" >
+<father id="1731" num="2" />
 <cdparam x="2282" y="996" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1935" >
+<COMPONENT type="1012" id="1739" >
 <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="1931" />
-<TGConnectingPoint num="1" id="1932" />
-<TGConnectingPoint num="2" id="1933" />
-<TGConnectingPoint num="3" id="1934" />
+<TGConnectingPoint num="0" id="1735" />
+<TGConnectingPoint num="1" id="1736" />
+<TGConnectingPoint num="2" id="1737" />
+<TGConnectingPoint num="3" id="1738" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1928" >
-<father id="1935" num="0" />
+<SUBCOMPONENT type="-1" id="1732" >
+<father id="1739" num="0" />
 <cdparam x="1934" y="1356" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1929" >
-<father id="1935" num="1" />
+<SUBCOMPONENT type="-1" id="1733" >
+<father id="1739" num="1" />
 <cdparam x="2016" y="1356" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1930" >
-<father id="1935" num="2" />
+<SUBCOMPONENT type="-1" id="1734" >
+<father id="1739" num="2" />
 <cdparam x="2001" y="1391" />
-<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1943" >
+<COMPONENT type="1012" id="1747" >
 <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="1939" />
-<TGConnectingPoint num="1" id="1940" />
-<TGConnectingPoint num="2" id="1941" />
-<TGConnectingPoint num="3" id="1942" />
+<TGConnectingPoint num="0" id="1743" />
+<TGConnectingPoint num="1" id="1744" />
+<TGConnectingPoint num="2" id="1745" />
+<TGConnectingPoint num="3" id="1746" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1936" >
-<father id="1943" num="0" />
+<SUBCOMPONENT type="-1" id="1740" >
+<father id="1747" num="0" />
 <cdparam x="1762" y="1279" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1937" >
-<father id="1943" num="1" />
+<SUBCOMPONENT type="-1" id="1741" >
+<father id="1747" num="1" />
 <cdparam x="1846" y="1279" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1938" >
-<father id="1943" num="2" />
+<SUBCOMPONENT type="-1" id="1742" >
+<father id="1747" num="2" />
 <cdparam x="1831" y="1314" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1951" >
+<COMPONENT type="1012" id="1755" >
 <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="1947" />
-<TGConnectingPoint num="1" id="1948" />
-<TGConnectingPoint num="2" id="1949" />
-<TGConnectingPoint num="3" id="1950" />
+<TGConnectingPoint num="0" id="1751" />
+<TGConnectingPoint num="1" id="1752" />
+<TGConnectingPoint num="2" id="1753" />
+<TGConnectingPoint num="3" id="1754" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1944" >
-<father id="1951" num="0" />
+<SUBCOMPONENT type="-1" id="1748" >
+<father id="1755" num="0" />
 <cdparam x="1691" y="1151" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1945" >
-<father id="1951" num="1" />
+<SUBCOMPONENT type="-1" id="1749" >
+<father id="1755" num="1" />
 <cdparam x="1751" y="1151" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1946" >
-<father id="1951" num="2" />
+<SUBCOMPONENT type="-1" id="1750" >
+<father id="1755" num="2" />
 <cdparam x="1736" y="1186" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1955" >
+<COMPONENT type="1013" id="1759" >
 <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="1953" />
-<TGConnectingPoint num="1" id="1954" />
+<TGConnectingPoint num="0" id="1757" />
+<TGConnectingPoint num="1" id="1758" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1952" >
-<father id="1955" num="0" />
+<SUBCOMPONENT type="-1" id="1756" >
+<father id="1759" 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" />
@@ -4891,17 +4570,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1959" >
+<COMPONENT type="1013" id="1763" >
 <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="1957" />
-<TGConnectingPoint num="1" id="1958" />
+<TGConnectingPoint num="0" id="1761" />
+<TGConnectingPoint num="1" id="1762" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1956" >
-<father id="1959" num="0" />
+<SUBCOMPONENT type="-1" id="1760" >
+<father id="1763" 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" />
@@ -4909,89 +4588,89 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1967" >
+<COMPONENT type="1012" id="1771" >
 <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="1963" />
-<TGConnectingPoint num="1" id="1964" />
-<TGConnectingPoint num="2" id="1965" />
-<TGConnectingPoint num="3" id="1966" />
+<TGConnectingPoint num="0" id="1767" />
+<TGConnectingPoint num="1" id="1768" />
+<TGConnectingPoint num="2" id="1769" />
+<TGConnectingPoint num="3" id="1770" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1960" >
-<father id="1967" num="0" />
+<SUBCOMPONENT type="-1" id="1764" >
+<father id="1771" num="0" />
 <cdparam x="1542" y="1016" />
-<sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1961" >
-<father id="1967" num="1" />
+<SUBCOMPONENT type="-1" id="1765" >
+<father id="1771" num="1" />
 <cdparam x="1627" y="1016" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1962" >
-<father id="1967" num="2" />
+<SUBCOMPONENT type="-1" id="1766" >
+<father id="1771" num="2" />
 <cdparam x="1612" y="1051" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1975" >
+<COMPONENT type="1012" id="1779" >
 <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="1971" />
-<TGConnectingPoint num="1" id="1972" />
-<TGConnectingPoint num="2" id="1973" />
-<TGConnectingPoint num="3" id="1974" />
+<TGConnectingPoint num="0" id="1775" />
+<TGConnectingPoint num="1" id="1776" />
+<TGConnectingPoint num="2" id="1777" />
+<TGConnectingPoint num="3" id="1778" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1968" >
-<father id="1975" num="0" />
+<SUBCOMPONENT type="-1" id="1772" >
+<father id="1779" num="0" />
 <cdparam x="1688" y="885" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1969" >
-<father id="1975" num="1" />
+<SUBCOMPONENT type="-1" id="1773" >
+<father id="1779" num="1" />
 <cdparam x="1748" y="885" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1970" >
-<father id="1975" num="2" />
+<SUBCOMPONENT type="-1" id="1774" >
+<father id="1779" num="2" />
 <cdparam x="1733" y="920" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1979" >
+<COMPONENT type="1013" id="1783" >
 <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="1977" />
-<TGConnectingPoint num="1" id="1978" />
+<TGConnectingPoint num="0" id="1781" />
+<TGConnectingPoint num="1" id="1782" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1976" >
-<father id="1979" num="0" />
+<SUBCOMPONENT type="-1" id="1780" >
+<father id="1783" 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" />
@@ -4999,17 +4678,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1983" >
+<COMPONENT type="1013" id="1787" >
 <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="1981" />
-<TGConnectingPoint num="1" id="1982" />
+<TGConnectingPoint num="0" id="1785" />
+<TGConnectingPoint num="1" id="1786" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1980" >
-<father id="1983" num="0" />
+<SUBCOMPONENT type="-1" id="1784" >
+<father id="1787" 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" />
@@ -5017,17 +4696,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1987" >
+<COMPONENT type="1013" id="1791" >
 <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="1985" />
-<TGConnectingPoint num="1" id="1986" />
+<TGConnectingPoint num="0" id="1789" />
+<TGConnectingPoint num="1" id="1790" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1984" >
-<father id="1987" num="0" />
+<SUBCOMPONENT type="-1" id="1788" >
+<father id="1791" 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" />
@@ -5035,53 +4714,53 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="1995" >
+<COMPONENT type="1012" id="1799" >
 <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="1991" />
-<TGConnectingPoint num="1" id="1992" />
-<TGConnectingPoint num="2" id="1993" />
-<TGConnectingPoint num="3" id="1994" />
+<TGConnectingPoint num="0" id="1795" />
+<TGConnectingPoint num="1" id="1796" />
+<TGConnectingPoint num="2" id="1797" />
+<TGConnectingPoint num="3" id="1798" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1988" >
-<father id="1995" num="0" />
+<SUBCOMPONENT type="-1" id="1792" >
+<father id="1799" num="0" />
 <cdparam x="1168" y="1030" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1989" >
-<father id="1995" num="1" />
+<SUBCOMPONENT type="-1" id="1793" >
+<father id="1799" num="1" />
 <cdparam x="1228" y="1030" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="1990" >
-<father id="1995" num="2" />
+<SUBCOMPONENT type="-1" id="1794" >
+<father id="1799" num="2" />
 <cdparam x="1213" y="1065" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="1999" >
+<COMPONENT type="1013" id="1803" >
 <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="1997" />
-<TGConnectingPoint num="1" id="1998" />
+<TGConnectingPoint num="0" id="1801" />
+<TGConnectingPoint num="1" id="1802" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1996" >
-<father id="1999" num="0" />
+<SUBCOMPONENT type="-1" id="1800" >
+<father id="1803" 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" />
@@ -5089,53 +4768,53 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2007" >
+<COMPONENT type="1012" id="1811" >
 <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="2003" />
-<TGConnectingPoint num="1" id="2004" />
-<TGConnectingPoint num="2" id="2005" />
-<TGConnectingPoint num="3" id="2006" />
+<TGConnectingPoint num="0" id="1807" />
+<TGConnectingPoint num="1" id="1808" />
+<TGConnectingPoint num="2" id="1809" />
+<TGConnectingPoint num="3" id="1810" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2000" >
-<father id="2007" num="0" />
+<SUBCOMPONENT type="-1" id="1804" >
+<father id="1811" num="0" />
 <cdparam x="514" y="722" />
-<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2001" >
-<father id="2007" num="1" />
+<SUBCOMPONENT type="-1" id="1805" >
+<father id="1811" num="1" />
 <cdparam x="592" y="722" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2002" >
-<father id="2007" num="2" />
+<SUBCOMPONENT type="-1" id="1806" >
+<father id="1811" num="2" />
 <cdparam x="577" y="757" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2011" >
+<COMPONENT type="1013" id="1815" >
 <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="2009" />
-<TGConnectingPoint num="1" id="2010" />
+<TGConnectingPoint num="0" id="1813" />
+<TGConnectingPoint num="1" id="1814" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2008" >
-<father id="2011" num="0" />
+<SUBCOMPONENT type="-1" id="1812" >
+<father id="1815" 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" />
@@ -5143,17 +4822,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2015" >
+<COMPONENT type="1013" id="1819" >
 <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="2013" />
-<TGConnectingPoint num="1" id="2014" />
+<TGConnectingPoint num="0" id="1817" />
+<TGConnectingPoint num="1" id="1818" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2012" >
-<father id="2015" num="0" />
+<SUBCOMPONENT type="-1" id="1816" >
+<father id="1819" 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" />
@@ -5161,53 +4840,53 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2023" >
+<COMPONENT type="1012" id="1827" >
 <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="2019" />
-<TGConnectingPoint num="1" id="2020" />
-<TGConnectingPoint num="2" id="2021" />
-<TGConnectingPoint num="3" id="2022" />
+<TGConnectingPoint num="0" id="1823" />
+<TGConnectingPoint num="1" id="1824" />
+<TGConnectingPoint num="2" id="1825" />
+<TGConnectingPoint num="3" id="1826" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2016" >
-<father id="2023" num="0" />
+<SUBCOMPONENT type="-1" id="1820" >
+<father id="1827" num="0" />
 <cdparam x="989" y="949" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2017" >
-<father id="2023" num="1" />
+<SUBCOMPONENT type="-1" id="1821" >
+<father id="1827" num="1" />
 <cdparam x="1070" y="949" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2018" >
-<father id="2023" num="2" />
+<SUBCOMPONENT type="-1" id="1822" >
+<father id="1827" num="2" />
 <cdparam x="1054" y="984" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2027" >
+<COMPONENT type="1013" id="1831" >
 <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="2025" />
-<TGConnectingPoint num="1" id="2026" />
+<TGConnectingPoint num="0" id="1829" />
+<TGConnectingPoint num="1" id="1830" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2024" >
-<father id="2027" num="0" />
+<SUBCOMPONENT type="-1" id="1828" >
+<father id="1831" 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" />
@@ -5215,53 +4894,53 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2035" >
+<COMPONENT type="1012" id="1839" >
 <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="2031" />
-<TGConnectingPoint num="1" id="2032" />
-<TGConnectingPoint num="2" id="2033" />
-<TGConnectingPoint num="3" id="2034" />
+<TGConnectingPoint num="0" id="1835" />
+<TGConnectingPoint num="1" id="1836" />
+<TGConnectingPoint num="2" id="1837" />
+<TGConnectingPoint num="3" id="1838" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2028" >
-<father id="2035" num="0" />
+<SUBCOMPONENT type="-1" id="1832" >
+<father id="1839" num="0" />
 <cdparam x="753" y="885" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2029" >
-<father id="2035" num="1" />
+<SUBCOMPONENT type="-1" id="1833" >
+<father id="1839" num="1" />
 <cdparam x="863" y="879" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2030" >
-<father id="2035" num="2" />
+<SUBCOMPONENT type="-1" id="1834" >
+<father id="1839" num="2" />
 <cdparam x="848" y="914" />
-<sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2039" >
+<COMPONENT type="1013" id="1843" >
 <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="2037" />
-<TGConnectingPoint num="1" id="2038" />
+<TGConnectingPoint num="0" id="1841" />
+<TGConnectingPoint num="1" id="1842" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2036" >
-<father id="2039" num="0" />
+<SUBCOMPONENT type="-1" id="1840" >
+<father id="1843" 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" />
@@ -5269,17 +4948,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2043" >
+<COMPONENT type="1013" id="1847" >
 <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="2041" />
-<TGConnectingPoint num="1" id="2042" />
+<TGConnectingPoint num="0" id="1845" />
+<TGConnectingPoint num="1" id="1846" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2040" >
-<father id="2043" num="0" />
+<SUBCOMPONENT type="-1" id="1844" >
+<father id="1847" 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" />
@@ -5287,53 +4966,53 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2051" >
+<COMPONENT type="1012" id="1855" >
 <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="2047" />
-<TGConnectingPoint num="1" id="2048" />
-<TGConnectingPoint num="2" id="2049" />
-<TGConnectingPoint num="3" id="2050" />
+<TGConnectingPoint num="0" id="1851" />
+<TGConnectingPoint num="1" id="1852" />
+<TGConnectingPoint num="2" id="1853" />
+<TGConnectingPoint num="3" id="1854" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2044" >
-<father id="2051" num="0" />
+<SUBCOMPONENT type="-1" id="1848" >
+<father id="1855" num="0" />
 <cdparam x="949" y="793" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2045" >
-<father id="2051" num="1" />
+<SUBCOMPONENT type="-1" id="1849" >
+<father id="1855" num="1" />
 <cdparam x="1028" y="790" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2046" >
-<father id="2051" num="2" />
+<SUBCOMPONENT type="-1" id="1850" >
+<father id="1855" num="2" />
 <cdparam x="1013" y="825" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2055" >
+<COMPONENT type="1013" id="1859" >
 <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="2053" />
-<TGConnectingPoint num="1" id="2054" />
+<TGConnectingPoint num="0" id="1857" />
+<TGConnectingPoint num="1" id="1858" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2052" >
-<father id="2055" num="0" />
+<SUBCOMPONENT type="-1" id="1856" >
+<father id="1859" 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" />
@@ -5341,17 +5020,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2059" >
+<COMPONENT type="1013" id="1863" >
 <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="2057" />
-<TGConnectingPoint num="1" id="2058" />
+<TGConnectingPoint num="0" id="1861" />
+<TGConnectingPoint num="1" id="1862" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2056" >
-<father id="2059" num="0" />
+<SUBCOMPONENT type="-1" id="1860" >
+<father id="1863" 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" />
@@ -5359,17 +5038,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2063" >
+<COMPONENT type="1013" id="1867" >
 <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="2061" />
-<TGConnectingPoint num="1" id="2062" />
+<TGConnectingPoint num="0" id="1865" />
+<TGConnectingPoint num="1" id="1866" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2060" >
-<father id="2063" num="0" />
+<SUBCOMPONENT type="-1" id="1864" >
+<father id="1867" 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" />
@@ -5377,17 +5056,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="2067" >
+<COMPONENT type="1013" id="1871" >
 <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="2065" />
-<TGConnectingPoint num="1" id="2066" />
+<TGConnectingPoint num="0" id="1869" />
+<TGConnectingPoint num="1" id="1870" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2064" >
-<father id="2067" num="0" />
+<SUBCOMPONENT type="-1" id="1868" >
+<father id="1871" 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" />
@@ -5395,162 +5074,162 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2075" >
+<COMPONENT type="1012" id="1879" >
 <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="2071" />
-<TGConnectingPoint num="1" id="2072" />
-<TGConnectingPoint num="2" id="2073" />
-<TGConnectingPoint num="3" id="2074" />
+<TGConnectingPoint num="0" id="1875" />
+<TGConnectingPoint num="1" id="1876" />
+<TGConnectingPoint num="2" id="1877" />
+<TGConnectingPoint num="3" id="1878" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2068" >
-<father id="2075" num="0" />
+<SUBCOMPONENT type="-1" id="1872" >
+<father id="1879" num="0" />
 <cdparam x="98" y="496" />
-<sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2069" >
-<father id="2075" num="1" />
+<SUBCOMPONENT type="-1" id="1873" >
+<father id="1879" num="1" />
 <cdparam x="208" y="496" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2070" >
-<father id="2075" num="2" />
+<SUBCOMPONENT type="-1" id="1874" >
+<father id="1879" num="2" />
 <cdparam x="193" y="531" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2083" >
+<COMPONENT type="1012" id="1887" >
 <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="2079" />
-<TGConnectingPoint num="1" id="2080" />
-<TGConnectingPoint num="2" id="2081" />
-<TGConnectingPoint num="3" id="2082" />
+<TGConnectingPoint num="0" id="1883" />
+<TGConnectingPoint num="1" id="1884" />
+<TGConnectingPoint num="2" id="1885" />
+<TGConnectingPoint num="3" id="1886" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2076" >
-<father id="2083" num="0" />
+<SUBCOMPONENT type="-1" id="1880" >
+<father id="1887" num="0" />
 <cdparam x="317" y="202" />
-<sizeparam width="81" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2077" >
-<father id="2083" num="1" />
+<SUBCOMPONENT type="-1" id="1881" >
+<father id="1887" num="1" />
 <cdparam x="394" y="202" />
-<sizeparam width="91" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2078" >
-<father id="2083" num="2" />
+<SUBCOMPONENT type="-1" id="1882" >
+<father id="1887" num="2" />
 <cdparam x="379" y="237" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2091" >
+<COMPONENT type="1012" id="1895" >
 <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="2087" />
-<TGConnectingPoint num="1" id="2088" />
-<TGConnectingPoint num="2" id="2089" />
-<TGConnectingPoint num="3" id="2090" />
+<TGConnectingPoint num="0" id="1891" />
+<TGConnectingPoint num="1" id="1892" />
+<TGConnectingPoint num="2" id="1893" />
+<TGConnectingPoint num="3" id="1894" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2084" >
-<father id="2091" num="0" />
+<SUBCOMPONENT type="-1" id="1888" >
+<father id="1895" num="0" />
 <cdparam x="398" y="592" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2085" >
-<father id="2091" num="1" />
+<SUBCOMPONENT type="-1" id="1889" >
+<father id="1895" num="1" />
 <cdparam x="500" y="599" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2086" >
-<father id="2091" num="2" />
+<SUBCOMPONENT type="-1" id="1890" >
+<father id="1895" num="2" />
 <cdparam x="469" y="627" />
-<sizeparam width="252" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="277" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="2099" >
+<COMPONENT type="1012" id="1903" >
 <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="2095" />
-<TGConnectingPoint num="1" id="2096" />
-<TGConnectingPoint num="2" id="2097" />
-<TGConnectingPoint num="3" id="2098" />
+<TGConnectingPoint num="0" id="1899" />
+<TGConnectingPoint num="1" id="1900" />
+<TGConnectingPoint num="2" id="1901" />
+<TGConnectingPoint num="3" id="1902" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="2092" >
-<father id="2099" num="0" />
+<SUBCOMPONENT type="-1" id="1896" >
+<father id="1903" num="0" />
 <cdparam x="228" y="574" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2093" >
-<father id="2099" num="1" />
+<SUBCOMPONENT type="-1" id="1897" >
+<father id="1903" num="1" />
 <cdparam x="317" y="584" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2094" >
-<father id="2099" num="2" />
+<SUBCOMPONENT type="-1" id="1898" >
+<father id="1903" num="2" />
 <cdparam x="294" y="613" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="2101" >
+<COMPONENT type="1000" id="1905" >
 <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="2100" />
+<TGConnectingPoint num="0" id="1904" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2118" >
+<COMPONENT type="301" id="1922" >
 <cdparam x="10" y="30" />
-<sizeparam width="92" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="98" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="0: closed
@@ -5565,22 +5244,22 @@ the smart card and the terminal
 9: close wait
 10:last ack
 " />
-<TGConnectingPoint num="0" id="2102" />
-<TGConnectingPoint num="1" id="2103" />
-<TGConnectingPoint num="2" id="2104" />
-<TGConnectingPoint num="3" id="2105" />
-<TGConnectingPoint num="4" id="2106" />
-<TGConnectingPoint num="5" id="2107" />
-<TGConnectingPoint num="6" id="2108" />
-<TGConnectingPoint num="7" id="2109" />
-<TGConnectingPoint num="8" id="2110" />
-<TGConnectingPoint num="9" id="2111" />
-<TGConnectingPoint num="10" id="2112" />
-<TGConnectingPoint num="11" id="2113" />
-<TGConnectingPoint num="12" id="2114" />
-<TGConnectingPoint num="13" id="2115" />
-<TGConnectingPoint num="14" id="2116" />
-<TGConnectingPoint num="15" id="2117" />
+<TGConnectingPoint num="0" id="1906" />
+<TGConnectingPoint num="1" id="1907" />
+<TGConnectingPoint num="2" id="1908" />
+<TGConnectingPoint num="3" id="1909" />
+<TGConnectingPoint num="4" id="1910" />
+<TGConnectingPoint num="5" id="1911" />
+<TGConnectingPoint num="6" id="1912" />
+<TGConnectingPoint num="7" id="1913" />
+<TGConnectingPoint num="8" id="1914" />
+<TGConnectingPoint num="9" id="1915" />
+<TGConnectingPoint num="10" id="1916" />
+<TGConnectingPoint num="11" id="1917" />
+<TGConnectingPoint num="12" id="1918" />
+<TGConnectingPoint num="13" id="1919" />
+<TGConnectingPoint num="14" id="1920" />
+<TGConnectingPoint num="15" id="1921" />
 <extraparam>
 <Line value="0: closed" />
 <Line value="1: Listen" />
@@ -5596,225 +5275,225 @@ the smart card and the terminal
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2121" >
-<cdparam x="76" y="549" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1925" >
+<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="2119" />
-<TGConnectingPoint num="1" id="2120" />
+<TGConnectingPoint num="0" id="1923" />
+<TGConnectingPoint num="1" id="1924" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2123" >
+<COMPONENT type="1001" id="1927" >
 <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="2122" />
+<TGConnectingPoint num="0" id="1926" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="2126" >
-<cdparam x="967" y="585" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="1930" >
+<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="2124" />
-<TGConnectingPoint num="1" id="2125" />
+<TGConnectingPoint num="0" id="1928" />
+<TGConnectingPoint num="1" id="1929" />
 <extraparam>
 <Data channelName="fromPtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="2130" >
-<cdparam x="149" y="79" />
-<sizeparam width="170" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="1934" >
+<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="2127" />
-<TGConnectingPoint num="1" id="2128" />
-<TGConnectingPoint num="2" id="2129" />
+<TGConnectingPoint num="0" id="1931" />
+<TGConnectingPoint num="1" id="1932" />
+<TGConnectingPoint num="2" id="1933" />
 <extraparam>
 <Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2132" >
+<COMPONENT type="1001" id="1936" >
 <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="2131" />
+<TGConnectingPoint num="0" id="1935" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2135" >
-<cdparam x="186" y="144" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1939" >
+<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="2133" />
-<TGConnectingPoint num="1" id="2134" />
+<TGConnectingPoint num="0" id="1937" />
+<TGConnectingPoint num="1" id="1938" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="2138" >
-<cdparam x="316" y="133" />
-<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="1942" >
+<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="2136" />
-<TGConnectingPoint num="1" id="2137" />
+<TGConnectingPoint num="0" id="1940" />
+<TGConnectingPoint num="1" id="1941" />
 <extraparam>
 <Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2141" >
-<cdparam x="692" y="589" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="1945" >
+<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="2139" />
-<TGConnectingPoint num="1" id="2140" />
+<TGConnectingPoint num="0" id="1943" />
+<TGConnectingPoint num="1" id="1944" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="2144" >
-<cdparam x="689" y="534" />
-<sizeparam width="67" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1948" >
+<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="2142" />
-<TGConnectingPoint num="1" id="2143" />
+<TGConnectingPoint num="0" id="1946" />
+<TGConnectingPoint num="1" id="1947" />
 <extraparam>
 <Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="2147" >
-<cdparam x="977" y="528" />
-<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1951" >
+<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="2145" />
-<TGConnectingPoint num="1" id="2146" />
+<TGConnectingPoint num="0" id="1949" />
+<TGConnectingPoint num="1" id="1950" />
 <extraparam>
 <Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="2150" >
-<cdparam x="439" y="492" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1954" >
+<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="2148" />
-<TGConnectingPoint num="1" id="2149" />
+<TGConnectingPoint num="0" id="1952" />
+<TGConnectingPoint num="1" id="1953" />
 <extraparam>
 <Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="2153" >
-<cdparam x="250" y="468" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1957" >
+<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="2151" />
-<TGConnectingPoint num="1" id="2152" />
+<TGConnectingPoint num="0" id="1955" />
+<TGConnectingPoint num="1" id="1956" />
 <extraparam>
 <Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="2156" >
-<cdparam x="163" y="419" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1960" >
+<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="2154" />
-<TGConnectingPoint num="1" id="2155" />
+<TGConnectingPoint num="0" id="1958" />
+<TGConnectingPoint num="1" id="1959" />
 <breakpoint />
 <extraparam>
 <Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1018" id="2167" >
+<COMPONENT type="1018" id="1971" >
 <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="2157" />
-<TGConnectingPoint num="1" id="2158" />
-<TGConnectingPoint num="2" id="2159" />
-<TGConnectingPoint num="3" id="2160" />
-<TGConnectingPoint num="4" id="2161" />
-<TGConnectingPoint num="5" id="2162" />
-<TGConnectingPoint num="6" id="2163" />
-<TGConnectingPoint num="7" id="2164" />
-<TGConnectingPoint num="8" id="2165" />
-<TGConnectingPoint num="9" id="2166" />
+<TGConnectingPoint num="0" id="1961" />
+<TGConnectingPoint num="1" id="1962" />
+<TGConnectingPoint num="2" id="1963" />
+<TGConnectingPoint num="3" id="1964" />
+<TGConnectingPoint num="4" id="1965" />
+<TGConnectingPoint num="5" id="1966" />
+<TGConnectingPoint num="6" id="1967" />
+<TGConnectingPoint num="7" id="1968" />
+<TGConnectingPoint num="8" id="1969" />
+<TGConnectingPoint num="9" id="1970" />
 <breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2169" >
+<COMPONENT type="1001" id="1973" >
 <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="2168" />
+<TGConnectingPoint num="0" id="1972" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2171" >
+<COMPONENT type="1001" id="1975" >
 <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="2170" />
+<TGConnectingPoint num="0" id="1974" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="2174" >
-<cdparam x="275" y="228" />
-<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1978" >
+<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="2172" />
-<TGConnectingPoint num="1" id="2173" />
+<TGConnectingPoint num="0" id="1976" />
+<TGConnectingPoint num="1" id="1977" />
 <extraparam>
 <Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2176" >
+<COMPONENT type="1001" id="1980" >
 <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="2175" />
+<TGConnectingPoint num="0" id="1979" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2193" >
+<COMPONENT type="301" id="1997" >
 <cdparam x="602" y="86" />
-<sizeparam width="360" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="393" height="51" 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="b est le nombre d&apos;instructions necessaires pour paquetiser
@@ -5822,22 +5501,22 @@ ou depaquitiser un paquet TCP
 
 On prend b=1 comme exemple
 " />
-<TGConnectingPoint num="0" id="2177" />
-<TGConnectingPoint num="1" id="2178" />
-<TGConnectingPoint num="2" id="2179" />
-<TGConnectingPoint num="3" id="2180" />
-<TGConnectingPoint num="4" id="2181" />
-<TGConnectingPoint num="5" id="2182" />
-<TGConnectingPoint num="6" id="2183" />
-<TGConnectingPoint num="7" id="2184" />
-<TGConnectingPoint num="8" id="2185" />
-<TGConnectingPoint num="9" id="2186" />
-<TGConnectingPoint num="10" id="2187" />
-<TGConnectingPoint num="11" id="2188" />
-<TGConnectingPoint num="12" id="2189" />
-<TGConnectingPoint num="13" id="2190" />
-<TGConnectingPoint num="14" id="2191" />
-<TGConnectingPoint num="15" id="2192" />
+<TGConnectingPoint num="0" id="1981" />
+<TGConnectingPoint num="1" id="1982" />
+<TGConnectingPoint num="2" id="1983" />
+<TGConnectingPoint num="3" id="1984" />
+<TGConnectingPoint num="4" id="1985" />
+<TGConnectingPoint num="5" id="1986" />
+<TGConnectingPoint num="6" id="1987" />
+<TGConnectingPoint num="7" id="1988" />
+<TGConnectingPoint num="8" id="1989" />
+<TGConnectingPoint num="9" id="1990" />
+<TGConnectingPoint num="10" id="1991" />
+<TGConnectingPoint num="11" id="1992" />
+<TGConnectingPoint num="12" id="1993" />
+<TGConnectingPoint num="13" id="1994" />
+<TGConnectingPoint num="14" id="1995" />
+<TGConnectingPoint num="15" id="1996" />
 <extraparam>
 <Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
 <Line value="ou depaquitiser un paquet TCP" />
@@ -5846,2634 +5525,2955 @@ On prend b=1 comme exemple
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2196" >
-<cdparam x="188" y="808" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="2000" >
+<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="2194" />
-<TGConnectingPoint num="1" id="2195" />
+<TGConnectingPoint num="0" id="1998" />
+<TGConnectingPoint num="1" id="1999" />
 <extraparam>
 <Data channelName="fromAtoT" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2199" >
-<cdparam x="191" y="1002" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2003" >
+<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="2197" />
-<TGConnectingPoint num="1" id="2198" />
+<TGConnectingPoint num="0" id="2001" />
+<TGConnectingPoint num="1" id="2002" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2201" >
+<COMPONENT type="1001" id="2005" >
 <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="2200" />
+<TGConnectingPoint num="0" id="2004" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2204" >
-<cdparam x="388" y="1032" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2008" >
+<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="2202" />
-<TGConnectingPoint num="1" id="2203" />
+<TGConnectingPoint num="0" id="2006" />
+<TGConnectingPoint num="1" id="2007" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2206" >
+<COMPONENT type="1001" id="2010" >
 <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="2205" />
+<TGConnectingPoint num="0" id="2009" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2209" >
-<cdparam x="84" y="1041" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2013" >
+<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="2207" />
-<TGConnectingPoint num="1" id="2208" />
+<TGConnectingPoint num="0" id="2011" />
+<TGConnectingPoint num="1" id="2012" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2212" >
-<cdparam x="93" y="938" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2016" >
+<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="2210" />
-<TGConnectingPoint num="1" id="2211" />
+<TGConnectingPoint num="0" id="2014" />
+<TGConnectingPoint num="1" id="2015" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2215" >
-<cdparam x="292" y="1026" />
-<sizeparam width="108" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2019" >
+<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="2213" />
-<TGConnectingPoint num="1" id="2214" />
+<TGConnectingPoint num="0" id="2017" />
+<TGConnectingPoint num="1" id="2018" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2217" >
+<COMPONENT type="1001" id="2021" >
 <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="2216" />
+<TGConnectingPoint num="0" id="2020" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2220" >
-<cdparam x="400" y="941" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2024" >
+<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="2218" />
-<TGConnectingPoint num="1" id="2219" />
+<TGConnectingPoint num="0" id="2022" />
+<TGConnectingPoint num="1" id="2023" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2223" >
-<cdparam x="307" y="900" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2027" >
+<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="2221" />
-<TGConnectingPoint num="1" id="2222" />
+<TGConnectingPoint num="0" id="2025" />
+<TGConnectingPoint num="1" id="2026" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2225" >
+<COMPONENT type="1001" id="2029" >
 <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="2224" />
+<TGConnectingPoint num="0" id="2028" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2242" >
+<COMPONENT type="301" id="2046" >
 <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="2226" />
-<TGConnectingPoint num="1" id="2227" />
-<TGConnectingPoint num="2" id="2228" />
-<TGConnectingPoint num="3" id="2229" />
-<TGConnectingPoint num="4" id="2230" />
-<TGConnectingPoint num="5" id="2231" />
-<TGConnectingPoint num="6" id="2232" />
-<TGConnectingPoint num="7" id="2233" />
-<TGConnectingPoint num="8" id="2234" />
-<TGConnectingPoint num="9" id="2235" />
-<TGConnectingPoint num="10" id="2236" />
-<TGConnectingPoint num="11" id="2237" />
-<TGConnectingPoint num="12" id="2238" />
-<TGConnectingPoint num="13" id="2239" />
-<TGConnectingPoint num="14" id="2240" />
-<TGConnectingPoint num="15" id="2241" />
+<TGConnectingPoint num="0" id="2030" />
+<TGConnectingPoint num="1" id="2031" />
+<TGConnectingPoint num="2" id="2032" />
+<TGConnectingPoint num="3" id="2033" />
+<TGConnectingPoint num="4" id="2034" />
+<TGConnectingPoint num="5" id="2035" />
+<TGConnectingPoint num="6" id="2036" />
+<TGConnectingPoint num="7" id="2037" />
+<TGConnectingPoint num="8" id="2038" />
+<TGConnectingPoint num="9" id="2039" />
+<TGConnectingPoint num="10" id="2040" />
+<TGConnectingPoint num="11" id="2041" />
+<TGConnectingPoint num="12" id="2042" />
+<TGConnectingPoint num="13" id="2043" />
+<TGConnectingPoint num="14" id="2044" />
+<TGConnectingPoint num="15" id="2045" />
 <extraparam>
 <Line value="Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2245" >
-<cdparam x="678" y="965" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2049" >
+<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="2243" />
-<TGConnectingPoint num="1" id="2244" />
+<TGConnectingPoint num="0" id="2047" />
+<TGConnectingPoint num="1" id="2048" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2247" >
+<COMPONENT type="1001" id="2051" >
 <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="2246" />
+<TGConnectingPoint num="0" id="2050" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2250" >
-<cdparam x="761" y="1086" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2054" >
+<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="2248" />
-<TGConnectingPoint num="1" id="2249" />
+<TGConnectingPoint num="0" id="2052" />
+<TGConnectingPoint num="1" id="2053" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2267" >
+<COMPONENT type="301" id="2071" >
 <cdparam x="781" y="950" />
-<sizeparam width="89" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2251" />
-<TGConnectingPoint num="1" id="2252" />
-<TGConnectingPoint num="2" id="2253" />
-<TGConnectingPoint num="3" id="2254" />
-<TGConnectingPoint num="4" id="2255" />
-<TGConnectingPoint num="5" id="2256" />
-<TGConnectingPoint num="6" id="2257" />
-<TGConnectingPoint num="7" id="2258" />
-<TGConnectingPoint num="8" id="2259" />
-<TGConnectingPoint num="9" id="2260" />
-<TGConnectingPoint num="10" id="2261" />
-<TGConnectingPoint num="11" id="2262" />
-<TGConnectingPoint num="12" id="2263" />
-<TGConnectingPoint num="13" id="2264" />
-<TGConnectingPoint num="14" id="2265" />
-<TGConnectingPoint num="15" id="2266" />
+<TGConnectingPoint num="0" id="2055" />
+<TGConnectingPoint num="1" id="2056" />
+<TGConnectingPoint num="2" id="2057" />
+<TGConnectingPoint num="3" id="2058" />
+<TGConnectingPoint num="4" id="2059" />
+<TGConnectingPoint num="5" id="2060" />
+<TGConnectingPoint num="6" id="2061" />
+<TGConnectingPoint num="7" id="2062" />
+<TGConnectingPoint num="8" id="2063" />
+<TGConnectingPoint num="9" id="2064" />
+<TGConnectingPoint num="10" id="2065" />
+<TGConnectingPoint num="11" id="2066" />
+<TGConnectingPoint num="12" id="2067" />
+<TGConnectingPoint num="13" id="2068" />
+<TGConnectingPoint num="14" id="2069" />
+<TGConnectingPoint num="15" id="2070" />
 <extraparam>
 <Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2284" >
+<COMPONENT type="301" id="2088" >
 <cdparam x="715" y="907" />
-<sizeparam width="97" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2268" />
-<TGConnectingPoint num="1" id="2269" />
-<TGConnectingPoint num="2" id="2270" />
-<TGConnectingPoint num="3" id="2271" />
-<TGConnectingPoint num="4" id="2272" />
-<TGConnectingPoint num="5" id="2273" />
-<TGConnectingPoint num="6" id="2274" />
-<TGConnectingPoint num="7" id="2275" />
-<TGConnectingPoint num="8" id="2276" />
-<TGConnectingPoint num="9" id="2277" />
-<TGConnectingPoint num="10" id="2278" />
-<TGConnectingPoint num="11" id="2279" />
-<TGConnectingPoint num="12" id="2280" />
-<TGConnectingPoint num="13" id="2281" />
-<TGConnectingPoint num="14" id="2282" />
-<TGConnectingPoint num="15" id="2283" />
+<TGConnectingPoint num="0" id="2072" />
+<TGConnectingPoint num="1" id="2073" />
+<TGConnectingPoint num="2" id="2074" />
+<TGConnectingPoint num="3" id="2075" />
+<TGConnectingPoint num="4" id="2076" />
+<TGConnectingPoint num="5" id="2077" />
+<TGConnectingPoint num="6" id="2078" />
+<TGConnectingPoint num="7" id="2079" />
+<TGConnectingPoint num="8" id="2080" />
+<TGConnectingPoint num="9" id="2081" />
+<TGConnectingPoint num="10" id="2082" />
+<TGConnectingPoint num="11" id="2083" />
+<TGConnectingPoint num="12" id="2084" />
+<TGConnectingPoint num="13" id="2085" />
+<TGConnectingPoint num="14" id="2086" />
+<TGConnectingPoint num="15" id="2087" />
 <extraparam>
 <Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2287" >
-<cdparam x="749" y="1193" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2091" >
+<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="2285" />
-<TGConnectingPoint num="1" id="2286" />
+<TGConnectingPoint num="0" id="2089" />
+<TGConnectingPoint num="1" id="2090" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2290" >
-<cdparam x="446" y="768" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2094" >
+<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="2288" />
-<TGConnectingPoint num="1" id="2289" />
+<TGConnectingPoint num="0" id="2092" />
+<TGConnectingPoint num="1" id="2093" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2292" >
+<COMPONENT type="1001" id="2096" >
 <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="2291" />
+<TGConnectingPoint num="0" id="2095" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2295" >
-<cdparam x="904" y="1123" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2099" >
+<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="2293" />
-<TGConnectingPoint num="1" id="2294" />
+<TGConnectingPoint num="0" id="2097" />
+<TGConnectingPoint num="1" id="2098" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2312" >
+<COMPONENT type="301" id="2116" >
 <cdparam x="884" y="1068" />
-<sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2296" />
-<TGConnectingPoint num="1" id="2297" />
-<TGConnectingPoint num="2" id="2298" />
-<TGConnectingPoint num="3" id="2299" />
-<TGConnectingPoint num="4" id="2300" />
-<TGConnectingPoint num="5" id="2301" />
-<TGConnectingPoint num="6" id="2302" />
-<TGConnectingPoint num="7" id="2303" />
-<TGConnectingPoint num="8" id="2304" />
-<TGConnectingPoint num="9" id="2305" />
-<TGConnectingPoint num="10" id="2306" />
-<TGConnectingPoint num="11" id="2307" />
-<TGConnectingPoint num="12" id="2308" />
-<TGConnectingPoint num="13" id="2309" />
-<TGConnectingPoint num="14" id="2310" />
-<TGConnectingPoint num="15" id="2311" />
+<TGConnectingPoint num="0" id="2100" />
+<TGConnectingPoint num="1" id="2101" />
+<TGConnectingPoint num="2" id="2102" />
+<TGConnectingPoint num="3" id="2103" />
+<TGConnectingPoint num="4" id="2104" />
+<TGConnectingPoint num="5" id="2105" />
+<TGConnectingPoint num="6" id="2106" />
+<TGConnectingPoint num="7" id="2107" />
+<TGConnectingPoint num="8" id="2108" />
+<TGConnectingPoint num="9" id="2109" />
+<TGConnectingPoint num="10" id="2110" />
+<TGConnectingPoint num="11" id="2111" />
+<TGConnectingPoint num="12" id="2112" />
+<TGConnectingPoint num="13" id="2113" />
+<TGConnectingPoint num="14" id="2114" />
+<TGConnectingPoint num="15" id="2115" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2315" >
-<cdparam x="893" y="1234" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2119" >
+<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="2313" />
-<TGConnectingPoint num="1" id="2314" />
+<TGConnectingPoint num="0" id="2117" />
+<TGConnectingPoint num="1" id="2118" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2317" >
+<COMPONENT type="1001" id="2121" >
 <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="2316" />
+<TGConnectingPoint num="0" id="2120" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2320" >
-<cdparam x="1010" y="1155" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2124" >
+<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="2318" />
-<TGConnectingPoint num="1" id="2319" />
+<TGConnectingPoint num="0" id="2122" />
+<TGConnectingPoint num="1" id="2123" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2337" >
+<COMPONENT type="301" id="2141" >
 <cdparam x="1000" y="1094" />
-<sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2321" />
-<TGConnectingPoint num="1" id="2322" />
-<TGConnectingPoint num="2" id="2323" />
-<TGConnectingPoint num="3" id="2324" />
-<TGConnectingPoint num="4" id="2325" />
-<TGConnectingPoint num="5" id="2326" />
-<TGConnectingPoint num="6" id="2327" />
-<TGConnectingPoint num="7" id="2328" />
-<TGConnectingPoint num="8" id="2329" />
-<TGConnectingPoint num="9" id="2330" />
-<TGConnectingPoint num="10" id="2331" />
-<TGConnectingPoint num="11" id="2332" />
-<TGConnectingPoint num="12" id="2333" />
-<TGConnectingPoint num="13" id="2334" />
-<TGConnectingPoint num="14" id="2335" />
-<TGConnectingPoint num="15" id="2336" />
+<TGConnectingPoint num="0" id="2125" />
+<TGConnectingPoint num="1" id="2126" />
+<TGConnectingPoint num="2" id="2127" />
+<TGConnectingPoint num="3" id="2128" />
+<TGConnectingPoint num="4" id="2129" />
+<TGConnectingPoint num="5" id="2130" />
+<TGConnectingPoint num="6" id="2131" />
+<TGConnectingPoint num="7" id="2132" />
+<TGConnectingPoint num="8" id="2133" />
+<TGConnectingPoint num="9" id="2134" />
+<TGConnectingPoint num="10" id="2135" />
+<TGConnectingPoint num="11" id="2136" />
+<TGConnectingPoint num="12" id="2137" />
+<TGConnectingPoint num="13" id="2138" />
+<TGConnectingPoint num="14" id="2139" />
+<TGConnectingPoint num="15" id="2140" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2340" >
-<cdparam x="999" y="1266" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2144" >
+<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="2338" />
-<TGConnectingPoint num="1" id="2339" />
+<TGConnectingPoint num="0" id="2142" />
+<TGConnectingPoint num="1" id="2143" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2342" >
+<COMPONENT type="1001" id="2146" >
 <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="2341" />
+<TGConnectingPoint num="0" id="2145" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2345" >
-<cdparam x="683" y="758" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2149" >
+<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="2343" />
-<TGConnectingPoint num="1" id="2344" />
+<TGConnectingPoint num="0" id="2147" />
+<TGConnectingPoint num="1" id="2148" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2347" >
+<COMPONENT type="1001" id="2151" >
 <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="2346" />
+<TGConnectingPoint num="0" id="2150" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2350" >
-<cdparam x="93" y="1100" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="2154" >
+<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="2348" />
-<TGConnectingPoint num="1" id="2349" />
+<TGConnectingPoint num="0" id="2152" />
+<TGConnectingPoint num="1" id="2153" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2353" >
-<cdparam x="104" y="1167" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2157" >
+<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="2351" />
-<TGConnectingPoint num="1" id="2352" />
+<TGConnectingPoint num="0" id="2155" />
+<TGConnectingPoint num="1" id="2156" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2355" >
+<COMPONENT type="1001" id="2159" >
 <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="2354" />
+<TGConnectingPoint num="0" id="2158" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2358" >
-<cdparam x="190" y="1102" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="2162" >
+<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="2356" />
-<TGConnectingPoint num="1" id="2357" />
+<TGConnectingPoint num="0" id="2160" />
+<TGConnectingPoint num="1" id="2161" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2361" >
-<cdparam x="201" y="1169" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2165" >
+<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="2359" />
-<TGConnectingPoint num="1" id="2360" />
+<TGConnectingPoint num="0" id="2163" />
+<TGConnectingPoint num="1" id="2164" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="2364" >
-<cdparam x="307" y="1106" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="2168" >
+<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="2362" />
-<TGConnectingPoint num="1" id="2363" />
+<TGConnectingPoint num="0" id="2166" />
+<TGConnectingPoint num="1" id="2167" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2367" >
-<cdparam x="318" y="1173" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2171" >
+<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="2365" />
-<TGConnectingPoint num="1" id="2366" />
+<TGConnectingPoint num="0" id="2169" />
+<TGConnectingPoint num="1" id="2170" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="2370" >
-<cdparam x="399" y="1090" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="2174" >
+<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="2368" />
-<TGConnectingPoint num="1" id="2369" />
+<TGConnectingPoint num="0" id="2172" />
+<TGConnectingPoint num="1" id="2173" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2373" >
-<cdparam x="410" y="1159" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2177" >
+<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="2371" />
-<TGConnectingPoint num="1" id="2372" />
+<TGConnectingPoint num="0" id="2175" />
+<TGConnectingPoint num="1" id="2176" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2376" >
-<cdparam x="56" y="861" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2180" >
+<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="2374" />
-<TGConnectingPoint num="1" id="2375" />
+<TGConnectingPoint num="0" id="2178" />
+<TGConnectingPoint num="1" id="2179" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2379" >
-<cdparam x="154" y="940" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2183" >
+<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="2377" />
-<TGConnectingPoint num="1" id="2378" />
+<TGConnectingPoint num="0" id="2181" />
+<TGConnectingPoint num="1" id="2182" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2382" >
-<cdparam x="363" y="865" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2186" >
+<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="2380" />
-<TGConnectingPoint num="1" id="2381" />
+<TGConnectingPoint num="0" id="2184" />
+<TGConnectingPoint num="1" id="2185" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2385" >
-<cdparam x="270" y="831" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2189" >
+<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="2383" />
-<TGConnectingPoint num="1" id="2384" />
+<TGConnectingPoint num="0" id="2187" />
+<TGConnectingPoint num="1" id="2188" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2388" >
-<cdparam x="206" y="1052" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2192" >
+<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="2386" />
-<TGConnectingPoint num="1" id="2387" />
+<TGConnectingPoint num="0" id="2190" />
+<TGConnectingPoint num="1" id="2191" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2391" >
-<cdparam x="323" y="962" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2195" >
+<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="2389" />
-<TGConnectingPoint num="1" id="2390" />
+<TGConnectingPoint num="0" id="2193" />
+<TGConnectingPoint num="1" id="2194" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2394" >
-<cdparam x="415" y="983" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2198" >
+<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="2392" />
-<TGConnectingPoint num="1" id="2393" />
+<TGConnectingPoint num="0" id="2196" />
+<TGConnectingPoint num="1" id="2197" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2397" >
-<cdparam x="109" y="986" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2201" >
+<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="2395" />
-<TGConnectingPoint num="1" id="2396" />
+<TGConnectingPoint num="0" id="2199" />
+<TGConnectingPoint num="1" id="2200" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2400" >
-<cdparam x="699" y="813" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2204" >
+<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="2398" />
-<TGConnectingPoint num="1" id="2399" />
+<TGConnectingPoint num="0" id="2202" />
+<TGConnectingPoint num="1" id="2203" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2403" >
-<cdparam x="775" y="1141" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2207" >
+<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="2401" />
-<TGConnectingPoint num="1" id="2402" />
+<TGConnectingPoint num="0" id="2205" />
+<TGConnectingPoint num="1" id="2206" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2406" >
-<cdparam x="920" y="1178" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2210" >
+<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="2404" />
-<TGConnectingPoint num="1" id="2405" />
+<TGConnectingPoint num="0" id="2208" />
+<TGConnectingPoint num="1" id="2209" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2409" >
-<cdparam x="1026" y="1211" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2213" >
+<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="2407" />
-<TGConnectingPoint num="1" id="2408" />
+<TGConnectingPoint num="0" id="2211" />
+<TGConnectingPoint num="1" id="2212" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2411" >
+<COMPONENT type="1001" id="2215" >
 <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="2410" />
+<TGConnectingPoint num="0" id="2214" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2413" >
+<COMPONENT type="1001" id="2217" >
 <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="2412" />
+<TGConnectingPoint num="0" id="2216" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2416" >
-<cdparam x="1169" y="1214" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2220" >
+<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="2414" />
-<TGConnectingPoint num="1" id="2415" />
+<TGConnectingPoint num="0" id="2218" />
+<TGConnectingPoint num="1" id="2219" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2433" >
+<COMPONENT type="301" id="2237" >
 <cdparam x="1159" y="1153" />
-<sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2417" />
-<TGConnectingPoint num="1" id="2418" />
-<TGConnectingPoint num="2" id="2419" />
-<TGConnectingPoint num="3" id="2420" />
-<TGConnectingPoint num="4" id="2421" />
-<TGConnectingPoint num="5" id="2422" />
-<TGConnectingPoint num="6" id="2423" />
-<TGConnectingPoint num="7" id="2424" />
-<TGConnectingPoint num="8" id="2425" />
-<TGConnectingPoint num="9" id="2426" />
-<TGConnectingPoint num="10" id="2427" />
-<TGConnectingPoint num="11" id="2428" />
-<TGConnectingPoint num="12" id="2429" />
-<TGConnectingPoint num="13" id="2430" />
-<TGConnectingPoint num="14" id="2431" />
-<TGConnectingPoint num="15" id="2432" />
+<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="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2436" >
-<cdparam x="1158" y="1295" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2240" >
+<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="2434" />
-<TGConnectingPoint num="1" id="2435" />
+<TGConnectingPoint num="0" id="2238" />
+<TGConnectingPoint num="1" id="2239" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2438" >
+<COMPONENT type="1001" id="2242" >
 <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="2437" />
+<TGConnectingPoint num="0" id="2241" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2441" >
-<cdparam x="1157" y="1402" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2245" >
+<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="2439" />
-<TGConnectingPoint num="1" id="2440" />
+<TGConnectingPoint num="0" id="2243" />
+<TGConnectingPoint num="1" id="2244" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2444" >
-<cdparam x="1185" y="1351" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2248" >
+<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="2442" />
-<TGConnectingPoint num="1" id="2443" />
+<TGConnectingPoint num="0" id="2246" />
+<TGConnectingPoint num="1" id="2247" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2446" >
+<COMPONENT type="1001" id="2250" >
 <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="2445" />
+<TGConnectingPoint num="0" id="2249" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2448" >
+<COMPONENT type="1001" id="2252" >
 <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="2447" />
+<TGConnectingPoint num="0" id="2251" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2451" >
-<cdparam x="1489" y="1132" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2255" >
+<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="2449" />
-<TGConnectingPoint num="1" id="2450" />
+<TGConnectingPoint num="0" id="2253" />
+<TGConnectingPoint num="1" id="2254" />
 <extraparam>
 <Data channelName="fromTtoA" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2454" >
-<cdparam x="1490" y="1348" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2258" >
+<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="2452" />
-<TGConnectingPoint num="1" id="2453" />
+<TGConnectingPoint num="0" id="2256" />
+<TGConnectingPoint num="1" id="2257" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2457" >
-<cdparam x="1710" y="1026" />
-<sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2261" >
+<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="2455" />
-<TGConnectingPoint num="1" id="2456" />
+<TGConnectingPoint num="0" id="2259" />
+<TGConnectingPoint num="1" id="2260" />
 <extraparam>
 <Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2474" >
+<COMPONENT type="301" id="2278" >
 <cdparam x="1759" y="1192" />
-<sizeparam width="86" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2458" />
-<TGConnectingPoint num="1" id="2459" />
-<TGConnectingPoint num="2" id="2460" />
-<TGConnectingPoint num="3" id="2461" />
-<TGConnectingPoint num="4" id="2462" />
-<TGConnectingPoint num="5" id="2463" />
-<TGConnectingPoint num="6" id="2464" />
-<TGConnectingPoint num="7" id="2465" />
-<TGConnectingPoint num="8" id="2466" />
-<TGConnectingPoint num="9" id="2467" />
-<TGConnectingPoint num="10" id="2468" />
-<TGConnectingPoint num="11" id="2469" />
-<TGConnectingPoint num="12" id="2470" />
-<TGConnectingPoint num="13" id="2471" />
-<TGConnectingPoint num="14" id="2472" />
-<TGConnectingPoint num="15" id="2473" />
+<TGConnectingPoint num="0" id="2262" />
+<TGConnectingPoint num="1" id="2263" />
+<TGConnectingPoint num="2" id="2264" />
+<TGConnectingPoint num="3" id="2265" />
+<TGConnectingPoint num="4" id="2266" />
+<TGConnectingPoint num="5" id="2267" />
+<TGConnectingPoint num="6" id="2268" />
+<TGConnectingPoint num="7" id="2269" />
+<TGConnectingPoint num="8" id="2270" />
+<TGConnectingPoint num="9" id="2271" />
+<TGConnectingPoint num="10" id="2272" />
+<TGConnectingPoint num="11" id="2273" />
+<TGConnectingPoint num="12" id="2274" />
+<TGConnectingPoint num="13" id="2275" />
+<TGConnectingPoint num="14" id="2276" />
+<TGConnectingPoint num="15" id="2277" />
 <extraparam>
 <Line value="Correct ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2491" >
+<COMPONENT type="301" id="2295" >
 <cdparam x="1635" y="1168" />
-<sizeparam width="71" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2475" />
-<TGConnectingPoint num="1" id="2476" />
-<TGConnectingPoint num="2" id="2477" />
-<TGConnectingPoint num="3" id="2478" />
-<TGConnectingPoint num="4" id="2479" />
-<TGConnectingPoint num="5" id="2480" />
-<TGConnectingPoint num="6" id="2481" />
-<TGConnectingPoint num="7" id="2482" />
-<TGConnectingPoint num="8" id="2483" />
-<TGConnectingPoint num="9" id="2484" />
-<TGConnectingPoint num="10" id="2485" />
-<TGConnectingPoint num="11" id="2486" />
-<TGConnectingPoint num="12" id="2487" />
-<TGConnectingPoint num="13" id="2488" />
-<TGConnectingPoint num="14" id="2489" />
-<TGConnectingPoint num="15" id="2490" />
+<TGConnectingPoint num="0" id="2279" />
+<TGConnectingPoint num="1" id="2280" />
+<TGConnectingPoint num="2" id="2281" />
+<TGConnectingPoint num="3" id="2282" />
+<TGConnectingPoint num="4" id="2283" />
+<TGConnectingPoint num="5" id="2284" />
+<TGConnectingPoint num="6" id="2285" />
+<TGConnectingPoint num="7" id="2286" />
+<TGConnectingPoint num="8" id="2287" />
+<TGConnectingPoint num="9" id="2288" />
+<TGConnectingPoint num="10" id="2289" />
+<TGConnectingPoint num="11" id="2290" />
+<TGConnectingPoint num="12" id="2291" />
+<TGConnectingPoint num="13" id="2292" />
+<TGConnectingPoint num="14" id="2293" />
+<TGConnectingPoint num="15" id="2294" />
 <extraparam>
 <Line value="false ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2494" >
-<cdparam x="1602" y="1299" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2298" >
+<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="2492" />
-<TGConnectingPoint num="1" id="2493" />
+<TGConnectingPoint num="0" id="2296" />
+<TGConnectingPoint num="1" id="2297" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2496" >
+<COMPONENT type="1001" id="2300" >
 <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="2495" />
+<TGConnectingPoint num="0" id="2299" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2513" >
+<COMPONENT type="301" id="2317" >
 <cdparam x="1469" y="1295" />
-<sizeparam width="127" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2497" />
-<TGConnectingPoint num="1" id="2498" />
-<TGConnectingPoint num="2" id="2499" />
-<TGConnectingPoint num="3" id="2500" />
-<TGConnectingPoint num="4" id="2501" />
-<TGConnectingPoint num="5" id="2502" />
-<TGConnectingPoint num="6" id="2503" />
-<TGConnectingPoint num="7" id="2504" />
-<TGConnectingPoint num="8" id="2505" />
-<TGConnectingPoint num="9" id="2506" />
-<TGConnectingPoint num="10" id="2507" />
-<TGConnectingPoint num="11" id="2508" />
-<TGConnectingPoint num="12" id="2509" />
-<TGConnectingPoint num="13" id="2510" />
-<TGConnectingPoint num="14" id="2511" />
-<TGConnectingPoint num="15" id="2512" />
+<TGConnectingPoint num="0" id="2301" />
+<TGConnectingPoint num="1" id="2302" />
+<TGConnectingPoint num="2" id="2303" />
+<TGConnectingPoint num="3" id="2304" />
+<TGConnectingPoint num="4" id="2305" />
+<TGConnectingPoint num="5" id="2306" />
+<TGConnectingPoint num="6" id="2307" />
+<TGConnectingPoint num="7" id="2308" />
+<TGConnectingPoint num="8" id="2309" />
+<TGConnectingPoint num="9" id="2310" />
+<TGConnectingPoint num="10" id="2311" />
+<TGConnectingPoint num="11" id="2312" />
+<TGConnectingPoint num="12" id="2313" />
+<TGConnectingPoint num="13" id="2314" />
+<TGConnectingPoint num="14" id="2315" />
+<TGConnectingPoint num="15" id="2316" />
 <extraparam>
 <Line value="return acknowldge" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2530" >
+<COMPONENT type="301" id="2334" >
 <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="2514" />
-<TGConnectingPoint num="1" id="2515" />
-<TGConnectingPoint num="2" id="2516" />
-<TGConnectingPoint num="3" id="2517" />
-<TGConnectingPoint num="4" id="2518" />
-<TGConnectingPoint num="5" id="2519" />
-<TGConnectingPoint num="6" id="2520" />
-<TGConnectingPoint num="7" id="2521" />
-<TGConnectingPoint num="8" id="2522" />
-<TGConnectingPoint num="9" id="2523" />
-<TGConnectingPoint num="10" id="2524" />
-<TGConnectingPoint num="11" id="2525" />
-<TGConnectingPoint num="12" id="2526" />
-<TGConnectingPoint num="13" id="2527" />
-<TGConnectingPoint num="14" id="2528" />
-<TGConnectingPoint num="15" id="2529" />
+<TGConnectingPoint num="0" id="2318" />
+<TGConnectingPoint num="1" id="2319" />
+<TGConnectingPoint num="2" id="2320" />
+<TGConnectingPoint num="3" id="2321" />
+<TGConnectingPoint num="4" id="2322" />
+<TGConnectingPoint num="5" id="2323" />
+<TGConnectingPoint num="6" id="2324" />
+<TGConnectingPoint num="7" id="2325" />
+<TGConnectingPoint num="8" id="2326" />
+<TGConnectingPoint num="9" id="2327" />
+<TGConnectingPoint num="10" id="2328" />
+<TGConnectingPoint num="11" id="2329" />
+<TGConnectingPoint num="12" id="2330" />
+<TGConnectingPoint num="13" id="2331" />
+<TGConnectingPoint num="14" id="2332" />
+<TGConnectingPoint num="15" id="2333" />
 <extraparam>
 <Line value="data" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2533" >
-<cdparam x="1506" y="1405" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2337" >
+<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="2531" />
-<TGConnectingPoint num="1" id="2532" />
+<TGConnectingPoint num="0" id="2335" />
+<TGConnectingPoint num="1" id="2336" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="2536" >
-<cdparam x="1619" y="1348" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2340" >
+<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="2534" />
-<TGConnectingPoint num="1" id="2535" />
+<TGConnectingPoint num="0" id="2338" />
+<TGConnectingPoint num="1" id="2339" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2539" >
-<cdparam x="1614" y="1404" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2343" >
+<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="2537" />
-<TGConnectingPoint num="1" id="2538" />
+<TGConnectingPoint num="0" id="2341" />
+<TGConnectingPoint num="1" id="2342" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2541" >
+<COMPONENT type="1001" id="2345" >
 <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="2540" />
+<TGConnectingPoint num="0" id="2344" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2544" >
-<cdparam x="1776" y="1349" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2348" >
+<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="2542" />
-<TGConnectingPoint num="1" id="2543" />
+<TGConnectingPoint num="0" id="2346" />
+<TGConnectingPoint num="1" id="2347" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2546" >
+<COMPONENT type="1001" id="2350" >
 <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="2545" />
+<TGConnectingPoint num="0" id="2349" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2549" >
-<cdparam x="1870" y="1411" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2353" >
+<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="2547" />
-<TGConnectingPoint num="1" id="2548" />
+<TGConnectingPoint num="0" id="2351" />
+<TGConnectingPoint num="1" id="2352" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2551" >
+<COMPONENT type="1001" id="2355" >
 <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="2550" />
+<TGConnectingPoint num="0" id="2354" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2553" >
+<COMPONENT type="1001" id="2357" >
 <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="2552" />
+<TGConnectingPoint num="0" id="2356" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2556" >
-<cdparam x="2051" y="1466" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2360" >
+<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="2554" />
-<TGConnectingPoint num="1" id="2555" />
+<TGConnectingPoint num="0" id="2358" />
+<TGConnectingPoint num="1" id="2359" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2558" >
+<COMPONENT type="1001" id="2362" >
 <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="2557" />
+<TGConnectingPoint num="0" id="2361" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2561" >
-<cdparam x="1946" y="1493" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2365" >
+<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="2559" />
-<TGConnectingPoint num="1" id="2560" />
+<TGConnectingPoint num="0" id="2363" />
+<TGConnectingPoint num="1" id="2364" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="2564" >
-<cdparam x="1946" y="1434" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2368" >
+<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="2562" />
-<TGConnectingPoint num="1" id="2563" />
+<TGConnectingPoint num="0" id="2366" />
+<TGConnectingPoint num="1" id="2367" />
 </COMPONENT>
 
-<COMPONENT type="301" id="2581" >
+<COMPONENT type="301" id="2385" >
 <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="2565" />
-<TGConnectingPoint num="1" id="2566" />
-<TGConnectingPoint num="2" id="2567" />
-<TGConnectingPoint num="3" id="2568" />
-<TGConnectingPoint num="4" id="2569" />
-<TGConnectingPoint num="5" id="2570" />
-<TGConnectingPoint num="6" id="2571" />
-<TGConnectingPoint num="7" id="2572" />
-<TGConnectingPoint num="8" id="2573" />
-<TGConnectingPoint num="9" id="2574" />
-<TGConnectingPoint num="10" id="2575" />
-<TGConnectingPoint num="11" id="2576" />
-<TGConnectingPoint num="12" id="2577" />
-<TGConnectingPoint num="13" id="2578" />
-<TGConnectingPoint num="14" id="2579" />
-<TGConnectingPoint num="15" id="2580" />
+<TGConnectingPoint num="0" id="2369" />
+<TGConnectingPoint num="1" id="2370" />
+<TGConnectingPoint num="2" id="2371" />
+<TGConnectingPoint num="3" id="2372" />
+<TGConnectingPoint num="4" id="2373" />
+<TGConnectingPoint num="5" id="2374" />
+<TGConnectingPoint num="6" id="2375" />
+<TGConnectingPoint num="7" id="2376" />
+<TGConnectingPoint num="8" id="2377" />
+<TGConnectingPoint num="9" id="2378" />
+<TGConnectingPoint num="10" id="2379" />
+<TGConnectingPoint num="11" id="2380" />
+<TGConnectingPoint num="12" id="2381" />
+<TGConnectingPoint num="13" id="2382" />
+<TGConnectingPoint num="14" id="2383" />
+<TGConnectingPoint num="15" id="2384" />
 <extraparam>
 <Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2598" >
+<COMPONENT type="301" id="2402" >
 <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="2582" />
-<TGConnectingPoint num="1" id="2583" />
-<TGConnectingPoint num="2" id="2584" />
-<TGConnectingPoint num="3" id="2585" />
-<TGConnectingPoint num="4" id="2586" />
-<TGConnectingPoint num="5" id="2587" />
-<TGConnectingPoint num="6" id="2588" />
-<TGConnectingPoint num="7" id="2589" />
-<TGConnectingPoint num="8" id="2590" />
-<TGConnectingPoint num="9" id="2591" />
-<TGConnectingPoint num="10" id="2592" />
-<TGConnectingPoint num="11" id="2593" />
-<TGConnectingPoint num="12" id="2594" />
-<TGConnectingPoint num="13" id="2595" />
-<TGConnectingPoint num="14" id="2596" />
-<TGConnectingPoint num="15" id="2597" />
+<TGConnectingPoint num="0" id="2386" />
+<TGConnectingPoint num="1" id="2387" />
+<TGConnectingPoint num="2" id="2388" />
+<TGConnectingPoint num="3" id="2389" />
+<TGConnectingPoint num="4" id="2390" />
+<TGConnectingPoint num="5" id="2391" />
+<TGConnectingPoint num="6" id="2392" />
+<TGConnectingPoint num="7" id="2393" />
+<TGConnectingPoint num="8" id="2394" />
+<TGConnectingPoint num="9" id="2395" />
+<TGConnectingPoint num="10" id="2396" />
+<TGConnectingPoint num="11" id="2397" />
+<TGConnectingPoint num="12" id="2398" />
+<TGConnectingPoint num="13" id="2399" />
+<TGConnectingPoint num="14" id="2400" />
+<TGConnectingPoint num="15" id="2401" />
 <extraparam>
 <Line value="ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2601" >
-<cdparam x="2179" y="1198" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2405" >
+<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="2599" />
-<TGConnectingPoint num="1" id="2600" />
+<TGConnectingPoint num="0" id="2403" />
+<TGConnectingPoint num="1" id="2404" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2603" >
+<COMPONENT type="1001" id="2407" >
 <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="2602" />
+<TGConnectingPoint num="0" id="2406" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="2606" >
-<cdparam x="2178" y="1298" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="2410" >
+<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="2604" />
-<TGConnectingPoint num="1" id="2605" />
+<TGConnectingPoint num="0" id="2408" />
+<TGConnectingPoint num="1" id="2409" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="2609" >
-<cdparam x="2189" y="1365" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2413" >
+<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="2607" />
-<TGConnectingPoint num="1" id="2608" />
+<TGConnectingPoint num="0" id="2411" />
+<TGConnectingPoint num="1" id="2412" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2612" >
-<cdparam x="2142" y="1136" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2416" >
+<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="2610" />
-<TGConnectingPoint num="1" id="2611" />
+<TGConnectingPoint num="0" id="2414" />
+<TGConnectingPoint num="1" id="2415" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2615" >
-<cdparam x="2194" y="1248" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2419" >
+<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="2613" />
-<TGConnectingPoint num="1" id="2614" />
+<TGConnectingPoint num="0" id="2417" />
+<TGConnectingPoint num="1" id="2418" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2618" >
-<cdparam x="2167" y="1424" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2422" >
+<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="2616" />
-<TGConnectingPoint num="1" id="2617" />
+<TGConnectingPoint num="0" id="2420" />
+<TGConnectingPoint num="1" id="2421" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="2621" >
-<cdparam x="2302" y="1122" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="2425" >
+<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="2619" />
-<TGConnectingPoint num="1" id="2620" />
+<TGConnectingPoint num="0" id="2423" />
+<TGConnectingPoint num="1" id="2424" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="2638" >
+<COMPONENT type="301" id="2442" >
 <cdparam x="2283" y="1065" />
-<sizeparam width="114" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="2622" />
-<TGConnectingPoint num="1" id="2623" />
-<TGConnectingPoint num="2" id="2624" />
-<TGConnectingPoint num="3" id="2625" />
-<TGConnectingPoint num="4" id="2626" />
-<TGConnectingPoint num="5" id="2627" />
-<TGConnectingPoint num="6" id="2628" />
-<TGConnectingPoint num="7" id="2629" />
-<TGConnectingPoint num="8" id="2630" />
-<TGConnectingPoint num="9" id="2631" />
-<TGConnectingPoint num="10" id="2632" />
-<TGConnectingPoint num="11" id="2633" />
-<TGConnectingPoint num="12" id="2634" />
-<TGConnectingPoint num="13" id="2635" />
-<TGConnectingPoint num="14" id="2636" />
-<TGConnectingPoint num="15" id="2637" />
+<TGConnectingPoint num="0" id="2426" />
+<TGConnectingPoint num="1" id="2427" />
+<TGConnectingPoint num="2" id="2428" />
+<TGConnectingPoint num="3" id="2429" />
+<TGConnectingPoint num="4" id="2430" />
+<TGConnectingPoint num="5" id="2431" />
+<TGConnectingPoint num="6" id="2432" />
+<TGConnectingPoint num="7" id="2433" />
+<TGConnectingPoint num="8" id="2434" />
+<TGConnectingPoint num="9" id="2435" />
+<TGConnectingPoint num="10" id="2436" />
+<TGConnectingPoint num="11" id="2437" />
+<TGConnectingPoint num="12" id="2438" />
+<TGConnectingPoint num="13" id="2439" />
+<TGConnectingPoint num="14" id="2440" />
+<TGConnectingPoint num="15" id="2441" />
 <extraparam>
 <Line value="send Ack of SYN" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="2641" >
-<cdparam x="2291" y="1267" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="2445" >
+<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="2639" />
-<TGConnectingPoint num="1" id="2640" />
+<TGConnectingPoint num="0" id="2443" />
+<TGConnectingPoint num="1" id="2444" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2643" >
+<COMPONENT type="1001" id="2447" >
 <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="2642" />
+<TGConnectingPoint num="0" id="2446" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2646" >
-<cdparam x="2318" y="1199" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2450" >
+<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="2644" />
-<TGConnectingPoint num="1" id="2645" />
+<TGConnectingPoint num="0" id="2448" />
+<TGConnectingPoint num="1" id="2449" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="2648" >
+<COMPONENT type="1001" id="2452" >
 <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="2647" />
+<TGConnectingPoint num="0" id="2451" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2650" >
+<COMPONENT type="1001" id="2454" >
 <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="2649" />
+<TGConnectingPoint num="0" id="2453" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="2652" >
+<COMPONENT type="1001" id="2456" >
 <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="2651" />
+<TGConnectingPoint num="0" id="2455" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="2655" >
-<cdparam x="1465" y="1192" />
-<sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="2459" >
+<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="2653" />
-<TGConnectingPoint num="1" id="2654" />
+<TGConnectingPoint num="0" id="2457" />
+<TGConnectingPoint num="1" id="2458" />
 <extraparam>
 <Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="2658" >
-<cdparam x="1701" y="1086" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="2462" >
+<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="2656" />
-<TGConnectingPoint num="1" id="2657" />
+<TGConnectingPoint num="0" id="2460" />
+<TGConnectingPoint num="1" id="2461" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="2659" >
+<CONNECTOR type="115" id="2463" >
 <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="2049" />
-<P2  x="1728" y="865" id="1971" />
+<P1  x="1048" y="795" id="1853" />
+<P2  x="1728" y="865" id="1775" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2660" >
+<CONNECTOR type="115" id="2464" >
 <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="2021" />
-<P2  x="1208" y="1010" id="1991" />
+<P1  x="1089" y="954" id="1825" />
+<P2  x="1208" y="1010" id="1795" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2661" >
+<CONNECTOR type="115" id="2465" >
 <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="2125" />
-<P2  x="1008" y="696" id="2053" />
+<P1  x="1008" y="610" id="1929" />
+<P2  x="1008" y="696" id="1857" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2662" >
+<CONNECTOR type="115" id="2466" >
 <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="2140" />
-<P2  x="722" y="689" id="2009" />
+<P1  x="722" y="614" id="1944" />
+<P2  x="722" y="689" id="1813" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2663" >
+<CONNECTOR type="115" id="2467" >
 <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="2089" />
-<P2  x="572" y="702" id="2003" />
+<P1  x="504" y="597" id="1893" />
+<P2  x="572" y="702" id="1807" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2664" >
+<CONNECTOR type="115" id="2468" >
 <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="2090" />
-<P2  x="439" y="778" id="2057" />
+<P1  x="464" y="637" id="1894" />
+<P2  x="439" y="778" id="1861" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2665" >
+<CONNECTOR type="115" id="2469" >
 <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="2088" />
-<P2  x="346" y="759" id="2037" />
+<P1  x="424" y="597" id="1892" />
+<P2  x="346" y="759" id="1841" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2666" >
+<CONNECTOR type="115" id="2470" >
 <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="2098" />
-<P2  x="230" y="803" id="2194" />
+<P1  x="289" y="619" id="1902" />
+<P2  x="230" y="803" id="1998" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2667" >
+<CONNECTOR type="115" id="2471" >
 <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="2096" />
-<P2  x="132" y="789" id="2041" />
+<P1  x="249" y="579" id="1900" />
+<P2  x="132" y="789" id="1845" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2668" >
+<CONNECTOR type="115" id="2472" >
 <cdparam x="371" y="93" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to notified event" value="null" />
-<P1  x="319" y="93" id="2128" />
-<P2  x="374" y="128" id="2136" />
+<P1  x="324" y="93" id="1932" />
+<P2  x="374" y="128" id="1940" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2669" >
+<CONNECTOR type="115" id="2473" >
 <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="2134" />
-<P2  x="234" y="202" id="2131" />
+<P1  x="234" y="169" id="1938" />
+<P2  x="234" y="202" id="1935" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2670" >
+<CONNECTOR type="115" id="2474" >
 <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="2129" />
-<P2  x="234" y="139" id="2133" />
+<P1  x="234" y="104" id="1933" />
+<P2  x="234" y="139" id="1937" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2671" >
+<CONNECTOR type="115" id="2475" >
 <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="2100" />
-<P2  x="234" y="74" id="2127" />
+<P1  x="234" y="47" id="1904" />
+<P2  x="234" y="74" id="1931" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2672" >
+<CONNECTOR type="115" id="2476" >
 <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="2137" />
-<P2  x="374" y="182" id="2079" />
+<P1  x="374" y="158" id="1941" />
+<P2  x="374" y="182" id="1883" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2673" >
+<CONNECTOR type="115" id="2477" >
 <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="2163" />
-<P2  x="722" y="529" id="2142" />
+<P1  x="464" y="322" id="1967" />
+<P2  x="722" y="529" id="1946" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2674" >
+<CONNECTOR type="115" id="2478" >
 <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="2143" />
-<P2  x="722" y="584" id="2139" />
+<P1  x="722" y="559" id="1947" />
+<P2  x="722" y="584" id="1943" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2675" >
+<CONNECTOR type="115" id="2479" >
 <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="2159" />
-<P2  x="1008" y="523" id="2145" />
+<P1  x="504" y="282" id="1963" />
+<P2  x="1008" y="523" id="1949" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2676" >
+<CONNECTOR type="115" id="2480" >
 <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="2146" />
-<P2  x="1008" y="580" id="2124" />
+<P1  x="1008" y="553" id="1950" />
+<P2  x="1008" y="580" id="1928" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2677" >
+<CONNECTOR type="115" id="2481" >
 <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="2160" />
-<P2  x="464" y="487" id="2148" />
+<P1  x="464" y="322" id="1964" />
+<P2  x="464" y="487" id="1952" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2678" >
+<CONNECTOR type="115" id="2482" >
 <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="2161" />
-<P2  x="289" y="463" id="2151" />
+<P1  x="424" y="282" id="1965" />
+<P2  x="289" y="463" id="1955" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2679" >
+<CONNECTOR type="115" id="2483" >
 <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="2152" />
-<P2  x="289" y="554" id="2095" />
+<P1  x="289" y="493" id="1956" />
+<P2  x="289" y="554" id="1899" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2680" >
+<CONNECTOR type="115" id="2484" >
 <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="2072" />
-<P2  x="126" y="544" id="2119" />
+<P1  x="148" y="501" id="1876" />
+<P2  x="126" y="544" id="1923" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2681" >
+<CONNECTOR type="115" id="2485" >
 <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="2158" />
-<P2  x="188" y="414" id="2154" />
+<P1  x="424" y="282" id="1962" />
+<P2  x="188" y="414" id="1958" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2682" >
+<CONNECTOR type="115" id="2486" >
 <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="2155" />
-<P2  x="188" y="476" id="2071" />
+<P1  x="188" y="444" id="1959" />
+<P2  x="188" y="476" id="1875" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2683" >
+<CONNECTOR type="115" id="2487" >
 <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="2073" />
-<P2  x="236" y="524" id="2168" />
+<P1  x="228" y="501" id="1877" />
+<P2  x="236" y="524" id="1972" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2684" >
+<CONNECTOR type="115" id="2488" >
 <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="2080" />
-<P2  x="301" y="223" id="2172" />
+<P1  x="334" y="207" id="1884" />
+<P2  x="301" y="223" id="1976" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2685" >
+<CONNECTOR type="115" id="2489" >
 <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="2173" />
-<P2  x="301" y="285" id="2175" />
+<P1  x="301" y="253" id="1977" />
+<P2  x="301" y="285" id="1979" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2686" >
+<CONNECTOR type="115" id="2490" >
 <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="2149" />
-<P2  x="464" y="572" id="2087" />
+<P1  x="464" y="517" id="1953" />
+<P2  x="464" y="572" id="1891" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2687" >
+<CONNECTOR type="115" id="2491" >
 <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="2097" />
-<P2  x="353" y="609" id="2170" />
+<P1  x="329" y="579" id="1901" />
+<P2  x="353" y="609" id="1974" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2688" >
+<CONNECTOR type="115" id="2492" >
 <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="2120" />
-<P2  x="126" y="610" id="2122" />
+<P1  x="126" y="574" id="1924" />
+<P2  x="126" y="610" id="1926" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2689" >
+<CONNECTOR type="115" id="2493" >
 <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="2081" />
-<P2  x="464" y="257" id="2157" />
+<P1  x="414" y="207" id="1885" />
+<P2  x="464" y="257" id="1961" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2690" >
+<CONNECTOR type="115" id="2494" >
 <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="2195" />
-<P2  x="230" y="858" id="2061" />
+<P1  x="230" y="833" id="1999" />
+<P2  x="230" y="858" id="1865" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2691" >
+<CONNECTOR type="115" id="2495" >
 <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="2048" />
-<P2  x="843" y="859" id="2031" />
+<P1  x="968" y="795" id="1852" />
+<P2  x="843" y="859" id="1835" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2692" >
+<CONNECTOR type="115" id="2496" >
 <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="2244" />
-<P2  x="728" y="1027" id="2246" />
+<P1  x="728" y="990" id="2048" />
+<P2  x="728" y="1027" id="2050" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2693" >
+<CONNECTOR type="115" id="2497" >
 <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="2032" />
-<P2  x="728" y="960" id="2243" />
+<P1  x="803" y="884" id="1836" />
+<P2  x="728" y="960" id="2047" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2694" >
+<CONNECTOR type="115" id="2498" >
 <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="2034" />
-<P2  x="800" y="1004" id="2025" />
+<P1  x="843" y="924" id="1838" />
+<P2  x="800" y="1004" id="1829" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2695" >
+<CONNECTOR type="115" id="2499" >
 <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="2026" />
-<P2  x="800" y="1081" id="2248" />
+<P1  x="800" y="1044" id="1830" />
+<P2  x="800" y="1081" id="2052" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2696" >
+<CONNECTOR type="115" id="2500" >
 <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="2375" />
-<P2  x="132" y="933" id="2210" />
+<P1  x="132" y="886" id="2179" />
+<P2  x="132" y="933" id="2014" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2697" >
+<CONNECTOR type="115" id="2501" >
 <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="2014" />
-<P2  x="943" y="1118" id="2293" />
+<P1  x="943" y="1060" id="1818" />
+<P2  x="943" y="1118" id="2097" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2698" >
+<CONNECTOR type="115" id="2502" >
 <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="2066" />
-<P2  x="1049" y="1150" id="2318" />
+<P1  x="1049" y="1092" id="1870" />
+<P2  x="1049" y="1150" id="2122" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2699" >
+<CONNECTOR type="115" id="2503" >
 <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="2022" />
-<P2  x="1049" y="1052" id="2065" />
+<P1  x="1049" y="994" id="1826" />
+<P2  x="1049" y="1052" id="1869" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2700" >
+<CONNECTOR type="115" id="2504" >
 <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="2010" />
-<P2  x="722" y="753" id="2343" />
+<P1  x="722" y="729" id="1814" />
+<P2  x="722" y="753" id="2147" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2701" >
+<CONNECTOR type="115" id="2505" >
 <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="2349" />
-<P2  x="132" y="1162" id="2351" />
+<P1  x="132" y="1125" id="2153" />
+<P2  x="132" y="1162" id="2155" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2702" >
+<CONNECTOR type="115" id="2506" >
 <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="2352" />
-<P2  x="132" y="1231" id="2354" />
+<P1  x="132" y="1192" id="2156" />
+<P2  x="132" y="1231" id="2158" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2703" >
+<CONNECTOR type="115" id="2507" >
 <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="2208" />
-<P2  x="132" y="1095" id="2348" />
+<P1  x="132" y="1066" id="2012" />
+<P2  x="132" y="1095" id="2152" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2704" >
+<CONNECTOR type="115" id="2508" >
 <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="2357" />
-<P2  x="229" y="1164" id="2359" />
+<P1  x="229" y="1127" id="2161" />
+<P2  x="229" y="1164" id="2163" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2705" >
+<CONNECTOR type="115" id="2509" >
 <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="2363" />
-<P2  x="346" y="1168" id="2365" />
+<P1  x="346" y="1131" id="2167" />
+<P2  x="346" y="1168" id="2169" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2706" >
+<CONNECTOR type="115" id="2510" >
 <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="2214" />
-<P2  x="346" y="1101" id="2362" />
+<P1  x="346" y="1051" id="2018" />
+<P2  x="346" y="1101" id="2166" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2707" >
+<CONNECTOR type="115" id="2511" >
 <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="2369" />
-<P2  x="438" y="1154" id="2371" />
+<P1  x="438" y="1115" id="2173" />
+<P2  x="438" y="1154" id="2175" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2708" >
+<CONNECTOR type="115" id="2512" >
 <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="2203" />
-<P2  x="438" y="1085" id="2368" />
+<P1  x="438" y="1057" id="2007" />
+<P2  x="438" y="1085" id="2172" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2709" >
+<CONNECTOR type="115" id="2513" >
 <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="2042" />
-<P2  x="132" y="856" id="2374" />
+<P1  x="132" y="829" id="1846" />
+<P2  x="132" y="856" id="2178" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2710" >
+<CONNECTOR type="115" id="2514" >
 <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="2062" />
-<P2  x="230" y="935" id="2377" />
+<P1  x="230" y="898" id="1866" />
+<P2  x="230" y="935" id="2181" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2711" >
+<CONNECTOR type="115" id="2515" >
 <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="2378" />
-<P2  x="230" y="997" id="2197" />
+<P1  x="230" y="965" id="2182" />
+<P2  x="230" y="997" id="2001" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2712" >
+<CONNECTOR type="115" id="2516" >
 <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="2038" />
-<P2  x="346" y="826" id="2383" />
+<P1  x="346" y="799" id="1842" />
+<P2  x="346" y="826" id="2187" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2713" >
+<CONNECTOR type="115" id="2517" >
 <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="2384" />
-<P2  x="346" y="895" id="2221" />
+<P1  x="346" y="856" id="2188" />
+<P2  x="346" y="895" id="2025" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2714" >
+<CONNECTOR type="115" id="2518" >
 <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="2058" />
-<P2  x="439" y="860" id="2380" />
+<P1  x="439" y="818" id="1862" />
+<P2  x="439" y="860" id="2184" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2715" >
+<CONNECTOR type="115" id="2519" >
 <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="2381" />
-<P2  x="439" y="936" id="2218" />
+<P1  x="439" y="890" id="2185" />
+<P2  x="439" y="936" id="2022" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2716" >
+<CONNECTOR type="115" id="2520" >
 <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="2211" />
-<P2  x="132" y="981" id="2395" />
+<P1  x="132" y="963" id="2015" />
+<P2  x="132" y="981" id="2199" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2717" >
+<CONNECTOR type="115" id="2521" >
 <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="2396" />
-<P2  x="132" y="1036" id="2207" />
+<P1  x="132" y="1011" id="2200" />
+<P2  x="132" y="1036" id="2011" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2718" >
+<CONNECTOR type="115" id="2522" >
 <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="2198" />
-<P2  x="229" y="1047" id="2386" />
+<P1  x="230" y="1027" id="2002" />
+<P2  x="229" y="1047" id="2190" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2719" >
+<CONNECTOR type="115" id="2523" >
 <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="2387" />
-<P2  x="229" y="1097" id="2356" />
+<P1  x="229" y="1077" id="2191" />
+<P2  x="229" y="1097" id="2160" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2720" >
+<CONNECTOR type="115" id="2524" >
 <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="2222" />
-<P2  x="346" y="957" id="2389" />
+<P1  x="346" y="925" id="2026" />
+<P2  x="346" y="957" id="2193" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2721" >
+<CONNECTOR type="115" id="2525" >
 <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="2390" />
-<P2  x="346" y="1021" id="2213" />
+<P1  x="346" y="987" id="2194" />
+<P2  x="346" y="1021" id="2017" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2722" >
+<CONNECTOR type="115" id="2526" >
 <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="2219" />
-<P2  x="438" y="978" id="2392" />
+<P1  x="439" y="966" id="2023" />
+<P2  x="438" y="978" id="2196" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2723" >
+<CONNECTOR type="115" id="2527" >
 <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="2393" />
-<P2  x="438" y="1027" id="2202" />
+<P1  x="438" y="1008" id="2197" />
+<P2  x="438" y="1027" id="2006" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2724" >
+<CONNECTOR type="115" id="2528" >
 <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="2344" />
-<P2  x="722" y="808" id="2398" />
+<P1  x="722" y="783" id="2148" />
+<P2  x="722" y="808" id="2202" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2725" >
+<CONNECTOR type="115" id="2529" >
 <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="2399" />
-<P2  x="722" y="860" id="2346" />
+<P1  x="722" y="838" id="2203" />
+<P2  x="722" y="860" id="2150" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2726" >
+<CONNECTOR type="115" id="2530" >
 <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="2249" />
-<P2  x="798" y="1136" id="2401" />
+<P1  x="800" y="1111" id="2053" />
+<P2  x="798" y="1136" id="2205" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2727" >
+<CONNECTOR type="115" id="2531" >
 <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="2402" />
-<P2  x="799" y="1188" id="2285" />
+<P1  x="798" y="1166" id="2206" />
+<P2  x="799" y="1188" id="2089" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2728" >
+<CONNECTOR type="115" id="2532" >
 <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="2294" />
-<P2  x="943" y="1173" id="2404" />
+<P1  x="943" y="1148" id="2098" />
+<P2  x="943" y="1173" id="2208" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2729" >
+<CONNECTOR type="115" id="2533" >
 <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="2405" />
-<P2  x="943" y="1229" id="2313" />
+<P1  x="943" y="1203" id="2209" />
+<P2  x="943" y="1229" id="2117" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2730" >
+<CONNECTOR type="115" id="2534" >
 <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="2319" />
-<P2  x="1049" y="1206" id="2407" />
+<P1  x="1049" y="1180" id="2123" />
+<P2  x="1049" y="1206" id="2211" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2731" >
+<CONNECTOR type="115" id="2535" >
 <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="2408" />
-<P2  x="1049" y="1261" id="2338" />
+<P1  x="1049" y="1236" id="2212" />
+<P2  x="1049" y="1261" id="2142" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2732" >
+<CONNECTOR type="115" id="2536" >
 <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="2033" />
-<P2  x="909" y="917" id="2412" />
+<P1  x="883" y="884" id="1837" />
+<P2  x="909" y="917" id="2216" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2733" >
+<CONNECTOR type="115" id="2537" >
 <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="2005" />
-<P2  x="622" y="757" id="2410" />
+<P1  x="612" y="727" id="1809" />
+<P2  x="622" y="757" id="2214" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2734" >
+<CONNECTOR type="115" id="2538" >
 <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="2004" />
-<P2  x="496" y="763" id="2288" />
+<P1  x="532" y="727" id="1808" />
+<P2  x="496" y="763" id="2092" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2735" >
+<CONNECTOR type="115" id="2539" >
 <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="2286" />
-<P2  x="799" y="1265" id="2224" />
+<P1  x="799" y="1218" id="2090" />
+<P2  x="799" y="1265" id="2028" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2736" >
+<CONNECTOR type="115" id="2540" >
 <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="2020" />
-<P2  x="943" y="1020" id="2013" />
+<P1  x="1009" y="954" id="1824" />
+<P2  x="943" y="1020" id="1817" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2737" >
+<CONNECTOR type="115" id="2541" >
 <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="2360" />
-<P2  x="229" y="1232" id="2200" />
+<P1  x="229" y="1194" id="2164" />
+<P2  x="229" y="1232" id="2004" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2738" >
+<CONNECTOR type="115" id="2542" >
 <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="2366" />
-<P2  x="344" y="1224" id="2216" />
+<P1  x="346" y="1198" id="2170" />
+<P2  x="344" y="1224" id="2020" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2739" >
+<CONNECTOR type="115" id="2543" >
 <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="2372" />
-<P2  x="438" y="1208" id="2205" />
+<P1  x="438" y="1184" id="2176" />
+<P2  x="438" y="1208" id="2009" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2740" >
+<CONNECTOR type="115" id="2544" >
 <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="2289" />
-<P2  x="496" y="825" id="2291" />
+<P1  x="496" y="793" id="2093" />
+<P2  x="496" y="825" id="2095" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2741" >
+<CONNECTOR type="115" id="2545" >
 <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="2314" />
-<P2  x="943" y="1306" id="2316" />
+<P1  x="943" y="1259" id="2118" />
+<P2  x="943" y="1306" id="2120" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2742" >
+<CONNECTOR type="115" id="2546" >
 <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="2054" />
-<P2  x="1008" y="770" id="2047" />
+<P1  x="1008" y="736" id="1858" />
+<P2  x="1008" y="770" id="1851" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2743" >
+<CONNECTOR type="115" id="2547" >
 <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="2050" />
-<P2  x="1049" y="929" id="2019" />
+<P1  x="1008" y="835" id="1854" />
+<P2  x="1049" y="929" id="1823" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2744" >
+<CONNECTOR type="115" id="2548" >
 <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="2339" />
-<P2  x="1049" y="1336" id="2341" />
+<P1  x="1049" y="1291" id="2143" />
+<P2  x="1049" y="1336" id="2145" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2745" >
+<CONNECTOR type="115" id="2549" >
 <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="1998" />
-<P2  x="1208" y="1209" id="2414" />
+<P1  x="1208" y="1142" id="1802" />
+<P2  x="1208" y="1209" id="2218" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2746" >
+<CONNECTOR type="115" id="2550" >
 <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="2415" />
-<P2  x="1208" y="1290" id="2434" />
+<P1  x="1208" y="1239" id="2219" />
+<P2  x="1208" y="1290" id="2238" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2747" >
+<CONNECTOR type="115" id="2551" >
 <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="2435" />
-<P2  x="1208" y="1346" id="2442" />
+<P1  x="1208" y="1320" id="2239" />
+<P2  x="1208" y="1346" id="2246" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2748" >
+<CONNECTOR type="115" id="2552" >
 <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="2443" />
-<P2  x="1207" y="1397" id="2439" />
+<P1  x="1208" y="1376" id="2247" />
+<P2  x="1207" y="1397" id="2243" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2749" >
+<CONNECTOR type="115" id="2553" >
 <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="1994" />
-<P2  x="1208" y="1102" id="1997" />
+<P1  x="1208" y="1075" id="1798" />
+<P2  x="1208" y="1102" id="1801" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2750" >
+<CONNECTOR type="115" id="2554" >
 <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="1993" />
-<P2  x="1287" y="1065" id="2445" />
+<P1  x="1248" y="1035" id="1797" />
+<P2  x="1287" y="1065" id="2249" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2751" >
+<CONNECTOR type="115" id="2555" >
 <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="2440" />
-<P2  x="1207" y="1466" id="2437" />
+<P1  x="1207" y="1427" id="2244" />
+<P2  x="1207" y="1466" id="2241" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2752" >
+<CONNECTOR type="115" id="2556" >
 <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="1964" />
-<P2  x="1529" y="1059" id="1957" />
+<P1  x="1567" y="1021" id="1768" />
+<P2  x="1529" y="1059" id="1761" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2753" >
+<CONNECTOR type="115" id="2557" >
 <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="1954" />
-<P2  x="1529" y="1343" id="2452" />
+<P1  x="1529" y="1289" id="1758" />
+<P2  x="1529" y="1343" id="2256" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2754" >
+<CONNECTOR type="115" id="2558" >
 <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="1974" />
-<P2  x="1731" y="1021" id="2455" />
+<P1  x="1728" y="930" id="1778" />
+<P2  x="1731" y="1021" id="2259" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2755" >
+<CONNECTOR type="115" id="2559" >
 <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="1978" />
-<P2  x="1641" y="1294" id="2492" />
+<P1  x="1641" y="1270" id="1782" />
+<P2  x="1641" y="1294" id="2296" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2756" >
+<CONNECTOR type="115" id="2560" >
 <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="2493" />
-<P2  x="1642" y="1343" id="2534" />
+<P1  x="1641" y="1324" id="2297" />
+<P2  x="1642" y="1343" id="2338" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2757" >
+<CONNECTOR type="115" id="2561" >
 <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="2453" />
-<P2  x="1529" y="1400" id="2531" />
+<P1  x="1529" y="1373" id="2257" />
+<P2  x="1529" y="1400" id="2335" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2758" >
+<CONNECTOR type="115" id="2562" >
 <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="2532" />
-<P2  x="1529" y="1452" id="2447" />
+<P1  x="1529" y="1430" id="2336" />
+<P2  x="1529" y="1452" id="2251" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2759" >
+<CONNECTOR type="115" id="2563" >
 <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="2535" />
-<P2  x="1642" y="1399" id="2537" />
+<P1  x="1642" y="1373" id="2339" />
+<P2  x="1642" y="1399" id="2341" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2760" >
+<CONNECTOR type="115" id="2564" >
 <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="1932" />
-<P2  x="1920" y="1406" id="2547" />
+<P1  x="1956" y="1361" id="1736" />
+<P2  x="1920" y="1406" id="2351" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2761" >
+<CONNECTOR type="115" id="2565" >
 <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="2555" />
-<P2  x="2101" y="1532" id="2557" />
+<P1  x="2101" y="1491" id="2359" />
+<P2  x="2101" y="1532" id="2361" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2762" >
+<CONNECTOR type="115" id="2566" >
 <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="1934" />
-<P2  x="1996" y="1429" id="2562" />
+<P1  x="1996" y="1401" id="1738" />
+<P2  x="1996" y="1429" id="2366" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2763" >
+<CONNECTOR type="115" id="2567" >
 <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="2563" />
-<P2  x="1996" y="1488" id="2559" />
+<P1  x="1996" y="1459" id="2367" />
+<P2  x="1996" y="1488" id="2363" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2764" >
+<CONNECTOR type="115" id="2568" >
 <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="1924" />
-<P2  x="2218" y="1054" id="1981" />
+<P1  x="2237" y="966" id="1728" />
+<P2  x="2218" y="1054" id="1785" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2765" >
+<CONNECTOR type="115" id="2569" >
 <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="2605" />
-<P2  x="2217" y="1360" id="2607" />
+<P1  x="2217" y="1323" id="2409" />
+<P2  x="2217" y="1360" id="2411" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2766" >
+<CONNECTOR type="115" id="2570" >
 <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="1982" />
-<P2  x="2218" y="1131" id="2610" />
+<P1  x="2218" y="1094" id="1786" />
+<P2  x="2218" y="1131" id="2414" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2767" >
+<CONNECTOR type="115" id="2571" >
 <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="2611" />
-<P2  x="2218" y="1193" id="2599" />
+<P1  x="2218" y="1161" id="2415" />
+<P2  x="2218" y="1193" id="2403" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2768" >
+<CONNECTOR type="115" id="2572" >
 <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="2600" />
-<P2  x="2217" y="1243" id="2613" />
+<P1  x="2218" y="1223" id="2404" />
+<P2  x="2217" y="1243" id="2417" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2769" >
+<CONNECTOR type="115" id="2573" >
 <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="2614" />
-<P2  x="2217" y="1293" id="2604" />
+<P1  x="2217" y="1273" id="2418" />
+<P2  x="2217" y="1293" id="2408" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2770" >
+<CONNECTOR type="115" id="2574" >
 <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="2608" />
-<P2  x="2217" y="1419" id="2616" />
+<P1  x="2217" y="1390" id="2412" />
+<P2  x="2217" y="1419" id="2420" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2771" >
+<CONNECTOR type="115" id="2575" >
 <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="1986" />
-<P2  x="2341" y="1117" id="2619" />
+<P1  x="2341" y="1059" id="1790" />
+<P2  x="2341" y="1117" id="2423" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2772" >
+<CONNECTOR type="115" id="2576" >
 <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="1958" />
-<P2  x="1529" y="1127" id="2449" />
+<P1  x="1529" y="1099" id="1762" />
+<P2  x="1529" y="1127" id="2253" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2773" >
+<CONNECTOR type="115" id="2577" >
 <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="1918" />
-<P2  x="2101" y="1461" id="2554" />
+<P1  x="2101" y="1433" id="1722" />
+<P2  x="2101" y="1461" id="2358" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2774" >
+<CONNECTOR type="115" id="2578" >
 <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="1917" />
-<P2  x="2178" y="1416" id="2649" />
+<P1  x="2141" y="1393" id="1721" />
+<P2  x="2178" y="1416" id="2453" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2775" >
+<CONNECTOR type="115" id="2579" >
 <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="1972" />
-<P2  x="1607" y="996" id="1963" />
+<P1  x="1688" y="890" id="1776" />
+<P2  x="1607" y="996" id="1767" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2776" >
+<CONNECTOR type="115" id="2580" >
 <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="1973" />
-<P2  x="2277" y="941" id="1923" />
+<P1  x="1768" y="890" id="1777" />
+<P2  x="2277" y="941" id="1727" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2777" >
+<CONNECTOR type="115" id="2581" >
 <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="1925" />
-<P2  x="2341" y="1019" id="1985" />
+<P1  x="2317" y="966" id="1729" />
+<P2  x="2341" y="1019" id="1789" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2778" >
+<CONNECTOR type="115" id="2582" >
 <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="2620" />
-<P2  x="2341" y="1194" id="2644" />
+<P1  x="2341" y="1147" id="2424" />
+<P2  x="2341" y="1194" id="2448" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2779" >
+<CONNECTOR type="115" id="2583" >
 <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="2645" />
-<P2  x="2341" y="1262" id="2639" />
+<P1  x="2341" y="1224" id="2449" />
+<P2  x="2341" y="1262" id="2443" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2780" >
+<CONNECTOR type="115" id="2584" >
 <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="2456" />
-<P2  x="1731" y="1081" id="2656" />
+<P1  x="1731" y="1051" id="2260" />
+<P2  x="1731" y="1081" id="2460" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2781" >
+<CONNECTOR type="115" id="2585" >
 <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="1965" />
-<P2  x="1659" y="1052" id="2647" />
+<P1  x="1647" y="1021" id="1769" />
+<P2  x="1659" y="1052" id="2451" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2782" >
+<CONNECTOR type="115" id="2586" >
 <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="1942" />
-<P2  x="1826" y="1344" id="2542" />
+<P1  x="1826" y="1324" id="1746" />
+<P2  x="1826" y="1344" id="2346" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2783" >
+<CONNECTOR type="115" id="2587" >
 <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="2543" />
-<P2  x="1828" y="1452" id="2545" />
+<P1  x="1826" y="1374" id="2347" />
+<P2  x="1828" y="1452" id="2349" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2784" >
+<CONNECTOR type="115" id="2588" >
 <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="1940" />
-<P2  x="1740" y="1330" id="2540" />
+<P1  x="1786" y="1284" id="1744" />
+<P2  x="1740" y="1330" id="2344" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2785" >
+<CONNECTOR type="115" id="2589" >
 <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="2548" />
-<P2  x="1920" y="1476" id="2550" />
+<P1  x="1920" y="1436" id="2352" />
+<P2  x="1920" y="1476" id="2354" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2786" >
+<CONNECTOR type="115" id="2590" >
 <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="2560" />
-<P2  x="1996" y="1538" id="2552" />
+<P1  x="1996" y="1518" id="2364" />
+<P2  x="1996" y="1538" id="2356" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2787" >
+<CONNECTOR type="115" id="2591" >
 <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="1933" />
-<P2  x="2101" y="1368" id="1915" />
+<P1  x="2036" y="1361" id="1737" />
+<P2  x="2101" y="1368" id="1719" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2788" >
+<CONNECTOR type="115" id="2592" >
 <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="1941" />
-<P2  x="1996" y="1336" id="1931" />
+<P1  x="1866" y="1284" id="1745" />
+<P2  x="1996" y="1336" id="1735" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2789" >
+<CONNECTOR type="115" id="2593" >
 <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="2640" />
-<P2  x="2340" y="1319" id="2642" />
+<P1  x="2341" y="1292" id="2444" />
+<P2  x="2340" y="1319" id="2446" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2790" >
+<CONNECTOR type="115" id="2594" >
 <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="2617" />
-<P2  x="2217" y="1478" id="2602" />
+<P1  x="2217" y="1449" id="2421" />
+<P2  x="2217" y="1478" id="2406" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2791" >
+<CONNECTOR type="115" id="2595" >
 <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="1926" />
-<P2  x="2278" y="1034" id="2651" />
+<P1  x="2277" y="1006" id="1730" />
+<P2  x="2278" y="1034" id="2455" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2792" >
+<CONNECTOR type="115" id="2596" >
 <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="2538" />
-<P2  x="1642" y="1463" id="2495" />
+<P1  x="1642" y="1429" id="2342" />
+<P2  x="1642" y="1463" id="2299" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2793" >
+<CONNECTOR type="115" id="2597" >
 <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="2450" />
-<P2  x="1529" y="1187" id="2653" />
+<P1  x="1529" y="1157" id="2254" />
+<P2  x="1529" y="1187" id="2457" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2794" >
+<CONNECTOR type="115" id="2598" >
 <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="2654" />
-<P2  x="1529" y="1249" id="1953" />
+<P1  x="1529" y="1217" id="2458" />
+<P2  x="1529" y="1249" id="1757" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2795" >
+<CONNECTOR type="115" id="2599" >
 <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="1948" />
-<P2  x="1641" y="1230" id="1977" />
+<P1  x="1691" y="1156" id="1752" />
+<P2  x="1641" y="1230" id="1781" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2600" >
+<cdparam x="1771" y="1156" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1771" y="1156" id="1753" />
+<P2  x="1826" y="1259" id="1743" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2601" >
+<cdparam x="1731" y="1111" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to choice" value="null" />
+<P1  x="1731" y="1111" id="2461" />
+<P2  x="1731" y="1131" id="1751" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1000" id="2603" >
+<cdparam x="159" y="66" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2602" />
+</COMPONENT>
+
+<COMPONENT type="1010" id="2606" >
+<cdparam x="138" y="129" />
+<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="2604" />
+<TGConnectingPoint num="1" id="2605" />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="2609" >
+<cdparam x="108" y="182" />
+<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="2607" />
+<TGConnectingPoint num="1" id="2608" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="2612" >
+<cdparam x="143" y="237" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="pTS() " />
+<TGConnectingPoint num="0" id="2610" />
+<TGConnectingPoint num="1" id="2611" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="2615" >
+<cdparam x="121" y="308" />
+<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="2613" />
+<TGConnectingPoint num="1" id="2614" />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="2632" >
+<cdparam x="376" y="98" />
+<sizeparam width="249" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="UML Note" value="The first two layers of the OSI model 
+are used to communicate between 
+the smart card and the terminal
+" />
+<TGConnectingPoint num="0" id="2616" />
+<TGConnectingPoint num="1" id="2617" />
+<TGConnectingPoint num="2" id="2618" />
+<TGConnectingPoint num="3" id="2619" />
+<TGConnectingPoint num="4" id="2620" />
+<TGConnectingPoint num="5" id="2621" />
+<TGConnectingPoint num="6" id="2622" />
+<TGConnectingPoint num="7" id="2623" />
+<TGConnectingPoint num="8" id="2624" />
+<TGConnectingPoint num="9" id="2625" />
+<TGConnectingPoint num="10" id="2626" />
+<TGConnectingPoint num="11" id="2627" />
+<TGConnectingPoint num="12" id="2628" />
+<TGConnectingPoint num="13" id="2629" />
+<TGConnectingPoint num="14" id="2630" />
+<TGConnectingPoint num="15" id="2631" />
+<extraparam>
+<Line value="The first two layers of the OSI model " />
+<Line value="are used to communicate between " />
+<Line value="the smart card and the terminal" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="2635" >
+<cdparam x="250" y="97" />
+<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="2633" />
+<TGConnectingPoint num="1" id="2634" />
+<extraparam>
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="2638" >
+<cdparam x="236" y="148" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_Application()" />
+<TGConnectingPoint num="0" id="2636" />
+<TGConnectingPoint num="1" id="2637" />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="2640" >
+<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="2639" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="2643" >
+<cdparam x="305" y="350" />
+<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="data_Ready_SC()" />
+<TGConnectingPoint num="0" id="2641" />
+<TGConnectingPoint num="1" id="2642" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="2645" >
+<cdparam x="352" y="426" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="2644" />
+</COMPONENT>
+
+<COMPONENT type="1009" id="2648" >
+<cdparam x="318" y="308" />
+<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromTtoP(1) " />
+<TGConnectingPoint num="0" id="2646" />
+<TGConnectingPoint num="1" id="2647" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="2651" >
+<cdparam x="335" y="264" />
+<sizeparam width="55" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="send() " />
+<TGConnectingPoint num="0" id="2649" />
+<TGConnectingPoint num="1" id="2650" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="2654" >
+<cdparam x="315" y="392" />
+<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromSCtoD(1)" />
+<TGConnectingPoint num="0" id="2652" />
+<TGConnectingPoint num="1" id="2653" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="2657" >
+<cdparam x="493" y="350" />
+<sizeparam width="65" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="receive()" />
+<TGConnectingPoint num="0" id="2655" />
+<TGConnectingPoint num="1" id="2656" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1009" id="2660" >
+<cdparam x="476" y="311" />
+<sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromDtoSC(1) " />
+<TGConnectingPoint num="0" id="2658" />
+<TGConnectingPoint num="1" id="2659" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="2663" >
+<cdparam x="483" y="387" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="2661" />
+<TGConnectingPoint num="1" id="2662" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="2666" >
+<cdparam x="477" y="268" />
+<sizeparam width="97" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="data_Ready() " />
+<TGConnectingPoint num="0" id="2664" />
+<TGConnectingPoint num="1" id="2665" />
+<breakpoint />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1014" id="2670" >
+<cdparam x="236" y="202" />
+<sizeparam width="124" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
+<TGConnectingPoint num="0" id="2667" />
+<TGConnectingPoint num="1" id="2668" />
+<TGConnectingPoint num="2" id="2669" />
+<extraparam>
+<Data init="j=0" condition="x==0" increment="j = j" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="2672" >
+<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="2671" />
+</COMPONENT>
+
+<COMPONENT type="1018" id="2683" >
+<cdparam x="424" y="226" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="2673" />
+<TGConnectingPoint num="1" id="2674" />
+<TGConnectingPoint num="2" id="2675" />
+<TGConnectingPoint num="3" id="2676" />
+<TGConnectingPoint num="4" id="2677" />
+<TGConnectingPoint num="5" id="2678" />
+<TGConnectingPoint num="6" id="2679" />
+<TGConnectingPoint num="7" id="2680" />
+<TGConnectingPoint num="8" id="2681" />
+<TGConnectingPoint num="9" id="2682" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="2688" >
+<cdparam x="111" y="331" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="166" y="333" id="2614" />
+<P2  x="298" y="92" id="2633" />
+<Point x="166" y="351" />
+<Point x="231" y="351" />
+<Point x="231" y="72" />
+<Point x="298" y="72" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2684" >
+<father id="2688" num="0" />
+<cdparam x="166" y="351" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2685" >
+<father id="2688" num="1" />
+<cdparam x="231" y="351" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2686" >
+<father id="2688" num="2" />
+<cdparam x="231" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="2687" >
+<father id="2688" num="3" />
+<cdparam x="298" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+
+<CONNECTOR type="115" id="2689" >
+<cdparam x="166" y="64" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to wait event" value="null" />
+<P1  x="166" y="86" id="2602" />
+<P2  x="166" y="124" id="2604" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2690" >
+<cdparam x="166" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="154" id="2605" />
+<P2  x="166" y="177" id="2607" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2691" >
+<cdparam x="312" y="133" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to send request" value="null" />
+<P1  x="298" y="122" id="2634" />
+<P2  x="298" y="143" id="2636" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2692" >
+<cdparam x="355" y="300" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="362" y="289" id="2650" />
+<P2  x="362" y="303" id="2646" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2693" >
+<cdparam x="355" y="365" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="362" y="333" id="2647" />
+<P2  x="362" y="345" id="2641" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2694" >
+<cdparam x="355" y="417" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="362" y="375" id="2642" />
+<P2  x="362" y="387" id="2652" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2695" >
+<cdparam x="355" y="473" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="362" y="417" id="2653" />
+<P2  x="362" y="421" id="2644" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2696" >
+<cdparam x="541" y="358" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="525" y="336" id="2659" />
+<P2  x="525" y="345" id="2655" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2697" >
+<cdparam x="540" y="402" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="525" y="375" id="2656" />
+<P2  x="525" y="382" id="2661" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="2698" >
+<cdparam x="543" y="305" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="525" y="293" id="2665" />
+<P2  x="525" y="306" id="2658" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2796" >
-<cdparam x="1771" y="1156" />
+<CONNECTOR type="115" id="2699" >
+<cdparam x="540" y="464" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1771" y="1156" id="1949" />
-<P2  x="1826" y="1259" id="1939" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="525" y="412" id="2662" />
+<P2  x="525" y="423" id="2639" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2797" >
-<cdparam x="1731" y="1111" />
+<CONNECTOR type="115" id="2700" >
+<cdparam x="298" y="173" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to choice" value="null" />
-<P1  x="1731" y="1111" id="2657" />
-<P2  x="1731" y="1131" id="1947" />
+<infoparam name="connector from send request to for loop" value="null" />
+<P1  x="298" y="173" id="2637" />
+<P2  x="298" y="197" id="2667" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="2805" >
-<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="2801" />
-<TGConnectingPoint num="1" id="2802" />
-<TGConnectingPoint num="2" id="2803" />
-<TGConnectingPoint num="3" id="2804" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="2798" >
-<father id="2805" 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="2799" >
-<father id="2805" 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="2800" >
-<father id="2805" 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="2807" >
-<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="2806" />
-</COMPONENT>
-
-<COMPONENT type="1001" id="2809" >
-<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="2808" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="2812" >
-<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="2810" />
-<TGConnectingPoint num="1" id="2811" />
-<extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="2815" >
-<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="2813" />
-<TGConnectingPoint num="1" id="2814" />
-<extraparam>
-<Data eventName="stop" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="2817" >
-<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="2816" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="2820" >
-<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="2818" />
-<TGConnectingPoint num="1" id="2819" />
-<extraparam>
-<Data eventName="stop" variable="x" />
-</extraparam>
-</COMPONENT>
-
-<CONNECTOR type="115" id="2821" >
-<cdparam x="427" y="324" />
+<CONNECTOR type="115" id="2701" >
+<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="2811" />
-<P2  x="427" y="362" id="2808" />
+<infoparam name="connector from for loop to stop state" value="null" />
+<P1  x="298" y="227" id="2669" />
+<P2  x="307" y="226" id="2671" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2822" >
-<cdparam x="622" y="325" />
+<CONNECTOR type="115" id="2702" >
+<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="2814" />
-<P2  x="622" y="360" id="2816" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="399" y="241" id="2674" />
+<P2  x="362" y="259" id="2649" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2823" >
-<cdparam x="524" y="107" />
+<CONNECTOR type="115" id="2703" >
+<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="2806" />
-<P2  x="524" y="145" id="2818" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="479" y="241" id="2675" />
+<P2  x="525" y="263" id="2664" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2824" >
-<cdparam x="524" y="175" />
+<CONNECTOR type="115" id="2704" >
+<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="2819" />
-<P2  x="524" y="212" id="2801" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="360" y="216" id="2668" />
+<P2  x="439" y="216" id="2673" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2825" >
-<cdparam x="484" y="237" />
+<CONNECTOR type="115" id="2705" >
+<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="2802" />
-<P2  x="427" y="294" id="2810" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="262" id="2611" />
+<P2  x="166" y="303" id="2613" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="2826" >
-<cdparam x="564" y="237" />
+<CONNECTOR type="115" id="2706" >
+<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="2803" />
-<P2  x="622" y="295" id="2813" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="166" y="207" id="2608" />
+<P2  x="166" y="232" id="2610" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -8486,134 +8486,134 @@ On prend b=1 comme exemple
 
 <Modeling type="TML Architecture" nameTab="Mapping1" >
 <TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1100" id="2896" >
+<COMPONENT type="1100" id="2776" >
 <cdparam x="51" y="90" />
 <sizeparam width="459" height="321" minWidth="150" minHeight="150" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="cpu0" value="name" />
-<TGConnectingPoint num="0" id="2872" />
-<TGConnectingPoint num="1" id="2873" />
-<TGConnectingPoint num="2" id="2874" />
-<TGConnectingPoint num="3" id="2875" />
-<TGConnectingPoint num="4" id="2876" />
-<TGConnectingPoint num="5" id="2877" />
-<TGConnectingPoint num="6" id="2878" />
-<TGConnectingPoint num="7" id="2879" />
-<TGConnectingPoint num="8" id="2880" />
-<TGConnectingPoint num="9" id="2881" />
-<TGConnectingPoint num="10" id="2882" />
-<TGConnectingPoint num="11" id="2883" />
-<TGConnectingPoint num="12" id="2884" />
-<TGConnectingPoint num="13" id="2885" />
-<TGConnectingPoint num="14" id="2886" />
-<TGConnectingPoint num="15" id="2887" />
-<TGConnectingPoint num="16" id="2888" />
-<TGConnectingPoint num="17" id="2889" />
-<TGConnectingPoint num="18" id="2890" />
-<TGConnectingPoint num="19" id="2891" />
-<TGConnectingPoint num="20" id="2892" />
-<TGConnectingPoint num="21" id="2893" />
-<TGConnectingPoint num="22" id="2894" />
-<TGConnectingPoint num="23" id="2895" />
+<TGConnectingPoint num="0" id="2752" />
+<TGConnectingPoint num="1" id="2753" />
+<TGConnectingPoint num="2" id="2754" />
+<TGConnectingPoint num="3" id="2755" />
+<TGConnectingPoint num="4" id="2756" />
+<TGConnectingPoint num="5" id="2757" />
+<TGConnectingPoint num="6" id="2758" />
+<TGConnectingPoint num="7" id="2759" />
+<TGConnectingPoint num="8" id="2760" />
+<TGConnectingPoint num="9" id="2761" />
+<TGConnectingPoint num="10" id="2762" />
+<TGConnectingPoint num="11" id="2763" />
+<TGConnectingPoint num="12" id="2764" />
+<TGConnectingPoint num="13" id="2765" />
+<TGConnectingPoint num="14" id="2766" />
+<TGConnectingPoint num="15" id="2767" />
+<TGConnectingPoint num="16" id="2768" />
+<TGConnectingPoint num="17" id="2769" />
+<TGConnectingPoint num="18" id="2770" />
+<TGConnectingPoint num="19" id="2771" />
+<TGConnectingPoint num="20" id="2772" />
+<TGConnectingPoint num="21" id="2773" />
+<TGConnectingPoint num="22" id="2774" />
+<TGConnectingPoint num="23" id="2775" />
 <extraparam>
 <info stereotype="CPURRPB" nodeName="cpu0" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="1"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="99"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2835" >
-<father id="2896" num="0" />
-<cdparam x="226" y="304" />
-<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2715" >
+<father id="2776" num="0" />
+<cdparam x="92" y="154" />
+<sizeparam width="172" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Timer" />
-<TGConnectingPoint num="0" id="2827" />
-<TGConnectingPoint num="1" id="2828" />
-<TGConnectingPoint num="2" id="2829" />
-<TGConnectingPoint num="3" id="2830" />
-<TGConnectingPoint num="4" id="2831" />
-<TGConnectingPoint num="5" id="2832" />
-<TGConnectingPoint num="6" id="2833" />
-<TGConnectingPoint num="7" id="2834" />
+<cdrectangleparam minX="0" maxX="287" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<TGConnectingPoint num="0" id="2707" />
+<TGConnectingPoint num="1" id="2708" />
+<TGConnectingPoint num="2" id="2709" />
+<TGConnectingPoint num="3" id="2710" />
+<TGConnectingPoint num="4" id="2711" />
+<TGConnectingPoint num="5" id="2712" />
+<TGConnectingPoint num="6" id="2713" />
+<TGConnectingPoint num="7" id="2714" />
 <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>
-<SUBCOMPONENT type="1101" id="2844" >
-<father id="2896" num="1" />
-<cdparam x="290" y="234" />
-<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2724" >
+<father id="2776" num="1" />
+<cdparam x="291" y="153" />
+<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="2836" />
-<TGConnectingPoint num="1" id="2837" />
-<TGConnectingPoint num="2" id="2838" />
-<TGConnectingPoint num="3" id="2839" />
-<TGConnectingPoint num="4" id="2840" />
-<TGConnectingPoint num="5" id="2841" />
-<TGConnectingPoint num="6" id="2842" />
-<TGConnectingPoint num="7" id="2843" />
+<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="2716" />
+<TGConnectingPoint num="1" id="2717" />
+<TGConnectingPoint num="2" id="2718" />
+<TGConnectingPoint num="3" id="2719" />
+<TGConnectingPoint num="4" id="2720" />
+<TGConnectingPoint num="5" id="2721" />
+<TGConnectingPoint num="6" id="2722" />
+<TGConnectingPoint num="7" id="2723" />
 <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="2853" >
-<father id="2896" num="2" />
+<SUBCOMPONENT type="1101" id="2733" >
+<father id="2776" num="2" />
 <cdparam x="96" y="246" />
 <sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
 <infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="2845" />
-<TGConnectingPoint num="1" id="2846" />
-<TGConnectingPoint num="2" id="2847" />
-<TGConnectingPoint num="3" id="2848" />
-<TGConnectingPoint num="4" id="2849" />
-<TGConnectingPoint num="5" id="2850" />
-<TGConnectingPoint num="6" id="2851" />
-<TGConnectingPoint num="7" id="2852" />
+<TGConnectingPoint num="0" id="2725" />
+<TGConnectingPoint num="1" id="2726" />
+<TGConnectingPoint num="2" id="2727" />
+<TGConnectingPoint num="3" id="2728" />
+<TGConnectingPoint num="4" id="2729" />
+<TGConnectingPoint num="5" id="2730" />
+<TGConnectingPoint num="6" id="2731" />
+<TGConnectingPoint num="7" id="2732" />
 <extraparam>
 <info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2862" >
-<father id="2896" num="3" />
-<cdparam x="291" y="153" />
-<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2742" >
+<father id="2776" num="3" />
+<cdparam x="290" y="234" />
+<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="2854" />
-<TGConnectingPoint num="1" id="2855" />
-<TGConnectingPoint num="2" id="2856" />
-<TGConnectingPoint num="3" id="2857" />
-<TGConnectingPoint num="4" id="2858" />
-<TGConnectingPoint num="5" id="2859" />
-<TGConnectingPoint num="6" id="2860" />
-<TGConnectingPoint num="7" id="2861" />
+<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
+<TGConnectingPoint num="0" id="2734" />
+<TGConnectingPoint num="1" id="2735" />
+<TGConnectingPoint num="2" id="2736" />
+<TGConnectingPoint num="3" id="2737" />
+<TGConnectingPoint num="4" id="2738" />
+<TGConnectingPoint num="5" id="2739" />
+<TGConnectingPoint num="6" id="2740" />
+<TGConnectingPoint num="7" id="2741" />
 <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="2871" >
-<father id="2896" num="4" />
-<cdparam x="92" y="154" />
-<sizeparam width="172" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2751" >
+<father id="2776" num="4" />
+<cdparam x="226" y="304" />
+<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="287" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="2863" />
-<TGConnectingPoint num="1" id="2864" />
-<TGConnectingPoint num="2" id="2865" />
-<TGConnectingPoint num="3" id="2866" />
-<TGConnectingPoint num="4" id="2867" />
-<TGConnectingPoint num="5" id="2868" />
-<TGConnectingPoint num="6" id="2869" />
-<TGConnectingPoint num="7" id="2870" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
+<TGConnectingPoint num="0" id="2743" />
+<TGConnectingPoint num="1" id="2744" />
+<TGConnectingPoint num="2" id="2745" />
+<TGConnectingPoint num="3" id="2746" />
+<TGConnectingPoint num="4" id="2747" />
+<TGConnectingPoint num="5" id="2748" />
+<TGConnectingPoint num="6" id="2749" />
+<TGConnectingPoint num="7" id="2750" />
 <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>
 
@@ -8627,320 +8627,320 @@ On prend b=1 comme exemple
 
 <Modeling type="TML Architecture" nameTab="Mapping2" >
 <TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1105" id="2921" >
+<COMPONENT type="1105" id="2801" >
 <cdparam x="420" y="527" />
 <sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Memory0" value="name" />
-<TGConnectingPoint num="0" id="2897" />
-<TGConnectingPoint num="1" id="2898" />
-<TGConnectingPoint num="2" id="2899" />
-<TGConnectingPoint num="3" id="2900" />
-<TGConnectingPoint num="4" id="2901" />
-<TGConnectingPoint num="5" id="2902" />
-<TGConnectingPoint num="6" id="2903" />
-<TGConnectingPoint num="7" id="2904" />
-<TGConnectingPoint num="8" id="2905" />
-<TGConnectingPoint num="9" id="2906" />
-<TGConnectingPoint num="10" id="2907" />
-<TGConnectingPoint num="11" id="2908" />
-<TGConnectingPoint num="12" id="2909" />
-<TGConnectingPoint num="13" id="2910" />
-<TGConnectingPoint num="14" id="2911" />
-<TGConnectingPoint num="15" id="2912" />
-<TGConnectingPoint num="16" id="2913" />
-<TGConnectingPoint num="17" id="2914" />
-<TGConnectingPoint num="18" id="2915" />
-<TGConnectingPoint num="19" id="2916" />
-<TGConnectingPoint num="20" id="2917" />
-<TGConnectingPoint num="21" id="2918" />
-<TGConnectingPoint num="22" id="2919" />
-<TGConnectingPoint num="23" id="2920" />
+<TGConnectingPoint num="0" id="2777" />
+<TGConnectingPoint num="1" id="2778" />
+<TGConnectingPoint num="2" id="2779" />
+<TGConnectingPoint num="3" id="2780" />
+<TGConnectingPoint num="4" id="2781" />
+<TGConnectingPoint num="5" id="2782" />
+<TGConnectingPoint num="6" id="2783" />
+<TGConnectingPoint num="7" id="2784" />
+<TGConnectingPoint num="8" id="2785" />
+<TGConnectingPoint num="9" id="2786" />
+<TGConnectingPoint num="10" id="2787" />
+<TGConnectingPoint num="11" id="2788" />
+<TGConnectingPoint num="12" id="2789" />
+<TGConnectingPoint num="13" id="2790" />
+<TGConnectingPoint num="14" id="2791" />
+<TGConnectingPoint num="15" id="2792" />
+<TGConnectingPoint num="16" id="2793" />
+<TGConnectingPoint num="17" id="2794" />
+<TGConnectingPoint num="18" id="2795" />
+<TGConnectingPoint num="19" id="2796" />
+<TGConnectingPoint num="20" id="2797" />
+<TGConnectingPoint num="21" id="2798" />
+<TGConnectingPoint num="22" id="2799" />
+<TGConnectingPoint num="23" id="2800" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="2946" >
+<COMPONENT type="1102" id="2826" >
 <cdparam x="389" y="438" />
 <sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Bus0" value="name" />
-<TGConnectingPoint num="0" id="2922" />
-<TGConnectingPoint num="1" id="2923" />
-<TGConnectingPoint num="2" id="2924" />
-<TGConnectingPoint num="3" id="2925" />
-<TGConnectingPoint num="4" id="2926" />
-<TGConnectingPoint num="5" id="2927" />
-<TGConnectingPoint num="6" id="2928" />
-<TGConnectingPoint num="7" id="2929" />
-<TGConnectingPoint num="8" id="2930" />
-<TGConnectingPoint num="9" id="2931" />
-<TGConnectingPoint num="10" id="2932" />
-<TGConnectingPoint num="11" id="2933" />
-<TGConnectingPoint num="12" id="2934" />
-<TGConnectingPoint num="13" id="2935" />
-<TGConnectingPoint num="14" id="2936" />
-<TGConnectingPoint num="15" id="2937" />
-<TGConnectingPoint num="16" id="2938" />
-<TGConnectingPoint num="17" id="2939" />
-<TGConnectingPoint num="18" id="2940" />
-<TGConnectingPoint num="19" id="2941" />
-<TGConnectingPoint num="20" id="2942" />
-<TGConnectingPoint num="21" id="2943" />
-<TGConnectingPoint num="22" id="2944" />
-<TGConnectingPoint num="23" id="2945" />
+<TGConnectingPoint num="0" id="2802" />
+<TGConnectingPoint num="1" id="2803" />
+<TGConnectingPoint num="2" id="2804" />
+<TGConnectingPoint num="3" id="2805" />
+<TGConnectingPoint num="4" id="2806" />
+<TGConnectingPoint num="5" id="2807" />
+<TGConnectingPoint num="6" id="2808" />
+<TGConnectingPoint num="7" id="2809" />
+<TGConnectingPoint num="8" id="2810" />
+<TGConnectingPoint num="9" id="2811" />
+<TGConnectingPoint num="10" id="2812" />
+<TGConnectingPoint num="11" id="2813" />
+<TGConnectingPoint num="12" id="2814" />
+<TGConnectingPoint num="13" id="2815" />
+<TGConnectingPoint num="14" id="2816" />
+<TGConnectingPoint num="15" id="2817" />
+<TGConnectingPoint num="16" id="2818" />
+<TGConnectingPoint num="17" id="2819" />
+<TGConnectingPoint num="18" id="2820" />
+<TGConnectingPoint num="19" id="2821" />
+<TGConnectingPoint num="20" id="2822" />
+<TGConnectingPoint num="21" id="2823" />
+<TGConnectingPoint num="22" id="2824" />
+<TGConnectingPoint num="23" id="2825" />
 <extraparam>
 <info stereotype="BUS" nodeName="Bus0" />
 <attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="2980" >
+<COMPONENT type="1100" id="2860" >
 <cdparam x="685" y="396" />
 <sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="CPU2" value="name" />
-<TGConnectingPoint num="0" id="2956" />
-<TGConnectingPoint num="1" id="2957" />
-<TGConnectingPoint num="2" id="2958" />
-<TGConnectingPoint num="3" id="2959" />
-<TGConnectingPoint num="4" id="2960" />
-<TGConnectingPoint num="5" id="2961" />
-<TGConnectingPoint num="6" id="2962" />
-<TGConnectingPoint num="7" id="2963" />
-<TGConnectingPoint num="8" id="2964" />
-<TGConnectingPoint num="9" id="2965" />
-<TGConnectingPoint num="10" id="2966" />
-<TGConnectingPoint num="11" id="2967" />
-<TGConnectingPoint num="12" id="2968" />
-<TGConnectingPoint num="13" id="2969" />
-<TGConnectingPoint num="14" id="2970" />
-<TGConnectingPoint num="15" id="2971" />
-<TGConnectingPoint num="16" id="2972" />
-<TGConnectingPoint num="17" id="2973" />
-<TGConnectingPoint num="18" id="2974" />
-<TGConnectingPoint num="19" id="2975" />
-<TGConnectingPoint num="20" id="2976" />
-<TGConnectingPoint num="21" id="2977" />
-<TGConnectingPoint num="22" id="2978" />
-<TGConnectingPoint num="23" id="2979" />
+<TGConnectingPoint num="0" id="2836" />
+<TGConnectingPoint num="1" id="2837" />
+<TGConnectingPoint num="2" id="2838" />
+<TGConnectingPoint num="3" id="2839" />
+<TGConnectingPoint num="4" id="2840" />
+<TGConnectingPoint num="5" id="2841" />
+<TGConnectingPoint num="6" id="2842" />
+<TGConnectingPoint num="7" id="2843" />
+<TGConnectingPoint num="8" id="2844" />
+<TGConnectingPoint num="9" id="2845" />
+<TGConnectingPoint num="10" id="2846" />
+<TGConnectingPoint num="11" id="2847" />
+<TGConnectingPoint num="12" id="2848" />
+<TGConnectingPoint num="13" id="2849" />
+<TGConnectingPoint num="14" id="2850" />
+<TGConnectingPoint num="15" id="2851" />
+<TGConnectingPoint num="16" id="2852" />
+<TGConnectingPoint num="17" id="2853" />
+<TGConnectingPoint num="18" id="2854" />
+<TGConnectingPoint num="19" id="2855" />
+<TGConnectingPoint num="20" id="2856" />
+<TGConnectingPoint num="21" id="2857" />
+<TGConnectingPoint num="22" id="2858" />
+<TGConnectingPoint num="23" id="2859" />
 <extraparam>
 <info stereotype="CPURR" nodeName="CPU2" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2955" >
-<father id="2980" num="0" />
+<SUBCOMPONENT type="1101" id="2835" >
+<father id="2860" num="0" />
 <cdparam x="715" y="448" />
 <sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="65" minY="0" maxY="95" />
 <infoparam name="TGComponent" value="AppC::Timer" />
-<TGConnectingPoint num="0" id="2947" />
-<TGConnectingPoint num="1" id="2948" />
-<TGConnectingPoint num="2" id="2949" />
-<TGConnectingPoint num="3" id="2950" />
-<TGConnectingPoint num="4" id="2951" />
-<TGConnectingPoint num="5" id="2952" />
-<TGConnectingPoint num="6" id="2953" />
-<TGConnectingPoint num="7" id="2954" />
+<TGConnectingPoint num="0" id="2827" />
+<TGConnectingPoint num="1" id="2828" />
+<TGConnectingPoint num="2" id="2829" />
+<TGConnectingPoint num="3" id="2830" />
+<TGConnectingPoint num="4" id="2831" />
+<TGConnectingPoint num="5" id="2832" />
+<TGConnectingPoint num="6" id="2833" />
+<TGConnectingPoint num="7" id="2834" />
 <extraparam>
 <info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="3014" >
+<COMPONENT type="1100" id="2894" >
 <cdparam x="167" y="400" />
 <sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="CPU1" value="name" />
-<TGConnectingPoint num="0" id="2990" />
-<TGConnectingPoint num="1" id="2991" />
-<TGConnectingPoint num="2" id="2992" />
-<TGConnectingPoint num="3" id="2993" />
-<TGConnectingPoint num="4" id="2994" />
-<TGConnectingPoint num="5" id="2995" />
-<TGConnectingPoint num="6" id="2996" />
-<TGConnectingPoint num="7" id="2997" />
-<TGConnectingPoint num="8" id="2998" />
-<TGConnectingPoint num="9" id="2999" />
-<TGConnectingPoint num="10" id="3000" />
-<TGConnectingPoint num="11" id="3001" />
-<TGConnectingPoint num="12" id="3002" />
-<TGConnectingPoint num="13" id="3003" />
-<TGConnectingPoint num="14" id="3004" />
-<TGConnectingPoint num="15" id="3005" />
-<TGConnectingPoint num="16" id="3006" />
-<TGConnectingPoint num="17" id="3007" />
-<TGConnectingPoint num="18" id="3008" />
-<TGConnectingPoint num="19" id="3009" />
-<TGConnectingPoint num="20" id="3010" />
-<TGConnectingPoint num="21" id="3011" />
-<TGConnectingPoint num="22" id="3012" />
-<TGConnectingPoint num="23" id="3013" />
+<TGConnectingPoint num="0" id="2870" />
+<TGConnectingPoint num="1" id="2871" />
+<TGConnectingPoint num="2" id="2872" />
+<TGConnectingPoint num="3" id="2873" />
+<TGConnectingPoint num="4" id="2874" />
+<TGConnectingPoint num="5" id="2875" />
+<TGConnectingPoint num="6" id="2876" />
+<TGConnectingPoint num="7" id="2877" />
+<TGConnectingPoint num="8" id="2878" />
+<TGConnectingPoint num="9" id="2879" />
+<TGConnectingPoint num="10" id="2880" />
+<TGConnectingPoint num="11" id="2881" />
+<TGConnectingPoint num="12" id="2882" />
+<TGConnectingPoint num="13" id="2883" />
+<TGConnectingPoint num="14" id="2884" />
+<TGConnectingPoint num="15" id="2885" />
+<TGConnectingPoint num="16" id="2886" />
+<TGConnectingPoint num="17" id="2887" />
+<TGConnectingPoint num="18" id="2888" />
+<TGConnectingPoint num="19" id="2889" />
+<TGConnectingPoint num="20" id="2890" />
+<TGConnectingPoint num="21" id="2891" />
+<TGConnectingPoint num="22" id="2892" />
+<TGConnectingPoint num="23" id="2893" />
 <extraparam>
 <info stereotype="CPURR" nodeName="CPU1" />
 <attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2989" >
-<father id="3014" num="0" />
-<cdparam x="167" y="445" />
-<sizeparam width="163" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2869" >
+<father id="2894" num="0" />
+<cdparam x="160" y="445" />
+<sizeparam width="172" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="2" minY="0" maxY="86" />
+<cdrectangleparam minX="0" maxX="-7" minY="0" maxY="86" />
 <infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="2981" />
-<TGConnectingPoint num="1" id="2982" />
-<TGConnectingPoint num="2" id="2983" />
-<TGConnectingPoint num="3" id="2984" />
-<TGConnectingPoint num="4" id="2985" />
-<TGConnectingPoint num="5" id="2986" />
-<TGConnectingPoint num="6" id="2987" />
-<TGConnectingPoint num="7" id="2988" />
+<TGConnectingPoint num="0" id="2861" />
+<TGConnectingPoint num="1" id="2862" />
+<TGConnectingPoint num="2" id="2863" />
+<TGConnectingPoint num="3" id="2864" />
+<TGConnectingPoint num="4" id="2865" />
+<TGConnectingPoint num="5" id="2866" />
+<TGConnectingPoint num="6" id="2867" />
+<TGConnectingPoint num="7" id="2868" />
 <extraparam>
 <info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="3066" >
+<COMPONENT type="1100" id="2946" >
 <cdparam x="389" y="243" />
 <sizeparam width="250" height="146" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="CPU0" value="name" />
-<TGConnectingPoint num="0" id="3042" />
-<TGConnectingPoint num="1" id="3043" />
-<TGConnectingPoint num="2" id="3044" />
-<TGConnectingPoint num="3" id="3045" />
-<TGConnectingPoint num="4" id="3046" />
-<TGConnectingPoint num="5" id="3047" />
-<TGConnectingPoint num="6" id="3048" />
-<TGConnectingPoint num="7" id="3049" />
-<TGConnectingPoint num="8" id="3050" />
-<TGConnectingPoint num="9" id="3051" />
-<TGConnectingPoint num="10" id="3052" />
-<TGConnectingPoint num="11" id="3053" />
-<TGConnectingPoint num="12" id="3054" />
-<TGConnectingPoint num="13" id="3055" />
-<TGConnectingPoint num="14" id="3056" />
-<TGConnectingPoint num="15" id="3057" />
-<TGConnectingPoint num="16" id="3058" />
-<TGConnectingPoint num="17" id="3059" />
-<TGConnectingPoint num="18" id="3060" />
-<TGConnectingPoint num="19" id="3061" />
-<TGConnectingPoint num="20" id="3062" />
-<TGConnectingPoint num="21" id="3063" />
-<TGConnectingPoint num="22" id="3064" />
-<TGConnectingPoint num="23" id="3065" />
+<TGConnectingPoint num="0" id="2922" />
+<TGConnectingPoint num="1" id="2923" />
+<TGConnectingPoint num="2" id="2924" />
+<TGConnectingPoint num="3" id="2925" />
+<TGConnectingPoint num="4" id="2926" />
+<TGConnectingPoint num="5" id="2927" />
+<TGConnectingPoint num="6" id="2928" />
+<TGConnectingPoint num="7" id="2929" />
+<TGConnectingPoint num="8" id="2930" />
+<TGConnectingPoint num="9" id="2931" />
+<TGConnectingPoint num="10" id="2932" />
+<TGConnectingPoint num="11" id="2933" />
+<TGConnectingPoint num="12" id="2934" />
+<TGConnectingPoint num="13" id="2935" />
+<TGConnectingPoint num="14" id="2936" />
+<TGConnectingPoint num="15" id="2937" />
+<TGConnectingPoint num="16" id="2938" />
+<TGConnectingPoint num="17" id="2939" />
+<TGConnectingPoint num="18" id="2940" />
+<TGConnectingPoint num="19" id="2941" />
+<TGConnectingPoint num="20" id="2942" />
+<TGConnectingPoint num="21" id="2943" />
+<TGConnectingPoint num="22" id="2944" />
+<TGConnectingPoint num="23" id="2945" />
 <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"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="3023" >
-<father id="3066" num="0" />
-<cdparam x="498" y="278" />
-<sizeparam width="136" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2903" >
+<father id="2946" num="0" />
+<cdparam x="398" y="277" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="114" minY="0" maxY="106" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="3015" />
-<TGConnectingPoint num="1" id="3016" />
-<TGConnectingPoint num="2" id="3017" />
-<TGConnectingPoint num="3" id="3018" />
-<TGConnectingPoint num="4" id="3019" />
-<TGConnectingPoint num="5" id="3020" />
-<TGConnectingPoint num="6" id="3021" />
-<TGConnectingPoint num="7" id="3022" />
+<cdrectangleparam minX="0" maxX="141" minY="0" maxY="106" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
+<TGConnectingPoint num="0" id="2895" />
+<TGConnectingPoint num="1" id="2896" />
+<TGConnectingPoint num="2" id="2897" />
+<TGConnectingPoint num="3" id="2898" />
+<TGConnectingPoint num="4" id="2899" />
+<TGConnectingPoint num="5" id="2900" />
+<TGConnectingPoint num="6" id="2901" />
+<TGConnectingPoint num="7" id="2902" />
 <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>
-<SUBCOMPONENT type="1101" id="3032" >
-<father id="3066" num="1" />
+<SUBCOMPONENT type="1101" id="2912" >
+<father id="2946" num="1" />
 <cdparam x="422" y="323" />
-<sizeparam width="139" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="144" 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" />
+<cdrectangleparam minX="0" maxX="106" minY="0" maxY="106" />
 <infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="3024" />
-<TGConnectingPoint num="1" id="3025" />
-<TGConnectingPoint num="2" id="3026" />
-<TGConnectingPoint num="3" id="3027" />
-<TGConnectingPoint num="4" id="3028" />
-<TGConnectingPoint num="5" id="3029" />
-<TGConnectingPoint num="6" id="3030" />
-<TGConnectingPoint num="7" id="3031" />
+<TGConnectingPoint num="0" id="2904" />
+<TGConnectingPoint num="1" id="2905" />
+<TGConnectingPoint num="2" id="2906" />
+<TGConnectingPoint num="3" id="2907" />
+<TGConnectingPoint num="4" id="2908" />
+<TGConnectingPoint num="5" id="2909" />
+<TGConnectingPoint num="6" id="2910" />
+<TGConnectingPoint num="7" id="2911" />
 <extraparam>
 <info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="3041" >
-<father id="3066" num="2" />
-<cdparam x="398" y="277" />
-<sizeparam width="108" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2921" >
+<father id="2946" num="2" />
+<cdparam x="498" y="278" />
+<sizeparam width="141" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="142" minY="0" maxY="106" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="3033" />
-<TGConnectingPoint num="1" id="3034" />
-<TGConnectingPoint num="2" id="3035" />
-<TGConnectingPoint num="3" id="3036" />
-<TGConnectingPoint num="4" id="3037" />
-<TGConnectingPoint num="5" id="3038" />
-<TGConnectingPoint num="6" id="3039" />
-<TGConnectingPoint num="7" id="3040" />
+<cdrectangleparam minX="0" maxX="109" minY="0" maxY="106" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="2913" />
+<TGConnectingPoint num="1" id="2914" />
+<TGConnectingPoint num="2" id="2915" />
+<TGConnectingPoint num="3" id="2916" />
+<TGConnectingPoint num="4" id="2917" />
+<TGConnectingPoint num="5" id="2918" />
+<TGConnectingPoint num="6" id="2919" />
+<TGConnectingPoint num="7" id="2920" />
 <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>
 
-<CONNECTOR type="125" id="3067" >
+<CONNECTOR type="125" id="2947" >
 <cdparam x="513" y="536" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Memory0 to Bus0" value="{info}" />
-<P1  x="514" y="527" id="2898" />
-<P2  x="514" y="488" id="2928" />
+<P1  x="514" y="527" id="2778" />
+<P2  x="514" y="488" id="2808" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="3068" >
+<CONNECTOR type="125" id="2948" >
 <cdparam x="301" y="469" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from CPU1 to Bus0" value="{info}" />
-<P1  x="332" y="463" id="2994" />
-<P2  x="389" y="463" id="2925" />
+<P1  x="332" y="463" id="2874" />
+<P2  x="389" y="463" id="2805" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="3069" >
+<CONNECTOR type="125" id="2949" >
 <cdparam x="773" y="479" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from CPU2 to Bus0" value="{info}" />
-<P1  x="685" y="463" id="2959" />
-<P2  x="639" y="463" id="2926" />
+<P1  x="685" y="463" id="2839" />
+<P2  x="639" y="463" id="2806" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="3070" >
+<CONNECTOR type="125" id="2950" >
 <cdparam x="499" y="331" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from CPU0 to Bus0" value="{info}" />
-<P1  x="514" y="389" id="3048" />
-<P2  x="514" y="438" id="2923" />
+<P1  x="514" y="389" id="2928" />
+<P2  x="514" y="438" id="2803" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
diff --git a/src/ui/DocumentationGenerator.java b/src/ui/DocumentationGenerator.java
index 9329d421f866f91c346a883433dd0cf62a53e601..f5d7076b253b87f09cb2a0bdb50c0bd423420024 100644
--- a/src/ui/DocumentationGenerator.java
+++ b/src/ui/DocumentationGenerator.java
@@ -70,8 +70,11 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
     private int firstHeadingNumber = 1;
     private static String title = "TTool project:";
     private String fileName = "doc.html";
+    private String fileNameSvg = "docsvg.html";
     private String texFileName = "doc.tex";
     private String texIncludeFileName = "diag.tex";
+    private String texFileNameSvg = "docsvg.tex";
+    private String texIncludeFileNameSvg = "diagsvg.tex";
     private String path;
     private String projectName;
 
@@ -83,8 +86,12 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
 
 
     private String doc;
+    private String docSvg;
     private String mainLatexDoc;
     private String includeLatexDoc;
+    private String mainLatexDocSvg;
+    private String includeLatexDocSvg;
+    
 
 
     public DocumentationGenerator(Vector _panels, JTabbedPane _mainTabbedPane, String _path, String _projectName) {
@@ -154,6 +161,7 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         int i,j;
         cpt = 0;
         BufferedImage image;
+	String svgImg;
         TURTLEPanel tp;
         TDiagramPanel tdp;
         File file1;
@@ -162,6 +170,8 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
 
 	mainLatexDoc = getLatexDocumentationHeader(projectName);
 	includeLatexDoc = getIncludeLatexDocumentationHeader(projectName);
+	mainLatexDocSvg = getLatexDocumentationHeaderSvg(projectName);
+	includeLatexDocSvg = getIncludeLatexDocumentationHeaderSvg(projectName);
 	
         doc = "";
         doc += "<html>\n";
@@ -171,6 +181,9 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         doc +="<center><h1>" + title + "</h1></center>\n";
         doc +="<center><b><h1>" + projectName + "</h1></b></center>\n<br><br>\n";
 
+	docSvg = doc;
+	
+
         for(i=0; i<panels.size(); i++) {
             tp = (TURTLEPanel)(panels.elementAt(i));
 
@@ -198,9 +211,11 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
 
 	    // HTML
             doc += "<br>\n<h" + firstHeadingNumber + ">" + tmp + "</h" + firstHeadingNumber + ">\n";
+	    docSvg += "<br>\n<h" + firstHeadingNumber + ">" + tmp + "</h" + firstHeadingNumber + ">\n";
 
 	    // Latex
 	    includeLatexDoc += "\\section{" + tmp + "}\n";
+	    includeLatexDocSvg += "\\section{" + tmp + "}\n";
 	    
             for(j=0; j<tp.panels.size(); j++) {
                 if (go == false) {
@@ -234,10 +249,12 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
                     tmp = "";
                 }
 
-		String imgName = path + "img_" + i + "_" + j + ".png";
+		String imgName = "img_" + i + "_" + j + ".png";
+		String imgNameSvg = "Vimg_" + i + "_" + j;
 		
 		// HTML
                 doc += "<h" + (firstHeadingNumber+1) + ">" + tmp + "</h" + (firstHeadingNumber+1) + ">\n";
+		docSvg += "<h" + (firstHeadingNumber+1) + ">" + tmp + "</h" + (firstHeadingNumber+1) + ">\n";
 
 		// Latex
 		includeLatexDoc += "\\subsection{" + tmp + "}\n";
@@ -246,14 +263,25 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
 		includeLatexDoc += "\\includegraphics[width=\\textwidth]{" + imgName + "}\n";
 		includeLatexDoc += "\\caption{Diagram \"" + tmp + "\"}\n\\label{fig:" + tmp + "}\n\\end{figure*}\n\n"; 
 
+		includeLatexDocSvg += "\\subsection{" + tmp + "}\n";
+		includeLatexDocSvg += "Figures \\ref{fig:" + tmp  + "} presents ...\n";
+		includeLatexDocSvg += "\\begin{figure*}[htb]\n\\centering\n";
+		includeLatexDocSvg += "\\includegraphics[width=\\textwidth]{" + imgNameSvg + "-svg.pdf}\n";
+		includeLatexDocSvg += "\\caption{Diagram \"" + tmp + "\"}\n\\label{fig:" + tmp + "}\n\\end{figure*}\n\n"; 
+		
 		// Capturing the diagram		
                 image = tdp.performMinimalCapture();
-                file1 = new File(imgName);
+		svgImg = tdp.svgCapture();
+                file1 = new File(path+imgName);
+		//file2 = new File(imgNameSvg);
                 //frame.paint(frame.getGraphics());
                 try {
                     // save captured image to PNG file
                     ImageIO.write(image, "png", file1);
-                    doc += "<center><img src=\"img_" + i + "_" + j + ".png\" align=\"middle\" title=\"" + tmp + "\"></center>\n";
+		    FileUtils.saveFile(path+imgNameSvg+".svg", svgImg);
+                    //doc += "<center><img src=\"img_" + i + "_" + j + ".png\" align=\"middle\" title=\"" + tmp + "\"></center>\n";
+		    doc += "<center><img src=\"img_" + i + "_" + j + ".png\" align=\"middle\" title=\"" + tmp + "\"></center>\n";
+		    docSvg += "<center><img src=\"img_" + i + "_" + j + ".svg\" align=\"middle\" title=\"" + tmp + "\"></center>\n";
                 } catch (Exception e) {
                     System.out.println("Image (" + i + ", " + j + ") could not be captured");
                 }
@@ -262,6 +290,7 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         }
 
         doc+="</body>\n</html>";
+	docSvg+="</body>\n</html>";
 
         try {
             FileUtils.saveFile(path+fileName, doc);	    
@@ -270,6 +299,13 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
             return false;
         }
 
+	try {
+            FileUtils.saveFile(path+fileNameSvg, docSvg);	    
+        } catch (FileException fe) {
+            System.out.println("HTML file with svg img could not be saved");
+            return false;
+        }
+
 	try {
             FileUtils.saveFile(path+texFileName, mainLatexDoc);	    
         } catch (FileException fe) {
@@ -280,10 +316,26 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
 	try {
             FileUtils.saveFile(path+texIncludeFileName, includeLatexDoc);	    
         } catch (FileException fe) {
-            System.out.println("Main latex file could not be saved");
+            System.out.println("Include latex file could not be saved");
             return false;
         }
 
+	
+	try {
+            FileUtils.saveFile(path+texFileNameSvg, mainLatexDocSvg);	    
+        } catch (FileException fe) {
+            System.out.println("Main latex svg file could not be saved");
+            return false;
+        }
+
+	try {
+            FileUtils.saveFile(path+texIncludeFileNameSvg, includeLatexDocSvg);	    
+        } catch (FileException fe) {
+            System.out.println("include latex svg file could not be saved");
+            return false;
+        }
+	
+
         finished = true;
 
         return true;
@@ -345,4 +397,39 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         return tmpdoc;
     }
 
+    public  String getLatexDocumentationHeaderSvg(String _projectName) {
+        GregorianCalendar calendar = (GregorianCalendar)GregorianCalendar.getInstance();
+        Date date = calendar.getTime();
+        SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy HH:mm");
+        String formattedDate = formatter.format(date);
+
+        String tmpdoc="";
+        tmpdoc += "%----- Automatically generated by TTool version ";
+        tmpdoc += DefaultText.getVersion();
+        tmpdoc += " generation date: " + formattedDate;
+        tmpdoc += "----\n";
+	tmpdoc += "% To be compiled as follows: make all. Relies on https://github.com/pacalet/mli.git\n";
+	tmpdoc += "\\documentclass[11pt,a4paper]{article}\n\n\\usepackage{graphicx}\n\n\\begin{document}\n";
+	tmpdoc += "\\title{" + projectName + "}\n";
+	tmpdoc += "\\date{\\today}\n";
+	tmpdoc += "\\maketitle\n\n";
+	tmpdoc += "\\input{"+texIncludeFileNameSvg+"}\n";
+	tmpdoc += "\\end{document}\n\n";
+        return tmpdoc;
+    }
+
+    public  String getIncludeLatexDocumentationHeaderSvg(String _projectName) {
+        GregorianCalendar calendar = (GregorianCalendar)GregorianCalendar.getInstance();
+        Date date = calendar.getTime();
+        SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy HH:mm");
+        String formattedDate = formatter.format(date);
+
+        String tmpdoc="";
+        tmpdoc += "%----- Automatically generated by TTool version ";
+        tmpdoc += DefaultText.getVersion();
+        tmpdoc += " generation date: " + formattedDate;
+        tmpdoc += "----\n\n";
+        return tmpdoc;
+    }
+
 }
diff --git a/src/ui/TDiagramPanel.java b/src/ui/TDiagramPanel.java
index 06e748abca5fc4347c5087c36b66f285118f2b8e..fda70e677782829f87aa379bcd0bc2ced310dc4e 100755
--- a/src/ui/TDiagramPanel.java
+++ b/src/ui/TDiagramPanel.java
@@ -3883,9 +3883,31 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
     }
 
     public String svgCapture() {
+	int w = this.getWidth();
+        int h = this.getHeight();
+	int x = getRealMinX();
+        int y = getRealMinY();
+        w = getRealMaxX() - x;
+        h = getRealMaxY() - y;
+        //TraceManager.addDev("x=" + x + " y=" + y + " w=" + w + " h=" + h + " getWidth = " + this.getWidth() + " getHeight = " + this.getHeight());
+        x = x - 5;
+        y = y -5;
+        w = w + 10;
+        h = h + 10;
+        w = Math.max(0, w);
+        h = Math.max(0, h);
+        x = Math.max(5, x);
+        y = Math.max(5, y);
+        w = Math.min(w, getWidth() - x);
+        h = Math.min(h, getHeight() - y);
+
+	
         StringBuffer sb = new StringBuffer("<?xml version=\"1.0\" standalone=\"no\"?>\n");
-        sb.append("<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n");
-        sb.append("<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n");
+        sb.append("<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n");	
+	//sb.append(" width=\"" + (w+x) + "\" height=\"" + (h+y) + "\" viewbox=\"" + x + " " + y + " " + w + " " + h + "\">\n");
+        sb.append("<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"");
+	sb.append(" width=\"" + (w+x) + "\" height=\"" + (h+y) + "\" viewbox=\"" + x + " " + y + " " + w + " " + h + "\">\n");
+
 
 
         SVGGraphics svgg = new SVGGraphics((Graphics2D)lastGraphics);