00001
00009 #ifndef CLIMATE_WEATHER_READER_
00010 #define CLIMATE_WEATHER_READER_
00011
00012 #include <stdio.h>
00013 #include "gridlabd.h"
00014 #include "weather.h"
00015
00016
00017 typedef struct s_records {
00018 double low;
00019 double low_day;
00020 double high;
00021 double high_day;
00022 double solar;
00023 } RECORDS;
00024
00025 class weather_reader {
00026 private:
00027 protected:
00028 FILE *infile;
00029 weather *data_head;
00030 weather *data_tail;
00031 public:
00032 weather_reader();
00033 ~weather_reader();
00034
00035 RECORDS record;
00036 };
00037
00038 #endif
00039
00040