Statistics, ProcesData, Plotter, IPlotter, GraphsTabPageCtrl, FlyingStartMassCollection changes
This commit is contained in:
@@ -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) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user