init
This commit is contained in:
32
Common/DTS.Common/Interface/Sensors/ICalibrationRecord.cs
Normal file
32
Common/DTS.Common/Interface/Sensors/ICalibrationRecord.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user