///
/// Copyright (c) 2013-2018 Sensus Slovensko a.s.
///
using TBF.Boxes;
namespace TBF.BenchControl.GenericDevices
{
///
/// Scale with a water tank functions
///
public interface IScale : IScaleOrTank
{
float BuoyancyTemp { get; } ///
float BuoyancyPress { get; } /// Displayed in Metrology tab page
float BuoyancyHumi { get; } ///
///
/// Events: BalanceDone, Error
///
/// Reference to a variable for 'tara' in kg
/// TaringOp instance reference casted to IOperaton
IOperation TaringOp(ref DoubleBox tara);
///
/// Events: BalanceDone, Error
///
/// Reference to a variable for the measured mass in kg
/// ReadMassOp instance reference casted to IOperaton
IOperation ReadMassOp(ref DoubleBox mass);
///
/// Events: BalanceDone, Error
///
/// Reference to a variable for the measured mass in kg
/// Required mass readings count (>= 3)
/// Maximum spread of measurements in kg (otherwise the measurement continues)
/// Method: false = slow (precise), true = fast (immediate)
/// ReadMassAverageOp instance reference casted to IOperaton
IOperation ReadStableMassOp(ref DoubleBox mass, int readingsCount, double maxSpread, Config.Entities.MassMethod method);
///
/// Events: Done, Error
///
/// Reference to the serialNumber
/// GetBalanceSerNumOp instance reference casted to IOperaton
IOperation GetSerNumOp(ref string serialNumber);
}
}