EgtCAM5 :

- aggiunta possibilità di uscire dal programma anche durante lo svolgimento della simulazione con arresto automatico della stessa
- corretta visualizzazione utensile in lavorazione dopo modifica della stessa.
This commit is contained in:
Dario Sassi
2020-10-27 18:42:35 +00:00
parent 9456dc9d39
commit 9fad34cc4b
6 changed files with 17 additions and 7 deletions
@@ -269,7 +269,7 @@ Public Class SimulationExpanderVM
SetShowPlay(True)
NotifyPropertyChanged("PlayPauseImage")
End If
' Se movimento con collisione
' Se movimento con collisione
ElseIf nMove = MCH_SIM.COLLISION Then
' Imposto stato Pausa
SetSimulationStatus(MCH_SIM_ST.UI_PAUSE)
@@ -279,7 +279,7 @@ Public Class SimulationExpanderVM
NotifyPropertyChanged("PlayPauseImage")
' Messaggio
MessageBox.Show(EgtMsg(MSG_SIMULATION + 19), EgtMsg(MSG_SIMULATION + 15), MessageBoxButton.OK, MessageBoxImage.Warning)
' Altrimenti movimento non riuscito
' Altrimenti movimento non riuscito
Else
SetSimulationStatus(MCH_SIM_ST.UI_STOP)
' Aggiornamenti per bottone Play/Pause
@@ -334,6 +334,9 @@ Public Class SimulationExpanderVM
Map.refOperationParametersExpanderVM.OperParamsViewIsEnabled = True
Map.refMachGroupPanelVM.SetMachGroupState(True) ' Map.refMachGroupPanelVM.MachGroupPanelIsEnabled = True
Map.refEstimationsExpanderVM.NotifyPropertyChanged("Estimation_IsEnabled")
If IniFile.m_bSimulEndExitApp Then
refMainWindowVM.CloseApplication( Nothing)
End If
End Sub
Public Overrides Sub OnPostSetSimulationStatus(value As MCH_SIM_ST)