33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
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);
|
|
}
|
|
}
|