Scale capacity, etc. : float --> double

This commit is contained in:
Milan Hanajik
2022-04-26 16:53:10 +02:00
parent d6880fc1b7
commit 43ce2552a2
4 changed files with 23 additions and 23 deletions
+6 -6
View File
@@ -37,9 +37,9 @@ namespace TBF.Rig.MettlerToledo.Standard
public StopBits StopBits;
public Handshake Handshake;
public float Capacity { get; set; } /// Max. water mass in 'kg' or volume in 'l'
public float Empty { get; set; } /// Mass threshold for 'Tank is empty' in 'kg' (or volume in 'l')
public float EmptyUp { get; set; } /// Mass threshold for 'Tank is empty' in 'kg' (or volume in 'l') when the drain valve is not open
public double Capacity { get; set; } /// Max. water mass in 'kg' or volume in 'l'
public double Empty { get; set; } /// Mass threshold for 'Tank is empty' in 'kg' (or volume in 'l')
public double EmptyUp { get; set; } /// Mass threshold for 'Tank is empty' in 'kg' (or volume in 'l') when the drain valve is not open
public string Evaporation { get; set; }
public string DrainValve { get; set; }
public int DrainTimeSec { get; set; }
@@ -104,9 +104,9 @@ namespace TBF.Rig.MettlerToledo.Standard
DataBits = 7;
StopBits = System.IO.Ports.StopBits.One;
Handshake = System.IO.Ports.Handshake.XOnXOff;
Capacity = 200.0f;
Empty = 20.0f;
EmptyUp = 2.0f;
Capacity = 200.0;
Empty = 20.0;
EmptyUp = 2.0;
DrainValve = "VB1";
DrainTimeSec = 180;
BuoyancyTemp = 20.0f;