def doallgraphs(location,days, maindelay):


	print("doallgraphs source:%s days:%s delay:%i" % (location,days,maindelay))
	print("sleeping :",maindelay)
	time.sleep(maindelay)
	print("doallgraphs running now")


	delay =1 
	powersupplygraph.powersystemsupplygraph(location,days,delay)    
	powersupplyvoltagesgraph.powersystemsupplyvoltagegraph(location,days, delay)    
	systemstatusgraph.systemstatusgraph(location,days,delay)    


	environmentalgraph.environmentalgraph(location,days, delay)    
	environmentalgraph2.environmentalgraph2(location,days,delay)    
	batterywatchdogcurrentgraph.batterywatchdogcurrentgraph(location,days,delay)    
	batterywatchdogvoltagegraph.batterywatchdogvoltagegraph(location,days,delay)    
	solarwindgraph.solarwindgraph(location,days,delay)    
Esempio n. 2
0
def doallgraphs(location,days, maindelay):


	print("doallgraphs source:%s days:%s delay:%i" % (location,days,maindelay))
	print("sleeping :",maindelay)
	time.sleep(maindelay)
	print("doallgraphs running now")


	delay =1 
	powersupplygraph.powersystemsupplygraph(location,days,delay)    
	powersupplyvoltagesgraph.powersystemsupplyvoltagegraph(location,days, delay)    
	systemstatusgraph.systemstatusgraph(location,days,delay)    


	environmentalgraph.environmentalgraph(location,days, delay)    
	environmentalgraph2.environmentalgraph2(location,days,delay)    
	environcolor.environcolor(location,days,delay)    
	batterywatchdogcurrentgraph.batterywatchdogcurrentgraph(location,days,delay)    
	batterywatchdogvoltagegraph.batterywatchdogvoltagegraph(location,days,delay)    
	solarwindgraph.solarwindgraph(location,days,delay)    
	windpowergraph.windpowergraph(location,days,delay)    
	raingraph.raingraph(location,days,delay)    
"""
testModule.py
JCS 9/10/2013 Version 1.0

This program runs the data collection, graph preperation, housekeeping and actions
"""

from datetime import datetime, timedelta
import sys
import time

sys.path.append('./datacollect')
sys.path.append('./graphprep')
sys.path.append('./hardware')
sys.path.append('./housekeeping')

#import powersupplygraph
import systemstatusgraph

systemstatusgraph.systemstatusgraph("test", 5, 1)

"""
testModule.py
JCS 9/10/2013 Version 1.0

This program runs the data collection, graph preperation, housekeeping and actions
"""

 
from datetime import datetime, timedelta
import sys
import time




sys.path.append('./datacollect')
sys.path.append('./graphprep')
sys.path.append('./hardware')
sys.path.append('./housekeeping')

#import powersupplygraph 
import systemstatusgraph 



systemstatusgraph.systemstatusgraph("test",5,1)