Sequences.FloatStatistics -> Sequences.Statistics: use double internally, provide double Sum property.
This commit is contained in:
@@ -19,6 +19,7 @@ namespace TBF.BenchControl.Sequences
|
||||
|
||||
public static float LtrPerRefPulse; /// to calculate the ref.volume
|
||||
public static int RefPulses;
|
||||
public static int RefPulsesDelta;
|
||||
public static FloatBox RefFreq = new FloatBox() { Name = "RefFreq", Format = "F2" };
|
||||
public static FloatBox RefFlow = new FloatBox() { Name = "RefFlow", Format = "F2" }; /// [m3/h]
|
||||
|
||||
@@ -68,15 +69,18 @@ namespace TBF.BenchControl.Sequences
|
||||
///
|
||||
/// Statistics of 'continuous' variables (temperature, pressure, flow, etc.)
|
||||
///
|
||||
public static FloatStatistics AmbientTempStat = new FloatStatistics();
|
||||
public static FloatStatistics AmbientPressureStat = new FloatStatistics();
|
||||
public static FloatStatistics AmbientHumidityStat = new FloatStatistics();
|
||||
public static FloatStatistics TempInStat = new FloatStatistics();
|
||||
public static FloatStatistics TempOutStat = new FloatStatistics();
|
||||
public static FloatStatistics TempDivStat = new FloatStatistics();
|
||||
public static FloatStatistics PressureUpStat = new FloatStatistics();
|
||||
public static FloatStatistics PressureDownStat = new FloatStatistics();
|
||||
public static FloatStatistics RefFlowStat = new FloatStatistics();
|
||||
public static Statistics AmbientTempStat = new Statistics();
|
||||
public static Statistics AmbientPressureStat = new Statistics();
|
||||
public static Statistics AmbientHumidityStat = new Statistics();
|
||||
public static Statistics TempInStat = new Statistics();
|
||||
public static Statistics TempOutStat = new Statistics();
|
||||
public static Statistics TempDivStat = new Statistics();
|
||||
public static Statistics PressureUpStat = new Statistics();
|
||||
public static Statistics PressureDownStat = new Statistics();
|
||||
public static Statistics RefFlowStat = new Statistics();
|
||||
|
||||
public static Statistics Energy = new Statistics();
|
||||
public static int lastEnergyUpdateTime;
|
||||
|
||||
protected static void ClearAllStatistics()
|
||||
{
|
||||
@@ -89,6 +93,9 @@ namespace TBF.BenchControl.Sequences
|
||||
PressureUpStat.Clear();
|
||||
PressureDownStat.Clear();
|
||||
RefFlowStat.Clear();
|
||||
|
||||
Energy.Clear();
|
||||
lastEnergyUpdateTime = 0;
|
||||
}
|
||||
|
||||
protected static void UpdateAllStatistics()
|
||||
|
||||
Reference in New Issue
Block a user