-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinverterdata.hpp
66 lines (49 loc) · 1.28 KB
/
inverterdata.hpp
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef INVERTERDATA_HPP
#define INVERTERDATA_HPP
#include <QString>
#include <QDateTime>
class InverterData
{
public:
InverterData();
InverterData(InverterData& other);
~InverterData();
QDateTime getDatetime() const;
void setDatetime(const QDateTime& value);
QString getRaw() const;
void setRaw(const QString& value);
float getUdc() const;
void setUdc(float value);
float getIdc() const;
void setIdc(float value);
float getUl1() const;
void setUl1(float value);
float getIl1() const;
void setIl1(float value);
float getPac() const;
void setPac(float value);
int getPrl() const;
void setPrl(int value);
int getTkk() const;
void setTkk(int value);
float getTnf() const;
void setTnf(float value);
float getKdy() const;
void setKdy(float value);
float getKld() const;
void setKld(float value);
private:
QDateTime datetime;
QString raw;
float udc;
float idc;
float ul1;
float il1;
float pac;
int prl;
int tkk;
float tnf;
float kdy;
float kld;
};
#endif // INVERTERDATA_HPP