2 # Generated python file of Graph GraphConvertCharCheck
6 GraphConvertCharCheck = Graph( 'GraphConvertCharCheck' )
7 GraphConvertCharCheck.SetName( 'GraphConvertCharCheck' )
8 GraphConvertCharCheck.SetAuthor( 'JR' )
9 GraphConvertCharCheck.SetComment( 'Check conversions of Char' )
10 GraphConvertCharCheck.Coords( 0 , 0 )
12 # Creation of Factory Nodes
14 MiscTypes = GraphConvertCharCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
15 MiscTypes.SetName( 'MiscTypes' )
16 MiscTypes.SetAuthor( '' )
17 MiscTypes.SetContainer( 'localhost/FactoryServer' )
18 MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
19 MiscTypes.Coords( 284 , 28 )
21 # Creation of InLine Nodes
23 PyChar.append( 'def Char() : ' )
24 PyChar.append( ' aChar = 255 ' )
25 PyChar.append( ' return aChar ' )
27 Char = GraphConvertCharCheck.INode( 'Char' , PyChar )
28 Char.OutPort( 'OutChar' , 'char' )
29 Char.SetName( 'Char' )
30 Char.SetAuthor( 'JR' )
31 Char.SetComment( 'InLine Node' )
32 Char.Coords( 14 , 114 )
35 CharOutChar = Char.Port( 'OutChar' )
36 MiscTypesInString = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InString' ) )
38 MiscTypesInBool = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InBool' ) )
40 MiscTypesInChar = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InChar' ) )
42 MiscTypesInShort = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InShort' ) )
44 MiscTypesInLong = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InLong' ) )
46 MiscTypesInFloat = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InFloat' ) )
48 MiscTypesInDouble = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InDouble' ) )
50 MiscTypesInObjRef = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InObjRef' ) )
52 # Creation of Output variables
53 MiscTypesOutString = MiscTypes.Port( 'OutString' )
54 MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
55 MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
56 MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
57 MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
58 MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
59 MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
60 MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
62 GraphConvertCharCheck.Run()
63 GraphConvertCharCheck.DoneW()
64 GraphConvertCharCheck.PrintPorts()