summaryrefslogtreecommitdiffstats
path: root/lib/vehicle_signal/vehicle_signal_path.dart
blob: 6a4d5f36345b41f70cde8a1ef1e7631c5887e2d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// SPDX-License-Identifier: Apache-2.0

class VSPath {
  static const String vehicleSpeed = "Vehicle.Speed";
  static const String vehicleEngineRPM =
      "Vehicle.Powertrain.CombustionEngine.Speed";
  static const String vehicleFuelLevel = "Vehicle.Powertrain.FuelSystem.Level";
  static const String vehicleCoolantTemp =
      "Vehicle.Powertrain.CombustionEngine.ECT";
  static const String vehicleLeftIndicator =
      "Vehicle.Body.Lights.DirectionIndicator.Left.IsSignaling";
  static const String vehicleRightIndicator =
      "Vehicle.Body.Lights.DirectionIndicator.Right.IsSignaling";
  //Selected Gear output=> 0=Neutral, 1/2/..=Forward, -1/..=Reverse, 126=Park, 127=Drive
  static const String vehicleSelectedGear =
      "Vehicle.Powertrain.Transmission.SelectedGear";
  static const String vehicleLowBeamOn = "Vehicle.Body.Lights.Beam.Low.IsOn";
  static const String vehicleHighBeamOn = "Vehicle.Body.Lights.Beam.High.IsOn";
  static const String vehicleParkingLightOn = "Vehicle.Body.Lights.Parking.IsOn";
  static const String vehicleHazardLightOn = "Vehicle.Body.Lights.Hazard.IsSignaling";
  static const String vehicleTravelledDistance = "Vehicle.TravelledDistance";
  static const String vehicleTrunkLocked = "Vehicle.Body.Trunk.Rear.IsLocked";
  static const String vehicleTrunkOpen = "Vehicle.Body.Trunk.Rear.IsOpen";
  // \"normal\",\"sport\",\"economy\",\"snow\",\"rain\"]
  static const String vehiclePerformanceMode =
      "Vehicle.Powertrain.Transmission.PerformanceMode";
  static const String vehicleAmbientAirTemperature =
      "Vehicle.Exterior.AirTemperature";
  static const String vehicleMIL = "Vehicle.OBD.Status.IsMILOn";
  static const String vehicleCruiseControlError =
      "Vehicle.ADAS.CruiseControl.IsError";
  static const String vehicleCruiseControlSpeedSet =
      "Vehicle.ADAS.CruiseControl.SpeedSet";
  static const String vehicleCruiseControlSpeedisActive =
      "Vehicle.ADAS.CruiseControl.IsActive";
  static const String vehicleBatteryChargingStatus =
      "Vehicle.Powertrain.TractionBattery.Charging.IsCharging";

  static const String steeringCruiseEnable =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable";
  static const String steeringCruiseSet =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseSet";
  static const String steeringCruiseResume =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseResume";
  static const String steeringCruiseCancel =
      "Vehicle.Cabin.SteeringWheel.Switches.CruiseCancel";
  static const String steeringLaneDepWarn =
      "Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning";
  static const String steeringInfo =
      "Vehicle.Cabin.SteeringWheel.Switches.Info";
  static const String vehicleDistanceUnit =
      "Vehicle.Cabin.Infotainment.HMI.DistanceUnit";

  static const String vehicleCurrLat = "Vehicle.CurrentLocation.Latitude";
  static const String vehicleCurrLng = "Vehicle.CurrentLocation.Longitude";
  static const String vehicleDesLat =
      "Vehicle.Cabin.Infotainment.Navigation.DestinationSet.Latitude";
  static const String vehicleDesLng =
      "Vehicle.Cabin.Infotainment.Navigation.DestinationSet.Longitude";
}