GeezerVison is showing github.com — Stoppuhr: alarms at set Zeitmarken for a Leistungsprüfung, and the time turns red past the Max.-Zeit · Issue #99 · CodeForFire/FwAssist
Stoppuhr: alarms at set Zeitmarken for a Leistungsprüfung, and the time turns red past the Max.-Zeit #99
Description
Found in 0.3.0-alpha.3.
Problem / use case
At a Leistungsprüfung Brand or THL, the Schiedsrichter has to watch fixed times: Zeitmarken by which a step must be done, and a maximum time for the whole exercise. The Stoppuhr only counts up. Someone has to keep looking at it and remember the numbers, and nothing tells them when a mark has passed or the maximum is exceeded.
Proposed solution
- Zeitmarken with an alarm. The Stoppuhr can carry a list of Zeitmarken and a Max.-Zeit. When the running time reaches a mark, the phone gives a short sound, vibrates and shows which mark was reached (for example
1:30 – Wasser am Verteiler).
- Presets plus own marks. Presets
LP BRAND and LP THL fill in the Zeitmarken and the Max.-Zeit of the Leistungsprüfung. The user can also enter their own Zeitmarken and Max.-Zeit. Without a preset or own marks, the Stoppuhr behaves as today.
- Over the limit. Once the Max.-Zeit is exceeded, the time turns red (
SignalBrush) and a text such as ZEIT ÜBERSCHRITTEN appears. Colour never carries the meaning alone (AGENTS.md, Mobile → Daylight).
Notes for the build:
- The times for LP Brand and LP THL differ by Land. Look up the regulation that applies and cite it on screen, as the other helpers cite their Quelle. If the times cannot be sourced, ship the own Zeitmarken first.
- The alarm is driven by the clock, not by counting ticks (
StopwatchState). A mark passed while the phone slept fires once when it wakes.
- Sound and vibration reuse the Hydrantenkarte's
IAttentionSignal seam (Hydrantenkarte: sound and a large message when the Richtungspfeil reaches the Hydrant #70) instead of a new one.
- The chosen preset and own marks survive process death through
HelperServices.Settings.
Definition of done
- Tests with
FakeTimeProvider: each mark fires exactly once, the Max.-Zeit switches the state, and ZURÜCKSETZEN clears it.
- Before/after phone screenshots in the PR;
DemoFlowRenderTests and the README screenshots regenerated if the page changes.
- One
changelog.d/ entry.
Metadata
Metadata
Development
No branches or pull requestsIssue actions