Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: 7fe3cb84 by Tony Chemit at 2024-06-27T11:45:08+02:00 Dans le cas d'une opération activité 34, toujours ajouter le matériaux balise seule sur le FOB - Closes #2910 - - - - - 7c99e313 by Tony Chemit at 2024-06-27T11:45:08+02:00 Sur le formulaire Schéma détaillé de palangre, onglet "Composition", tableau "Paniers", préciser l'unité dans les en-têtes des colonnes - Closes #2905 - - - - - b175fd69 by Tony Chemit at 2024-06-27T12:43:10+02:00 Ultime peaufinage sur traitement d'une OPERA 34 (retrait de balise seule) - Closes #2911 - - - - - 82769ba2 by Tony Chemit at 2024-06-27T12:56:09+02:00 Précisions à ajouter dans la documentation de migration AVDTH - Closes #2897 - - - - - 5 changed files: - core/persistence/avdth/src/main/java/fr/ird/observe/persistence/avdth/data/logbook/FloatingObjectReader.java - core/services/i18n/src/main/i18n/translations/services_en_GB.properties - core/services/i18n/src/main/i18n/translations/services_es_ES.properties - core/services/i18n/src/main/i18n/translations/services_fr_FR.properties - src/site/markdown/avdth/logbook.md Changes: ===================================== core/persistence/avdth/src/main/java/fr/ird/observe/persistence/avdth/data/logbook/FloatingObjectReader.java ===================================== @@ -98,7 +98,7 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { .put("31", "8") .put("32", "8") .put("33", "11") - .put("34", "4") + .put("34", "99") // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2568 .put("40", "11") .put("41", "11") @@ -417,6 +417,12 @@ public class FloatingObjectReader extends DataReader<FloatingObject> { addObjectMaterial(vesselActivityCode, objectMaterialUsed, dataContext.getObjectMaterialCarrion(), whenArriving, whenLeaving, entity); addDefaultObjectMaterialOnUnknownObjectType = false; } + if (vesselActivityCode.equals("34")) { + // add ObjectMaterial 2-2-4-4 + // See https://gitlab.com/ultreiaio/ird-observe/-/issues/2910 + addObjectMaterial(vesselActivityCode, objectMaterialUsed, dataContext.getObjectMaterialAlone(), whenArriving, whenLeaving, entity); + addDefaultObjectMaterialOnUnknownObjectType = false; + } if (floatingObjectExistsInAvdth) { // simple mapping ObjectMaterial objectMaterial = getObjectMaterialByObjectTypeCode(dataContext, objectTypeCode); ===================================== core/services/i18n/src/main/i18n/translations/services_en_GB.properties ===================================== @@ -52,8 +52,8 @@ observe.Common.batches.selected=Selected batches observe.Common.beatDiameter=Beat diameter (cm) observe.Common.branchline=Branchline observe.Common.branchline.short=Branchline -observe.Common.branchlineLength=Branchline length -observe.Common.branchlineLength.short=Branchline length +observe.Common.branchlineLength=Branchline length (m) +observe.Common.branchlineLength.short=Branchline length (m) observe.Common.branchlinesComposition=Branchlines composition observe.Common.branchlinesComposition.validation.uniqueKey=Tuple (topType/type/size) must be unique, value at index %s is duplicated. observe.Common.branchlinesCompositionProportionSum=Branchlines composition proportion sum @@ -64,7 +64,7 @@ observe.Common.catchFate=Fate observe.Common.catchFate.short=Fate observe.Common.catchHealthStatus=Catch health status observe.Common.catchHealthStatus.short=Catch health status -observe.Common.categoryMax=Weight category max (Kg) (Kg) +observe.Common.categoryMax=Weight category max (Kg) observe.Common.categoryMax.short=Cat max observe.Common.categoryMin=Category min observe.Common.categoryMin.short=Cat min @@ -128,10 +128,10 @@ observe.Common.fishingEndDepth=Depth at fishing end (m) observe.Common.fishingStart=Fishing start observe.Common.fishingStartDepth=Depth at fishing start (m) observe.Common.floatingObject.comment=Floating object comment -observe.Common.floatline1Length=Floatline 1 length -observe.Common.floatline1Length.short=Floatline 1 length -observe.Common.floatline2Length=Floatline 2 length -observe.Common.floatline2Length.short=Floatline 2 length +observe.Common.floatline1Length=Floatline 1 length (m) +observe.Common.floatline1Length.short=Floatline 1 length (m) +observe.Common.floatline2Length=Floatline 2 length (m) +observe.Common.floatline2Length.short=Floatline 2 length (m) observe.Common.floatlinesComposition=floatlines composition observe.Common.floatlinesComposition.validation.uniqueKey=Tuple (type/length) must be unique, value at index %s is duplicated. observe.Common.floatlinesCompositionProportionSum=floatlines composition proportion sum @@ -368,8 +368,8 @@ observe.Common.totalLightsticksCount=Total number of lightsticks observe.Common.totalLineLength=Total line length observe.Common.totalSectionsCount=Total sections observe.Common.traceCutOff=Trace cut off -observe.Common.tracelineLength=Traceline length -observe.Common.tracelineLength.short=Traceline length +observe.Common.tracelineLength=Traceline length (m) +observe.Common.tracelineLength.short=Traceline length (m) observe.Common.tracelineType=Traceline type observe.Common.tracelineType.short=Traceline type observe.Common.transmittingBuoyOperation=Transmitting buoy operation ===================================== core/services/i18n/src/main/i18n/translations/services_es_ES.properties ===================================== @@ -52,8 +52,8 @@ observe.Common.batches.selected=Selected batches observe.Common.beatDiameter=Diametro de la mordedura (cm) observe.Common.branchline=Branchline observe.Common.branchline.short=Arponcillo -observe.Common.branchlineLength=Longitud Arponcillo -observe.Common.branchlineLength.short=Longitud Arponcillo +observe.Common.branchlineLength=Longitud Arponcillo (m) +observe.Common.branchlineLength.short=Longitud Arponcillo (m) observe.Common.branchlinesComposition=Arponcillos observe.Common.branchlinesComposition.validation.uniqueKey=La tupla (tipo alto/tipo bajo/tamaño) debe ser única, la tupa ya está utilizada, value at index %s is duplicated. observe.Common.branchlinesCompositionProportionSum=Suma de los proporciónes de arponcillos (%) @@ -128,10 +128,10 @@ observe.Common.fishingEndDepth=Profundidad en fin de pesca (m) observe.Common.fishingStart=Inicio de pesca observe.Common.fishingStartDepth=Profundidad en inicio de pesca (m) observe.Common.floatingObject.comment=Comentarios de objeto -observe.Common.floatline1Length=Longitud 1 del orinque -observe.Common.floatline1Length.short=Longitud 1 del orinque -observe.Common.floatline2Length=Longitud 2 del orinque -observe.Common.floatline2Length.short=Longitud 2 del orinque +observe.Common.floatline1Length=Longitud 1 del orinque (m) +observe.Common.floatline1Length.short=Longitud 1 del orinque (m) +observe.Common.floatline2Length=Longitud 2 del orinque (m) +observe.Common.floatline2Length.short=Longitud 2 del orinque (m) observe.Common.floatlinesComposition=Orinques observe.Common.floatlinesComposition.validation.uniqueKey=La tupla (tipo/longitud) debe ser única, la tupa ya está utilizada, value at index %s is duplicated. observe.Common.floatlinesCompositionProportionSum=Suma de los proporciónes de los orinques (%) @@ -368,8 +368,8 @@ observe.Common.totalLightsticksCount=Número total de barras de luz observe.Common.totalLineLength=Total line length\#TODO observe.Common.totalSectionsCount=totalSectionsCount \#TODO observe.Common.traceCutOff=Bajo de línea cortada -observe.Common.tracelineLength=Parte baja -observe.Common.tracelineLength.short=Parte baja +observe.Common.tracelineLength=Parte baja (m) +observe.Common.tracelineLength.short=Parte baja (m) observe.Common.tracelineType=Tipo bajo de línea observe.Common.tracelineType.short=Tipo bajo de línea observe.Common.transmittingBuoyOperation=Operación sobre baliza ===================================== core/services/i18n/src/main/i18n/translations/services_fr_FR.properties ===================================== @@ -52,8 +52,8 @@ observe.Common.batches.selected=Lots sélectionnés observe.Common.beatDiameter=Diamètre de la morsure (cm) observe.Common.branchline=Avançon observe.Common.branchline.short=Avançon -observe.Common.branchlineLength=Longueur Avançon -observe.Common.branchlineLength.short=Longueur Avançon +observe.Common.branchlineLength=Longueur Avançon (m) +observe.Common.branchlineLength.short=Longueur Avançon (m) observe.Common.branchlinesComposition=Avançons observe.Common.branchlinesComposition.validation.uniqueKey=Le tuple (type haut/type bas/taille) doit être unique, la donnée de rang %s est invalide. observe.Common.branchlinesCompositionProportionSum=Somme des proportions d'avançons (%) @@ -128,10 +128,10 @@ observe.Common.fishingEndDepth=Profondeur en fin de pêche (m) observe.Common.fishingStart=Début pêche observe.Common.fishingStartDepth=Profondeur en début de pêche (m) observe.Common.floatingObject.comment=Commentaire sur l'objet flottant -observe.Common.floatline1Length=Longueur 1 d'orin -observe.Common.floatline1Length.short=Longueur 1 d'orin -observe.Common.floatline2Length=Longueur 2 d'orin -observe.Common.floatline2Length.short=Longueur 2 d'orin +observe.Common.floatline1Length=Longueur 1 d'orin (m) +observe.Common.floatline1Length.short=Longueur 1 d'orin (m) +observe.Common.floatline2Length=Longueur 2 d'orin (m) +observe.Common.floatline2Length.short=Longueur 2 d'orin (m) observe.Common.floatlinesComposition=Orins observe.Common.floatlinesComposition.validation.uniqueKey=Le tuple (type/longueur) doit être unique, la donnée de rang %s est invalide. observe.Common.floatlinesCompositionProportionSum=Somme des proportions d'orins (%) @@ -368,8 +368,8 @@ observe.Common.totalLightsticksCount=Nombre total de cyalumes observe.Common.totalLineLength=Longueur totale de la ligne observe.Common.totalSectionsCount=Nombre total de sections observe.Common.traceCutOff=Bas de ligne coupé -observe.Common.tracelineLength=Longueur bas de ligne -observe.Common.tracelineLength.short=Longueur bas de ligne +observe.Common.tracelineLength=Longueur bas de ligne (m) +observe.Common.tracelineLength.short=Longueur bas de ligne (m) observe.Common.tracelineType=Type bas de ligne observe.Common.tracelineType.short=Type bas de ligne observe.Common.transmittingBuoyOperation=Opération balise ===================================== src/site/markdown/avdth/logbook.md ===================================== @@ -202,7 +202,7 @@ Cela est réalisé via la table de correspondace suivante : | 31 | 8 | | 32 | 8 | | 33 | 11 | -| 34 | 4 | +| 34 | 99 | | 40 | 11 | | 41 | 11 | @@ -278,6 +278,8 @@ Dans ce cas, on peut ajouter un éventuel matériel en utilisant la table de cor ##### Matériel Bouée émettrice seule +Lorsque **ACTIVITE.C_OPERA** vaut **34**, on ajoute toujours un tel matériel. + Dernier cas permettant d'ajouter un matériel de type **Bouée émettrice seule** au DCP : 1. Le DCP n'est pas déclaré dans **AVDTH** @@ -374,6 +376,7 @@ Pour renseigner le propriétaire de la balise ```transmittingBuoyOwnerShip``` ( |:---------------------------|:---------------------------------------------| | 1 | 0 | | 2 | 3 | +| 3 | null | Pour renseigner le code de la balise, on recopie la valeur de la colonne ```ACTIVITE.V_ID_BALISE```. View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/45e04e17f20c96eaabe16ae96... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/45e04e17f20c96eaabe16ae96... You're receiving this email because of your account on gitlab.com.