Esempio n. 1
0
        /// <summary>
        /// Method emulates new data.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CountTimerTick(object sender, EventArgs e)
        {
            var value = _countRandom.Next(150);

            _chartRepository.AddLineCount(value);

            var index = _indexRandom.Next(50);

            value = _countRandom.Next(100);
            _chartRepository.AddColumnCount(index, value);

            _countTimer.Start();
        }