Salome HOME
263ef8c8f54d1947b1f321108f291505eaaf7b50
[samples/datafiles.git] / Superv / Python / GraphSwitchCheckDefault2NOTValid.py
1 # Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License, or (at your option) any later version.
10 #
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22
23 # Generated python file of Graph GraphSwitchCheckDefault2NOTValid
24 #
25 from SuperV import *
26
27 # Graph creation of GraphSwitchCheckDefault2NOTValid
28 def DefGraphSwitchCheckDefault2NOTValid() :
29     GraphSwitchCheckDefault2NOTValid = Graph( 'GraphSwitchCheckDefault2NOTValid' )
30     GraphSwitchCheckDefault2NOTValid.SetName( 'GraphSwitchCheckDefault2NOTValid' )
31     GraphSwitchCheckDefault2NOTValid.SetAuthor( 'JR' )
32     GraphSwitchCheckDefault2NOTValid.SetComment( '' )
33     GraphSwitchCheckDefault2NOTValid.Coords( 0 , 0 )
34     
35     # Creation of Factory Nodes
36     
37     # Creation of InLine Nodes
38     PyIsOdd = []
39     PyIsOdd.append( 'from time import *   ' )
40     PyIsOdd.append( 'def IsOdd(a) :       ' )
41     PyIsOdd.append( '    print a,"IsOdd (GraphSwitch)"      ' )
42     PyIsOdd.append( '    sleep( 1 )   ' )
43     PyIsOdd.append( '    return a     ' )
44     IsOdd = GraphSwitchCheckDefault2NOTValid.INode( 'IsOdd' , PyIsOdd )
45     IsOdd.SetName( 'IsOdd' )
46     IsOdd.SetAuthor( '' )
47     IsOdd.SetComment( 'Python function' )
48     IsOdd.Coords( 415 , 7 )
49     IIsOdda = IsOdd.InPort( 'a' , 'long' )
50     IIsOddGate = IsOdd.GetInPort( 'Gate' )
51     OIsOdda = IsOdd.OutPort( 'a' , 'long' )
52     OIsOddGate = IsOdd.GetOutPort( 'Gate' )
53     
54     PyIsEven = []
55     PyIsEven.append( 'from time import *    ' )
56     PyIsEven.append( 'def IsEven(a) :        ' )
57     PyIsEven.append( '    print a,"IsEven (GraphSwitch)"       ' )
58     PyIsEven.append( '    sleep( 1 )    ' )
59     PyIsEven.append( '    return a      ' )
60     IsEven = GraphSwitchCheckDefault2NOTValid.INode( 'IsEven' , PyIsEven )
61     IsEven.SetName( 'IsEven' )
62     IsEven.SetAuthor( '' )
63     IsEven.SetComment( 'Compute Node' )
64     IsEven.Coords( 421 , 438 )
65     IIsEvena = IsEven.InPort( 'a' , 'long' )
66     IIsEvenGate = IsEven.GetInPort( 'Gate' )
67     OIsEvena = IsEven.OutPort( 'a' , 'long' )
68     OIsEvenGate = IsEven.GetOutPort( 'Gate' )
69     
70     PyPrintOdd = []
71     PyPrintOdd.append( 'from time import * ' )
72     PyPrintOdd.append( 'def Print(a,Branch) :     ' )
73     PyPrintOdd.append( '    print "Print ",a,Branch ' )
74     PyPrintOdd.append( '    sleep(1) ' )
75     PyPrintOdd.append( '    return Branch     ' )
76     PrintOdd = GraphSwitchCheckDefault2NOTValid.INode( 'Print' , PyPrintOdd )
77     PrintOdd.SetName( 'PrintOdd' )
78     PrintOdd.SetAuthor( '' )
79     PrintOdd.SetComment( 'Compute Node' )
80     PrintOdd.Coords( 415 , 130 )
81     IPrintOdda = PrintOdd.InPort( 'a' , 'long' )
82     IPrintOddBranch = PrintOdd.InPort( 'Branch' , 'string' )
83     IPrintOddGate = PrintOdd.GetInPort( 'Gate' )
84     OPrintOddBranch = PrintOdd.OutPort( 'Branch' , 'string' )
85     OPrintOddGate = PrintOdd.GetOutPort( 'Gate' )
86     
87     PyPrintEven = []
88     PyPrintEven.append( 'from time import * ' )
89     PyPrintEven.append( 'def Print_1(a,Branch) :     ' )
90     PyPrintEven.append( '    print "Print ",a,Branch ' )
91     PyPrintEven.append( '    sleep(1) ' )
92     PyPrintEven.append( '    return Branch     ' )
93     PrintEven = GraphSwitchCheckDefault2NOTValid.INode( 'Print_1' , PyPrintEven )
94     PrintEven.SetName( 'PrintEven' )
95     PrintEven.SetAuthor( '' )
96     PrintEven.SetComment( 'Compute Node' )
97     PrintEven.Coords( 423 , 289 )
98     IPrintEvena = PrintEven.InPort( 'a' , 'long' )
99     IPrintEvenBranch = PrintEven.InPort( 'Branch' , 'string' )
100     IPrintEvenGate = PrintEven.GetInPort( 'Gate' )
101     OPrintEvenBranch = PrintEven.OutPort( 'Branch' , 'string' )
102     OPrintEvenGate = PrintEven.GetOutPort( 'Gate' )
103     
104     PyEmptyNode = []
105     PyEmptyNode.append( 'from time import * ' )
106     PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
107     PyEmptyNode.append( '    sleep(1) ' )
108     PyEmptyNode.append( '    return a,Branch  ' )
109     EmptyNode = GraphSwitchCheckDefault2NOTValid.INode( 'EmptyNode' , PyEmptyNode )
110     EmptyNode.SetName( 'EmptyNode' )
111     EmptyNode.SetAuthor( '' )
112     EmptyNode.SetComment( 'Compute Node' )
113     EmptyNode.Coords( 652 , 110 )
114     IEmptyNodea = EmptyNode.InPort( 'a' , 'long' )
115     IEmptyNodeBranch = EmptyNode.InPort( 'Branch' , 'string' )
116     IEmptyNodeGate = EmptyNode.GetInPort( 'Gate' )
117     OEmptyNodea = EmptyNode.OutPort( 'a' , 'long' )
118     OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
119     OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
120     
121     PyDefault = []
122     PyDefault.append( 'from time import * ' )
123     PyDefault.append( 'def Default(a,Branch) : ' )
124     PyDefault.append( '    sleep(1) ' )
125     PyDefault.append( '    return a,Branch ' )
126     Default = GraphSwitchCheckDefault2NOTValid.INode( 'Default' , PyDefault )
127     Default.SetName( 'Default' )
128     Default.SetAuthor( '' )
129     Default.SetComment( 'Compute Node' )
130     Default.Coords( 421 , 592 )
131     IDefaulta = Default.InPort( 'a' , 'long' )
132     IDefaultBranch = Default.InPort( 'Branch' , 'string' )
133     IDefaultGate = Default.GetInPort( 'Gate' )
134     ODefaulta = Default.OutPort( 'a' , 'long' )
135     ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
136     ODefaultGate = Default.GetOutPort( 'Gate' )
137     
138     PyPuta = []
139     PyPuta.append( 'from time import * ' )
140     PyPuta.append( 'def Puta(a) : ' )
141     PyPuta.append( '    sleep(1) ' )
142     PyPuta.append( '    return a ' )
143     Puta = GraphSwitchCheckDefault2NOTValid.INode( 'Puta' , PyPuta )
144     Puta.SetName( 'Puta' )
145     Puta.SetAuthor( '' )
146     Puta.SetComment( 'Compute Node' )
147     Puta.Coords( 665 , 486 )
148     IPutaa = Puta.InPort( 'a' , 'long' )
149     IPutaGate = Puta.GetInPort( 'Gate' )
150     OPutaa = Puta.OutPort( 'a' , 'long' )
151     OPutaGate = Puta.GetOutPort( 'Gate' )
152     
153     PyPutBranch = []
154     PyPutBranch.append( 'from time import * ' )
155     PyPutBranch.append( 'def PutBranch(Branch) : ' )
156     PyPutBranch.append( '    sleep(1) ' )
157     PyPutBranch.append( '    return Branch ' )
158     PutBranch = GraphSwitchCheckDefault2NOTValid.INode( 'PutBranch' , PyPutBranch )
159     PutBranch.SetName( 'PutBranch' )
160     PutBranch.SetAuthor( '' )
161     PutBranch.SetComment( 'Compute Node' )
162     PutBranch.Coords( 662 , 613 )
163     IPutBranchBranch = PutBranch.InPort( 'Branch' , 'string' )
164     IPutBranchGate = PutBranch.GetInPort( 'Gate' )
165     OPutBranchBranch = PutBranch.OutPort( 'Branch' , 'string' )
166     OPutBranchGate = PutBranch.GetOutPort( 'Gate' )
167     
168     # Creation of Loop Nodes
169     PyInitLoopSwitch = []
170     PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) :        ' )
171     PyInitLoopSwitch.append( '  Index = Max  ' )
172     PyInitLoopSwitch.append( '  return Index,Min,Max       ' )
173     PyMoreInitLoopSwitch = []
174     PyMoreInitLoopSwitch.append( 'from time import * ' )
175     PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) : ' )
176     PyMoreInitLoopSwitch.append( '      sleep(1)  ' )
177     PyMoreInitLoopSwitch.append( '      if Index >= Min :     ' )
178     PyMoreInitLoopSwitch.append( '              DoLoop = 1       ' )
179     PyMoreInitLoopSwitch.append( '      else :       ' )
180     PyMoreInitLoopSwitch.append( '              DoLoop = 0       ' )
181     PyMoreInitLoopSwitch.append( '      return DoLoop,Index,Min,Max       ' )
182     PyNextInitLoopSwitch = []
183     PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :       ' )
184     PyNextInitLoopSwitch.append( '      Index = Index - 1       ' )
185     PyNextInitLoopSwitch.append( '      return Index,Min,Max       ' )
186     InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckDefault2NOTValid.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
187     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
188     EndOfInitLoopSwitch.SetAuthor( '' )
189     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
190     EndOfInitLoopSwitch.Coords( 1074 , 194 )
191     PyEndOfInitLoopSwitch = []
192     PyEndOfInitLoopSwitch.append( 'from time import *  ' )
193     PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) :  ' )
194     PyEndOfInitLoopSwitch.append( '    sleep(1)  ' )
195     PyEndOfInitLoopSwitch.append( '    return DoLoop,Index,Min,Max  ' )
196     EndOfInitLoopSwitch.SetPyFunction( 'EndOfInitLoopSwitch' , PyEndOfInitLoopSwitch )
197     IInitLoopSwitchDoLoop = InitLoopSwitch.GetInPort( 'DoLoop' )
198     IInitLoopSwitchIndex = InitLoopSwitch.InPort( 'Index' , 'long' )
199     IInitLoopSwitchMin = InitLoopSwitch.InPort( 'Min' , 'long' )
200     IInitLoopSwitchMax = InitLoopSwitch.InPort( 'Max' , 'long' )
201     IInitLoopSwitchGate = InitLoopSwitch.GetInPort( 'Gate' )
202     OInitLoopSwitchDoLoop = InitLoopSwitch.GetOutPort( 'DoLoop' )
203     OInitLoopSwitchIndex = InitLoopSwitch.GetOutPort( 'Index' )
204     OInitLoopSwitchMin = InitLoopSwitch.GetOutPort( 'Min' )
205     OInitLoopSwitchMax = InitLoopSwitch.GetOutPort( 'Max' )
206     IEndOfInitLoopSwitchDoLoop = EndOfInitLoopSwitch.GetInPort( 'DoLoop' )
207     IEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetInPort( 'Index' )
208     IEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetInPort( 'Min' )
209     IEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetInPort( 'Max' )
210     IEndOfInitLoopSwitchGate = EndOfInitLoopSwitch.GetInPort( 'Gate' )
211     OEndOfInitLoopSwitchDoLoop = EndOfInitLoopSwitch.GetOutPort( 'DoLoop' )
212     OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
213     OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
214     OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
215     OEndOfInitLoopSwitchGate = EndOfInitLoopSwitch.GetOutPort( 'Gate' )
216     InitLoopSwitch.SetName( 'InitLoopSwitch' )
217     InitLoopSwitch.SetAuthor( '' )
218     InitLoopSwitch.SetComment( 'Compute Node' )
219     InitLoopSwitch.Coords( 10 , 129 )
220     
221     # Creation of Switch Nodes
222     PySwitch = []
223     PySwitch.append( 'from time import *        ' )
224     PySwitch.append( 'def Switch(a) : ' )
225     PySwitch.append( '    sleep(1) ' )
226     PySwitch.append( '    Branch = "Negative or null"    ' )
227     PySwitch.append( '    if a <= 0 :       ' )
228     PySwitch.append( '        return 0,0,a,Branch,1  ' )
229     PySwitch.append( '    if ( a & 1 ) == 0 :    ' )
230     PySwitch.append( '        Branch = "Even"    ' )
231     PySwitch.append( '    else :    ' )
232     PySwitch.append( '        Branch = "Odd"    ' )
233     PySwitch.append( '    return a & 1,1-(a&1),a,Branch,0  ' )
234     Switch,EndOfSwitch = GraphSwitchCheckDefault2NOTValid.SNode( 'Switch' , PySwitch )
235     EndOfSwitch.SetName( 'EndOfSwitch' )
236     EndOfSwitch.SetAuthor( '' )
237     EndOfSwitch.SetComment( 'Compute Node' )
238     EndOfSwitch.Coords( 882 , 194 )
239     PyEndOfSwitch = []
240     PyEndOfSwitch.append( 'from time import * ' )
241     PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
242     PyEndOfSwitch.append( '    sleep(1) ' )
243     PyEndOfSwitch.append( '    return a ' )
244     EndOfSwitch.SetPyFunction( 'EndOfSwitch' , PyEndOfSwitch )
245     IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
246     IEndOfSwitchBranch = EndOfSwitch.InPort( 'Branch' , 'string' )
247     IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
248     OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
249     OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
250     Switch.SetName( 'Switch' )
251     Switch.SetAuthor( '' )
252     Switch.SetComment( 'Compute Node' )
253     Switch.Coords( 190 , 129 )
254     ISwitcha = Switch.InPort( 'a' , 'long' )
255     ISwitchGate = Switch.GetInPort( 'Gate' )
256     OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
257     OSwitchEven = Switch.OutPort( 'Even' , 'int' )
258     OSwitcha = Switch.OutPort( 'a' , 'int' )
259     OSwitchBranch = Switch.OutPort( 'Branch' , 'string' )
260     OSwitchdefault = Switch.OutPort( 'default' , 'boolean' )
261     OSwitchDefault = Switch.GetOutPort( 'Default' )
262     
263     # Creation of Links
264     LIsOddaEmptyNodea = GraphSwitchCheckDefault2NOTValid.Link( OIsOdda , IEmptyNodea )
265     LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
266     
267     LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OIsEvena , IEndOfSwitcha )
268     
269     LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2NOTValid.Link( OPrintOddBranch , IEmptyNodeBranch )
270     
271     LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( OPrintEvenBranch , IEndOfSwitchBranch )
272     
273     LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OEmptyNodea , IEndOfSwitcha )
274     
275     LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
276     
277     LDefaultaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( ODefaulta , IEndOfSwitcha )
278     
279     LDefaultaPutaa = GraphSwitchCheckDefault2NOTValid.Link( ODefaulta , IPutaa )
280     
281     LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( ODefaultBranch , IEndOfSwitchBranch )
282     
283     LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault2NOTValid.Link( ODefaultBranch , IPutBranchBranch )
284     
285     LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OInitLoopSwitchIndex , ISwitcha )
286     
287     LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2NOTValid.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
288     
289     LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2NOTValid.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
290     
291     LSwitchOddIsOddGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchOdd , IIsOddGate )
292     LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
293     LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
294     
295     LSwitchOddPrintOddGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchOdd , IPrintOddGate )
296     LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
297     LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
298     
299     LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchEven , IIsEvenGate )
300     LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
301     LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
302     
303     LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchEven , IPrintEvenGate )
304     LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
305     LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
306     
307     LSwitchaIsOdda = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IIsOdda )
308     LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
309     LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
310     
311     LSwitchaIsEvena = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IIsEvena )
312     LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
313     LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
314     
315     LSwitchaPrintOdda = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IPrintOdda )
316     
317     LSwitchaPrintEvena = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IPrintEvena )
318     LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
319     LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
320     
321     LSwitchaDefaulta = GraphSwitchCheckDefault2NOTValid.Link( OSwitcha , IDefaulta )
322     LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
323     LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
324     
325     LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2NOTValid.Link( OSwitchBranch , IPrintOddBranch )
326     
327     LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2NOTValid.Link( OSwitchBranch , IPrintEvenBranch )
328     LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
329     LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
330     
331     LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2NOTValid.Link( OSwitchBranch , IDefaultBranch )
332     LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
333     LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
334     
335     LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2NOTValid.Link( OSwitchdefault , IDefaultGate )
336     LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
337     LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
338     
339     LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault2NOTValid.Link( OSwitchDefault , IEndOfSwitchDefault )
340     
341     LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2NOTValid.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
342     
343     LPutaaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid.Link( OPutaa , IEndOfSwitcha )
344     
345     LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid.Link( OPutBranchBranch , IEndOfSwitchBranch )
346     
347     # Input datas
348     IInitLoopSwitchIndex.Input( 0 )
349     IInitLoopSwitchMin.Input( -5 )
350     IInitLoopSwitchMax.Input( 10 )
351     
352     # Output Ports of the graph
353     #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
354     #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
355     #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
356     return GraphSwitchCheckDefault2NOTValid
357
358
359 GraphSwitchCheckDefault2NOTValid = DefGraphSwitchCheckDefault2NOTValid()