35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
///
|
|
/// Copyright (c) 2013-2016 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
using TBF.Boxes;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
/// <summary>
|
|
/// Basic temperature meter functions
|
|
/// </summary>
|
|
public interface ITempMeter : IComponent
|
|
{
|
|
/// <summary>
|
|
/// Returns current temperature in deg. Celsius
|
|
/// </summary>
|
|
/// <returns>Temperature in deg. Celsius</returns>
|
|
double ReadTemperature();
|
|
|
|
/// <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>
|
|
IOperation ReadTempOp(ref DoubleBox temp);
|
|
|
|
/// <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>
|
|
IOperation ReadTempOp(ref DoubleBox temp, Event tempDone);
|
|
}
|
|
}
|