From 3e097b81a644cb2b44ebfd494e20b56d1dcdd099 Mon Sep 17 00:00:00 2001 From: Nicola Pievani Date: Tue, 5 Dec 2023 16:26:28 +0100 Subject: [PATCH 01/18] Gestione sfondo ComboBoxList --- MachinePanel/MyMachinePanelVM.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MachinePanel/MyMachinePanelVM.vb b/MachinePanel/MyMachinePanelVM.vb index 911e899..c02c3e5 100644 --- a/MachinePanel/MyMachinePanelVM.vb +++ b/MachinePanel/MyMachinePanelVM.vb @@ -148,6 +148,7 @@ Public Class MyMachinePanelVM ' Definisco lo stile della ComboBox ToolDbWindowVM.BackgroundCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush) + ToolDbWindowVM.BackgroundListCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush) ToolDbWindowVM.ForegroundCmBxTxBl = Brushes.White ToolDbWindowVM.BorderBrushCmBxTxBl = Brushes.Black ToolDbWindowVM.BorderThicknessCmBxTxBl = New Thickness(1) @@ -241,6 +242,7 @@ Public Class MyMachinePanelVM ' Definisco lo stile della ComboBox MachDbWindowVM.BackgroundCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush) + MachDbWindowVM.BackgroundListCmBxTxBl = DirectCast(New System.Windows.Media.BrushConverter().ConvertFromString("#1C1D22"), Brush) MachDbWindowVM.ForegroundCmBxTxBl = Brushes.White MachDbWindowVM.BorderBrushCmBxTxBl = Brushes.Black MachDbWindowVM.BorderThicknessCmBxTxBl = New Thickness(1) From 91f86f8682f05b26fc1e5246ffa4ddd78f938a01 Mon Sep 17 00:00:00 2001 From: Nicola Pievani Date: Mon, 22 Jan 2024 15:05:12 +0100 Subject: [PATCH 02/18] Aggiornamento versione --- MainWindow/MainWindowM.vb | 4 ++-- My Project/AssemblyInfo.vb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MainWindow/MainWindowM.vb b/MainWindow/MainWindowM.vb index 56febe5..1b6c8c6 100644 --- a/MainWindow/MainWindowM.vb +++ b/MainWindow/MainWindowM.vb @@ -223,8 +223,8 @@ Public Class MainWindowM ' Verifico abilitazione nesting automatico m_bAutoNestOption = Not String.IsNullOrWhiteSpace( sNestKey) ' Recupero livello e opzioni della chiave - Dim bKey As Boolean = EgtGetKeyLevel(9423, 2511, 1, m_nKeyLevel) And - EgtGetKeyOptions(9423, 2511, 1, m_nKeyOptions) + Dim bKey As Boolean = EgtGetKeyLevel(9423, 2512, 1, m_nKeyLevel) And + EgtGetKeyOptions(9423, 2512, 1, m_nKeyOptions) ' Verifico abilitazione prodotto Dim bProd As Boolean = GetKeyOption(KEY_OPT.OFFICE_BASE) ' Inizializzazione generale di EgtInterface diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb index ec54836..b110fb4 100644 --- a/My Project/AssemblyInfo.vb +++ b/My Project/AssemblyInfo.vb @@ -69,6 +69,6 @@ Imports System.Windows ' by using the '*' as shown below: ' - - + + From 3d1d62398aba1f26917dc5bfe052a57391b9d91e Mon Sep 17 00:00:00 2001 From: Nicola Pievani Date: Mon, 22 Jan 2024 15:38:54 +0100 Subject: [PATCH 03/18] Aggiornamento versione 2.6a1 --- MainWindow/MainWindowM.vb | 4 ++-- My Project/AssemblyInfo.vb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MainWindow/MainWindowM.vb b/MainWindow/MainWindowM.vb index 1b6c8c6..8cd907b 100644 --- a/MainWindow/MainWindowM.vb +++ b/MainWindow/MainWindowM.vb @@ -223,8 +223,8 @@ Public Class MainWindowM ' Verifico abilitazione nesting automatico m_bAutoNestOption = Not String.IsNullOrWhiteSpace( sNestKey) ' Recupero livello e opzioni della chiave - Dim bKey As Boolean = EgtGetKeyLevel(9423, 2512, 1, m_nKeyLevel) And - EgtGetKeyOptions(9423, 2512, 1, m_nKeyOptions) + Dim bKey As Boolean = EgtGetKeyLevel(9423, 2601, 1, m_nKeyLevel) And + EgtGetKeyOptions(9423, 2601, 1, m_nKeyOptions) ' Verifico abilitazione prodotto Dim bProd As Boolean = GetKeyOption(KEY_OPT.OFFICE_BASE) ' Inizializzazione generale di EgtInterface diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb index b110fb4..6fa4394 100644 --- a/My Project/AssemblyInfo.vb +++ b/My Project/AssemblyInfo.vb @@ -69,6 +69,6 @@ Imports System.Windows ' by using the '*' as shown below: ' - - + + From ce3ff4e3d65711fa19ff66a54ce0b694d52012fe Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 23 Jan 2024 12:14:10 +0100 Subject: [PATCH 04/18] OmagOFFICE : - correzione inizializzazione lavorazioni compatibili con materiale e spessore. --- CurrMachWindow/CurrMachWindowVM.vb | 16 ++++++++-------- OmagOFFICE.vbproj | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CurrMachWindow/CurrMachWindowVM.vb b/CurrMachWindow/CurrMachWindowVM.vb index a0084ef..66a8849 100644 --- a/CurrMachWindow/CurrMachWindowVM.vb +++ b/CurrMachWindow/CurrMachWindowVM.vb @@ -456,28 +456,28 @@ Public Class CurrMachWindowVM ' --- DRILL --- CreateMachiningList(MCH_MY.DRILLING, m_AvailableDrillList, m_CurrDrillingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrDrillingList.Count = 0 Then + If m_CurrDrillingList.Count <= 1 Then CurrentMachine.sCurrDrilling = String.Empty End If ' --- MILL --- CreateMachiningList(MCH_MY.MILLING, m_AvailableMillList, m_CurrMillingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrMillingList.Count = 0 Then + If m_CurrMillingList.Count <= 1 Then CurrentMachine.sCurrMilling = String.Empty End If ' --- SCASSO --- CreateMachiningList(MCH_MY.POCKETING, m_AvailableMillList, m_CurrPocketingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrPocketingList.Count = 0 Then + If m_CurrPocketingList.Count <= 1 Then CurrentMachine.sCurrPocketing = String.Empty End If ' --- WATERJET --- CreateMachiningList(MCH_MY.WATERJETTING, m_AvailableWaterjetList, m_CurrWaterjettingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrWaterjettingList.Count = 0 Then + If m_CurrWaterjettingList.Count <= 1 Then CurrentMachine.sCurrWaterJetting = String.Empty End If m_CurrWaterjettingQualityList = New List(Of String)(CurrentMachine.Qualities) @@ -487,28 +487,28 @@ Public Class CurrMachWindowVM ' --- DRILL --- CreateMachiningList(MCH_MY.DRILLING, m_AvailableDrillList, m_CurrDrillingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrDrillingList.Count = 0 Then + If m_CurrDrillingList.Count <= 1 Then CurrentMachine.sCurrDrilling = String.Empty End If ' --- MILL --- CreateMachiningList(MCH_MY.MILLING, m_AvailableMillList, m_CurrMillingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrMillingList.Count = 0 Then + If m_CurrMillingList.Count <= 1 Then CurrentMachine.sCurrMilling = String.Empty End If ' --- SCASSO --- CreateMachiningList(MCH_MY.POCKETING, m_AvailableMillList, m_CurrPocketingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrPocketingList.Count = 0 Then + If m_CurrPocketingList.Count <= 1 Then CurrentMachine.sCurrPocketing = String.Empty End If ' --- WATERJET --- CreateMachiningList(MCH_MY.WATERJETTING, m_AvailableWaterjetList, m_CurrWaterjettingList) ' Se la lista è vuota cancello la lavorazione corrente di questo tipo - If m_CurrWaterjettingList.Count = 0 Then + If m_CurrWaterjettingList.Count <= 1 Then CurrentMachine.sCurrWaterJetting = String.Empty End If m_CurrWaterjettingQualityList = New List(Of String)(CurrentMachine.Qualities) diff --git a/OmagOFFICE.vbproj b/OmagOFFICE.vbproj index 37c0c2c..84e832e 100644 --- a/OmagOFFICE.vbproj +++ b/OmagOFFICE.vbproj @@ -128,8 +128,8 @@ My Project\app.manifest - - packages\DotNetZip.1.16.0\lib\net40\DotNetZip.dll + + ..\..\EgtProg\OmagOFFICE\DotNetZip.dll False From 3a76d6c91a771f8644e33d5b7d2c46d1e0905e4c Mon Sep 17 00:00:00 2001 From: Nicola Pievani Date: Wed, 24 Jan 2024 11:55:47 +0100 Subject: [PATCH 05/18] Modificata disposizione comandi --- MachinePanel/MachinePanelV.xaml | 14 ++++--- OmagOFFICE.vbproj | 3 ++ OptionPanel/MachiningTab/SplitModeV.xaml | 47 ++++++++++++----------- Project/ProjectV.xaml | 40 +++++++++++++++---- Resources/NewIcons/DB-WJ.png | Bin 0 -> 5719 bytes 5 files changed, 68 insertions(+), 36 deletions(-) create mode 100644 Resources/NewIcons/DB-WJ.png diff --git a/MachinePanel/MachinePanelV.xaml b/MachinePanel/MachinePanelV.xaml index 117e790..74d451b 100644 --- a/MachinePanel/MachinePanelV.xaml +++ b/MachinePanel/MachinePanelV.xaml @@ -9,17 +9,19 @@ Height="20" Width="150"/>--> - + diff --git a/OmagOFFICE.vbproj b/OmagOFFICE.vbproj index 84e832e..4107fff 100644 --- a/OmagOFFICE.vbproj +++ b/OmagOFFICE.vbproj @@ -960,6 +960,9 @@ + + + IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\OmagOFFICE\OmagOFFICER32.exe diff --git a/OptionPanel/MachiningTab/SplitModeV.xaml b/OptionPanel/MachiningTab/SplitModeV.xaml index 10ffd8b..001bde6 100644 --- a/OptionPanel/MachiningTab/SplitModeV.xaml +++ b/OptionPanel/MachiningTab/SplitModeV.xaml @@ -378,7 +378,7 @@ ExpandDirection="Down" IsExpanded="{Binding bDirectSpLitCut_IsExpanded}"> - + - + - + - + - + + + + + + + + + - - + - + @@ -552,7 +557,7 @@ - +