5 <component-name>?</component-name>
6 <interface-name>?</interface-name>
7 <node-name>GraphSwitch</node-name>
9 <coupled-node>?</coupled-node>
11 <service-name>GraphSwitch</service-name>
14 <inParameter-type>long</inParameter-type>
15 <inParameter-name>Switch\a</inParameter-name> </inParameter> </inParameter-list>
18 <outParameter-type>long</outParameter-type>
19 <outParameter-name>EndSwitch\a</outParameter-name> </outParameter> </outParameter-list> </service>
22 <creation-date>24/3/2003 - 15:32:28</creation-date>
23 <lastmodification-date>24/3/2003 - 15:35:29</lastmodification-date>
24 <editor-release>1.04</editor-release>
26 <container>?</container>
28 <x-position>0</x-position>
29 <y-position>0</y-position> </node> </info-list>
32 <component-name>?</component-name>
33 <interface-name>?</interface-name>
34 <node-name>IsOdd</node-name>
36 <coupled-node>?</coupled-node>
38 <service-name>IsOdd</service-name>
41 <inParameter-type>long</inParameter-type>
42 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
45 <outParameter-type>long</outParameter-type>
46 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
50 <FuncName>IsOdd</FuncName>
51 <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
52 <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
53 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
54 <creation-date>24/3/2003 - 15:34:50</creation-date>
55 <lastmodification-date>24/3/2003 - 15:34:50</lastmodification-date>
56 <editor-release>1.04</editor-release>
58 <container>?</container>
59 <comment>Python function</comment>
60 <x-position>296</x-position>
61 <y-position>249</y-position> </node>
63 <component-name>?</component-name>
64 <interface-name>?</interface-name>
65 <node-name>Switch</node-name>
67 <coupled-node>EndSwitch</coupled-node>
69 <service-name>Switch</service-name>
72 <inParameter-type>long</inParameter-type>
73 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
76 <outParameter-type>long</outParameter-type>
77 <outParameter-name>Odd</outParameter-name> </outParameter>
79 <outParameter-type>long</outParameter-type>
80 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
84 <FuncName>Switch</FuncName>
85 <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
86 <PyFunc><![CDATA[ return a & 1,a ]]></PyFunc> </PyFunction> </PyFunction-list>
87 <creation-date>24/3/2003 - 15:34:50</creation-date>
88 <lastmodification-date>24/3/2003 - 15:34:50</lastmodification-date>
89 <editor-release>1.04</editor-release>
91 <container>?</container>
93 <x-position>25</x-position>
94 <y-position>94</y-position> </node>
96 <component-name>?</component-name>
97 <interface-name>?</interface-name>
98 <node-name>EndSwitch</node-name>
100 <coupled-node>Switch</coupled-node>
102 <service-name>EndSwitch</service-name>
105 <inParameter-type>long</inParameter-type>
106 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
109 <outParameter-type>long</outParameter-type>
110 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
113 <PyFunction/> </PyFunction-list>
114 <creation-date>24/3/2003 - 15:34:50</creation-date>
115 <lastmodification-date>24/3/2003 - 15:34:50</lastmodification-date>
116 <editor-release>1.04</editor-release>
118 <container>?</container>
120 <x-position>569</x-position>
121 <y-position>94</y-position> </node> </node-list>
124 <fromnode-name>IsOdd</fromnode-name>
125 <fromserviceparameter-name>a</fromserviceparameter-name>
126 <tonode-name>EndSwitch</tonode-name>
127 <toserviceparameter-name>a</toserviceparameter-name>
128 <coord-list/> </link>
130 <fromnode-name>Switch</fromnode-name>
131 <fromserviceparameter-name>Default</fromserviceparameter-name>
132 <tonode-name>EndSwitch</tonode-name>
133 <toserviceparameter-name>Default</toserviceparameter-name>
134 <coord-list/> </link>
136 <fromnode-name>Switch</fromnode-name>
137 <fromserviceparameter-name>Odd</fromserviceparameter-name>
138 <tonode-name>IsOdd</tonode-name>
139 <toserviceparameter-name>InGate</toserviceparameter-name>
149 <y>157</y> </coord> </coord-list> </link>
151 <fromnode-name>Switch</fromnode-name>
152 <fromserviceparameter-name>a</fromserviceparameter-name>
153 <tonode-name>IsOdd</tonode-name>
154 <toserviceparameter-name>a</toserviceparameter-name>
161 <y>186</y> </coord> </coord-list> </link> </link-list>
164 <fromnode-name>GraphSwitch</fromnode-name>
165 <fromserviceparameter-name>Switch\a</fromserviceparameter-name>
166 <tonode-name>Switch</tonode-name>
167 <toserviceparameter-name>a</toserviceparameter-name>
169 <value-type>3</value-type>
170 <value>2</value> </data-value>
171 <coord-list/> </data> </data-list></dataflow>