##// END OF EJS Templates
Bug fixed in RTI and Wind Profiler Plots, when data time exceeded the xmax, the new plot generated was overwriting the first one.
Bug fixed in RTI and Wind Profiler Plots, when data time exceeded the xmax, the new plot generated was overwriting the first one.

File last commit:

r384:1f920dd17b52
r509:7fe23f0913c9
Show More
scprocesscontroller.py
40 lines | 1.1 KiB | text/x-python | PythonLexer
Alexander Valdez
scprocesscontroller.py...
r384 import os, sys
import getopt
path = os.path.split(os.getcwd())[0]
#path="C://Users//alex//workspace//gui_14_03_13"
sys.path.append(path)
from controller import *
class scProcessController():
def __init__(self):
print "ESTOY EJECUTANDO EL NUEVO PROCESO PERO APARENTEMENTE NO QUIERE"
self.setfilename()
self.operation()
def setfilename(self):
arglist= ''
longarglist=['filename=']
optlist,args=getopt.getopt(sys.argv[1:],arglist,longarglist)
for opt in optlist:
if opt[0]== '--filename':
self.filename = opt[1]
def operation(self):
print 'inicia operation'
controllerObj = Project()
print "Leyendo el archivo XML"
#self.filename="C://Users//alex//schain_workspace//Alexander1.xml"
controllerObj.readXml(self.filename)
#controllerObj.printattr()
controllerObj.createObjects()
controllerObj.connectObjects()
controllerObj.run()
def main():
a=scProcessController()
if __name__ == "__main__":
main()