forked from PNNL-Comp-Mass-Spec/MASIC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clsRawDataExportOptions.cs
48 lines (38 loc) · 1.23 KB
/
clsRawDataExportOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
namespace MASIC
{
public class clsRawDataExportOptions
{
#region "Constants and Enums"
public enum eExportRawDataFileFormatConstants
{
PEKFile = 0,
CSVFile = 1
}
#endregion
public bool ExportEnabled { get; set; }
public eExportRawDataFileFormatConstants FileFormat { get; set; }
public bool IncludeMSMS { get; set; }
public bool RenumberScans { get; set; }
public float MinimumSignalToNoiseRatio { get; set; }
public int MaxIonCountPerScan { get; set; }
public float IntensityMinimum { get; set; }
public void Reset()
{
ExportEnabled = false;
FileFormat = eExportRawDataFileFormatConstants.CSVFile;
IncludeMSMS = false;
RenumberScans = false;
MinimumSignalToNoiseRatio = 1;
MaxIonCountPerScan = 200;
IntensityMinimum = 0;
}
public override string ToString()
{
if (ExportEnabled)
{
return "Export raw data as " + FileFormat;
}
return "Raw data export is disabled";
}
}
}