diff options
-rw-r--r-- | src/plugins/ivivehiclefunctions/vehiclefunction_simulator/climatecontrolbackend.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/ivivehiclefunctions/vehiclefunction_simulator/climatecontrolbackend.cpp b/src/plugins/ivivehiclefunctions/vehiclefunction_simulator/climatecontrolbackend.cpp index ad21e3b..c0635c8 100644 --- a/src/plugins/ivivehiclefunctions/vehiclefunction_simulator/climatecontrolbackend.cpp +++ b/src/plugins/ivivehiclefunctions/vehiclefunction_simulator/climatecontrolbackend.cpp @@ -65,8 +65,8 @@ ClimateControlBackend::ClimateControlBackend(QObject *parent) : leftZone.seatHeater = 10; leftZone.seatHeaterAttribute = QIviPropertyAttribute<int>(0, 10); leftZone.targetTemperature = 20; - leftZone.targetTemperatureAttribute = QIviPropertyAttribute<int>(0, 10); - m_zoneMap.insert("FrontLeft",leftZone); + leftZone.targetTemperatureAttribute = QIviPropertyAttribute<int>(16, 28); + m_zoneMap.insert("FrontLeft", leftZone); ZoneBackend rightZone; rightZone.seatCooler = 5; @@ -74,17 +74,17 @@ ClimateControlBackend::ClimateControlBackend(QObject *parent) : rightZone.seatHeater = 0; rightZone.seatHeaterAttribute = QIviPropertyAttribute<int>(0, 10); rightZone.targetTemperature = 20; - rightZone.targetTemperatureAttribute = QIviPropertyAttribute<int>(0, 10); - m_zoneMap.insert("FrontRight",rightZone); + rightZone.targetTemperatureAttribute = QIviPropertyAttribute<int>(16, 28); + m_zoneMap.insert("FrontRight", rightZone); ZoneBackend rearZone; rearZone.seatCooler = 0; rearZone.seatCoolerAttribute = QIviPropertyAttribute<int>(); rearZone.seatHeater = 0; rearZone.seatHeaterAttribute = QIviPropertyAttribute<int>(); - rearZone.targetTemperature = 10; - rearZone.targetTemperatureAttribute = QIviPropertyAttribute<int>(0, 10); - m_zoneMap.insert("Rear",rearZone); + rearZone.targetTemperature = 20; + rearZone.targetTemperatureAttribute = QIviPropertyAttribute<int>(16, 28); + m_zoneMap.insert("Rear", rearZone); } ClimateControlBackend::~ClimateControlBackend() @@ -112,7 +112,7 @@ void ClimateControlBackend::initializeAttributes() emit defrostAttributeChanged(QIviPropertyAttribute<bool>(true)); emit steeringWheelHeaterAttributeChanged(QIviPropertyAttribute<int>(0, 10)); emit steeringWheelHeaterChanged(m_steeringWheelHeater); - emit fanSpeedLevelAttributeChanged(QIviPropertyAttribute<int>(0, 10)); + emit fanSpeedLevelAttributeChanged(QIviPropertyAttribute<int>(0, 6)); emit fanSpeedLevelChanged(m_fanSpeed); QVector<QIviClimateControl::RecirculationMode> recirculation; |