using System.Collections.Generic;
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.GenericDevices
{
public interface IDataEntry : IComponent
{
///
/// Water meter serial numbers set by forms
///
string SerialNr(int wmNr);
///
/// Water meter states set by forms
///
float WMState(int wmNr);
///
/// Displays form at the beginning of the cycle (usually to enter S/N).
///
/// Watermetes to be updated by the operation
/// Operation to be used in the sequence
IOperation ShowCycleBeginFormOp(IList waterMeters);
///
/// Displays form at the end of the cycle (usually to enter the end state).
///
/// Watermetes to be updated by the operation
/// Operation to be used in the sequence
IOperation ShowCycleEndFormOp(IList waterMeters);
///
/// Displays form at the beginning of the cycle (usually to enter S/N).
///
/// Watermetes to be updated by the operation
/// Operation to be used in the sequence
IOperation ShowWMSNsAndStatesFormOp();
///
/// Displays form at the beginning of the cycle (usually to enter S/N).
///
/// Watermetes to be updated by the operation
/// Operation to be used in the sequence
IOperation ShowWMStatesFormOp();
///
/// Updates test results with the information collected in watermeters.
///
/// Watermetes with information entered in the forms
/// Test results to be updated with the information
void UpdateTestResults(IList waterMeters, IList results);
}
}