Skip to content
Snippets Groups Projects
Commit 0917e3e5 authored by Andreas Weissenbrunner's avatar Andreas Weissenbrunner
Browse files

version of Mathmet22

parent 907f5cf5
Branches
No related tags found
No related merge requests found
...@@ -1077,11 +1077,11 @@ class Main(wx.Frame): ...@@ -1077,11 +1077,11 @@ class Main(wx.Frame):
def OnLoad_SE(self,e): def OnLoad_SE(self,e):
global flow global flow
flow = Elbow_profile('SingleElbow') flow = Elbow_profile('SingleElbow')
del self.mypanel # del self.mypanel
wx.Frame.clear() # wx.Frame.__init__(self, parent = None,id = wx.ID_ANY, title = "Flowmeter behind Single Elbow", size = (1400,1000))
wx.Frame.__init__(self, parent = None,id = wx.ID_ANY, title = "Flowmeter behind Single Elbow", size = (1400,1000)) # self.mypanel = mainPanel(self)
self.mypanel = mainPanel(self) # self.mypanel.__init__(self)
self.mypanel.__init__(self) self.__init__()
def OnLoad_DE(self,e): def OnLoad_DE(self,e):
global flow global flow
flow = Elbow_profile('DoubleElbow') flow = Elbow_profile('DoubleElbow')
...@@ -1105,7 +1105,7 @@ class Main(wx.Frame): ...@@ -1105,7 +1105,7 @@ class Main(wx.Frame):
if __name__ == "__main__": if __name__ == "__main__":
# #
flow = Elbow_profile('Double_S_Elbow') flow = Elbow_profile('DoubleElbow')
fm = FlowMeter() fm = FlowMeter()
# #
app = wx.App() app = wx.App()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment