124 lines
4.3 KiB
C#
124 lines
4.3 KiB
C#
using DTS.Common.Base;
|
|
using DTS.Common.Interface.Sensors;
|
|
using DTS.Common.Interface.Sensors.SoftwareFilters;
|
|
// ReSharper disable CheckNamespace
|
|
|
|
namespace DTS.Common.Interface
|
|
{
|
|
public interface ITestModificationModel : IBaseModel
|
|
{
|
|
ITestModificationViewModel Parent { get; set; }
|
|
/// <summary>
|
|
/// channel modifications are based on
|
|
/// </summary>
|
|
ITestChannel SelectedChannel { get; set; }
|
|
/// <summary>
|
|
/// whether the Description field has been modified
|
|
/// </summary>
|
|
bool IsModifiedDescription { get; }
|
|
/// <summary>
|
|
/// the ChannelDescriptionString field of the selected channel
|
|
/// </summary>
|
|
string Description { get; set; }
|
|
/// <summary>
|
|
/// Whether the EuMultiplier has been modified
|
|
/// </summary>
|
|
bool IsModifiedEuMultiplier { get; }
|
|
/// <summary>
|
|
/// the Eu multiplier of the selected channel
|
|
/// </summary>
|
|
double EuMultiplier { get; set; }
|
|
/// <summary>
|
|
/// the Eu offset of the selected channel
|
|
/// </summary>
|
|
double EuOffset { get; set; }
|
|
/// <summary>
|
|
/// indicates that the eu offset has been modified
|
|
/// </summary>
|
|
bool IsModifiedEuOffset { get; }
|
|
/// <summary>
|
|
/// indicates that T0 has been modified
|
|
/// </summary>
|
|
bool IsModifiedT0 { get; }
|
|
/// <summary>
|
|
/// the current offset in ms of T0
|
|
/// </summary>
|
|
double T0 { get; set; }
|
|
/// <summary>
|
|
/// indicates whether any values have changed from default for the selected channel
|
|
/// </summary>
|
|
bool IsModified { get; }
|
|
/// <summary>
|
|
/// indicates whether T1 or T2 (line fit start/end) has been modified
|
|
/// </summary>
|
|
bool IsModifiedLineFit { get; set; }
|
|
/// <summary>
|
|
/// time in ms for start of line fit
|
|
/// </summary>
|
|
double T1 { get; set; }
|
|
/// <summary>
|
|
/// time in ms for end of line fit
|
|
/// </summary>
|
|
double T2 { get; set; }
|
|
/// <summary>
|
|
/// indicates whether sensitivity has been modified
|
|
/// </summary>
|
|
bool IsModifiedSensitivity { get; }
|
|
/// <summary>
|
|
/// sensitivity of selected channel
|
|
/// </summary>
|
|
double Sensitivity { get; set; }
|
|
/// <summary>
|
|
/// indicates whether filter has been modified
|
|
/// </summary>
|
|
bool IsModifiedFilter { get; }
|
|
/// <summary>
|
|
/// the software filter for the selected class
|
|
/// </summary>
|
|
//FB 13120 Use IFilterClass instead of CFCFilter
|
|
IFilterClass SelectedFilter { get; set; }
|
|
/// <summary>
|
|
/// T0 adjustment mode
|
|
/// </summary>
|
|
T0Mode T0Mode { get; set; }
|
|
/// <summary>
|
|
/// indicates whether DataFlag has been modified or not
|
|
/// </summary>
|
|
bool IsModifiedDataFlag { get; }
|
|
/// <summary>
|
|
/// the dataflag for the selected channel
|
|
/// </summary>
|
|
DataFlag SelectedDataFlag { get; set; }
|
|
/// <summary>
|
|
/// returns true if T0 is valid (within the dataset),
|
|
/// false otherwise
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
bool ValidateT0();
|
|
/// <summary>
|
|
/// Sensor in database corresponding to channel
|
|
/// </summary>
|
|
ISensorDbRecord Sensor { get; set; }
|
|
/// <summary>
|
|
/// Latest calibration in database corresponding to channel
|
|
/// </summary>
|
|
ISensorCalDbRecord Cal { get; set; }
|
|
/// <summary>
|
|
/// Whether to show the sensor calibration or not
|
|
/// </summary>
|
|
bool ShowSensorCal { get; }
|
|
/// <summary>
|
|
/// Sensitivity corresponding to calibration for channel
|
|
/// </summary>
|
|
double CalSensitivity { get; set; }
|
|
/// <summary>
|
|
/// whether the calibration is non linear or not
|
|
/// </summary>
|
|
bool NonLinear { get; }
|
|
/// <summary>
|
|
/// whether sensor is proportional to excitation or not
|
|
/// </summary>
|
|
bool ProportionalToExcitation { get; }
|
|
}
|
|
}
|