From bea75d5fcf809bb17ff216b81aa0fb1270dbe5b4 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 20 Apr 2017 08:33:24 +0000 Subject: [PATCH] EgtCAM5 1.8d3 : - piccola miglioria a simulazione. --- My Project/AssemblyInfo.vb | 4 ++-- .../SimulationExpanderViewModel.vb | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) 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)