/// 
		/// <param name="stationId"></param>
		/// <param name="year"></param>
		/// <param name="month"></param>
		/// <param name="day"></param>
		/// <param name="days"></param>
		/// <param name="stream"></param>
        public void SerializeTemperatureData(string stationId, int year, int month, int day, int days, Stream stream)
        {
            using (TemperatureServiceReference.TemperatureServiceSoapClient c = new Bortosky.Samples.Temperature.Client.DataLayer.TemperatureServiceReference.TemperatureServiceSoapClient())
            {
                this.SerializeTemperatureData(c, stationId, year, month, day, days, stream);
                c.Close();
            }
        }
		/// 
		/// <param name="stationId"></param>
		/// <param name="days"></param>
		/// <param name="stream"></param>
		public void SerializeRecentTemperatureData(string stationId, int days, Stream stream){
            using (TemperatureServiceReference.TemperatureServiceSoapClient c = new Bortosky.Samples.Temperature.Client.DataLayer.TemperatureServiceReference.TemperatureServiceSoapClient())
            {
                TemperatureServiceReference.GetAvailableDatesResult gad = c.GetAvailableDates(stationId);
                DateTime fd = DateTime.Parse(gad.AvailableDates.FirstDate).AddDays(gad.AvailableDates.DaysAvailable + (1 - days));
                this.SerializeTemperatureData(c, stationId, fd.Year, fd.Month, fd.Day, days, stream);
                c.Close();
            }
		}