Files
DP44/Common/DTS.CommonCore/.svn/pristine/93/93e5d6ad938d1c8d7c612e740ac271a01ae05cce.svn-base
2026-04-17 14:55:32 -04:00

66 lines
2.8 KiB
Plaintext

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; }
/// <summary>
/// The first 4 lines of the .csv file which may be needed to create a new .csv file in Edit File
/// </summary>
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; }
/// <summary>
/// The global default setting for Test Setups.
/// If True, HybridRecorder is added to CircularBuffer and Recorder.
/// </summary>
bool AllowAdvancedRecordingModes { get; set; }
/// <summary>
/// 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
/// </summary>
bool AllowActiveRecordingModes { get; set; }
bool AllowTSRAIRRecordingModes { get; set; }
/// <summary>
/// allows consumers to specify whether EIDs must be found for sensors to be used
/// </summary>
bool RequireEIDFound { get; set; }
/// <summary>
/// The value from DataPRO.config.exe
/// </summary>
string DefaultDigitalInputMode { get; set; }
/// <summary>
/// The value from DataPRO.config.exe
/// </summary>
double DefaultSquibFireDurationMs { get; set; }
string GetHashCode();
/// <summary>
/// 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
/// </summary>
Tuple<string,string> [] PreAssignedSensorIdAndHwId { get; set; }
}
}