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);
     }
 }
Exemplo n.º 3
0
 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>();
 }