示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            XMLParser parser = new XMLParser();
            PRLDomain prlDomain = new PRLDomain();
            CTLModel ctlModel = new CTLModel(parser, prlDomain);

            FuzzyModel fuzzyModel = new FuzzyModel();

            // Main viewcontroller setup
            var controller = new MainViewController(ctlModel,fuzzyModel);

            // Cognitive Load setup
            CTLModelUtilityVC ctlUtilityVC = new CTLModelUtilityVC(ctlModel, parser);
            controller.clUtilityView = ctlUtilityVC.View;

            // Emotional State setup
            FuzzyModelUtilityVC esUtilityVC = new FuzzyModelUtilityVC(fuzzyModel);
            controller.esUtilityView = esUtilityVC.View;

            Application.Run(controller.View);
        }
 public void tearDown()
 {
     domain = null;
 }
 public void setUp()
 {
     domain = new OriginalDomain();
 }