]> SALOME platform Git repositories - modules/superv.git/blob - examples/dataflow_calculator_example.xml
Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/superv.git] / examples / dataflow_calculator_example.xml
1 <?xml version='1.0' encoding='us-ascii' ?>
2
3 <!-- XML Dataflow -->
4
5 <!-- Dataflow information -->
6 <dataflow>
7         <info-list>
8                 <node>
9                         <component-name>?</component-name>
10                         <interface-name>?</interface-name>
11                         <node-name>CalculatorDataflow</node-name>
12                         <kind>1</kind>
13                         <service>
14                                 <service-name>CalculatorDataflow</service-name>
15                                 <inParameter-list>
16                                         <inParameter>
17                                                 <inParameter-type>FIELDDOUBLE</inParameter-type>
18
19 <inParameter-name>Constant\field1</inParameter-name>
20                                         </inParameter>
21                                         <inParameter>
22                                                 <inParameter-type>double</inParameter-type>
23                                                 <inParameter-name>Constant\x1</inParameter-name>
24                                         </inParameter>
25                                         <inParameter>
26                                                 <inParameter-type>FIELDDOUBLE</inParameter-type>
27                                                 <inParameter-name>Mul\field1</inParameter-name>
28                                         </inParameter>
29                                         <inParameter>
30                                                 <inParameter-type>double</inParameter-type>
31                                                 <inParameter-name>Mul\x1</inParameter-name>
32                                         </inParameter>
33                                         <inParameter>
34
35 <inParameter-type>FieldNodeDouble</inParameter-type>
36
37 <inParameter-name>writeMEDfile\field1</inParameter-name>
38                                         </inParameter>
39                                         <inParameter>
40                                                 <inParameter-type>string</inParameter-type>
41
42 <inParameter-name>writeMEDfile\filename</inParameter-name>
43                                         </inParameter>
44                                         <inParameter>
45                                                 <inParameter-type>string</inParameter-type>
46
47 <inParameter-name>writeMEDfile_1\filename</inParameter-name>
48                                         </inParameter>
49                                 </inParameter-list>
50                                 <outParameter-list>
51                                 </outParameter-list>
52                         </service>
53                         <creation-date>22/11/2002 - 14:38:49</creation-date>
54                         <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
55                         <editor-release>1.03</editor-release>
56                         <author>?</author>
57                         <container>FactoryServer</container>
58                         <comment>?</comment>
59                         <x-position>0</x-position>
60                         <y-position>0</y-position>
61                 </node>
62         </info-list>
63
64         <node-list>
65                 <node>
66                         <component-name>Calculator</component-name>
67                         <interface-name>Calculator</interface-name>
68                         <node-name>Constant</node-name>
69                         <kind>0</kind>
70                         <service>
71                                 <service-name>Constant</service-name>
72                                 <inParameter-list>
73                                         <inParameter>
74                                                 <inParameter-type>FIELDDOUBLE</inParameter-type>
75                                                 <inParameter-name>field1</inParameter-name>
76                                         </inParameter>
77                                         <inParameter>
78                                                 <inParameter-type>double</inParameter-type>
79                                                 <inParameter-name>x1</inParameter-name>
80                                         </inParameter>
81                                 </inParameter-list>
82                                 <outParameter-list>
83                                         <outParameter>
84                                                 <outParameter-type>FIELDDOUBLE</outParameter-type>
85                                                 <outParameter-name>return</outParameter-name>
86                                         </outParameter>
87                                 </outParameter-list>
88                         </service>
89                         <creation-date>22/11/2002 - 14:47:14</creation-date>
90                         <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
91                         <editor-release>1.03</editor-release>
92                         <author>?</author>
93                         <container>FactoryServer</container>
94                         <comment>?</comment>
95                         <x-position>28</x-position>
96                         <y-position>0</y-position>
97                 </node>
98                 <node>
99                         <component-name>Calculator</component-name>
100                         <interface-name>Calculator</interface-name>
101                         <node-name>Mul</node-name>
102                         <kind>0</kind>
103                         <service>
104                                 <service-name>Mul</service-name>
105                                 <inParameter-list>
106                                         <inParameter>
107                                                 <inParameter-type>FIELDDOUBLE</inParameter-type>
108                                                 <inParameter-name>field1</inParameter-name>
109                                         </inParameter>
110                                         <inParameter>
111                                                 <inParameter-type>double</inParameter-type>
112                                                 <inParameter-name>x1</inParameter-name>
113                                         </inParameter>
114                                 </inParameter-list>
115                                 <outParameter-list>
116                                         <outParameter>
117                                                 <outParameter-type>FIELDDOUBLE</outParameter-type>
118                                                 <outParameter-name>return</outParameter-name>
119                                         </outParameter>
120                                 </outParameter-list>
121                         </service>
122                         <creation-date>22/11/2002 - 14:47:14</creation-date>
123                         <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
124                         <editor-release>1.03</editor-release>
125                         <author>?</author>
126                         <container>FactoryServer</container>
127                         <comment>?</comment>
128                         <x-position>27</x-position>
129                         <y-position>208</y-position>
130                 </node>
131                 <node>
132                         <component-name>Calculator</component-name>
133                         <interface-name>Calculator</interface-name>
134                         <node-name>Add</node-name>
135                         <kind>0</kind>
136                         <service>
137                                 <service-name>Add</service-name>
138                                 <inParameter-list>
139                                         <inParameter>
140                                                 <inParameter-type>FIELDDOUBLE</inParameter-type>
141                                                 <inParameter-name>field1</inParameter-name>
142                                         </inParameter>
143                                         <inParameter>
144                                                 <inParameter-type>FIELDDOUBLE</inParameter-type>
145                                                 <inParameter-name>field2</inParameter-name>
146                                         </inParameter>
147                                 </inParameter-list>
148                                 <outParameter-list>
149                                         <outParameter>
150                                                 <outParameter-type>FIELDDOUBLE</outParameter-type>
151                                                 <outParameter-name>return</outParameter-name>
152                                         </outParameter>
153                                 </outParameter-list>
154                         </service>
155                         <creation-date>22/11/2002 - 14:47:14</creation-date>
156                         <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
157                         <editor-release>1.03</editor-release>
158                         <author>?</author>
159                         <container>FactoryServer</container>
160                         <comment>?</comment>
161                         <x-position>398</x-position>
162                         <y-position>54</y-position>
163                 </node>
164                 <node>
165                         <component-name>Calculator</component-name>
166                         <interface-name>Calculator</interface-name>
167                         <node-name>writeMEDfile</node-name>
168                         <kind>0</kind>
169                         <service>
170                                 <service-name>writeMEDfile</service-name>
171                                 <inParameter-list>
172                                         <inParameter>
173
174 <inParameter-type>FieldNodeDouble</inParameter-type>
175                                                 <inParameter-name>field1</inParameter-name>
176                                         </inParameter>
177                                         <inParameter>
178                                                 <inParameter-type>string</inParameter-type>
179                                                 <inParameter-name>filename</inParameter-name>
180                                         </inParameter>
181                                 </inParameter-list>
182                                 <outParameter-list>
183                                 </outParameter-list>
184                         </service>
185                         <creation-date>22/11/2002 - 14:47:14</creation-date>
186                         <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
187                         <editor-release>1.03</editor-release>
188                         <author>?</author>
189                         <container>FactoryServer</container>
190                         <comment>?</comment>
191                         <x-position>212</x-position>
192                         <y-position>392</y-position>
193                 </node>
194                 <node>
195                         <component-name>Calculator</component-name>
196                         <interface-name>Calculator</interface-name>
197                         <node-name>writeMEDfile_1</node-name>
198                         <kind>0</kind>
199                         <service>
200                                 <service-name>writeMEDfile</service-name>
201                                 <inParameter-list>
202                                         <inParameter>
203                                                 <inParameter-type>FIELDDOUBLE</inParameter-type>
204                                                 <inParameter-name>field1</inParameter-name>
205                                         </inParameter>
206                                         <inParameter>
207                                                 <inParameter-type>string</inParameter-type>
208                                                 <inParameter-name>filename</inParameter-name>
209                                         </inParameter>
210                                 </inParameter-list>
211                                 <outParameter-list>
212                                 </outParameter-list>
213                         </service>
214                         <creation-date>22/11/2002 - 14:47:14</creation-date>
215                         <lastmodification-date>22/11/2002 - 14:47:14</lastmodification-date>
216                         <editor-release>1.03</editor-release>
217                         <author>?</author>
218                         <container>FactoryServer</container>
219                         <comment>?</comment>
220                         <x-position>572</x-position>
221                         <y-position>52</y-position>
222                 </node>
223         </node-list>
224
225         <link-list>
226                 <link>
227                         <fromnode-name>Constant</fromnode-name>
228                         <fromserviceparameter-name>return</fromserviceparameter-name>
229                         <tonode-name>Add</tonode-name>
230                         <toserviceparameter-name>field1</toserviceparameter-name>
231                         <coord-list>
232                         </coord-list>
233                 </link>
234                 <link>
235                         <fromnode-name>Mul</fromnode-name>
236                         <fromserviceparameter-name>return</fromserviceparameter-name>
237                         <tonode-name>Add</tonode-name>
238                         <toserviceparameter-name>field2</toserviceparameter-name>
239                         <coord-list>
240                         </coord-list>
241                 </link>
242                 <link>
243                         <fromnode-name>Add</fromnode-name>
244                         <fromserviceparameter-name>return</fromserviceparameter-name>
245                         <tonode-name>writeMEDfile_1</tonode-name>
246                         <toserviceparameter-name>field1</toserviceparameter-name>
247                         <coord-list>
248                         </coord-list>
249                 </link>
250         </link-list>
251
252         <data-list>
253                 <data>
254                         <fromnode-name>CalculatorDataflow</fromnode-name>
255                         <fromserviceparameter-name>Constant\x1</fromserviceparameter-name>
256                         <tonode-name>Constant</tonode-name>
257                         <toserviceparameter-name>x1</toserviceparameter-name>
258                         <data-value>
259                                 <value-type>7</value-type>
260                                 <value>10</value>
261                         </data-value>
262                         <coord-list>
263                         </coord-list>
264                 </data>
265                 <data>
266                         <fromnode-name>CalculatorDataflow</fromnode-name>
267                         <fromserviceparameter-name>Mul\x1</fromserviceparameter-name>
268                         <tonode-name>Mul</tonode-name>
269                         <toserviceparameter-name>x1</toserviceparameter-name>
270                         <data-value>
271                                 <value-type>7</value-type>
272                                 <value>-1</value>
273                         </data-value>
274                         <coord-list>
275                         </coord-list>
276                 </data>
277                 <data>
278                         <fromnode-name>CalculatorDataflow</fromnode-name>
279
280 <fromserviceparameter-name>writeMEDfile\filename</fromserviceparameter-name>
281                         <tonode-name>writeMEDfile</tonode-name>
282                         <toserviceparameter-name>filename</toserviceparameter-name>
283                         <data-value>
284                                 <value-type>18</value-type>
285                                 <value>test_dataflow_calculator.med</value>
286                         </data-value>
287                         <coord-list>
288                         </coord-list>
289                 </data>
290                 <data>
291                         <fromnode-name>CalculatorDataflow</fromnode-name>
292
293 <fromserviceparameter-name>writeMEDfile_1\filename</fromserviceparameter-name>
294                         <tonode-name>writeMEDfile_1</tonode-name>
295                         <toserviceparameter-name>filename</toserviceparameter-name>
296                         <data-value>
297                                 <value-type>18</value-type>
298                                 <value>test_dataflow_calculator.med</value>
299                         </data-value>
300                         <coord-list>
301                         </coord-list>
302                 </data>
303         </data-list>
304
305 </dataflow>
306