using DTS.Common.Enums;
using DTS.Common.Interface.TestSetups.Imports.TTS.LevelTrigger;
using System;
namespace DTS.Common.Interface.TestSetups.Imports.TTS.ReadFile
{
public interface ITTSSetup
{
string Filename { get; set; }
string TestId { get; set; }
///
/// The first 4 lines of the .csv file which may be needed to create a new .csv file in Edit File
///
string Line1 { get; set; }
string Line2 { get; set; }
string Line3 { get; set; }
string Line4 { get; set; }
string[] DummyList { get; set; }
double SampleRate { get; set; }
RecordingModes Mode { get; set; }
double TestLength { get; }
double PreTrigger { get; set; }
double PostTrigger { get; set; }
double ROIStart { get; set; }
double ROIEnd { get; set; }
ITTSChannelRecord[] Channels { get; set; }
ILevelTrigger[] LevelTriggers { get; set; }
string OriginalImportFile { get; set; }
///
/// The global default setting for Test Setups.
/// If True, HybridRecorder is added to CircularBuffer and Recorder.
///
bool AllowAdvancedRecordingModes { get; set; }
///
/// the global default setting for Test Setups
/// if true Active Ram and Active Ram Multiple Events recording modes
/// are allowed
/// http://manuscript.dts.local/f/cases/31841/Add-support-for-Active-RAM-mode
///
bool AllowActiveRecordingModes { get; set; }
bool AllowTSRAIRRecordingModes { get; set; }
///
/// allows consumers to specify whether EIDs must be found for sensors to be used
///
bool RequireEIDFound { get; set; }
///
/// The value from DataPRO.config.exe
///
string DefaultDigitalInputMode { get; set; }
///
/// The value from DataPRO.config.exe
///
double DefaultSquibFireDurationMs { get; set; }
string GetHashCode();
///
/// Holds sensors that should be assigned to hardware channels
/// this can only happen through the XML import, where hardware and sensors are already assigned
/// these persist until the assignment is made
/// once the assignment has been made it's no longer necessary to remember the assignment since it has already been made
/// this is necessary because readfile for the xml import happens before hardware is scanned
/// and the hardware scan might not find all hardware
///
Tuple[] PreAssignedSensorIdAndHwId { get; set; }
}
}