-
Notifications
You must be signed in to change notification settings - Fork 2
/
ConversionSettings.cs
68 lines (56 loc) · 2.09 KB
/
ConversionSettings.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using System;
using System.Collections;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace OCDataImporter
{
public enum StatusAfterUpload
{
MARKED_COMPLETE,
DATA_ENTRY_STARTED
}
public enum InitialStatusCRFS
{
NO_DATA_ENTERY_STARTED,
DATA_ENTERY_STARTED
}
class ConversionSettings
{
public String dateFormat { get; set; }
public String defaultLocation { get; set; }
public String selectedCRF { get; set; }
public String selectedStudyEvent{ get; set; }
public String selectedEventRepeating { get; set; }
public String studyOID { get; set; }
public String workdir { get; set; }
public String pathToInputFile { get; set; }
public String SUBJECTSEX_F { get; set; }
public String SUBJECTSEX_M { get; set; }
public String defaultSubjectSex { get; set; }
public String pathToMetaDataFile { get; set; }
public bool useTodaysDateIfNoEventDate { get; set; }
public bool checkForDuplicateSubjects { get; set; }
public bool uploadOnNotStarted { get; set; }
public bool uploadOnDataEntryStarted { get; set; }
public bool uploadOnDataEntryComplete { get; set; }
public int sepCount { get; set; }
public int outFMaxLines { get; set; }
public StatusAfterUpload statusAfterUpload { get; set; }
public InitialStatusCRFS initialStatusCRFs { get; set; }
public ArrayList Groups { get; set; }
public ArrayList Forms { get; set; }
public ArrayList Sites { get; set; }
public bool DOY { get; set; }
public void reset() {
workdir = "";
pathToMetaDataFile = "";
pathToInputFile = "";
checkForDuplicateSubjects = false;
}
public Boolean isUpsertOnRequested()
{
return uploadOnNotStarted | uploadOnDataEntryComplete | uploadOnDataEntryStarted;
}
}
}