public void stationCountt()
        {
            int             x   = 10;
            AStationManager stm =
                AStationManager.createAStationManager(TestStation.GetStations(x));

            Assert.AreEqual(x, stm.stationCount());
        }
 public ModelStation()
 {
     this.StationManager = AStationManager.createAStationManager();
     string[] xd = this.StationManager.getStation();
     this.MaxHeat = this.StationManager.getMaxTemp();
     this.Station = IStation.createStation(int.Parse(xd[1]), int.Parse(xd[2]), xd[0]);
     (new Thread(() => {
         string[] b = new string[3];
         while (true)
         {
             b = StationManager.updateStation(0);
             this.Station = IStation.createStation(float.Parse(b[1]), float.Parse(b[2]), b[0]);
             this.MaxHeat = int.Parse(b[3]);
         }
     })).Start();
 }