diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-01-05 18:50:51 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-01-05 18:52:32 -0500 |
commit | dbb971abeaa2beff2a13e421f8cca83b3054db34 (patch) | |
tree | 049af6bf56c53534807f6cb5de9803dcb111c4e6 /lib/vehicle-signals/vss_path.dart | |
parent | da47b0611f7495fb9f4727449721c18c9a617217 (diff) |
Fix unit handling
Fix distance unit handling with respect to the VSS signal for that,
and add temperature unit support.
Bug-AGL: SPEC-5045
Change-Id: I9b25c36c36d19da55f1b9bff7f380c55d592d5d6
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'lib/vehicle-signals/vss_path.dart')
-rw-r--r-- | lib/vehicle-signals/vss_path.dart | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/vehicle-signals/vss_path.dart b/lib/vehicle-signals/vss_path.dart index dae8a53..047ad18 100644 --- a/lib/vehicle-signals/vss_path.dart +++ b/lib/vehicle-signals/vss_path.dart @@ -32,7 +32,7 @@ class VSSPath { static const String vehicleHazardLightOn = "Vehicle.Body.Lights.Hazard.IsSignaling";
- static const String vehicleTravelledDistance = "Vehicle.TraveledDistance";
+ static const String vehicleTraveledDistance = "Vehicle.TraveledDistance";
static const String vehicleTrunkLocked = "Vehicle.Body.Trunk.Rear.IsLocked";
@@ -77,6 +77,9 @@ class VSSPath { static const String vehicleDistanceUnit =
"Vehicle.Cabin.Infotainment.HMI.DistanceUnit";
+ static const String vehicleTemperatureUnit =
+ "Vehicle.Cabin.Infotainment.HMI.TemperatureUnit";
+
static const String vehicleCurrLat = "Vehicle.CurrentLocation.Latitude";
static const String vehicleCurrLon = "Vehicle.CurrentLocation.Longitude";
|