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

54 lines
2.5 KiB
Plaintext

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<string, List<string>> GroupNameSensorListLookup { get; set; }
public Dictionary<string, string> SensorGroupNameLookup { get; set; }
public Dictionary<string, string> SensorGroupTypeLookup { get; set; }
public Dictionary<string, string> GroupNameTestObjectLookup { get; set; }
public List<string> Errors { get; set; } = new List<string>();
public Dictionary<string, string> SensorISOCode { get; set; }
public Dictionary<string, string> SensorISOChannelName { get; set; }
public Dictionary<string, string> SensorUserCode { get; set; }
public Dictionary<string, string> SensorUserChannelName { get; set; }
public Dictionary<string, string> SensorDASSerialNumber { get; set; }
public Dictionary<string, int> SensorChannelIndex { get; set; }
}
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<string> TestChannelOrders { get; set; }
public List<string> 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<string, int> SampleRateForDAS { get; } = new Dictionary<string, int>();
public Dictionary<string, uint> DomainIdForDAS { get; } = new Dictionary<string, uint>();
public Dictionary<string, bool> IsClockMaster { get; } = new Dictionary<string, bool>();
}
}