コード例 #1
0
 public ZonaDeRecreere(Strada Strada, float Suprafata, ZoneDeRecreere Tip, List <Persoana> vizitatori)
 {
     this.Strada     = Strada;
     this.Suprafata  = Suprafata;
     this.Tip        = Tip;
     this.vizitatori = vizitatori;
 }
コード例 #2
0
 public void AdaugaStrada(Strada strada)
 {
     if (!strazi.Contains(strada))
     {
         AdaugaIntersectie(strada.Nod1);
         AdaugaIntersectie(strada.Nod2);
         strazi.Add(strada);
     }
 }
コード例 #3
0
 public Institutie(Strada strada, int numar, float arie, Persoana Administrator, List <Persoana> angajati,
                   List <Persoana> interni, Institutii Tip, string Nume) : base(strada, numar, arie)
 {
     this.Administrator = Administrator;
     this.angajati      = angajati;
     this.interni       = interni;
     this.Tip           = Tip;
     this.Nume          = Nume;
 }
コード例 #4
0
 public Comerciala(Strada strada, int numar, float arie, Persoana Administrator, List <Persoana> angajati,
                   List <Persoana> clienti, CladiriComerciale Tip, string Nume, int OraDeschidere, int OraInchidere)
     : base(strada, numar, arie)
 {
     this.Administrator = Administrator;
     this.angajati      = angajati;
     this.clienti       = clienti;
     this.Tip           = Tip;
     this.Nume          = Nume;
     this.OraDeschidere = OraDeschidere;
     this.OraInchidere  = OraInchidere;
 }
コード例 #5
0
 public Rezidentiala(Strada strada, int numar, float arie, List <Persoana> rezidenti)
     : base(strada, numar, arie)
 {
     this.rezidenti = rezidenti;
 }
コード例 #6
0
 public Cladire(Strada Strada, int Numar, float Suprafata)
 {
     this.Strada    = Strada;
     this.Numar     = Numar;
     this.Suprafata = Suprafata;
 }
コード例 #7
0
 public Transport(Strada Strada, Transporturi Tip, List <Oras> Destinatii)
 {
     this.Strada     = Strada;
     this.Tip        = Tip;
     this.Destinatii = Destinatii;
 }