public VorhersageAnzeige(Subjekt subjekt) { if (subjekt is Wetterstation) { wetterstation = (Wetterstation)subjekt; wetterstation.verbinden(this); } }
public StandardAnzeige(Subjekt subjekt) { if (subjekt is Wetterstation) { wetterstation = (Wetterstation)subjekt; wetterstation.verbinden(this); } }
public StatistikAnzeige(Subjekt subjekt) { if (subjekt is Wetterstation) { wetterstation = (Wetterstation)subjekt; wetterstation.verbinden(this); } luftdruckCollection = new List <double>(); temperaturCollection = new List <double>(); luftfeuchteCollection = new List <double>(); }