예제 #1
0
 public Pacjent(string imie, string nazwisko, long pesel, int telefon, string plec, Adres adr)
 {
     numerId       = Interlocked.Increment(ref _pacjentIdValue);
     Imie          = imie;
     Nazwisko      = nazwisko;
     Pesel         = pesel;
     Telefon       = telefon;
     Plec          = plec;
     adres         = adr;
     kartaPacjenta = null;
 }
예제 #2
0
 public Lekarz(string imie, string nazwisko, double pesel, int telefon, string plec, Adres adr)
 {
     NumerId = Interlocked.Increment(ref _pracownikIdValue);
     Imie = imie;
     Nazwisko = nazwisko;
     Pesel = pesel;
     Telefon telefon;
     Plec = plec;
     adres = adr;
 }