Calibration certificate nr., date, validity, etc. added to Metrology UI, FlowMeterCfg, ver.2.5.276

This commit is contained in:
Milan Hanajik
2016-04-28 12:47:23 +02:00
parent d516441ff8
commit ca0bcc49ac
14 changed files with 335 additions and 151 deletions
@@ -10,7 +10,7 @@ using TBF.BenchControl.Generic;
namespace TBF.BenchControl.MettlerToledo.Standard
{
public class BalanceCfg : ComponentCfgBase, GenericDevices.IBalanceCfg
public class BalanceCfg : ComponentCfgBase, GenericDevices.IBalanceCfg, GenericDevices.ICalibInfoCfg
{
public IComponent GetComponent(IList<IComponent> components)
{
@@ -34,17 +34,11 @@ namespace TBF.BenchControl.MettlerToledo.Standard
public string Format;
public int EmptyTimeSec; /// s
///
/// Buoyancy related serialized parameters - Displayed in Metrology tab page
///
/// Buoyancy related serialized parameters displayed in Metrology tab page
private float buoyancyTemp;
private float buoyancyPress;
private float buoyancyHumi;
private float weightStandardDensity;
string calibCertificateNr;
DateTime calibDate;
DateTime calibValidDate;
///
public float BuoyancyTemp
{
get { return buoyancyTemp; }
@@ -65,6 +59,11 @@ namespace TBF.BenchControl.MettlerToledo.Standard
get { return weightStandardDensity; }
set { weightStandardDensity = value; }
}
/// Calibration info serialized parameters displayed in Metrology tab page
string calibCertificateNr;
DateTime calibDate;
DateTime calibValidDate;
public string CalibCertificateNr
{
get { return calibCertificateNr; }