diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-12-07 22:10:39 +0900 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-12-07 22:14:28 +0900 |
commit | 1a5706e55524f8ba16d28ea9e9748e3ff0ac48c1 (patch) | |
tree | e941e20c556af79cb944a28a32a4df5e27765bb6 /lib/Kuksa-server | |
parent | 30ebc2ffda4d8d2f6f751f217a4fc1472b00dd99 (diff) |
Update Tier -> Tire
Bug-AGL: SPEC-4642
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8540eb55d83bf617a4c0d7fb9f97a16c72611603
Diffstat (limited to 'lib/Kuksa-server')
-rw-r--r-- | lib/Kuksa-server/vehicle_methods.dart | 24 | ||||
-rw-r--r-- | lib/Kuksa-server/vehicle_server_path.dart | 8 |
2 files changed, 16 insertions, 16 deletions
diff --git a/lib/Kuksa-server/vehicle_methods.dart b/lib/Kuksa-server/vehicle_methods.dart index 099d480..1a99bc7 100644 --- a/lib/Kuksa-server/vehicle_methods.dart +++ b/lib/Kuksa-server/vehicle_methods.dart @@ -14,10 +14,10 @@ class VISS { subscribe(socket,ref, VSPath.vehicleSpeed); subscribe(socket,ref, VSPath.vehicleEngineRPM); subscribe(socket,ref, VSPath.vehicleFuelLevel); - subscribe(socket,ref, VSPath.vehicleFrontLeftTier); - subscribe(socket, ref,VSPath.vehicleFrontRightTier); - subscribe(socket, ref,VSPath.vehicleRearLeftTier); - subscribe(socket,ref, VSPath.vehicleRearRightTier); + subscribe(socket,ref, VSPath.vehicleFrontLeftTire); + subscribe(socket, ref,VSPath.vehicleFrontRightTire); + subscribe(socket, ref,VSPath.vehicleRearLeftTire); + subscribe(socket,ref, VSPath.vehicleRearRightTire); subscribe(socket, ref,VSPath.vehicleIsChildLockActiveLeft); subscribe(socket,ref, VSPath.vehicleIsChildLockActiveRight); subscribe(socket,ref, VSPath.vehicleCurrentLatitude); @@ -32,10 +32,10 @@ class VISS { get(socket,ref, VSPath.vehicleEngineRPM); get(socket,ref, VSPath.vehicleFuelLevel); get(socket,ref,VSPath.vehicleAmbientAirTemperature); - get(socket,ref,VSPath.vehicleFrontLeftTier); - get(socket,ref, VSPath.vehicleFrontRightTier); - get(socket,ref, VSPath.vehicleRearLeftTier); - get(socket,ref, VSPath.vehicleRearRightTier); + get(socket,ref,VSPath.vehicleFrontLeftTire); + get(socket,ref, VSPath.vehicleFrontRightTire); + get(socket,ref, VSPath.vehicleRearLeftTire); + get(socket,ref, VSPath.vehicleRearRightTire); get(socket,ref,VSPath.vehicleIsChildLockActiveLeft); get(socket,ref, VSPath.vehicleIsChildLockActiveRight); get(socket,ref,VSPath.vehicleCurrentLatitude); @@ -127,16 +127,16 @@ class VISS { case VSPath.vehicleFuelLevel: vehicleSignal.update(fuelLevel: dp["value"]); break; - case VSPath.vehicleFrontLeftTier: + case VSPath.vehicleFrontLeftTire: vehicleSignal.update(frontLeftTP: dp["value"]); break; - case VSPath.vehicleFrontRightTier: + case VSPath.vehicleFrontRightTire: vehicleSignal.update(frontRightTP: dp["value"]); break; - case VSPath.vehicleRearLeftTier: + case VSPath.vehicleRearLeftTire: vehicleSignal.update(rearLeftTP: dp["value"]); break; - case VSPath.vehicleRearRightTier: + case VSPath.vehicleRearRightTire: vehicleSignal.update(rearRightTP: dp["value"]); break; diff --git a/lib/Kuksa-server/vehicle_server_path.dart b/lib/Kuksa-server/vehicle_server_path.dart index de33502..8d8923c 100644 --- a/lib/Kuksa-server/vehicle_server_path.dart +++ b/lib/Kuksa-server/vehicle_server_path.dart @@ -11,14 +11,14 @@ class VSPath { static const String vehicleAmbientAirTemperature = "Vehicle.AmbientAirTemperature"; - static const String vehicleFrontLeftTier = + static const String vehicleFrontLeftTire = "Vehicle.Chassis.Axle.Row1.Wheel.Left.Tire.Pressure"; - static const String vehicleFrontRightTier = + static const String vehicleFrontRightTire = "Vehicle.Chassis.Axle.Row1.Wheel.Right.Tire.Pressure"; - static const String vehicleRearLeftTier = + static const String vehicleRearLeftTire = "Vehicle.Chassis.Axle.Row2.Wheel.Left.Tire.Pressure"; - static const String vehicleRearRightTier = + static const String vehicleRearRightTire = "Vehicle.Chassis.Axle.Row2.Wheel.Right.Tire.Pressure"; static const String vehicleIsChildLockActiveLeft = "Vehicle.Cabin.Door.Row2.Left.IsChildLockActive"; |