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