Calibration certificate nr., date, validity, etc. added to Metrology UI, BalanceCfg, ver.2.5.275

This commit is contained in:
Milan Hanajik
2016-04-25 15:25:23 +02:00
parent df58d05b84
commit d516441ff8
9 changed files with 257 additions and 42 deletions
@@ -1,7 +1,7 @@
///
/// Copyright (c) 2013-2015 Sensus Metering Systems
/// Author: Milan Hanajik
/// Copyright (c) 2013-2016 Sensus Metering Systems
///
using System;
using System.IO;
using System.Collections.Generic;
using System.IO.Ports;
@@ -34,10 +34,16 @@ namespace TBF.BenchControl.MettlerToledo.Standard
public string Format;
public int EmptyTimeSec; /// s
/// Buoyancy - 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
{
@@ -54,6 +60,26 @@ namespace TBF.BenchControl.MettlerToledo.Standard
get { return buoyancyHumi; }
set { buoyancyHumi = value; }
}
public float WeightStandardDensity
{
get { return weightStandardDensity; }
set { weightStandardDensity = value; }
}
public string CalibCertificateNr
{
get { return calibCertificateNr; }
set { calibCertificateNr = value; }
}
public DateTime CalibDate
{
get { return calibDate; }
set { calibDate = value; }
}
public DateTime CalibValidDate
{
get { return calibValidDate; }
set { calibValidDate = value; }
}
/// Private parameterless constructor invoked by all other (public) constructors