35 lines
2.0 KiB
C#
35 lines
2.0 KiB
C#
using System;
|
|
using Config.Entities;
|
|
using TBF.Rig.Sequences;
|
|
|
|
namespace TBF.Rig.ControlBoard
|
|
{
|
|
public interface IAdvancedControlBoard : IControlBoard
|
|
{
|
|
/// <summary>
|
|
/// Get operation for a Flying start-stop test
|
|
/// Events: OpArgumentError ...... invalid arguments, test cannot be started
|
|
/// StartingTest ......... starting a test
|
|
/// TestInProgress ....... test was successfully started, test is running
|
|
/// TestPart2InProgress .. first part when water is diverted to a tank was successfully completed, part2 in progress,
|
|
/// prolonged method only: (massPulsesCount GT 0) and (massPulsesCount LT pulsesCount)
|
|
/// TestCompleted ........ test was successfully completed
|
|
/// Error ................ unspecified error while running a test
|
|
/// </summary>
|
|
/// <param name="test">Test entity</param>
|
|
/// <param name="qFrom">Flow lower limit</param>
|
|
/// <param name="qTo">Flow upper limit</param>
|
|
/// <param name="pulsesCount">Test duration - number of reference flow meter pulses</param>
|
|
/// <param name="withDiverter">true = Test with diverter</param>
|
|
/// <param name="isProlonged">true = Prolonged test with diverter</param>
|
|
/// <param name="massPulsesCount">Test part 1 duration - number of reference flow meter pulses<</param>
|
|
/// <param name="readDivTransition">true = Read diverter transition</param>
|
|
/// <param name="divStartPlotter">Plotter for diverter start</param>
|
|
/// <param name="divStopPlotter">Plotter for diverter end</param>
|
|
/// <returns>Operation running a test</returns>
|
|
IOperation FlyingStartStopTestOp(Test test, double qFrom, double qTo, int pulsesCount,
|
|
bool withDiverter, bool isDelayedStart, bool isProlonged, int massPulsesCount,
|
|
bool readDivTransition, Statistics divStartPlotter, Statistics divStopPlotter);
|
|
}
|
|
}
|