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