Version increment to 3.9.2146.1 and update PoseidonReader to use VolumeLi instead of VolumeM3

This commit is contained in:
Michal Buzik 2025-09-07 17:35:20 +02:00
parent 56dc89ac82
commit be8ac28bc7
2 changed files with 5 additions and 5 deletions

View File

@ -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")]

View File

@ -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;
}
}