5 <component-name>?</component-name>
6 <interface-name>?</interface-name>
7 <node-name>GraphSyrControlDefault</node-name>
9 <coupled-node>?</coupled-node>
11 <service-name>GraphSyrControlDefault</service-name>
14 <inParameter-type>long</inParameter-type>
15 <inParameter-name>label_begin\NB</inParameter-name> </inParameter>
17 <inParameter-type>long</inParameter-type>
18 <inParameter-name>label_begin\KB</inParameter-name> </inParameter> </inParameter-list>
21 <outParameter-type>long</outParameter-type>
22 <outParameter-name>EndSwitch_OneEven\K</outParameter-name> </outParameter> </outParameter-list> </service>
25 <creation-date>19/3/2003 - 16:49:51</creation-date>
26 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
27 <editor-release>1.04</editor-release>
29 <container>?</container>
30 <comment>Syracuse algorithm</comment>
31 <x-position>0</x-position>
32 <y-position>0</y-position> </node> </info-list>
35 <component-name>SyrComponent</component-name>
36 <interface-name>SyrComponent</interface-name>
37 <node-name>test_ISEVEN</node-name>
39 <coupled-node>?</coupled-node>
41 <service-name>C_ISEVEN</service-name>
44 <inParameter-type>long</inParameter-type>
45 <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
48 <outParameter-type>long</outParameter-type>
49 <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
52 <creation-date>18/3/2004 - 13:59:54</creation-date>
53 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
54 <editor-release>1.04</editor-release>
56 <container>localhost/FactoryServer</container>
57 <comment>C_ISEVEN from SyrComponent</comment>
58 <x-position>204</x-position>
59 <y-position>444</y-position> </node>
61 <component-name>SyrComponent</component-name>
62 <interface-name>SyrComponent</interface-name>
63 <node-name>test_ISONE</node-name>
65 <coupled-node>?</coupled-node>
67 <service-name>C_ISONE</service-name>
70 <inParameter-type>long</inParameter-type>
71 <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
74 <outParameter-type>long</outParameter-type>
75 <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
78 <creation-date>18/3/2004 - 13:59:54</creation-date>
79 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
80 <editor-release>1.04</editor-release>
82 <container>localhost/FactoryServer</container>
83 <comment>C_ISONE from SyrComponent</comment>
84 <x-position>201</x-position>
85 <y-position>52</y-position> </node>
87 <component-name>SyrComponent</component-name>
88 <interface-name>SyrComponent</interface-name>
89 <node-name>m3p1</node-name>
91 <coupled-node>?</coupled-node>
93 <service-name>C_M3P1</service-name>
96 <inParameter-type>long</inParameter-type>
97 <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
100 <outParameter-type>long</outParameter-type>
101 <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
104 <creation-date>18/3/2004 - 13:59:54</creation-date>
105 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
106 <editor-release>1.04</editor-release>
108 <container>localhost/FactoryServer</container>
109 <comment>C_M3P1 from SyrComponent</comment>
110 <x-position>806</x-position>
111 <y-position>19</y-position> </node>
113 <component-name>SyrComponent</component-name>
114 <interface-name>SyrComponent</interface-name>
115 <node-name>div2</node-name>
117 <coupled-node>?</coupled-node>
119 <service-name>C_DIV2</service-name>
122 <inParameter-type>long</inParameter-type>
123 <inParameter-name>anEvenInteger</inParameter-name> </inParameter> </inParameter-list>
126 <outParameter-type>long</outParameter-type>
127 <outParameter-name>anInteger</outParameter-name> </outParameter> </outParameter-list> </service>
130 <creation-date>18/3/2004 - 13:59:54</creation-date>
131 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
132 <editor-release>1.04</editor-release>
134 <container>localhost/FactoryServer</container>
135 <comment>C_DIV2 from SyrComponent</comment>
136 <x-position>803</x-position>
137 <y-position>451</y-position> </node>
139 <component-name>SyrComponent</component-name>
140 <interface-name>SyrComponent</interface-name>
141 <node-name>incr</node-name>
143 <coupled-node>?</coupled-node>
145 <service-name>C_INCR</service-name>
148 <inParameter-type>long</inParameter-type>
149 <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
152 <outParameter-type>long</outParameter-type>
153 <outParameter-name>aNewCount</outParameter-name> </outParameter> </outParameter-list> </service>
156 <creation-date>18/3/2004 - 13:59:54</creation-date>
157 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
158 <editor-release>1.04</editor-release>
160 <container>localhost/FactoryServer</container>
161 <comment>C_INCR from SyrComponent</comment>
162 <x-position>802</x-position>
163 <y-position>170</y-position> </node>
165 <component-name>?</component-name>
166 <interface-name>?</interface-name>
167 <node-name>label_begin</node-name>
169 <coupled-node>?</coupled-node>
171 <service-name>label_begin</service-name>
174 <inParameter-type>long</inParameter-type>
175 <inParameter-name>NB</inParameter-name> </inParameter>
177 <inParameter-type>long</inParameter-type>
178 <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
181 <outParameter-type>long</outParameter-type>
182 <outParameter-name>NT</outParameter-name> </outParameter>
184 <outParameter-type>long</outParameter-type>
185 <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
189 <FuncName>label_begin</FuncName>
190 <PyFunc><![CDATA[def label_begin( NB , KB ):]]></PyFunc>
191 <PyFunc><![CDATA[ print "label_begin",NB,KB]]></PyFunc>
192 <PyFunc><![CDATA[ return NB,KB]]></PyFunc> </PyFunction> </PyFunction-list>
193 <creation-date>18/3/2004 - 13:59:54</creation-date>
194 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
195 <editor-release>1.04</editor-release>
197 <container>?</container>
198 <comment>Python function</comment>
199 <x-position>12</x-position>
200 <y-position>264</y-position> </node>
202 <component-name>?</component-name>
203 <interface-name>?</interface-name>
204 <node-name>label_test</node-name>
206 <coupled-node>?</coupled-node>
208 <service-name>label_test</service-name>
211 <inParameter-type>long</inParameter-type>
212 <inParameter-name>ValEven</inParameter-name> </inParameter>
214 <inParameter-type>long</inParameter-type>
215 <inParameter-name>ValOne</inParameter-name> </inParameter>
217 <inParameter-type>long</inParameter-type>
218 <inParameter-name>NT</inParameter-name> </inParameter>
220 <inParameter-type>long</inParameter-type>
221 <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
224 <outParameter-type>long</outParameter-type>
225 <outParameter-name>ValEven</outParameter-name> </outParameter>
227 <outParameter-type>long</outParameter-type>
228 <outParameter-name>ValOne</outParameter-name> </outParameter>
230 <outParameter-type>long</outParameter-type>
231 <outParameter-name>NT</outParameter-name> </outParameter>
233 <outParameter-type>long</outParameter-type>
234 <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
238 <FuncName>label_test</FuncName>
239 <PyFunc><![CDATA[def label_test( ValEven , ValOne , NB , KB ):]]></PyFunc>
240 <PyFunc><![CDATA[ print "label_begin",ValEven,ValOne,NB,KB]]></PyFunc>
241 <PyFunc><![CDATA[ return ValEven,ValOne,NB,KB]]></PyFunc> </PyFunction> </PyFunction-list>
242 <creation-date>18/3/2004 - 13:59:54</creation-date>
243 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
244 <editor-release>1.04</editor-release>
246 <container>?</container>
247 <comment>Python function</comment>
248 <x-position>415</x-position>
249 <y-position>206</y-position> </node>
251 <component-name>?</component-name>
252 <interface-name>?</interface-name>
253 <node-name>test</node-name>
255 <coupled-node>EndSwitch_OneEven</coupled-node>
257 <service-name>test</service-name>
260 <inParameter-type>long</inParameter-type>
261 <inParameter-name>ValOne</inParameter-name> </inParameter>
263 <inParameter-type>long</inParameter-type>
264 <inParameter-name>ValEven</inParameter-name> </inParameter>
266 <inParameter-type>long</inParameter-type>
267 <inParameter-name>NT</inParameter-name> </inParameter>
269 <inParameter-type>long</inParameter-type>
270 <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
273 <outParameter-type>long</outParameter-type>
274 <outParameter-name>Incr</outParameter-name> </outParameter>
276 <outParameter-type>long</outParameter-type>
277 <outParameter-name>Even</outParameter-name> </outParameter>
279 <outParameter-type>long</outParameter-type>
280 <outParameter-name>Odd</outParameter-name> </outParameter>
282 <outParameter-type>long</outParameter-type>
283 <outParameter-name>N</outParameter-name> </outParameter>
285 <outParameter-type>long</outParameter-type>
286 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
290 <FuncName>Switch_OneEven</FuncName>
291 <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
292 <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
293 <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
294 <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
295 <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
296 <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
297 <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
298 <PyFunc><![CDATA[ else :]]></PyFunc>
299 <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
300 <PyFunc><![CDATA[ else :]]></PyFunc>
301 <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
302 <PyFunc><![CDATA[ Even = 0]]></PyFunc>
303 <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
304 <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
305 <PyFunc><![CDATA[ return Incr,Even,Odd,NT,KT]]></PyFunc> </PyFunction> </PyFunction-list>
306 <creation-date>18/3/2004 - 13:59:54</creation-date>
307 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
308 <editor-release>1.04</editor-release>
310 <container>?</container>
312 <x-position>597</x-position>
313 <y-position>251</y-position> </node>
315 <component-name>?</component-name>
316 <interface-name>?</interface-name>
317 <node-name>EndSwitch_OneEven</node-name>
319 <coupled-node>test</coupled-node>
321 <service-name>EndSwitch_OneEven</service-name>
324 <inParameter-type>long</inParameter-type>
325 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
328 <outParameter-type>long</outParameter-type>
329 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
333 <FuncName>?</FuncName>
334 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
335 <creation-date>18/3/2004 - 13:59:54</creation-date>
336 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
337 <editor-release>1.04</editor-release>
339 <container>?</container>
341 <x-position>1074</x-position>
342 <y-position>367</y-position> </node>
344 <component-name>?</component-name>
345 <interface-name>?</interface-name>
346 <node-name>control_m3p1</node-name>
348 <coupled-node>label_test</coupled-node>
350 <service-name>control_m3p1</service-name>
353 <inParameter-type>long</inParameter-type>
354 <inParameter-name>N</inParameter-name> </inParameter>
356 <inParameter-type>long</inParameter-type>
357 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
360 <outParameter-type>long</outParameter-type>
361 <outParameter-name>ValOne</outParameter-name> </outParameter>
363 <outParameter-type>long</outParameter-type>
364 <outParameter-name>ValEven</outParameter-name> </outParameter>
366 <outParameter-type>long</outParameter-type>
367 <outParameter-name>NT</outParameter-name> </outParameter>
369 <outParameter-type>long</outParameter-type>
370 <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
374 <FuncName>control_m3p1</FuncName>
375 <PyFunc><![CDATA[def control_m3p1( N , K ):]]></PyFunc>
376 <PyFunc><![CDATA[ return 0,1,N,K]]></PyFunc> </PyFunction> </PyFunction-list>
377 <creation-date>18/3/2004 - 13:59:54</creation-date>
378 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
379 <editor-release>1.04</editor-release>
381 <container>?</container>
383 <x-position>1002</x-position>
384 <y-position>64</y-position> </node>
386 <component-name>?</component-name>
387 <interface-name>?</interface-name>
388 <node-name>control_div2</node-name>
390 <coupled-node>label_begin</coupled-node>
392 <service-name>control_div2</service-name>
395 <inParameter-type>long</inParameter-type>
396 <inParameter-name>N</inParameter-name> </inParameter>
398 <inParameter-type>long</inParameter-type>
399 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
402 <outParameter-type>long</outParameter-type>
403 <outParameter-name>NB</outParameter-name> </outParameter>
405 <outParameter-type>long</outParameter-type>
406 <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
410 <FuncName>control_div2</FuncName>
411 <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
412 <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
413 <creation-date>18/3/2004 - 13:59:54</creation-date>
414 <lastmodification-date>18/3/2004 - 13:59:54</lastmodification-date>
415 <editor-release>1.04</editor-release>
417 <container>?</container>
419 <x-position>1013</x-position>
420 <y-position>496</y-position> </node> </node-list>
423 <fromnode-name>test_ISEVEN</fromnode-name>
424 <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
425 <tonode-name>label_test</tonode-name>
426 <toserviceparameter-name>ValEven</toserviceparameter-name>
433 <y>524</y> </coord> </coord-list> </link>
435 <fromnode-name>test_ISONE</fromnode-name>
436 <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
437 <tonode-name>label_test</tonode-name>
438 <toserviceparameter-name>ValOne</toserviceparameter-name>
445 <y>133</y> </coord> </coord-list> </link>
447 <fromnode-name>m3p1</fromnode-name>
448 <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
449 <tonode-name>control_m3p1</tonode-name>
450 <toserviceparameter-name>N</toserviceparameter-name>
451 <coord-list/> </link>
453 <fromnode-name>div2</fromnode-name>
454 <fromserviceparameter-name>anInteger</fromserviceparameter-name>
455 <tonode-name>control_div2</tonode-name>
456 <toserviceparameter-name>N</toserviceparameter-name>
457 <coord-list/> </link>
459 <fromnode-name>incr</fromnode-name>
460 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
461 <tonode-name>control_m3p1</tonode-name>
462 <toserviceparameter-name>K</toserviceparameter-name>
469 <y>250</y> </coord> </coord-list> </link>
471 <fromnode-name>incr</fromnode-name>
472 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
473 <tonode-name>control_div2</tonode-name>
474 <toserviceparameter-name>K</toserviceparameter-name>
481 <y>250</y> </coord> </coord-list> </link>
483 <fromnode-name>label_begin</fromnode-name>
484 <fromserviceparameter-name>NT</fromserviceparameter-name>
485 <tonode-name>label_test</tonode-name>
486 <toserviceparameter-name>NT</toserviceparameter-name>
487 <coord-list/> </link>
489 <fromnode-name>label_begin</fromnode-name>
490 <fromserviceparameter-name>NT</fromserviceparameter-name>
491 <tonode-name>test_ISEVEN</tonode-name>
492 <toserviceparameter-name>anInteger</toserviceparameter-name>
499 <y>345</y> </coord> </coord-list> </link>
501 <fromnode-name>label_begin</fromnode-name>
502 <fromserviceparameter-name>NT</fromserviceparameter-name>
503 <tonode-name>test_ISONE</tonode-name>
504 <toserviceparameter-name>anInteger</toserviceparameter-name>
511 <y>345</y> </coord> </coord-list> </link>
513 <fromnode-name>label_begin</fromnode-name>
514 <fromserviceparameter-name>KT</fromserviceparameter-name>
515 <tonode-name>label_test</tonode-name>
516 <toserviceparameter-name>KT</toserviceparameter-name>
517 <coord-list/> </link>
519 <fromnode-name>label_test</fromnode-name>
520 <fromserviceparameter-name>ValEven</fromserviceparameter-name>
521 <tonode-name>test</tonode-name>
522 <toserviceparameter-name>ValEven</toserviceparameter-name>
523 <coord-list/> </link>
525 <fromnode-name>label_test</fromnode-name>
526 <fromserviceparameter-name>ValOne</fromserviceparameter-name>
527 <tonode-name>test</tonode-name>
528 <toserviceparameter-name>ValOne</toserviceparameter-name>
529 <coord-list/> </link>
531 <fromnode-name>label_test</fromnode-name>
532 <fromserviceparameter-name>NT</fromserviceparameter-name>
533 <tonode-name>test</tonode-name>
534 <toserviceparameter-name>NT</toserviceparameter-name>
535 <coord-list/> </link>
537 <fromnode-name>label_test</fromnode-name>
538 <fromserviceparameter-name>KT</fromserviceparameter-name>
539 <tonode-name>test</tonode-name>
540 <toserviceparameter-name>KT</toserviceparameter-name>
541 <coord-list/> </link>
543 <fromnode-name>test</fromnode-name>
544 <fromserviceparameter-name>Incr</fromserviceparameter-name>
545 <tonode-name>incr</tonode-name>
546 <toserviceparameter-name>InGate</toserviceparameter-name>
547 <coord-list/> </link>
549 <fromnode-name>test</fromnode-name>
550 <fromserviceparameter-name>Even</fromserviceparameter-name>
551 <tonode-name>div2</tonode-name>
552 <toserviceparameter-name>InGate</toserviceparameter-name>
559 <y>314</y> </coord> </coord-list> </link>
561 <fromnode-name>test</fromnode-name>
562 <fromserviceparameter-name>Odd</fromserviceparameter-name>
563 <tonode-name>m3p1</tonode-name>
564 <toserviceparameter-name>InGate</toserviceparameter-name>
571 <y>343</y> </coord> </coord-list> </link>
573 <fromnode-name>test</fromnode-name>
574 <fromserviceparameter-name>N</fromserviceparameter-name>
575 <tonode-name>m3p1</tonode-name>
576 <toserviceparameter-name>anOddInteger</toserviceparameter-name>
583 <y>371</y> </coord> </coord-list> </link>
585 <fromnode-name>test</fromnode-name>
586 <fromserviceparameter-name>N</fromserviceparameter-name>
587 <tonode-name>div2</tonode-name>
588 <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
595 <y>371</y> </coord> </coord-list> </link>
597 <fromnode-name>test</fromnode-name>
598 <fromserviceparameter-name>K</fromserviceparameter-name>
599 <tonode-name>EndSwitch_OneEven</tonode-name>
600 <toserviceparameter-name>K</toserviceparameter-name>
601 <coord-list/> </link>
603 <fromnode-name>test</fromnode-name>
604 <fromserviceparameter-name>K</fromserviceparameter-name>
605 <tonode-name>incr</tonode-name>
606 <toserviceparameter-name>aCount</toserviceparameter-name>
613 <y>400</y> </coord> </coord-list> </link>
615 <fromnode-name>test</fromnode-name>
616 <fromserviceparameter-name>Default</fromserviceparameter-name>
617 <tonode-name>EndSwitch_OneEven</tonode-name>
618 <toserviceparameter-name>Default</toserviceparameter-name>
619 <coord-list/> </link>
621 <fromnode-name>control_m3p1</fromnode-name>
622 <fromserviceparameter-name>OutGate</fromserviceparameter-name>
623 <tonode-name>label_test</tonode-name>
624 <toserviceparameter-name>InGate</toserviceparameter-name>
637 <y>219</y> </coord> </coord-list> </link>
639 <fromnode-name>control_div2</fromnode-name>
640 <fromserviceparameter-name>OutGate</fromserviceparameter-name>
641 <tonode-name>label_begin</tonode-name>
642 <toserviceparameter-name>InGate</toserviceparameter-name>
655 <y>592</y> </coord> </coord-list> </link> </link-list>
658 <fromnode-name>GraphSyrControlDefault</fromnode-name>
659 <fromserviceparameter-name>label_begin\NB</fromserviceparameter-name>
660 <tonode-name>label_begin</tonode-name>
661 <toserviceparameter-name>NB</toserviceparameter-name>
663 <value-type>3</value-type>
664 <value>7</value> </data-value>
665 <coord-list/> </data>
667 <fromnode-name>GraphSyrControlDefault</fromnode-name>
668 <fromserviceparameter-name>label_begin\KB</fromserviceparameter-name>
669 <tonode-name>label_begin</tonode-name>
670 <toserviceparameter-name>KB</toserviceparameter-name>
672 <value-type>3</value-type>
673 <value>0</value> </data-value>
674 <coord-list/> </data> </data-list></dataflow>