///
/// 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
{
///
/// Basic level meter functions
///
public interface ILevelMeter
{
///
/// Measurement correction table
///
IList Corrections { get; }
///
/// Events: LevelDone, Error
///
/// Reference to a variable for the measured level in mm
/// ReadLevelOp instance reference casted to IOperaton
IOperation ReadLevelOp(ref DoubleBox level);
///
/// Events: levelDone, Error
///
/// Reference to a variable for the measured level in mm
/// Event returned when measurement done
/// ReadLevelOp instance reference casted to IOperaton
IOperation ReadLevelOp(ref DoubleBox level, Event levelDone);
}
}