Preferred units in all BenchInfo components and IBenchInfo, Units.ConvertFrom/To for float.

This commit is contained in:
Milan Hanajik
2021-11-04 08:53:12 +01:00
parent e0c2004f52
commit 50494fccc9
6 changed files with 287 additions and 51 deletions
@@ -6,6 +6,7 @@ using System.Collections.Generic;
using System.Xml.Serialization;
using log4net;
using Common;
using Config;
using TBF.Rig;
using TBF.Rig.Generic;
using TBF.Resources;
@@ -30,6 +31,12 @@ namespace TBF.Rig.DataContainers.BenchInfo.iPerl
public string Address4 { get { return myCfg.Address4; } }
public string Address5 { get { return myCfg.Address5; } }
public RemoteDBUse RemoteDBUse { get { return myCfg.RemoteDBUse; } }
public Unit VolumeUnit { get { return myCfg.VolumeUnit; } }
public Unit FlowUnit { get { return myCfg.FlowUnit; } }
public Unit MassUnit { get { return myCfg.MassUnit; } }
public Unit TempUnit { get { return myCfg.TempUnit; } }
public Unit PressUnit { get { return myCfg.PressUnit; } }
public Unit LenghtUnit { get { return myCfg.LenghtUnit; } }
public Side Side { get { return myCfg.Side; } }
public int MaxTestIndex { get { return myCfg.MaxTestIndex; } } /// (MaxPruefindex % 100) value when to reject water meters completely if they are NOK