summaryrefslogtreecommitdiffstats
path: root/lib/Kuksa-server
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-12-07 22:10:39 +0900
committerScott Murray <scott.murray@konsulko.com>2022-12-13 03:54:05 +0000
commite6ecc5d46c7ebb11efbc674289c87e50f6d5dfbc (patch)
treee941e20c556af79cb944a28a32a4df5e27765bb6 /lib/Kuksa-server
parent5db65d9bb45a1022c37556506ef0c15c3cc8c263 (diff)
Update Tier -> Tire
Bug-AGL: SPEC-4642 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8540eb55d83bf617a4c0d7fb9f97a16c72611603 (cherry picked from commit 1a5706e55524f8ba16d28ea9e9748e3ff0ac48c1)
Diffstat (limited to 'lib/Kuksa-server')
-rw-r--r--lib/Kuksa-server/vehicle_methods.dart24
-rw-r--r--lib/Kuksa-server/vehicle_server_path.dart8
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";