27 lines
909 B
C#
27 lines
909 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
using TBF.Boxes;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
public interface IRegisterReader : IComponent
|
|
{
|
|
double PulsesPerLtr { get; } /// Entered by users in configuration
|
|
double LtrsPerPulse { get; } /// To calculate the volume from WMPulses
|
|
|
|
int WMPulses { get; } /// Counted pulses of the water meter
|
|
double WMVolume { get; } /// Counted volume of the water metter
|
|
int WMRefPulses { get; } /// 'Gated' reference pulses of the water meters
|
|
|
|
void Clear(); /// To be used at the beginning of a test
|
|
|
|
void TestCompleted(); /// To be used when the test is completed ...
|
|
/// ... for more accurate WMPulses, WMRefPulses calculation
|
|
|
|
IOperation ReadRegisterOp(ref IntBox pulses);
|
|
IOperation ReadRegisterOp(ref IntBox pulses, ref IntBox refPulses);
|
|
}
|
|
}
|