forked from u236/homed-service-zigbee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reporting.cpp
40 lines (36 loc) · 2.75 KB
/
reporting.cpp
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
#include "reporting.h"
void ReportingObject::registerMetaTypes(void)
{
qRegisterMetaType <Reportings::BatteryVoltage> ("batteryVoltageReporting");
qRegisterMetaType <Reportings::BatteryPercentage> ("batteryPercentageReporting");
qRegisterMetaType <Reportings::DeviceTemperature> ("deviceTemperatureReporting");
qRegisterMetaType <Reportings::Status> ("statusReporting");
qRegisterMetaType <Reportings::Level> ("levelReporting");
qRegisterMetaType <Reportings::AnalogInput> ("analogInputReporting");
qRegisterMetaType <Reportings::AnalogOutput> ("analogOutputReporting");
qRegisterMetaType <Reportings::CoverPosition> ("coverPositionReporting");
qRegisterMetaType <Reportings::CoverTilt> ("coverTiltReporting");
qRegisterMetaType <Reportings::Thermostat> ("thermostatReporting");
qRegisterMetaType <Reportings::ColorHS> ("colorHSReporting");
qRegisterMetaType <Reportings::ColorXY> ("colorXYReporting");
qRegisterMetaType <Reportings::ColorTemperature> ("colorTemperatureReporting");
qRegisterMetaType <Reportings::Illuminance> ("illuminanceReporting");
qRegisterMetaType <Reportings::Temperature> ("temperatureReporting");
qRegisterMetaType <Reportings::Pressure> ("pressureReporting");
qRegisterMetaType <Reportings::Humidity> ("humidityReporting");
qRegisterMetaType <Reportings::Occupancy> ("occupancyReporting");
qRegisterMetaType <Reportings::Moisture> ("moistureReporting");
qRegisterMetaType <Reportings::CO2> ("co2Reporting");
qRegisterMetaType <Reportings::PM25> ("pm25Reporting");
qRegisterMetaType <Reportings::Energy> ("energyReporting");
qRegisterMetaType <Reportings::Voltage> ("voltageReporting");
qRegisterMetaType <Reportings::Current> ("currentReporting");
qRegisterMetaType <Reportings::Power> ("powerReporting");
qRegisterMetaType <ReportingsEfekta::PMSensor> ("efektaPMSensorReporting");
qRegisterMetaType <ReportingsEfekta::VOCSensor> ("efektaVOCSensorReporting");
qRegisterMetaType <ReportingsModkam::EventsPerMinute> ("modkamEventsPerMinuteReporting");
qRegisterMetaType <ReportingsModkam::DosePerHour> ("modkamDosePerHourReporting");
qRegisterMetaType <ReportingsPerenio::Voltage> ("perenioVoltageReporting");
qRegisterMetaType <ReportingsPerenio::Power> ("perenioPowerReporting");
qRegisterMetaType <ReportingsPerenio::Energy> ("perenioEnergyReporting");
}