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);
     }
 }
예제 #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>();
 }