tbf/TBF/BenchControl/GenericDevices/IEventTrigger.cs

18 lines
560 B
C#

///
/// Copyright (c) 2020 Sensus Slovensko a.s.
///
namespace TBF.BenchControl.GenericDevices
{
public interface IEventTrigger : IResultsProcessor
{
/// <summary>
/// Analyze results of one batch of water meters and trigger appropriate events.
/// Events: Event.ResultsProcessed, Event.Busy
/// </summary>
/// <param name="batch">Results of a batch of water meters</param>
/// <returns>Reference to the operation</returns>
IOperation ProcessResultsOp(Results.Entities.Batch batch);
}
}