Files
DP44/Common/DTS.Common/.svn/pristine/5e/5e662bb21f9eea97972b67ebbb8fb49e4d5de946.svn-base

33 lines
1.5 KiB
Plaintext
Raw Normal View History

2026-04-17 14:55:32 -04:00
using DTS.Common.Classes.Sensors;
using DTS.Common.Enums;
using DTS.Common.Enums.Sensors;
namespace DTS.Common.Interface.Sensors
{
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public interface ICalibrationRecords
{
ICalibrationRecord[] Records { get; set; }
void FromSerializedString(string s);
bool IsEqual(object obj, ISensorCalibration sc);
string ToDisplayString(ISensorCalibration sc, ISensorCalibration previous, string linearFormat, string nonlinearFormat);
string ToSerializedString(ISensorCalDbRecord sc);
}
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public interface ICalibrationRecord
{
bool AtCapacity { get; set; }
double CapacityOutputIsBasedOn { get; set; }
string EngineeringUnits { get; set; }
ExcitationVoltageOptions.ExcitationVoltageOption Excitation { get; set; }
string ISOCode { get; set; }
LinearizationFormula Poly { get; set; }
double Sensitivity { get; set; }
SensorConstants.SensUnits SensitivityUnits { get; set; }
double ZeroPoint { get; set; }
string ToDisplayString(ISensorCalibration sc, ICalibrationRecord previous, ISensorCalibration sc2, string linearFormat, string nonlinearFormat);
string ToSerializedString(ISensorCalDbRecord sc);
bool IsEqual(object obj, ISensorCalibration sc);
}
}