tbf/TBF/UiBridge/FlowDetectedEventArgs.cs

26 lines
814 B
C#

///
/// Copyright (c) 2023 Sensus Slovensko a.s.
///
using System;
namespace TBF.UiBridge
{
public class FlowDetectedEventArgs : EventArgs
{
public double Qdetected; /// Detected from in [m3/h]
public double Qfrom; /// Lower limit for the test flow in [m3/h]
public double Qto; /// Upper limit for the test flow in [m3/h]
public double TestTime; /// Estimated test time in [s]
public int TotalPulses; /// Total reference meter pulses
public FlowDetectedEventArgs(double qDetected, double qFrom, double qTo, double testTime, int totalPulses)
{
Qdetected = qDetected;
Qfrom = qFrom;
Qto = qTo;
TestTime = testTime;
TotalPulses = totalPulses;
}
}
}