Gestion TMR caché, WIP #135

This commit is contained in:
2021-04-28 00:48:39 +02:00
parent d486fa7aff
commit 4ecc8826f6
17 changed files with 170 additions and 21 deletions

View File

@ -335,9 +335,14 @@ export class TMRUtility {
return TMRMapping[coord]?.label ?? (coord + ": case inconnue");
}
static getTMRType(coord) {
const tmr = TMRMapping[coord];
return Misc.upperFirst(tmr.type);
}
static getTMRDescr(coord) {
const tmr = TMRMapping[coord];
return Grammar.articleDetermine(tmr.genre) + ' ' + tmr.label;
return Grammar.articleDetermine(tmr.type) + ' ' + tmr.label;
}
static isCaseHumide(tmr) {