]> SALOME platform Git repositories - modules/superv.git/blob - examples/PAL8512.py
Salome HOME
*** empty log message ***
[modules/superv.git] / examples / PAL8512.py
1
2 # Generated python file of Graph PAL8512
3
4 from SuperV import *
5
6 # Graph creation of PAL8512
7 def DefPAL8512() :
8     PAL8512 = Graph( 'PAL8512' )
9     PAL8512.SetName( 'PAL8512' )
10     PAL8512.SetAuthor( '' )
11     PAL8512.SetComment( '' )
12     PAL8512.Coords( 0 , 0 )
13     
14     # Creation of Factory Nodes
15     
16     # Creation of InLine Nodes
17     PyPAL8512 = []
18     PyPAL8512.append( ' ' )
19     PAL8512 = PAL8512.INode( '' , PyPAL8512 )
20     PAL8512.SetName( 'PAL8512' )
21     PAL8512.SetAuthor( '' )
22     PAL8512.SetComment( 'Compute Node' )
23     PAL8512.Coords( 264 , 123 )
24     IPAL8512a = PAL8512.InPort( 'a' , 'string' )
25     IPAL8512b = PAL8512.InPort( 'b' , 'string' )
26     IPAL8512Gate = PAL8512.GetInPort( 'Gate' )
27     OPAL8512a = PAL8512.OutPort( 'a' , 'string' )
28     OPAL8512b = PAL8512.OutPort( 'b' , 'string' )
29     OPAL8512Gate = PAL8512.GetOutPort( 'Gate' )
30     
31     # Input datas
32     IPAL8512a.Input( '1' )
33     IPAL8512b.Input( '2' )
34     
35     # Output Ports of the graph
36     #OPAL8512a = PAL8512.GetOutPort( 'a' )
37     #OPAL8512b = PAL8512.GetOutPort( 'b' )
38     return PAL8512
39
40
41 PAL8512 = DefPAL8512()