using DTS.Common.Enums; using DTS.Common.Enums.Sensors; using DTS.Common.Interface.Sensors; using System; using System.Collections.Generic; namespace DTS.Common.Classes { public enum ImportPageType { ImportSensor, ImportTestSetup } public class SensorImportData { public Dictionary> GroupNameSensorListLookup { get; set; } = new Dictionary>(); public Dictionary SensorGroupNameLookup { get; set; } = new Dictionary(); public Dictionary SensorGroupTypeLookup { get; set; } = new Dictionary(); public Dictionary GroupNameTestObjectLookup { get; set; } = new Dictionary(); public List Errors { get; set; } = new List(); public Dictionary SensorISOCode { get; set; } = new Dictionary(); public Dictionary SensorISOChannelName { get; set; } = new Dictionary(); public Dictionary SensorUserCode { get; set; } = new Dictionary(); public Dictionary SensorUserChannelName { get; set; } = new Dictionary(); public Dictionary SensorDASSerialNumber { get; set; } = new Dictionary(); public Dictionary SensorChannelIndex { get; set; } = new Dictionary(); } public class TestSetupImportData { public string Name { get; set; } public string Description { get; set; } public double SamplesPerSecond { get; set; } public double PosttriggerSeconds { get; set; } public double PretriggerSeconds { get; set; } public RecordingModes RecordingMode { get; set; } public CalibrationBehaviors CalibrationBehavior { get; set; } public int Version { get; set; } public List TestChannelOrders { get; set; } public List Tags { get; set; } public InputClockSource ClockMasterInput { get; set; } = InputClockSource.None; public OutputClockSource ClockMasterOutput { get; set; } = OutputClockSource.None; public bool ManageClocksOutsideOfDataPROMaster { get; set; } = false; public bool ManageClocksOutsideOfDataPROSlave { get; set; } = false; public OutputClockSource ClockSlaveInput { get; set; } = OutputClockSource.None; public OutputClockSource ClockSlaveOutput { get; set; } = OutputClockSource.None; public Dictionary SampleRateForDAS { get; } = new Dictionary(); public Dictionary DomainIdForDAS { get; } = new Dictionary(); public Dictionary IsClockMaster { get; } = new Dictionary(); } }