Exemplo n.º 1
0
 /// <summary>
 /// Initializes collection for points.
 /// </summary>
 private void InitPoints()
 {
     CurrentPing.Points.Clear();
     AveragePing.Points.Clear();
     CurrentPing.DrawPoint(0, Height);
     AveragePing.DrawPoint(0, Height);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Draws the points with the pingManipulatorResult data.
 /// </summary>
 public void Draw(PingManipulatorResult pingManipulatorResult)
 {
     AveragePing.DrawPoint(pingManipulatorResult.Time, Height - pingManipulatorResult.Ping);
     CurrentPing.DrawPoint(pingManipulatorResult.Time, Height - pingManipulatorResult.Average);
     Expand(pingManipulatorResult.Time);
 }