41 lines
1.4 KiB
C#
41 lines
1.4 KiB
C#
///
|
|
/// Copyright (c) 2018 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Config.Entities;
|
|
using TBF.BenchControl.Generic;
|
|
using TBF.Boxes;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
public interface IVolumeMeter
|
|
{
|
|
/// <summary>
|
|
/// Measurement correction table
|
|
/// </summary>
|
|
IList<MeasurementCorrection> Corrections { get; }
|
|
|
|
/// <summary>
|
|
/// Events: VolumeDone, Error
|
|
/// </summary>
|
|
/// <param name="volume">Reference to a variable for the measured volume in l</param>
|
|
/// <returns>ReadPressureOp instance reference casted to IOperaton</returns>
|
|
IOperation ReadVolumeOp(ref DoubleBox volume);
|
|
|
|
/// <summary>
|
|
/// Events: VolumeDone, Error
|
|
/// </summary>
|
|
/// <param name="volume">Reference to a variable for the measured volume in l</param>
|
|
/// <returns>ReadPressureOp instance reference casted to IOperaton</returns>
|
|
IOperation ReadStableVolumeOp(ref DoubleBox volume, double sdev);
|
|
|
|
/// <summary>
|
|
/// Events: VolumeDone, Error
|
|
/// </summary>
|
|
/// <param name="volume">Reference to a variable for the measured volume in l</param>
|
|
/// <returns>ReadPressureOp instance reference casted to IOperaton</returns>
|
|
IOperation ManualReadVolumeOp(ref DoubleBox volume);
|
|
}
|
|
}
|