Ejemplo n.º 1
0
 public void testEnd()
 {
     mPage.mRecorder.outputReport(FEITStandard.GetRepotOutputPath() + "symm\\" + mPage.interFilename,
                                  FEITStandard.GetRepotOutputPath() + "symm\\" + mPage.posFilename,
                                  FEITStandard.GetRepotOutputPath() + "symm\\" + mPage.pracSymmFilename,
                                  FEITStandard.GetRepotOutputPath() + "symm\\" + mPage.pracPosFilename);
     mfRoute = mPage.finish;
     mPage.nextStep();
 }
Ejemplo n.º 2
0
        void outputData()
        {
            string interFilename     = "inter_" + mMainWindow.mDemography.GenBriefString() + ".txt";
            string orderFilename     = "order_" + mMainWindow.mDemography.GenBriefString() + ".txt";
            string pracMathFilename  = "pracMath_" + mMainWindow.mDemography.GenBriefString() + ".txt";
            string pracOrderFilename = "pracOrder_" + mMainWindow.mDemography.GenBriefString() + ".txt";

            if (ARCTYPE == SECOND_ARCHI_TYPE.OPSPAN)
            {
                mRecorder.outputReport(FEITStandard.GetRepotOutputPath() + "op\\" + interFilename,
                                       FEITStandard.GetRepotOutputPath() + "op\\" + orderFilename,
                                       FEITStandard.GetRepotOutputPath() + "op\\" + pracMathFilename,
                                       FEITStandard.GetRepotOutputPath() + "op\\" + pracOrderFilename);
            }
            else if (ARCTYPE == SECOND_ARCHI_TYPE.SYMMSPAN)
            {
                mRecorder.outputReport(FEITStandard.GetRepotOutputPath() + "symm\\" + interFilename,
                                       FEITStandard.GetRepotOutputPath() + "symm\\" + orderFilename,
                                       FEITStandard.GetRepotOutputPath() + "symm\\" + pracMathFilename,
                                       FEITStandard.GetRepotOutputPath() + "symm\\" + pracOrderFilename);
            }
        }
Ejemplo n.º 3
0
        public bool quit()
        {
            if (mPractiseMode)
            {
                mPage.mCurrentStatus = PageOpSpan.PageAttr.instruction2;
            }
            else
            {
                //record
                mPage.mTimer.Stop();
                mPage.mRecorder.outputReport(
                    FEITStandard.GetRepotOutputPath() + "op\\" + mPage.interFilename,
                    FEITStandard.GetRepotOutputPath() + "op\\" + mPage.orderFilename,
                    FEITStandard.GetRepotOutputPath() + "op\\" + mPage.pracMathFilename,
                    FEITStandard.GetRepotOutputPath() + "op\\" + mPage.pracOrderFilename);

                mPage.mCurrentStatus = PageOpSpan.PageAttr.finish;
            }

            mPage.nextStep();

            return(false);
        }