public virtual void Initialize()
 {
     RecordCreationDate      = DateTime.UtcNow;
     Parties                 = new List <DataCollectionParty>();
     SocioEconomicObjectives = new List <DataCollectionSocioEconomicObjective>();
     FieldsOfResearch        = new List <DataCollectionFieldOfResearch>();
     CurrentState            = new DataCollectionState(DataCollectionStatus.Draft, RecordCreationDate);
 }
Ejemplo n.º 2
0
 public SubjectLog(int subjectID,int logID, Gender gender, RunState runState, DataCollectionState dataCollectionState, Emotion selectedEmotion, Emotion correctEmotion, double outOfBoxTime, string pictureName, ErrorLog[] subjectErrors) {
     this.subjectID = subjectID;
     this.gender = gender;
     this.logID = logID;
     this.runState = runState;
     this.dataCollectionState = dataCollectionState;
     this.selectedEmotion = selectedEmotion;
     this.correctEmotion = correctEmotion;
     this.outOfBoxTime = outOfBoxTime;
     this.pictureName = pictureName;
     this.isCorrect = selectedEmotion == correctEmotion;
     this.subjectErrors = subjectErrors;
 }