3.3.3. Ajout et édition d’événements de maintenance
This represents a guide on how to add or edit maintenance event data in TWW.
3.3.3.1. Généralités
Maintenance events can be connected to one structure or to many. Therefore TWW uses a intermediary RE_table to model the n:m relationship (re_maintenance_event_wastewater_structure)
3.3.3.2. Ajouter un nouvel incident de maintenance
Activez le mode d’édition.
With the Identify Features tool you can select wastewater_structures or reaches by selecting their corresponding layer (vw_tww_wastewater_structure or vw_tww_reach).
Le formulaire correspondant va s’ouvrir. Allez dans l’onglet Evénement de maintenance.
Créér un nouvel incident de maintenance avec le bouton Ajout entité-enfant.
Edit the new record in the vw_tww_maintenance form, then click OK
3.3.3.3. Créer un lien avec un incident de maintenance existant
Activez le mode d’édition.
With the Identify Features tool you can select wastewater_structures or reaches by selecting their corresponding layer (vw_tww_wastewater_structure or vw_tww_reach).
Le formulaire correspondant va s’ouvrir. Allez dans l’onglet Evénement de maintenance.
Cliquez sur le bouton Lier entités-enfant existantes.
Choose a maintenance event from the Dialog window by clicking in the box of the record. The box must by yellow. Then click OK
Fermez la fenêtre en cliquant sur OK et désélectionnez le mode d’édition pour enregistrer les modifications.
3.3.3.4. Supprimer le lien avec incidents de maintenance
Activez le mode d’édition.
With the Identify Features tool you can select wastewater_structures or reaches by selecting their corresponding layer (vw_tww_wastewater_structure or vw_tww_reach).
Le formulaire correspondant va s’ouvrir. Allez dans l’onglet Evénement de maintenance.
Sélectionner un incident de maintenance en cliquant dans le case (la case devient jaune), puis cliquez sur le bouton Delete child feature
Attention
Seul la liaison stockée dans la RE-table est supprimé. Les événements de maintenance ne sont pas supprimés et peuvent toujours être reliés à d’autres ouvrages.
3.3.3.5. Édition
Do as described in adding - but just edit existing maintenance events. Or edit the vw_tww_maintenance table (layer group inspection)
3.3.3.6. Multi Edit
Multi edit with linked tables is implemented in QGIS. It is possible to create or to link a maintenance event to a selection of reaches or wastewater structures im multiedit-mode.