Ajout de la fonctionnalité Favoris (V2.2)

- Nouvelle catégorie Favoris: recuperation des favoris depuis Project.gfx (getFavorites.dg5)
- Pages menuFavorites.dg5 et showDataFav.dg5 + bibliothèques JSZip/jQuery
- Navigation index.dg5: ajout de la catégorie Favoris
- Correctif override.dg5: exclusion des points /services/subnet
- Bump version 2.2 et description "Alternative to Command"
- Mise a jour README (doc Favoris + changelog)
This commit is contained in:
2026-06-10 05:54:31 +02:00
parent fbd191d9dc
commit c6482c396d
13 changed files with 279 additions and 9 deletions
+63 -6
View File
@@ -2,7 +2,7 @@
*English version below*
**Version:** 2.1\
**Version:** 2.2\
**Auteur:** Charles-Arthur DAVID\
**Plateforme:** Distech Controls Designer\
**Compatibilité:** Automates Eclypse (Version V2)\
@@ -21,6 +21,7 @@ Ce projet offre une navigation structurée par catégories de points (entrées/s
## Fonctionnalités
- **Navigation par catégories** : Organisation automatique des points BACnet par type
- Favoris (Favorites)
- Entrées Analogiques (Analog Input)
- Sorties Analogiques (Analog Output)
- Valeurs Analogiques (Analog Value)
@@ -34,6 +35,7 @@ Ce projet offre une navigation structurée par catégories de points (entrées/s
- Dérogations (Override)
- Alarmes (Alarms)
- **Favoris** : Récupération automatique des favoris configurés dans l'automate (fichier `Project.gfx`) et affichage regroupé par groupe de favoris
- **Support multilingue** : Interface disponible en Français et Anglais
- **Thème clair/sombre** : Personnalisation de l'apparence selon les préférences
- **Interface responsive** : Adaptation automatique à différentes tailles d'écran
@@ -51,7 +53,8 @@ Ce projet offre une navigation structurée par catégories de points (entrées/s
Téléchargez la version souhaitée dans la section Paquets:
[cadMyDCFacilities_V2.1.zip](https://git.cadjou.net/api/packages/DistechControls/generic/cadMyDCFacilities/2.1/cadMyDCFacilities_V2.1.zip)
- [cadMyDCFacilities_V2.2.zip](https://git.cadjou.net/api/packages/DistechControls/generic/cadMyDCFacilities/2.2/cadMyDCFacilities_V2.2.zip) (avec Favoris)
- [cadMyDCFacilities_V2.1.zip](https://git.cadjou.net/api/packages/DistechControls/generic/cadMyDCFacilities/2.1/cadMyDCFacilities_V2.1.zip) (sans Favoris)
### 2. Importation dans Designer
@@ -86,11 +89,16 @@ cadMyDC/
├── pages/ # Pages spécialisées
│ ├── alarms.dg5 # Gestion des alarmes
│ ├── loadingPage.dg5 # Page de chargement
│ ├── menuFavorites.dg5 # Menu des favoris (regroupement par groupe)
│ ├── noData.dg5 # Page sans données
│ ├── override.dg5 # Gestion des dérogations
│ ├── schedule.dg5 # Gestion des programmes horaires
│ ├── showData.dg5 # Affichage des données
│ ├── showDataFav.dg5 # Affichage des points favoris
│ └── trend.dg5 # Affichage des tendances
├── js/ # Scripts et bibliothèques
│ ├── getFavorites.dg5 # Récupération/parsing des favoris depuis Project.gfx
│ └── libraries/ # Bibliothèques tierces (jQuery, JSZip) pour la décompression
├── palette/ # Widgets personnalisés (vide actuellement)
└── fonts/ # Polices personnalisées
```
@@ -124,6 +132,7 @@ L'interface présente un menu latéral avec toutes les catégories de points dé
### Visualisation des données
- Les **favoris** (Favorites) affichent les points marqués comme favoris dans l'automate, regroupés par groupe de favoris
- Les **points standards** (AI, AO, AV, BI, BO, BV, MSI, MSV) affichent leurs valeurs et permettent les modifications (selon les droits)
- Les **tendances** (Trend Log) affichent les graphiques historiques
- Les **programmes** (Schedule) permettent la visualisation et modification des plannings
@@ -175,7 +184,12 @@ Toute demande de support adressée à Distech Controls concernant ce projet sera
## Historique des versions
### Version 2.1 (Actuelle)
### Version 2.2 (Actuelle)
- Nouvelle catégorie **Favoris** : récupération automatique des favoris depuis le `Project.gfx` de l'automate, affichage regroupé par groupe de favoris
- Correctif de la page **Dérogations** : exclusion des points `/services/subnet`
- Mise à jour de la description du projet (« Alternative to Command »)
### Version 2.1
- Interface de navigation structurée par catégories
- Support multilingue FR/EN (via paramètre URL)
- Thèmes clair/sombre
@@ -189,7 +203,7 @@ Toute demande de support adressée à Distech Controls concernant ce projet sera
*Version française ci-dessus*
**Version:** 2.1\
**Version:** 2.2\
**Author:** Charles-Arthur DAVID\
**Platform:** Distech Controls Designer\
**Compatibility:** Eclypse Controllers (Version V2)\
@@ -208,6 +222,7 @@ This project offers structured navigation by point categories (analog/digital/mu
## Features
- **Category-based navigation**: Automatic organization of BACnet points by type
- Favorites
- Analog Inputs
- Analog Outputs
- Analog Values
@@ -221,6 +236,7 @@ This project offers structured navigation by point categories (analog/digital/mu
- Overrides
- Alarms
- **Favorites**: Automatic retrieval of the favorites configured in the controller (`Project.gfx` file) and display grouped by favorite group
- **Multilingual support**: Interface available in French and English
- **Light/Dark theme**: Customization of appearance according to preferences
- **Responsive interface**: Automatic adaptation to different screen sizes
@@ -238,7 +254,8 @@ This project offers structured navigation by point categories (analog/digital/mu
Download the desired version from the Packages section:
[cadMyDCFacilities_V2.1.zip](https://git.cadjou.net/api/packages/DistechControls/generic/cadMyDCFacilities/2.1/cadMyDCFacilities_V2.1.zip)
- [cadMyDCFacilities_V2.2.zip](https://git.cadjou.net/api/packages/DistechControls/generic/cadMyDCFacilities/2.2/cadMyDCFacilities_V2.2.zip) (with Favorites)
- [cadMyDCFacilities_V2.1.zip](https://git.cadjou.net/api/packages/DistechControls/generic/cadMyDCFacilities/2.1/cadMyDCFacilities_V2.1.zip) (without Favorites)
### 2. Import into Designer
@@ -273,11 +290,16 @@ cadMyDC/
├── pages/ # Specialized pages
│ ├── alarms.dg5 # Alarms management
│ ├── loadingPage.dg5 # Loading page
│ ├── menuFavorites.dg5 # Favorites menu (grouped by group)
│ ├── noData.dg5 # No data page
│ ├── override.dg5 # Override management
│ ├── schedule.dg5 # Schedule management
│ ├── showData.dg5 # Data display
│ ├── showDataFav.dg5 # Favorite points display
│ └── trend.dg5 # Trends display
├── js/ # Scripts and libraries
│ ├── getFavorites.dg5 # Favorites retrieval/parsing from Project.gfx
│ └── libraries/ # Third-party libraries (jQuery, JSZip) for unzipping
├── palette/ # Custom widgets (currently empty)
└── fonts/ # Custom fonts
```
@@ -311,6 +333,7 @@ The interface presents a side menu with all automatically detected point categor
### Data Visualization
- **Favorites** display the points marked as favorites in the controller, grouped by favorite group
- **Standard points** (AI, AO, AV, BI, BO, BV, MSI, MSV) display their values and allow modifications (according to rights)
- **Trends** (Trend Log) display historical graphs
- **Schedules** allow viewing and modification of schedules
@@ -362,7 +385,12 @@ Any support request addressed to Distech Controls concerning this project will b
## Version History
### Version 2.1 (Current)
### Version 2.2 (Current)
- New **Favorites** category: automatic retrieval of favorites from the controller's `Project.gfx`, displayed grouped by favorite group
- **Override** page fix: exclusion of `/services/subnet` points
- Updated project description ("Alternative to Command")
### Version 2.1
- Category-based navigation interface
- Multilingual support FR/EN (via URL parameter)
- Light/Dark themes
@@ -371,3 +399,32 @@ Any support request addressed to Distech Controls concerning this project will b
- Compatible with Eclypse V2+
---
## Changelog
Le format est basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/).
### [2.2] - 2026-06-10
#### Ajouté
- Catégorie **Favoris** dans la navigation principale.
- `js/getFavorites.dg5` : téléchargement du `Project.gfx` de l'automate, décompression côté navigateur (JSZip) et extraction de `Favorites.xml` vers `data/Favorites.csv`.
- `js/libraries/` : bibliothèques tierces (jQuery, JSZip, `getZip.html`, `dgframe.js`) pour la décompression.
- `pages/menuFavorites.dg5` : menu des favoris regroupés par groupe.
- `pages/showDataFav.dg5` : affichage des points d'un groupe de favoris.
#### Corrigé
- Page **Dérogations** (`pages/override.dg5`) : exclusion des points `/services/subnet` (en plus de `/services/hardware-io`).
#### Modifié
- Description du projet dans `_proj.json` : « Alternative to Command ».
### [2.1]
#### Ajouté
- Interface de navigation structurée par catégories de points BACnet.
- Support multilingue FR/EN (via paramètre URL).
- Thèmes clair/sombre.
- Pages spécialisées pour les alarmes, tendances, programmes horaires et dérogations.
- Auto-découverte des points BACnet.
- Compatibilité Eclypse V2+.