Bug-fixes in FlyingStart and FlyingStartMassCollection heat meters, T ref warm and T ref cold statistics, ver. 2.10.362
This commit is contained in:
@@ -82,6 +82,8 @@ namespace TBF.BenchControl.Sequences
|
||||
public static Statistics PressureDownStat = new Statistics();
|
||||
public static Statistics RefFlowStat = new Statistics();
|
||||
|
||||
public static Statistics TempRefWarmStat = new Statistics();
|
||||
public static Statistics TempRefColdStat = new Statistics();
|
||||
public static Statistics Energy = new Statistics();
|
||||
public static Statistics VolumeForEnergy = new Statistics();
|
||||
public static int lastEnergyUpdateTime;
|
||||
@@ -98,6 +100,8 @@ namespace TBF.BenchControl.Sequences
|
||||
PressureDownStat.Clear();
|
||||
RefFlowStat.Clear();
|
||||
|
||||
TempRefWarmStat.Clear();
|
||||
TempRefColdStat.Clear();
|
||||
Energy.Clear();
|
||||
VolumeForEnergy.Clear();
|
||||
lastEnergyUpdateTime = 0;
|
||||
@@ -114,6 +118,12 @@ namespace TBF.BenchControl.Sequences
|
||||
PressureUpStat.Update(PressureUp);
|
||||
PressureDownStat.Update(PressureDown);
|
||||
RefFlowStat.Update(RefFlow);
|
||||
|
||||
if (BatchRslts.Batch.HeatMeter)
|
||||
{
|
||||
TempRefWarmStat.Update((TempRefWarm1.Val + TempRefWarm2.Val) / 2);
|
||||
TempRefColdStat.Update((TempRefCold1.Val + TempRefCold2.Val) / 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user