public static ExportRun Create(Run run, ExportSettings exportSettings) { if (run.Trial.Session.BehavioralTest.BehavioralTestType == BehavioralTestType.Fst) { return new ExportFstRun(run, exportSettings); } return new ExportRun(run, exportSettings); }
public ExportTimeBin(Run run, ExportSettings exportSettings, List<RunEvent> stateRunEventsInRange) { this.run = run; this.exportSettings = exportSettings; this.stateRunEventsInRange = stateRunEventsInRange; if (exportSettings.TimeBinDuration <= 0) { throw new IndexOutOfRangeException(String.Format("TimeBin duration: {0} out of range", exportSettings.TimeBinDuration)); } this.binDuration = exportSettings.TimeBinDuration * 1000; initializeTimeBins(); }
protected ExportRun(Run run, ExportSettings exportSettings) { this.run = run; this.exportSettings = exportSettings; }
public ExportFstRun(Run run, ExportSettings exportSettings) : base(run, exportSettings) { }
public Exporter(Trial trial, ExportSettings exportSettings = null) { this.exportSettings = (null != exportSettings) ? exportSettings : new ExportSettings(trial); }