More signaling fixes 10/29510/1
authorScott Murray <scott.murray@konsulko.com>
Fri, 8 Dec 2023 01:28:48 +0000 (10:28 +0900)
committerScott Murray <scott.murray@konsulko.com>
Fri, 8 Dec 2023 01:54:30 +0000 (10:54 +0900)
commit71d46d03850653c0229c678de197c6f94fceb477
treeb91915e70c9092d304d3172b93eb61ffb0c287c5
parentdca5f5bc58fc3b25972bedc82827b71300d66adc
More signaling fixes

Changes:
- Fixed parsing of engine speed from databroker response to use
  uint32 again to match VSS type.
- Shifted engine speed definitions in Vehicle class next to
  vehicle speed since that seems a bit saner than having it down at
  the bottom with the temperature values.
- Removed duplicate temperature state from temperature control
  widget, and pushed the use of the providers from the HVAC widget.
  The existing scheme was somewhat broken with respect to having the
  values managed with RiverPod, e.g. new values from external updates
  would not show up until switching away and back to the HVAC tab.
- Moved HVAC "SYNC" button state into the Vehicle state class to
  manage it with RiverPod, and allow use from both the HVAC and
  temperature widgets so that the expected behavior can actually be
  implemented.
- Fixed brace usage in a couple of debugPrint statements.

Bug-AGL: SPEC-4999

Change-Id: I07ea49d20fedca47e6f9e54f45ad34296e0a873c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
lib/core/constants/vss_path.dart
lib/data/data_providers/vehicle_notifier.dart
lib/data/models/vehicle.dart
lib/presentation/screens/hvac/hvac_content.dart
lib/presentation/screens/hvac/widgets/fan_speed_controls.dart
lib/presentation/screens/hvac/widgets/temperature_control.dart