Esempio n. 1
0
 public void UpdateChart1(object sender, SendStateEventArgs e)
 {
     int[] axisXData = e.Positions as int[];
     int[] axisYData = e.State as int[];
     chart1.Series["Series1"].Points.DataBindXY(axisXData, axisYData);
     chart1.Invalidate();
 }
Esempio n. 2
0
        public void UpdateChart3(object sender, SendStateEventArgs e)
        {

            int[] axisXData = e.Positions as int[];
            int[] axisYData = e.State as int[];
            chart3.Series["Series1"].Points.DataBindXY(axisXData, axisYData);
        }
Esempio n. 3
0
 public void OnSendArray3(object sender, SendStateEventArgs e)
 {
     this.Dispatcher.Invoke(handler3, sender, e);
 }
Esempio n. 4
0
 //------------------------Send Start Arrays---------------------------------------------
 public void OnSendStart(object sender,SendStateEventArgs e)
 {
     SendArray1(this, new SendStateEventArgs(array1, positions));
     SendArray2(this, new SendStateEventArgs(array2, positions));
     SendArray3(this, new SendStateEventArgs(array3, positions));
 }
Esempio n. 5
0
 //------------------------Send Start Arrays---------------------------------------------
 public void OnSendStart(object sender, SendStateEventArgs e)
 {
     SendArray1(this, new SendStateEventArgs(array1, positions));
     SendArray2(this, new SendStateEventArgs(array2, positions));
     SendArray3(this, new SendStateEventArgs(array3, positions));
 }
Esempio n. 6
0
 public void OnSendArray3(object sender, SendStateEventArgs e)
 {
     this.Dispatcher.Invoke(handler3, sender, e);
 }
Esempio n. 7
0
 public void UpdateChart2(object sender, SendStateEventArgs e)
 {
     int[] axisXData1 = e.Positions as int[];
     int[] axisYData1 = e.State as int[];
     chart2.Series["Series1"].Points.DataBindXY(axisXData1, axisYData1);
 }