Skip to content

Superviseur — Frontend v1.0.0


Superviseur — Frontend / features/map/map.utils

features/map/map.utils ​

Fonctions ​

FonctionDescription
findZoneFinds 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)
findDetectorFinds a Detector in the system state corresponding to a MapPoint. Requires the zone to be found first.
getPointStatusCalculates the status of a point based on its type and detectors.
getPointLabelCompose le libellé d'un point selon le gabarit déclaré par le profil de sa centrale.

Documentation Technique