Files
mg4/app/src/main/java/com/evsuite/abrp/ClusterValues.java
T
nilsandClaude Opus 5.5 cba46504a6 App 2.36.0: Overview style Grid, after the Tron films
Neon lines on black over a perspective grid floor that moves with the
speed; the battery as a light wall, power on a disc whose inner ring
turns with it, and the last two minutes of power as a light-cycle trail
of right angles (the Cockpit's PowerTrace, now in ClusterValues). Cyan,
or the accent colour; in cyan the app turns cyan too. In THEMES.md with
two screenshots. Emulator only; not tried on the car.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhzAVaUyqcw5PkGjz4mWW6
2026-10-26 18:33:53 +01:00

27 lines
978 B
Java

package com.evsuite.abrp;
/**
* One reading for the drawn Overview styles (Retro, Futuristic, Sci-fi, Cartoon, MG and the canvas styles):
* what they show, already in display units. Every field is null when unread, and the styles show that as dashes, never 0.
*/
final class ClusterValues {
Float socPercent;
Float rangeKm;
Float powerKw;
Float speedKmh;
/** The car's raw gear code ({@link Gear}). */
Integer gear;
/** kWh/100 km over the last 5 minutes and since start; km since start. */
Double usage5Min;
Double usageTrip;
Double tripKm;
Float climateCelsius;
Float odometerKm;
/** "HH:mm", never null. */
String clock = "";
/** Tyre pressures formatted in the chosen unit, "—" when unread; never null. */
String tyreFl = "—", tyreFr = "—", tyreRl = "—", tyreRr = "—";
/** Battery power over the last two minutes, oldest first, NaN where unread; null before any. */
float[] powerTrail;
}