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

            LoadedApplication     = null;
            IsModelLoadedOnTarget = false;
            IsSimulationRunning   = false;
        }
Exemple #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;
     }
 }