-
Notifications
You must be signed in to change notification settings - Fork 1
/
SmartChargerXML.h
51 lines (40 loc) · 1.23 KB
/
SmartChargerXML.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
#pragma once
#include <QtGlobal>
#include <QObject>
class SmartChargerXML : public QObject {
Q_OBJECT
public:
SmartChargerXML();
~SmartChargerXML();
void ReadSmartChargerXML(void);
// getter functions
double getSmartMeterActualPower(void);
double getSmartMeterConsumption(void);
double getSmartMeterSurplus(void);
double getEVEvaluationPoints(void);
double getEVState(void);
double getEVPlug(void);
double getEVSystemEnabled(void);
double getEVActualPower(void);
double getEVSessionEnergy(void);
QString getEVChargeMode(void);
ulong getEVTotalEnergy(void);
double getStorageSystemSOC(void);
double getStorageSystemTemperature(void);
double getStorageSystemActualPower(void);
private:
double m_SmartMeterActualPower = 0.0;
double m_SmartMeterConsumption = 0.0;
double m_SmartMeterSurplus = 0.0;
QString m_EVChargingMode;
double m_EVEvaluationPoints = 0.0;
int m_EVState = 0;
int m_EVPlug = 0;
int m_EVSystemEnabled = 0;
double m_EVActualPower = 0.0;
double m_EVSessionEnergy = 0.0;
ulong m_EVTotalEnergy = 0;
int m_StorageSystemSOC = 0;
double m_StorageSystemTemperature = 0.0;
double m_StorageSystemActualPower = 0.0;
};