init
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using DTS.Common.Classes.Sensors;
|
||||
using DTS.Common.Enums.Sensors;
|
||||
using DTS.Common.Import.ImportOptions;
|
||||
using DTS.Common.Import.Interfaces;
|
||||
|
||||
namespace DTS.Common.Import.Parsers.CSV
|
||||
{
|
||||
public abstract class AbstractCSVParser : IParseCSVSensor
|
||||
{
|
||||
public abstract int Version { get; }
|
||||
protected ICalibrationImport _calibrationImport;
|
||||
protected ZeroMethodOptions _zeroMethodOptions;
|
||||
protected IImportNotification _importNotification;
|
||||
protected bool ImportCreateDynamicGroups { get; set; }
|
||||
protected bool UseISOCodeFilterMapping { get; set; }
|
||||
protected bool UseZeroForUnfiltered { get; set; }
|
||||
public void Initialize(ICalibrationImport import, ZeroMethodOptions zmOptions,
|
||||
IImportNotification importNotification, bool importCreateDynamicGroups,
|
||||
bool useISOCodeFilterMapping, bool useZeroForUnfiltered)
|
||||
{
|
||||
_calibrationImport = import;
|
||||
_zeroMethodOptions = zmOptions;
|
||||
_importNotification = importNotification;
|
||||
ImportCreateDynamicGroups = importCreateDynamicGroups;
|
||||
UseISOCodeFilterMapping = useISOCodeFilterMapping;
|
||||
UseZeroForUnfiltered = useZeroForUnfiltered;
|
||||
}
|
||||
|
||||
public abstract void ParseVersion(CSVImportTags.Tags field, string val, ParseParameters pp);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user