Bonjour,
Il y a une commande qui contient un libellé correspondant au code, avec la notion de langue.
Voici l’exemple :
'reg_key': 'type_combustible_get', 'reg_name': 'Tipo Combustibile', 'reg_name_app': 'Tipo Combustibile', 'reg_key_group': 'type_combustible', 'reg_type': 'GET', 'offset': 3, 'eeprom': False, 'is_word': False, 'big_endian': False, 'formula': '#', 'formula_inverse': '#', 'format_string': '{0}', 'set_min': 0, 'set_max': 255, 'readonly': False, 'mask': 65535, 'is_hex': False, 'is_temperature': False, 'use_app': True, 'display_dashboard': False, 'display_manage': False, 'display_info': False, 'use_cat': True, 'display_order': 0, 'step': 1, 'use_history': True, 'use_history_output': True, 'with_sign': False, 'from_char_code': False, 'notify_on_change': False, 'is_test': False, 'enc_val': [{'value': 0, 'lang': 'BHS', 'description': 'Pellet'}, {'value': 0, 'lang': 'DEU', 'description': 'Pellet'}, {'value': 0, 'lang': 'ENG', 'description': 'Pellet'}, {'value': 0, 'lang': 'FRE', 'description': 'Pellet'}, {'value': 0, 'lang': 'ITA', 'description': 'Pellet'}, {'value': 0, 'lang': 'NLD', 'description': 'Pellet'}, {'value': 0, 'lang': 'PRT', 'description': 'Pellet'}, {'value': 0, 'lang': 'SPA', 'description': 'Pellet'}, {'value': 1, 'lang': 'BHS', 'description': 'Hibridno'}, {'value': 1, 'lang': 'DEU', 'description': 'Hybrid'}, {'value': 1, 'lang': 'ENG', 'description': 'Hybrid'}, {'value': 1, 'lang': 'FRE', 'description': 'Hybride'}, {'value': 1, 'lang': 'ITA', 'description': 'Ibrido'}, {'value': 1, 'lang': 'NLD', 'description': 'Hybride'}, {'value': 2, 'lang': 'BHS', 'description': 'Drvo'}, {'value': 2, 'lang': 'DEU', 'description': 'Scheitholz'}, {'value': 2, 'lang': 'ENG', 'description': 'Wood'}, {'value': 2, 'lang': 'FRE', 'description': 'Madera'}, {'value': 2, 'lang': 'ITA', 'description': 'Legna'}, {'value': 2, 'lang': 'NLD', 'description': 'Hout'}]}, {'app_image_name': 'default'
Comment puis-je l’utiliser pour avoir le libellé du type de combustible dans cet exemple ?
Merci d’avance.