using DTS.Common.Enums.Sensors; namespace DTS.Common.Interface.Sensors.SensorSettingsModule { /// /// describes settings sensor calibrations /// public interface ICalibrationPolicy { /// /// the current selected calibration policy /// SensorConstants.SensorCalPolicy SelectedCalPolicy { get; set; } /// /// all available calibration policies /// SensorConstants.SensorCalPolicy[] AvailableSensorCalPolicies { get; } /// /// period in days before calibration is due to warn /// int WarningPeriod { get; set; } /// /// The current value for whether sensor cal interval starts after calibration or first use /// bool UseSensorFirstUseDate { get; set; } /// /// Whether or not to keep track of, and validate a Test Setup based on, sensor use. /// bool DontAllowDataCollectionIfOverused { get; set; } /// /// A warning will be displayed if a sensor's usage is within this amount of its maximum. /// int UsageRemainingForWarning { get; set; } /// /// The default maximum number of uses for sensors /// int DefaultMaxUsageAllowed { get; set; } /// /// Whether or not the database being used supports the sensor usage policy. /// bool SensorAssemblyEnabled { get; } /// /// Whether or not the database being used supports the inspect before use /// bool AllowInspectBeforeUseEnabled { get; } //FB43142 /// /// Whether or not to allow inspect before use /// bool AllowInspectBeforeUse { get; set; } /// /// FB15758 Import/Export settings /// void ReadXML(System.Xml.XmlElement root); void WriteXML(ref System.Xml.XmlWriter writer); } }