-
Notifications
You must be signed in to change notification settings - Fork 0
/
BeeHive.h
52 lines (41 loc) · 1.36 KB
/
BeeHive.h
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
42
43
44
45
46
47
48
49
50
51
52
#include "Arduino.h"
class BeeHive
{
int internalHumidity; //inside BeeHive humidity
int externalHumidity; //outside BeeHive humidity
double internalTemp; //inside BeeHive temperature
double externalTemp; //outside BeeHive temperature
double weight; //BeeHive weight
String openscale; //String von OpenScale Chip
unsigned long beeReturned; //returned bee-count
unsigned long beeOutside; //outside bee-count
bool lidState; //state of BeeHive lid (open/closed)
public:
//set or get Openscale-String
void setOpenscale(String openscale);
String getOpenscale();
//set or get internal temperature
void setIntTemp(double intTemp);
double getIntTemp();
//set or get external temperature
void setExtTemp(double extTemp);
double getExtTemp();
//set or get internal humidity
void setIntHum(int intHum);
int getIntHum();
//set or get external humidity
void setExtHum(int extHum);
int getExtHum();
//set or get beehive weight
void setWeight(double weight);
double getWeight();
//set or get count of bees returned
void setBeeReturned(unsigned long beeReturned);
unsigned long getBeeReturned();
//set or get count of bees outside
void setBeeOutside(unsigned long beeOutside);
unsigned long getBeeOutside();
//set or get lid state
void setLidState(bool lidState);
bool getLidState();
};