Exemple #1
0
 public Appareil(string Mod, string NumSer)
 {
     Marque            = "Def";
     Modele            = Mod;
     NumeroSerie       = NumSer;
     Consommation      = 0;
     DateMiseEnService = DateTime.Now;
     CPT++;
     Autorisation = new Autorisation();
 }
Exemple #2
0
 public Appareil()
 {
     Marque            = "Def";
     Modele            = "Def";
     NumeroSerie       = "Def";
     Consommation      = 0;
     DateMiseEnService = DateTime.Now;
     CPT++;
     Autorisation = new Autorisation();
 }
Exemple #3
0
 public Appareil(string Marq, string Mod, string NumSer, double Conso, TypeAppareil type)
 {
     Marque            = Marq;
     Modele            = Mod;
     NumeroSerie       = NumSer;
     Consommation      = Conso;
     DateMiseEnService = DateTime.Now;
     Type = type;
     CPT++;
     Autorisation = new Autorisation();
 }