<commit_before>#ifndef WEATHERDATA_H
#define WEATHERDATA_H
#include <application.h>

class WeatherData
{
 public:
 // constructors
 void weatherData();
 void weatherData(unsigned int weatherTime, int greenhouseTemp,int greenhouseHumidity,
                  int backupGreenhouseTemp, int backupGreenhouseHumidity,int outsideTemp,
                  int outsideHumidity, int solar, int high, int low);
 // methods 
 void message(int);
 
 // variables
 unsigned int weatherTime;
 int greenhouseTemp;
 int greenhouseHumidity;
 int backupGreenhouseTemp;
 int backupGreenhouseHumidity;
 int outsideTemp;
 int outsideHumidity;
 int solar;
 int high;
 int low;
 
 
// private:
 unsigned int _weatherTime;
 int _greenhouseTemp;
 int _greenhouseHumidity;
 int _backupGreenhouseTemp;
 int _backupGreenhouseHumidity;
 int _outsideTemp;
 int _outsideHumidity;
 int _solar;
 int _high;
 int _low;
  
};

// particle functions
int greenhouseData(String command);
int setSeason(String command);
int setDaylightSavings(String command);

// setup functions called in setup()
void particleInit();
// time alarms functions 
void MorningAlarm();
void EveningAlarm();
void synchTime();
// variables used 
int tzOffset = -7;
int AMsetback = 7;
int PMsetback = 15;
int dayProgram = 1;
int nightProgram = 3;




#endif<commit_msg>Update particle-functions.h<commit_after>#ifndef WEATHERDATA_H
#define WEATHERDATA_H
#include <application.h>

class WeatherData
{
 public:
 // constructors
 void weatherData();
 void weatherData(unsigned int weatherTime, int greenhouseTemp,int greenhouseHumidity,
                  int backupGreenhouseTemp, int backupGreenhouseHumidity,int outsideTemp,
                  int outsideHumidity, int solar, int high, int low);
 // methods 
 void message(int);
 
 // variables
 unsigned int weatherTime;
 int greenhouseTemp;
 int greenhouseHumidity;
 int backupGreenhouseTemp;
 int backupGreenhouseHumidity;
 int outsideTemp;
 int outsideHumidity;
 int solar;
 int high;
 int low;
 
 
// private:
 unsigned int _weatherTime;
 int _greenhouseTemp;
 int _greenhouseHumidity;
 int _backupGreenhouseTemp;
 int _backupGreenhouseHumidity;
 int _outsideTemp;
 int _outsideHumidity;
 int _solar;
 int _high;
 int _low;
  
};

// particle functions
int greenhouseData(String command);
int setSeason(String command);
int setDaylightSavings(String command);

// setup functions called in setup()
void particleInit();
// time alarms functions 
void MorningAlarm();
void EveningAlarm();
void synchTime();
// variables used 
int tzOffset;
int AMsetback;
int PMsetback;
int dayProgram;
int nightProgram;




#endif
{'fraction_non_alphanumeric': 0.07769230769230769, 'fraction_numerical': 0.002307692307692308, 'mean_word_length': 4.545842217484009, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5603322', 'n_tokens_mistral': 802, 'n_tokens_neox': 728, 'n_words': 243}