diff options
author | Lukáš Tinkl <ltinkl@luxoft.com> | 2017-08-08 21:24:02 +0200 |
---|---|---|
committer | Lukáš Tinkl <ltinkl@luxoft.com> | 2017-08-17 10:57:45 +0000 |
commit | d64de5aed436968492d35245545192b30138744b (patch) | |
tree | a3f81eb0f4ea1250d395eebfa5da038e171d8ee7 | |
parent | 276e0a752226f94627d71ed1cef19cb6b87d98d4 (diff) | |
download | qtivi-d64de5aed436968492d35245545192b30138744b.tar.gz |
change the targetTemperature from int -> real
rationale: neptune-ui always allowed for fractional temperatures
but due to a bug this has never really worked properly
Change-Id: If2833463644cfb4cee97f74c5e7ae308c943b92d
Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
-rw-r--r-- | examples/core/qface-ivi-climate/example-ivi-climate.qface | 4 | ||||
-rw-r--r-- | src/ivivehiclefunctions/ivivehiclefunctions.qface | 4 | ||||
-rw-r--r-- | src/ivivehiclefunctions/ivivehiclefunctions.yaml | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/core/qface-ivi-climate/example-ivi-climate.qface b/examples/core/qface-ivi-climate/example-ivi-climate.qface index 9459c08..ec99060 100644 --- a/examples/core/qface-ivi-climate/example-ivi-climate.qface +++ b/examples/core/qface-ivi-climate/example-ivi-climate.qface @@ -34,8 +34,8 @@ interface ClimateControl { * in centigrades, where the temperature can be between * minimumValue(coolest) to maximumValue (warmest). */ - @config_simulator: { maximum: 30 } - int targetTemperature; + @config_simulator: { maximum: 30.0 } + real targetTemperature; /** * @brief value holds the seat cooler level, where the level can be * between minimumValue(off) to maximumValue (coolest). diff --git a/src/ivivehiclefunctions/ivivehiclefunctions.qface b/src/ivivehiclefunctions/ivivehiclefunctions.qface index cd99a35..8515d4f 100644 --- a/src/ivivehiclefunctions/ivivehiclefunctions.qface +++ b/src/ivivehiclefunctions/ivivehiclefunctions.qface @@ -42,8 +42,8 @@ interface QIviClimateControl { * in centigrades, where the temperature can be between * minimumValue(coolest) to maximumValue (warmest). */ - @config_simulator: { maximum: 30 } - int targetTemperature; + @config_simulator: { maximum: 30.0 } + real targetTemperature; /** * Holds the seat cooler level, where the level can be * between minimumValue(off) to maximumValue (coolest). diff --git a/src/ivivehiclefunctions/ivivehiclefunctions.yaml b/src/ivivehiclefunctions/ivivehiclefunctions.yaml index e4851d5..e43a7d8 100644 --- a/src/ivivehiclefunctions/ivivehiclefunctions.yaml +++ b/src/ivivehiclefunctions/ivivehiclefunctions.yaml @@ -52,7 +52,7 @@ QtIviVehicleFunctions.QIviClimateControl#automaticClimateFanIntensityLevel: QtIviVehicleFunctions.QIviClimateControl#targetTemperature: config_simulator: - default: 0 + default: 0.0 zoned: true QtIviVehicleFunctions.QIviClimateControl#seatCooler: |