Stable level and volume measurement ... in progress.

This commit is contained in:
Milan Hanajik
2018-11-13 16:31:20 +01:00
parent f81c30f072
commit a8e0a8087d
14 changed files with 229 additions and 66 deletions
@@ -56,6 +56,24 @@ namespace TBF.BenchControl.Various.ManualLevelMsrmnt
return this;
}
/// <returns>Reference to the operation</returns>
public IOperation ReadStableLevelOp(ref DoubleBox levelBox, double sdev)
{
if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
this.levelBox = levelBox;
currentOp = CurrentOp.EnterLevel;
return this;
}
/// <returns>Reference to the operation</returns>
public IOperation ManualReadLevelOp(ref DoubleBox levelBox)
{
if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
this.levelBox = levelBox;
currentOp = CurrentOp.EnterLevel;
return this;
}
delegate void EntryFormDlgt(ManualLevelMsrmnt myRef);
///
@@ -70,7 +88,7 @@ namespace TBF.BenchControl.Various.ManualLevelMsrmnt
public void Start()
{
resultSaved = false;
if (currentOp == CurrentOp.EnterLevel)
if (currentOp == CurrentOp.EnterLevel)
{
Program.MainWnd.Invoke(new EntryFormDlgt(OpenWaterLevelForm), this);
}