From de6d1af41302e656f0e734a991cdab1f842a8969 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Mon, 1 Apr 2019 14:14:46 +0200 Subject: [PATCH] oubli por test ASSD et USerASSD --- Accas/A_ASSD.py | 6 ++++++ Accas/__init__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Accas/A_ASSD.py b/Accas/A_ASSD.py index afa935fa..9b43ab8a 100644 --- a/Accas/A_ASSD.py +++ b/Accas/A_ASSD.py @@ -60,3 +60,9 @@ class fonction(N_FONCTION.formule,I_FONCTION.fonction,ASSD): class GEOM(N_GEOM.GEOM,I_ASSD.GEOM,ASSD):pass class geom(N_GEOM.geom,I_ASSD.geom,ASSD):pass class CO(N_CO.CO,I_ASSD.CO,ASSD):pass + +class UserASSD(ASSD): + def __init__(self, nom): + ASSD.__init__(self) + self.setName(nom) + diff --git a/Accas/__init__.py b/Accas/__init__.py index ae1d09c0..51677f4d 100644 --- a/Accas/__init__.py +++ b/Accas/__init__.py @@ -69,7 +69,7 @@ from .A_ENSEMBLE import ENSEMBLE from .A_A_CLASSER import A_CLASSER from .A_AVANT import AVANT -from .A_ASSD import ASSD,assd +from .A_ASSD import ASSD,assd, UserASSD from .A_ASSD import GEOM,geom # Pour le moment on laisse fonction (ceinture et bretelles) from .A_ASSD import FONCTION, fonction -- 2.39.2