Exemple #1
0
 public void Exit()
 {
     if (modelToRun.Runner != null)
     {
         Simul8Runner S8Run = (Simul8Runner)(modelToRun.Runner);
         S8Run.CloseSimul8COMServer();
     }
 }
Exemple #2
0
        public void Run()
        {
            createRunModel();



            modelToRun.RunMultipleReplications(ReplicationTimes);


            Simul8Runner S8Run = (Simul8Runner)modelToRun.Runner;

            while (S8Run.isEnd() == false)
            {
                System.Threading.Thread.Sleep(10);
            }

            Results = S8Run.getResults();


            // S8Run.showResults(ResultView);
        }
Exemple #3
0
 public ERFSIMUL(Simul8Runner S8Machine)
 {
     this.S8Machine = S8Machine;
     modelToRun     = null;
     //Reset();
 }