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)
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)
# 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 powersupplygraph import environcolor #powersupplygraph.powersystemsupplygraph("test",5) environcolor.environcolor("test",5, 1)