MagFlux implemnted

This commit is contained in:
Roland Drabesch
2023-05-10 15:44:40 +02:00
parent 48e5f26913
commit 2db0e27fc0
10 changed files with 72 additions and 38 deletions
@@ -803,6 +803,11 @@ namespace Xylem.Common.Hardware.WaterMeter.MagFlux.MagFluxCore
/// <inheritdoc />
public void StartMeasurement()
{
//todo: Thomas bitte besser machen
if (IntermediateUpdateTimeS == 0)
{
IntermediateUpdateTimeS = 10;
}
_listOfIMeasurement = new List<IMeasurement>
{
new BaseMeasurement(Slot, typeof(MagFluxRecord), IntermediateUpdateTimeS)
@@ -1119,6 +1124,12 @@ namespace Xylem.Common.Hardware.WaterMeter.MagFlux.MagFluxCore
}
}
}
void IMeter.SetupFromConfigFile(Int32 slot, Boolean ignoreCorruptedData, Boolean useRequest, Boolean useStreaming)
{
SetupFromConfigFile(slot, ignoreCorruptedData);
}
#endregion
}
}
@@ -91,6 +91,8 @@ namespace Xylem.Common.Hardware.WaterMeter.WaterMeterCore
/// has to be calculated depending on flow-rate and nominal diameter (DN)
/// </summary>
Int32 IntermediateUpdateTimeS { get; set; }
Boolean SkipPreparationForTestBench { get; set; }
String CurrentActionText { get; set; }
#endregion
#region method