public OrganizerPracSymm(PageSymmSpan page, List <TrailSS_ST> symms, RecorderSymSpan rec) { mPage = page; mSymmItems = symms; mWatch = new Stopwatch(); mRTs = new List <long>(); mRecorder = rec; }
public OrganizerPracLocation(PageSymmSpan page, List <List <int> > locations, RecorderSymSpan rec) { mPage = page; mLocations = locations; mTriBtns = new CompTriBtns(); mWatch = new Stopwatch(); mRecorder = rec; }
public PageSymmSpan(MainWindow _mainWindow) { InitializeComponent(); mMainWindow = _mainWindow; mLayoutInstruction = new LayoutInstruction(ref mBaseCanvas); mTestGroupScheme = new int[] { 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8 }; mPracGroupScheme = new int[] { 2, 2 }; interFilename = "inter_" + mMainWindow.mDemography.GenBriefString() + ".txt"; posFilename = "pos_" + mMainWindow.mDemography.GenBriefString() + ".txt"; pracPosFilename = "prac_pos_" + mMainWindow.mDemography.GenBriefString() + ".txt"; pracSymmFilename = "prac_symm_" + mMainWindow.mDemography.GenBriefString() + ".txt"; LoaderSymmSpan loader = new LoaderSymmSpan("SYMM\\sourceIndex.txt", "SYMM\\fixedItems.txt", "SYMM\\locationExe.txt", "SYMM\\fixedSymmExeBaseline.txt"); List <TrailSS_ST> rList = loader.GetResourceList(); if (!mbFixedItems) { RandomSelector testRanSel = new RandomSelector(rList, mTestGroupScheme); mTest = testRanSel.Get(); RandomSelector pracRanSel = new RandomSelector(rList, mPracGroupScheme); mPrac = pracRanSel.Get(); } else { mTest = loader.GetFixedItemGroups(mTestGroupScheme); mPrac = loader.GetFixedComprehExe(mPracGroupScheme); mPracLocation = loader.GetFixedLocationExe(); mPractiseSymm = loader.GetFixedSymmExe(); } mGroupsAnswer = new List <AnswerSSST>(); mStatus = StatusSS.main_title;//test could be from here mTimer = new FEITTimer(); mTimer.Start(); mRecorder = new RecorderSymSpan(this); /*if (!mMainWindow.mDB.TableExists(Names.SYMSPAN_POS_TABLENAME)) * { * mMainWindow.mDB.CreateSymSpanPosTable(mTestGroup.Length); * } * * if (!mMainWindow.mDB.TableExists(Names.SYMSPAN_SYMM_TABLENAME)) * { * mMainWindow.mDB.CreateSymSpanSymmTable(trails.Count); * }*/ }