Bug fixes

This commit is contained in:
Milan Hanajik
2021-04-26 11:56:21 +02:00
parent fdb1e112dc
commit 08c0a61110
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ namespace TBF.Rig.MettlerToledo.Standard
[XmlIgnore]
public double MsrdValLimLo { get { return 0; } set { } }
[XmlIgnore]
public double MsrdValLimHi { get { return Capacity; } set { Capacity = (float)value; } }
public double MsrdValLimHi { get { return Capacity; } set { } }
/// Private parameterless constructor invoked by all other (public) constructors
+7 -1
View File
@@ -41,7 +41,13 @@ namespace TBF.Rig.Uni.FlowMeter
}
/// <summary>Start this operation</summary>
public void Start() { }
public void Start()
{
if (flowMeter.MsrmntAvailable && flowBox != null)
{
flowBox.Val = flowMeter.ReadFlow();
}
}
/// <summary>Run this operation</summary>
/// <returns>