summaryrefslogtreecommitdiffstats
path: root/lib/Kuksa-server
diff options
context:
space:
mode:
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";