Esempio n. 1
0
        private void NextInsideTemperature()
        {
            var insideTemp = new TempData()
            {
                Time        = DateTime.Now,
                Temperature = tempService.GetInsideTempertaure()
            };

            lbInsideTemp.Text = insideTemp.Temperature.ToString();
            InsideDataList.Add(insideTemp);
            chart.Series["Inside"].Points.DataBind(InsideDataList, "Time", "Temperature", "");
        }