Thème
Superviseur — Frontend v0.14.0
Superviseur — Frontend / features/map/map.utils
features/map/map.utils
Fonctions
| Fonction | Description |
|---|---|
| findZone | Finds a Zone in the system state corresponding to a MapPoint. Handles: 1. Match by Label (case-insensitive) 2. Match by ID (exact or string-to-number) 3. Match by Index (Aviss 1-based offset) |
| findDetector | Finds a Detector in the system state corresponding to a MapPoint. Requires the zone to be found first. |
| getPointStatus | Calculates the status of a point based on its type and detectors. |
| getPointLabel | Generates a label for a point based on panel type and index. |