コード例 #1
0
ファイル: Form1.cs プロジェクト: LZY002/Socws
        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;
        }