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
27 lines
978 B
Java
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;
|
|
}
|