tbf/TBF/Rig/GenericDevices/ITempMeter.cs

43 lines
1.3 KiB
C#

///
/// Copyright (c) 2013-2016 Sensus Metering Systems
///
using TBF.Rig.Generic;
using TBF.Boxes;
namespace TBF.Rig.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);
bool MsrmntAvailable { get; }
double MeasuredVal { get; }
double MsrdValLimLo { get; }
double MsrdValLimHi { get; }
string MsrdFormat { get; }
Common.Unit MsrdUnit { get; }
string AltString { get; }
}
}