Stable level and volume measurement ... in progress.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user