示例#1
0
 /// <summary>
 /// Constructeur de plan à la création dans ParamPlan
 /// </summary>
 /// <param name="label"></param>
 /// <param name="unprojet"></param>
 /// <param name="unplancher"></param>
 /// <param name="unecouverture"></param>
 /// <param name="unecoupe"></param>
 /// <param name="unegamme"></param>
 public Plan(string reference, string label, string creation, Projet unprojet, Plancher unplancher, Couverture unecouverture, CoupePrincipe unecoupe, Gamme unegamme = null)
 {
     this.reference     = reference;
     this.label         = label;
     this.creation      = creation;
     this.projet        = unprojet;
     this.plancher      = unplancher;
     this.couverture    = unecouverture;
     this.coupePrincipe = unecoupe;
     this.gamme         = unegamme;
 }
示例#2
0
 /// <summary>
 /// Constructeur de Plan à la génération depuis BDD
 /// </summary>
 /// <param name="reference"></param>
 /// <param name="label"></param>
 /// <param name="creation"></param>
 /// <param name="modification"></param>
 /// <param name="unprojet"></param>
 /// <param name="unplancher"></param>
 /// <param name="unecouverture"></param>
 /// <param name="unecoupe"></param>
 /// <param name="modules"></param>
 /// <param name="unegamme"></param>
 public Plan(string reference, string label, string creation, string modification, Projet unprojet, Couverture unecouverture, CoupePrincipe unecoupe, List <Module> modules, Plancher unplancher, Gamme unegamme = null)
 {
     this.reference     = reference;
     this.label         = label;
     this.creation      = creation;
     this.modification  = modification;
     this.projet        = unprojet;
     this.plancher      = unplancher;
     this.couverture    = unecouverture;
     this.coupePrincipe = unecoupe;
     this.gamme         = unegamme;
     this.modules       = modules;
 }
 public MetaModule(string reference, string label, int prix, BitmapImage image, bool statut, string dateMaj, Gamme gamme, int taille, int ecart)
 {
     this.reference = reference;
     this.label     = label;
     this.prixHT    = prix;
     this.gamme     = gamme;
     this.statut    = statut;
     this.image     = image;
     this.dataMaj   = dataMaj;
     this.taille    = taille;
     this.ecart     = ecart;
     this.metaslots = new List <MetaSlot>();
 }