private void AddDeploymentToSeries(PicesSipperDeployment deployment, Color color ) { PicesGPSDataPointList gpsData = threadConn.InstrumentDataRetrieveGPSInfo(deployment.CruiseName, deployment.StationName, deployment.DeploymentNum, (int)TimeInterval.Value); if ((gpsData == null) || cancelRequested) { return; } PicesGPSDataPointList fliteredGPSData = gpsData.FilterOutNoise(); if (fliteredGPSData == null) { return; } if (fliteredGPSData.Count > 1) { DataSeriesToPlot seriesToPlot = new DataSeriesToPlot(deployment, fliteredGPSData); seriesToPlot.LocateGPSBounds(); goalie.StartBlock(); series.Add(seriesToPlot); goalie.EndBlock(); } } /* AddDeploymentToSeries */