init
This commit is contained in:
34
Common/DTS.Common/Interface/Sensors/ISensorCalibration.cs
Normal file
34
Common/DTS.Common/Interface/Sensors/ISensorCalibration.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using DTS.Common.Classes.Sensors;
|
||||
using DTS.Common.Enums;
|
||||
using DTS.Common.Enums.Sensors;
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
public interface ISensorCalibration : ISensorCalDbRecord
|
||||
{
|
||||
string EngineeringUnits { get; }
|
||||
long CalVersion { get; set; }
|
||||
string UUID { get; set; }
|
||||
double GetPolynomialEU(double inputmV, double excitation);
|
||||
string DocumentID { get; set; }
|
||||
NonLinearStyles IRTraccCalculationType { get; set; }
|
||||
string ToSerializedString();
|
||||
void FromSerializedString(string s);
|
||||
string ToDisplayString(ExcitationVoltageOptions.ExcitationVoltageOption excitation, string linearFormat,
|
||||
string nonlinearFormat, bool iepe);
|
||||
string ToLinearDisplayString(ExcitationVoltageOptions.ExcitationVoltageOption excitation, string linearFormat, bool iepe);
|
||||
string ToNonLinearDisplayString(string nonlinearFormat, bool iepe);
|
||||
|
||||
void ReadXML(System.Xml.XmlElement root);
|
||||
void WriteXML(ref System.Xml.XmlWriter writer);
|
||||
/// <summary>
|
||||
/// returns true if the calibration is compatible with IEPE
|
||||
/// IEPE sensors require linear calibrations and non proportional
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool IsCompatibleWithIEPE();
|
||||
|
||||
void CopyValues(ISensorCalibration copy);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user