]> SALOME platform Git repositories - samples/dsccode.git/blob - resources/pycalcium.xml
Salome HOME
CCAR: add xml file
[samples/dsccode.git] / resources / pycalcium.xml
1 <proc>
2
3     <!-- types -->
4     <objref name="CALCIUM_integer"/>
5     <objref name="CALCIUM_real"/>
6     <objref name="CALCIUM_double"/>
7     <container name="A"> </container>
8     <container name="B"> </container>
9
10     <!-- inline -->
11
12       <service name="canal" >
13         <component>PYCOMPO</component>
14         <method>run</method>
15         <load container="A"/>
16         <instream name="tabin" type="CALCIUM_double"/>
17         <outstream name="tabout" type="CALCIUM_double"/>
18       </service>
19
20       <service name="crayon" >
21         <component>PYCOMPO</component>
22         <method>run</method>
23         <load container="B"/>
24         <instream name="tabin" type="CALCIUM_double"/>
25         <outstream name="tabout" type="CALCIUM_double"/>
26       </service>
27
28       <stream>
29         <fromnode>crayon</fromnode> <fromport>tabout</fromport>
30         <tonode>canal</tonode> <toport>tabin</toport>
31       </stream>
32       <stream>
33         <fromnode>canal</fromnode> <fromport>tabout</fromport>
34         <tonode>crayon</tonode> <toport>tabin</toport>
35       </stream>
36
37 </proc>