Description:
During StandingStartMassCollection test evaluation, `tstRslt.PulsesMaster` was assigned directly from `cBrd.RefPulses`. By the time the evaluation was executed, the control board had already reset `RefPulses` to zero, resulting in an incorrect master pulse count being stored.
Solution:
Added `finalPulsesCount` to preserve the last valid `cBrd.RefPulses` value immediately after the measurement completed and before the control board reset the pulse counter.
The test evaluation now uses:
tstRslt.PulsesMaster = Convert.ToDouble(finalPulsesCount);
instead of the live `cBrd.RefPulses` value, ensuring the recorded master pulse count reflects the actual measured value.
37 lines
1.3 KiB
C#
37 lines
1.3 KiB
C#
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
|
|
// General Information about an assembly is controlled through the following
|
|
// set of attributes. Change these attribute values to modify the information
|
|
// associated with an assembly.
|
|
[assembly: AssemblyTitle("TestBenchFramework")]
|
|
[assembly: AssemblyDescription("")]
|
|
[assembly: AssemblyConfiguration("")]
|
|
[assembly: AssemblyCompany("Sensus")]
|
|
[assembly: AssemblyProduct("TestBenchFramework")]
|
|
[assembly: AssemblyCopyright("Copyright © 2013 - 2025 Sensus Slovensko, a.s.")]
|
|
[assembly: AssemblyTrademark("")]
|
|
[assembly: AssemblyCulture("")]
|
|
|
|
// Setting ComVisible to false makes the types in this assembly not visible
|
|
// to COM components. If you need to access a type in this assembly from
|
|
// COM, set the ComVisible attribute to true on that type.
|
|
[assembly: ComVisible(false)]
|
|
|
|
//Visibility to TBFTests internal classes
|
|
[assembly: InternalsVisibleTo("TBFTests")]
|
|
|
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
[assembly: Guid("2c13538e-15ee-48b2-af0f-2c95afb67186")]
|
|
|
|
// Version information for an assembly consists of the following four values:
|
|
//
|
|
// Major Version
|
|
// Minor Version
|
|
// Build Number
|
|
// Revision
|
|
//
|
|
[assembly: AssemblyVersion("3.9.3134.108")]
|
|
[assembly: AssemblyFileVersion("3.9.3134.108")]
|