LogProcessDataHeatMeters, ver. 2.11.371
This commit is contained in:
@@ -106,6 +106,39 @@ namespace TBF.BenchControl.Sequences
|
||||
outPath.RegulValve.Position.ToString("F1"));
|
||||
}
|
||||
|
||||
public void LogProcessHeaderHeatMeters(ILog logger, string sectionName)
|
||||
{
|
||||
logger.Info(Environment.NewLine);
|
||||
if (sectionName != null) logger.Info(sectionName);
|
||||
logger.Info("Time Flow TstTime Ref.cnt Ref.vol Tin Tout Tdiv Pin Pout Mass VolMM Tamb Hamb Pamb Rv Thiac1 Thiac2 Tloac1 Tloac2");
|
||||
logger.Info(Environment.NewLine);
|
||||
}
|
||||
|
||||
public void LogProcessDataHeatMeters(ILog logger)
|
||||
{
|
||||
logger.InfoFormat("{0} {1} {2} {3} {4} {5} {6} {7} {8} {9} {10} {11} {12} {13} {14} {15} {16} {17} {18} {19}",
|
||||
DateTime.Now.ToLongTimeString(),
|
||||
Utils.DoubleToStr(RefFlow.Val, 4),
|
||||
StateMachine.ControlBoard.TTime.ToString("F3"),
|
||||
StateMachine.ControlBoard.EtPulses(0),
|
||||
Formulas.VolumeFromPulses(StateMachine.ControlBoard.EtPulses(0), 1.0f / LtrPerRefPulse).ToString("F3"),
|
||||
TempIn,
|
||||
TempOut,
|
||||
TempDiv,
|
||||
PressureUp,
|
||||
PressureDown,
|
||||
Mass,
|
||||
"VolMM",
|
||||
AmbientTemp,
|
||||
AmbientHumidity,
|
||||
AmbientPressure,
|
||||
outPath.RegulValve.Position.ToString("F1"),
|
||||
TempRefWarm1,
|
||||
TempRefWarm2,
|
||||
TempRefCold1,
|
||||
TempRefCold2);
|
||||
}
|
||||
|
||||
|
||||
protected Event EmptyTheTank(IValve emptyTankValve, IBalance balance)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user