forked from projectcuracao/projectcuracao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testSolarWindGraph.py
44 lines (26 loc) · 893 Bytes
/
testSolarWindGraph.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
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 powersupplygraph
import solarwindgraph
#powersupplygraph.powersystemsupplygraph("test",5)
while (1):
solarwindgraph.solarwindgraph("test",5,1)
time.sleep(600)