Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string startTime               = textBox1.Text;
            string endTime                 = textBox2.Text;
            string delay                   = monitor.GetAverageDelay();
            int    cacheNumber             = monitor.GetCacheNumber();
            string NumberofClient          = monitor.GetTheNumberOfClient(startTime, endTime);
            string NumberofRequestOfClient = monitor.GetRequestOfClient(startTime, endTime);
            string NumberofRequestOfVelib  = monitor.GetRequestToVelib(startTime, endTime);

            textBox3.Text = delay;
            textBox4.Text = cacheNumber.ToString();
            textBox5.Text = NumberofClient;
            textBox6.Text = NumberofRequestOfClient;
            textBox7.Text = NumberofRequestOfVelib;
        }