diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb index 83349c4..7c9f777 100644 --- a/My Project/AssemblyInfo.vb +++ b/My Project/AssemblyInfo.vb @@ -70,5 +70,5 @@ Imports System.Windows ' by using the '*' as shown below: ' - - + + diff --git a/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb b/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb index de6214d..ffc490c 100644 --- a/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb +++ b/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb @@ -464,14 +464,14 @@ Namespace EgtCAM5 ' Aggiorno visualizzazione EgtDraw() ' Aggiorno dati CNC - 'If nShowDataCounter = 10 Then - ShowCncData() - ' nShowDataCounter = 0 - 'ElseIf nShowDataCounter > 10 Then - ' nShowDataCounter = 0 - 'Else - ' nShowDataCounter += 1 - 'End If + If nShowDataCounter = 5 Then + ShowCncData() + nShowDataCounter = 0 + ElseIf nShowDataCounter > 5 Then + nShowDataCounter = 0 + Else + nShowDataCounter += 1 + End If Else ' Per evitare di ciclare rapidissimamente e consumare inutilmente CPU System.Threading.Thread.Sleep(1)