From 84b2edd17ad09d2f32173be2ce35c0baeb65f648 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 17 Nov 2025 14:46:28 +0100 Subject: [PATCH] EgtCAM5 : - piccola modifica in simulazione per gestire Flag=12 quasi come 11 (pausa richiesta da sotto). --- .../SimulationExpander/SimulationExpanderVM.vb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderVM.vb b/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderVM.vb index c7a5a6b..8c2eab8 100644 --- a/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderVM.vb +++ b/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderVM.vb @@ -468,16 +468,16 @@ Public Class SimulationExpanderVM Friend Sub SimulationExpander_Update_CncData( nFlag As Integer) If Simulation_IsExpanded Then ShowCncData() - ' Se fermo per Collisione rilevata da script Lua - If nFlag = 11 Then + ' Se fermo per Collisione rilevata da script Lua o per altra richiesta + If nFlag = 11 Or nFlag = 12 Then ' Imposto stato Pausa SetSimulationStatus(MCH_SIM_ST.UI_PAUSE) StatusMsg = EgtMsg(MSG_SIMULATION + 11) ' PAUSA ' Aggiornamenti per bottone Play/Pause SetShowPlay(True) NotifyPropertyChanged("PlayPauseImage") - ' Dichiaro di non arrestarsi alla successiva notifica di collisione - m_bStopOnNextCollision = False + ' Se fermo per Collisione, dichiaro di non arrestarsi alla successiva notifica di collisione + If nFlag = 11 Then m_bStopOnNextCollision = False End If End If End Sub