2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
2016-10-07 13:33:56 +00:00
|
|
|
|
/// Copyright (c) 2013-2016 Sensus Metering Systems
|
2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
2014-07-31 15:04:09 +00:00
|
|
|
|
using TBF.Boxes;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Basic temperature meter functions
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface ITempMeter : IComponent
|
|
|
|
|
|
{
|
2016-07-07 09:02:35 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Returns current temperature in deg. Celsius
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>Temperature in deg. Celsius</returns>
|
2016-10-07 13:33:56 +00:00
|
|
|
|
double ReadTemperature();
|
2016-07-07 09:02:35 +00:00
|
|
|
|
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Events: TempDone, Error
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="temp">Reference to a variable for the temperature in Celsius</param>
|
|
|
|
|
|
/// <returns>ReadTempInOp instance reference casted to IOperaton</returns>
|
2016-10-07 13:33:56 +00:00
|
|
|
|
IOperation ReadTempOp(ref DoubleBox temp);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Events: tempDone, Error
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="temp">Reference to a variable for the temperature in Celsius</param>
|
|
|
|
|
|
/// <returns>ReadTempInOp instance reference casted to IOperaton</returns>
|
2016-10-07 13:33:56 +00:00
|
|
|
|
IOperation ReadTempOp(ref DoubleBox temp, Event tempDone);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|