Écrire et vérifier un modèle › Construire des applications de données › One signal in depth

Écrire et vérifier un modèle › Construire des applications de données

Cette page n’est pas encore traduite : voici la version anglaise.

One signal in depth

One signal, a drive motor's temperature, against its requirement: its range, its breakdowns by rover and mode, and the period before. It does the job of the anfra Step Explore.

archec new my-app --kind data-app --template signal-in-depth
archec ui preview my-app/main.arche --serve

What it shows#

  • A filter bar: the last 7 days (the date pills pick another range), a rover, a mode.
  • Three tiles: the mean with its daily trend, the p95 and the peak against REQ-MOTOR-TEMP, each against the period before.
  • The peak and mean by hour, with the requirement's limit.
  • The p95 by rover and by mode, the mean by day and firmware, how it spreads.

The data#

  • data/motor.csv: a row per rover and hour: at, rover, board, firmware, mode, motor_temp.

Limits#

  • One signal per screen: for another, copy the screen and change its metrics.

The model is lib/data-apps/signal-in-depth/main.arche, and the gallery lists the other templates.