/// <summary>
 /// Closes VISSIM instance
 /// </summary>
 public void Close()
 {
     if (isVissimOpen)
     {
         try
         {
             vissimInstance.Exit();
             isVissimOpen = false;
         }
         catch (Exception ex)
         {
             MessageBox.Show(ex.Message, "Error while closing Vissim instance");
         }
     }
 }
Esempio n. 2
0
 public void Stop()
 {
     running = false;
     try
     {
         if (simulation != null)
         {
             simulation.Stop();
         }
         vissim.Exit();
     }
     catch (Exception)
     {
         return;
     }
 }
Esempio n. 3
0
 static public void EndVissim()
 {
     vissim.Exit();
 }
Esempio n. 4
0
 /// <summary>
 /// Exit the vissim
 /// </summary>
 public void Exit()
 {
     vissim.Exit();
 }