1 #ifndef _MAINTENANCE_H_
2 #define _MAINTENANCE_H_
5 #include "dbusplugin.h"
6 #include "abstractdbusinterface.h"
7 #include "abstractroutingengine.h"
14 :
DBusSink(
"Odometer", re, connection, map<string, string>())
23 wantPropertyVariant(VehicleProperty::DistanceTotal,
"DistanceTotal", VariantType::Read);
34 :
DBusSink(
"Fluid", re, connection, map<string, string>())
36 wantPropertyVariant(VehicleProperty::TransmissionFluidLevel,
"Transmission", VariantType::Read);
45 :
DBusSink(
"BatteryStatus", re, connection, map<string, string>())
48 wantPropertyVariant(VehicleProperty::BatteryCurrent,
"Current", VariantType::Read);
58 :
DBusSink(
"Tire", re, connection, map<string, string>())
71 :
DBusSink(
"EngineCoolant", re, connection, map<string, string>())
74 wantPropertyVariant(VehicleProperty::EngineCoolantTemperature,
"Temperature", VariantType::Read);
82 :
DBusSink(
"TransmissionOil", re, connection, map<string, string>())
84 wantPropertyVariant(VehicleProperty::TransmissionOilWear,
"Wear", VariantType::Read);
85 wantPropertyVariant(VehicleProperty::TransmissionOilTemperature,
"Temperature", VariantType::Read);
93 :
DBusSink(
"TransmissionClutch", re, connection, map<string, string>())
103 :
DBusSink(
"BrakeMaintenance", re, connection, map<string, string>())
105 wantPropertyVariant(VehicleProperty::BrakePadWear,
"PadWear", VariantType::Read);
107 wantPropertyVariant(VehicleProperty::BrakeFluidLevelLow,
"FluidLevelLow", VariantType::Read);
115 :
DBusSink(
"WasherFluid", re, connection, map<string, string>())
117 wantPropertyVariant(VehicleProperty::WasherFluidLevel,
"Level", VariantType::Read);
118 wantPropertyVariant(VehicleProperty::WasherFluidLevelLow,
"LevelLow", VariantType::Read);
126 :
DBusSink(
"MalfunctionIndicator", re, connection, map<string, string>())
128 wantPropertyVariant(VehicleProperty::MalfunctionIndicatorOn,
"On", VariantType::Read);
136 :
DBusSink(
"Diagnostic", re, connection, map<string, string>())
138 wantPropertyVariant(VehicleProperty::AccumulatedEngineRuntime,
"AccumulatedEngineRuntime", VariantType::Read);
139 wantPropertyVariant(VehicleProperty::DistanceWithMILOn,
"DistanceWithMILOn", VariantType::Read);
140 wantPropertyVariant(VehicleProperty::DistanceSinceCodeCleared,
"DistanceSinceCodeCleared", VariantType::Read);
141 wantPropertyVariant(VehicleProperty::TimeRunMILOn,
"TimeRunMILOn", VariantType::Read);
142 wantPropertyVariant(VehicleProperty::TimeTroubleCodeClear,
"TimeTroubleCodeClear", VariantType::Read);