2 # Generated python file of Graph GraphConvertDoubleStringCheck
6 GraphConvertDoubleStringCheck = Graph( 'GraphConvertDoubleStringCheck' )
7 GraphConvertDoubleStringCheck.SetName( 'GraphConvertDoubleStringCheck' )
8 GraphConvertDoubleStringCheck.SetAuthor( 'JR' )
9 GraphConvertDoubleStringCheck.SetComment( 'Check conversions of String' )
10 GraphConvertDoubleStringCheck.Coords( 0 , 0 )
12 # Creation of Factory Nodes
14 MiscTypes = GraphConvertDoubleStringCheck.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 PyDoubleString.append( 'def DoubleString() : ' )
24 PyDoubleString.append( ' string = "3.1415926535" ' )
25 PyDoubleString.append( ' return string ' )
26 PyDoubleString.append( ' ' )
27 DoubleString = GraphConvertDoubleStringCheck.INode( 'DoubleString' , PyDoubleString )
28 DoubleString.OutPort( 'OutString' , 'string' )
29 DoubleString.SetName( 'DoubleString' )
30 DoubleString.SetAuthor( 'JR' )
31 DoubleString.SetComment( 'InLine Node' )
32 DoubleString.Coords( 14 , 114 )
35 DoubleStringOutString = DoubleString.Port( 'OutString' )
36 MiscTypesInString = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InString' ) )
38 MiscTypesInBool = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InBool' ) )
40 MiscTypesInChar = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InChar' ) )
42 MiscTypesInShort = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InShort' ) )
44 MiscTypesInLong = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InLong' ) )
46 MiscTypesInFloat = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InFloat' ) )
48 MiscTypesInDouble = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , MiscTypes.Port( 'InDouble' ) )
50 MiscTypesInObjRef = GraphConvertDoubleStringCheck.Link( DoubleStringOutString , 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 GraphConvertDoubleStringCheck.Run()
63 GraphConvertDoubleStringCheck.DoneW()
64 GraphConvertDoubleStringCheck.PrintPorts()