Regul. valve calibration completed and tested

This commit is contained in:
Milan Hanajik
2015-03-25 13:52:51 +01:00
parent 6b897537d9
commit 5075bd6068
7 changed files with 118 additions and 23 deletions
@@ -0,0 +1,33 @@
using System;
using log4net;
namespace TBF.BenchControl.Elde.RegulValve
{
static class Handlers
{
static readonly ILog log = LogManager.GetLogger(typeof(Handlers));
static Handlers()
{
}
/// <summary>
/// Called from the state machine when a procedure is selected and UI needs to be updated.
/// </summary>
public static void OnAdcChanged(object sender, CmdResponseArgs data)
{
if (AdcChangedHandler == null)
return;
try
{
AdcChangedHandler(sender, data);
}
catch (Exception e)
{
log.Error("AdcChangedHandler(...) failed", e);
}
}
public static event EventHandler<CmdResponseArgs> AdcChangedHandler;
}
}