35 lines
1.4 KiB
C#
35 lines
1.4 KiB
C#
|
|
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);
|
|||
|
|
}
|
|||
|
|
}
|