TestMethods.PulsesTest added.

This commit is contained in:
Milan Hanajik
2018-07-18 10:00:37 +02:00
parent 9bd2cd2634
commit ff2248720c
16 changed files with 3063 additions and 0 deletions
+12
View File
@@ -113,6 +113,18 @@ namespace TBF.UiBridge
public static event EventHandler<AdjustmentInProgressEventArgs> AdjustmentInProgressHandler;
/// <summary>
/// Called from the state machine when one test of the pulses test process was completed and UI needs to be updated.
/// </summary>
public static void OnPulsesTestInProgress(object sender, PulsesTestInProgressEventArgs data)
{
if (PulsesTestInProgressHandler == null) return;
try { PulsesTestInProgressHandler(sender, data); }
catch (Exception e) { log.Error("PulsesTestInProgressHandler(...) failed", e); }
}
public static event EventHandler<PulsesTestInProgressEventArgs> PulsesTestInProgressHandler;
/// <summary>
/// Called from the state machine when the test is completed and UI needs to be updated.
/// </summary>