Exemplo n.º 1
0
 public ExperimentManager()
 {
     applicationController             = ApplicationController.GetInstance();
     applicationView                   = ApplicationView.GetInstance();
     dataManager                       = DataManager.GetInstance();
     canvasManager                     = MenuCanvasManager.GetInstance();
     experimentProcessCanvasController = canvasManager.GetExperimentProcessCanvasController();
     firstParticipant                  = new ParticipantInExperiment();
     secondParticipant                 = new ParticipantInExperiment();
     namedPipeResultsGetter            = new NamedPipeResultsGetter();
     curr_module_order                 = 1;
 }
Exemplo n.º 2
0
        //Пайпа тоже должна быть где-то тут


        public ExperimentManager(Experiment experiment)
        {
            applicationController             = ApplicationController.GetInstance();
            applicationView                   = ApplicationView.GetInstance();
            dataManager                       = DataManager.GetInstance();
            canvasManager                     = MenuCanvasManager.GetInstance();
            experimentProcessCanvasController = canvasManager.GetExperimentProcessCanvasController();
            this.experiment                   = experiment;
            curr_module_order                 = 1;
            firstParticipant                  = new ParticipantInExperiment();
            secondParticipant                 = new ParticipantInExperiment();

            namedPipeResultsGetter = new NamedPipeResultsGetter();

            //Открываем пайп с названием AlphaS, который должен получать Dictionary <string string>, засериалайзеный в json
        }