Files
DP44/Common/DTS.CommonCore/.svn/pristine/8f/8feed088a86e8ba6c378918b273393aa3904479c.svn-base

99 lines
3.4 KiB
Plaintext
Raw Normal View History

2026-04-17 14:55:32 -04:00
using DTS.Common.Base;
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();
}
}