From: Eric Fayolle Date: Tue, 5 Apr 2022 13:22:41 +0000 (+0200) Subject: Ajout d un OPER pour tests X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bd64a81b7ce2a4e6b1428ba36cfe4d687b808ac5;p=tools%2Feficas.git Ajout d un OPER pour tests --- diff --git a/WebTest/cata_essai.py b/WebTest/cata_essai.py index 1e235551..f4577dff 100644 --- a/WebTest/cata_essai.py +++ b/WebTest/cata_essai.py @@ -2,9 +2,12 @@ # from Accas import * +class MYOPER(ASSD) : pass JdC = JDC_CATA(code='Test1',) - +MonOper=OPER(nom="MonOper", sd_prod=MYOPER, + param1 = SIMP(statut='o',typ='R'), +) MonProc = PROC(nom='MonProc', param1 = SIMP(statut='o',typ='R'), ) @@ -24,12 +27,16 @@ MonProc2 = PROC(nom='MonProc2', ), param2_inBloc = SIMP(statut='o',typ='R'), ), - Fact1 = FACT (statut ='o', max=2, - paramInFact1 = SIMP(statut='o',typ='R'), + Fact1 = FACT (statut ='o', max=4, + paramInFact1 = SIMP(statut='o',typ='R',max=1), ), Fact2 = FACT (statut ='f', param3InFact2 = SIMP(statut='o',typ='R'), paramFacultatif = SIMP(statut='f',typ='R'), ), + Fact3 = FACT (statut ='f', + param1InFact3 = SIMP(statut='f',typ='R'), + paramFacultatif = SIMP(statut='f',typ='R'), + ), )