using DTS.Common.Enums.Sensors; using DTS.Common.Interface.Sensors; using System; using System.Collections.Generic; namespace DTS.Common.Classes.Sensors { /// /// internal helper class to avoid passing a huge number of parameters between methods /// right now it's needed both in the Wizard CSV import code and in DataPRO CSV import code /// but it can probably be moved to only be in Wizard CSV import code when DataPRO CSV import code is removed /// for now it lives here. /// public class ParseParameters { public bool ImportContainedSensorRanges { get; set; } = false; private ISensorData _sd; public ISensorData SensorData { get => _sd; set => _sd = value; } private IFormatProvider _importCulture; public IFormatProvider ImportCulture { get => _importCulture; set => _importCulture = value; } private List _errors; public List Errors { get => _errors; set => _errors = value; } private double _dIrTraccExponent; public double IrtraccExponent { get => _dIrTraccExponent; set => _dIrTraccExponent = value; } private ISensorCalibration _sc; public ISensorCalibration SensorCal { get => _sc; set => _sc = value; } private double _dSensitivity; public double Sensitivity { get => _dSensitivity; set => _dSensitivity = value; } private bool _bSavedIsProportional; public bool SavedIsProportional { get => _bSavedIsProportional; set => _bSavedIsProportional = value; } private bool _savedRemoveOffset; public bool SavedRemoveOffset { get => _savedRemoveOffset; set => _savedRemoveOffset = value; } private bool _stripBackslash; public bool StripBackslash { get => _stripBackslash; set => _stripBackslash = value; } private double _dOriginalOffset = double.NaN; public double OriginalOffset { get => _dOriginalOffset; set => _dOriginalOffset = value; } private ZeroMethodType _zmt; public ZeroMethodType ZeroType { get => _zmt; set => _zmt = value; } private double _zeroMethodEnd; public double ZeroEnd { get => _zeroMethodEnd; set => _zeroMethodEnd = value; } private double _zeroMethodStart; public double ZeroStart { get => _zeroMethodStart; set => _zeroMethodStart = value; } private ISquibSettingDefaults _squibDefaults; public ISquibSettingDefaults SquibDefaults { get => _squibDefaults; set => _squibDefaults = value; } private IDigitalOutDefaults _digitalOutDefaults; public IDigitalOutDefaults DigitalOutDefaults { get => _digitalOutDefaults; set => _digitalOutDefaults = value; } private Dictionary _sensorGroupNameLookup; public Dictionary SensorGroupNameLookup { get => _sensorGroupNameLookup; set => _sensorGroupNameLookup = value; } private Dictionary _sensorGroupTypeLookup; public Dictionary SensorGroupTypeLookup { get => _sensorGroupTypeLookup; set => _sensorGroupTypeLookup = value; } private Dictionary _groupNameToTestObjectLookup; public Dictionary GroupNameToTestObjectLookup { get => _groupNameToTestObjectLookup; set => _groupNameToTestObjectLookup = value; } private string _sensorTestObject; public string SensorTestObject { get => _sensorTestObject; set => _sensorTestObject = value; } private bool _bUseISOCodeFilterMapping; public bool UseISOCodeFilterMapping { get => _bUseISOCodeFilterMapping; set => _bUseISOCodeFilterMapping = value; } private bool _bUseZeroForUnfiltered; public bool UseZeroForUnfiltered { get => _bUseZeroForUnfiltered; set => _bUseZeroForUnfiltered = value; } private Dictionary _SensorISOCode; public Dictionary SensorISOCode { get => _SensorISOCode; set => _SensorISOCode = value; } private Dictionary _SensorISOChannelName; public Dictionary SensorISOChannelName { get => _SensorISOChannelName; set => _SensorISOChannelName = value; } private Dictionary _SensorUserCode; public Dictionary SensorUserCode { get => _SensorUserCode; set => _SensorUserCode = value; } private Dictionary _SensorUserChannelName; public Dictionary SensorUserChannelName { get => _SensorUserChannelName; set => _SensorUserChannelName = value; } private Dictionary _SensorDASSerialNumber; public Dictionary SensorDASSerialNumber { get => _SensorDASSerialNumber; set => _SensorDASSerialNumber = value; } private Dictionary _SensorDASChannelIndex; public Dictionary SensorDASChannelIndex { get => _SensorDASChannelIndex; set => _SensorDASChannelIndex = value; } } }