Masses are stored in double variables everywhere.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
///
|
||||
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
||||
/// Author: Milan Hanajik
|
||||
/// Copyright (c) 2013-2016 Sensus Metering Systems
|
||||
///
|
||||
using System;
|
||||
using log4net;
|
||||
@@ -17,7 +16,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
|
||||
/// Set by the constructor
|
||||
BalanceDev balanceDev;
|
||||
FloatBox result;
|
||||
DoubleBox result;
|
||||
|
||||
/// <summary>
|
||||
/// Events: BalanceDone, Error
|
||||
@@ -25,7 +24,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
/// <param name="balanceDev">Balance device instance</param>
|
||||
/// <param name="requiredReadingsCount">Required mass readings count (>= 3)</param>
|
||||
/// <param name="result">Reference to the measured mass in kg</param>
|
||||
public ReadMassOp(BalanceDev balanceDev, ref FloatBox result)
|
||||
public ReadMassOp(BalanceDev balanceDev, ref DoubleBox result)
|
||||
{
|
||||
if (balanceDev == null) throw new ArgumentNullException("balanceDev");
|
||||
this.balanceDev = balanceDev;
|
||||
|
||||
Reference in New Issue
Block a user