Statistics, ProcesData, Plotter, IPlotter, GraphsTabPageCtrl, FlyingStartMassCollection changes

This commit is contained in:
Milan Hanajik
2018-02-14 19:27:11 +01:00
parent 5f17dabb0b
commit b844aafcf3
24 changed files with 951 additions and 313 deletions
+8 -2
View File
@@ -93,7 +93,7 @@ namespace TBF.BenchControl.Sequences
if (recordingInProgress)
{
recordingInProgress = false;
plotter.StopGraph(graphId);
plotter.StopGraph(graphId, (float)min, (float)max);
}
}
@@ -190,7 +190,13 @@ namespace TBF.BenchControl.Sequences
if (MedianFilter)
{
Array.Sort(sorted);
#if false
filteredValue = sorted[FilterSize / 2];
#else
double sum2 = 0;
for (int j = 1; j < FilterSize - 1; j++) sum2 += sorted[j];
filteredValue = sum2 / (FilterSize - 2);
#endif
}
else
{
@@ -208,6 +214,6 @@ namespace TBF.BenchControl.Sequences
public int StartGraph(int batchNr, string testName, int repetition) { return 1; }
public void UpdateGraph(int graphId, float x, float y) { }
public void StopGraph(int graphId) { }
public void StopGraph(int graphId, float ymin, float ymax) { }
}
}