Version increment to 3.9.2146.1 and update PoseidonReader to use VolumeLi instead of VolumeM3
This commit is contained in:
parent
56dc89ac82
commit
be8ac28bc7
@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("3.9.2146.0")]
|
||||
[assembly: AssemblyFileVersion("3.9.2146.0")]
|
||||
[assembly: AssemblyVersion("3.9.2146.1")]
|
||||
[assembly: AssemblyFileVersion("3.9.2146.1")]
|
||||
|
||||
@ -350,16 +350,16 @@ namespace TBF.Rig.RegisterReaders.PoseidonCmdStartStop
|
||||
if (Double.TryParse(data.Reading, out double Volume))
|
||||
{
|
||||
double VolumeLi = Units.ConvertFrom(Unit.USgal, Volume);
|
||||
double VolumeM3 = Units.ConvertTo(Unit.m3, VolumeLi);
|
||||
//double VolumeM3 = Units.ConvertTo(Unit.m3, VolumeLi);
|
||||
if (_isReadingStart)
|
||||
{
|
||||
//volume
|
||||
beginWMState = VolumeM3;
|
||||
beginWMState = VolumeLi;
|
||||
}
|
||||
else
|
||||
{
|
||||
//volume
|
||||
endWMState = VolumeM3;
|
||||
endWMState = VolumeLi;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user