Esempio n. 1
0
        public void UnloadRealTimeModel(IHasTargetConnection targetConnection)
        {
            try { targetConnection.TargetPC.Unload(); }
            catch { }

            LoadedApplication     = null;
            IsModelLoadedOnTarget = false;
            IsSimulationRunning   = false;
        }
Esempio n. 2
0
 public void LoadRealTimeModel(IHasTargetConnection targetConnection, string realTimeModelFilePath)
 {
     this.LoadedApplication = targetConnection.TargetPC.Load(realTimeModelFilePath);
     if (this.LoadedApplication != null)
     {
         IsModelLoadedOnTarget = true;
         IsSimulationRunning   = false;
     }
     else
     {
         IsModelLoadedOnTarget = false;
         IsSimulationRunning   = false;
     }
 }