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)    
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)    
This program runs the data collection, graph preperation, housekeeping and actions
"""

# shelves:
# 	datacollect - sensor data collection - disabled to RAM
#	graphprep - building system graphs
#	housekeeping - fan check , general health and wellfare
# 	alarmchecks - checks for system health alarms 
#	actions - specific actions scheduled (i.e. camera picture)
 
from datetime import datetime, timedelta
import sys
import time

from apscheduler.scheduler import Scheduler
from apscheduler.jobstores.shelve_store import ShelveJobStore



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

import batterywatchdogvoltagegraph 



batterywatchdogvoltagegraph.batterywatchdogvoltagegraph("test",5, 1.0)

Example #4
0
"""
testModule.py
JCS 9/10/2013 Version 1.0

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

# shelves:
# 	datacollect - sensor data collection - disabled to RAM
#	graphprep - building system graphs
#	housekeeping - fan check , general health and wellfare
# 	alarmchecks - checks for system health alarms
#	actions - specific actions scheduled (i.e. camera picture)

from datetime import datetime, timedelta
import sys
import time

from apscheduler.scheduler import Scheduler
from apscheduler.jobstores.shelve_store import ShelveJobStore

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

import batterywatchdogvoltagegraph

batterywatchdogvoltagegraph.batterywatchdogvoltagegraph("test", 5, 1.0)