From f8e08fc583058f8143eaf3c531b758ed76fd4fed Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Sat, 6 Apr 2019 08:12:26 +0000 Subject: [PATCH] EgtCAM5 : - in simulazione aggiunta gestione collisione. --- .../SimulationExpanderViewModel.vb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb b/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb index 3bbdda2..ff090e4 100644 --- a/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb +++ b/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb @@ -743,7 +743,17 @@ Public Class SimulationExpanderVM m_bShowPlay = True OnPropertyChanged("PlayPauseImage") End If - ' Se movimento non riuscito + ' Se movimento con collisione + Else If nMove = MCH_SIM.COLLISION + ' Imposto stato Pausa + SimulationStatus = MCH_SIM_ST.UI_PAUSE + StatusMsg = EgtMsg(MSG_SIMULATION + 11) ' Pausa + ' Aggiornamenti per bottone Play/Pause + m_bShowPlay = True + OnPropertyChanged("PlayPauseImage") + ' Messaggio + MessageBox.Show(EgtMsg(MSG_SIMULATION + 19), EgtMsg(MSG_SIMULATION + 15), MessageBoxButton.OK, MessageBoxImage.Warning) + ' Altrimenti movimento non riuscito Else SimulationStatus = MCH_SIM_ST.UI_STOP ' Aggiornamenti per bottone Play/Pause