예제 #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();
 }
예제 #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);
        }
예제 #3
0
 public void OnSendArray3(object sender, SendStateEventArgs e)
 {
     this.Dispatcher.Invoke(handler3, sender, e);
 }
예제 #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));
 }
예제 #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));
 }
예제 #6
0
 public void OnSendArray3(object sender, SendStateEventArgs e)
 {
     this.Dispatcher.Invoke(handler3, sender, e);
 }
예제 #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);
 }