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