]> SALOME platform Git repositories - modules/superv.git/blobdiff - examples/GraphConvertShortCheck.py
Salome HOME
This commit was generated by cvs2git to create branch 'Tag-First-
[modules/superv.git] / examples / GraphConvertShortCheck.py
diff --git a/examples/GraphConvertShortCheck.py b/examples/GraphConvertShortCheck.py
deleted file mode 100755 (executable)
index 08e86b1..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-
-# Generated python file of Graph GraphConvertShortCheck
-
-from SuperV import *
-# Graph creation 
-GraphConvertShortCheck = Graph( 'GraphConvertShortCheck' )
-GraphConvertShortCheck.SetName( 'GraphConvertShortCheck' )
-GraphConvertShortCheck.SetAuthor( 'JR' )
-GraphConvertShortCheck.SetComment( 'Check conversions of Short' )
-GraphConvertShortCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertShortCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyShort = []
-PyShort.append( 'def Short() :  ' )
-PyShort.append( '    aShort = 32767 ' )
-PyShort.append( '    print type( aShort ),"aShort",aShort ' )
-PyShort.append( '    return aShort  ' )
-PyShort.append( ' ' )
-Short = GraphConvertShortCheck.INode( 'Short' , PyShort )
-Short.OutPort( 'OutShort' , 'short' )
-Short.SetName( 'Short' )
-Short.SetAuthor( 'JR' )
-Short.SetComment( 'InLine Node' )
-Short.Coords( 14 , 114 )
-
-# Creation of Links
-ShortOutShort = Short.Port( 'OutShort' )
-MiscTypesInString = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertShortCheck.Link( ShortOutShort , MiscTypes.Port( 'InObjRef' ) )
-
-# Creation of Output variables
-MiscTypesOutString = MiscTypes.Port( 'OutString' )
-MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
-MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
-MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
-MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
-MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
-MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
-MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
-
-GraphConvertShortCheck.Run()
-GraphConvertShortCheck.DoneW()
-GraphConvertShortCheck.PrintPorts()