From: pascale.noyret Date: Wed, 7 Oct 2020 08:22:14 +0000 (+0200) Subject: partage X-Git-Tag: MDM_V0~7^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a549916fb2a44d78f6c1462bd1e9e0a12cd8a9c4;p=tools%2Feficas.git partage --- diff --git a/Tests/MappingAccasXsd/Ambiguite/cata_FactIdentique.py b/Tests/MappingAccasXsd/Ambiguite/cata_FactIdentique.py new file mode 100644 index 00000000..feeb8064 --- /dev/null +++ b/Tests/MappingAccasXsd/Ambiguite/cata_FactIdentique.py @@ -0,0 +1,70 @@ +# Copyright (C) 2008-2018 EDF R&D +# +# This file is part of SALOME ADAO module +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +import os, re +import Accas +from Accas import * +monFichier=os.path.abspath(__file__) + +JdC = JDC_CATA ( + code = 'Essai', + ) + +VERSION_CATALOGUE='V_0' +LeProc = PROC( nom = 'LeProc', + F1 = FACT( statut ='o', + SimpA = SIMP(statut ="o",typ='I', defaut = 2, nomXML='imposeA'), + SimpB = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeB'), + ), + F1Identique = FACT( statut ='o', + SimpA = SIMP(statut ="o",typ='I', defaut = 2, nomXML='imposeA'), + SimpB = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeB'), + ), + FactEnglobant = FACT( statut ='o', + SimpC = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeC'), + F1Identique = FACT( statut ='o', + SimpA = SIMP(statut ="o",typ='I', defaut = 2, nomXML='imposeA'), + SimpB = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeB'), + ), + ), + FactEncoreUnNiveau = FACT (statut= 'o', + FactEnglobant = FACT( statut ='o', + SimpC = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeC'), + F1Identique = FACT( statut ='o', + SimpA = SIMP(statut ="o",typ='I', defaut = 2, nomXML='imposeA'), + SimpB = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeB'), + ), + ), + ), +) +#LeProcIdentique = PROC( nom = 'LeProcIdentique', +# F1 = FACT( statut ='o', +# SimpA = SIMP(statut ="o",typ='I', defaut = 2, nomXML='imposeA'), +# SimpB = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeB'), +# SimpD = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeD'), +# SimpE = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeE'), +# ), +# F1Identique = FACT( statut ='o', +# SimpA = SIMP(statut ="o",typ='I', defaut = 2, nomXML='imposeA'), +# SimpB = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeB'), +# SimpC = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeC'), +# SimpD = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeD'), +# SimpE = SIMP(statut ="o",typ='R', defaut = 2, nomXML='imposeE'), +# ), +#)