From 30cbe07576771ed11477a6f9b71068dbf0f668a6 Mon Sep 17 00:00:00 2001 From: PASCALE NOYRET Date: Tue, 18 Jan 2022 17:26:27 +0100 Subject: [PATCH] Les etapes sont facultatives --- Ihm/I_OBJECT.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ihm/I_OBJECT.py b/Ihm/I_OBJECT.py index c85f96f9..f9642ff8 100644 --- a/Ihm/I_OBJECT.py +++ b/Ihm/I_OBJECT.py @@ -211,10 +211,14 @@ class OBJECT: #print ('OBJECT getDicoForFancy ',self, self.nature) monDico={} leNom = self.nom + if self.nature == 'MCFACT' : leNom=self.getLabelText() monDico['statut'] = self.definition.statut monDico['nomCommande'] =self.nom + + if self.nature == 'OPERATEUR' or self.nature == 'PROC' : monDico['statut']='f' + if self.nature == 'OPERATEUR' and self.sdnom != "sansnom" : leNom = self.nom+'__'+self.sdnom monDico['title']=leNom monDico['key']=self.idUnique @@ -223,6 +227,7 @@ class OBJECT: if self.nature == 'MCLIST': monDico['validite']=None elif self.nature == 'MCBLOC': monDico['validite']=None else : monDico['validite']=self.getValid() + listeNodes=[] for obj in self.mcListe: lesNodes=obj.getDicoForFancy() -- 2.39.2