EgtCAM5 2.2d4 :

- in simulazione e stima viene disabilitata la possibilità di accedere a DB utensili, lavorazioni e attrezzaggio
- migliorata uscita da simulazione e stima.
This commit is contained in:
Dario Sassi
2020-04-27 07:30:39 +00:00
parent b2e903e2ca
commit de077399b2
3 changed files with 13 additions and 9 deletions
@@ -88,6 +88,8 @@ Public Class SimulationExpanderVM
Application.Msn.NotifyColleagues(Application.SIMULATIONEXPANDER_GET_ISEXPANDED, value)
OnPropertyChanged("IsExpanded")
OnPropertyChanged("GenerateIsEnabled")
' disattivo database utensili, lavorazioni e setup se vado in simulazione
Map.refMachinePanelVM.ToolMachSetUpIsEnabled(Not value, Not value, Not value)
End If
End Set
End Property
@@ -100,7 +102,6 @@ Public Class SimulationExpanderVM
Set(value As Boolean)
If value <> m_Estimation_IsExpanded Then
If value Then
If m_RefOperationExpanderVM.m_CurrExpandedExpander = OperationExpanderVM.MachiningOptionPanelExpander.OPERATIONLIST Then
m_RefOperationExpanderVM.ListIsExpanded = False
ElseIf m_RefOperationExpanderVM.m_CurrExpandedExpander = OperationExpanderVM.MachiningOptionPanelExpander.OPERATIONPARAMETERS Then
@@ -112,8 +113,6 @@ Public Class SimulationExpanderVM
Application.Msn.NotifyColleagues(Application.ESTIMATIONSEXPANDER_SET_ISEXPANDED, False)
End If
m_RefOperationExpanderVM.m_CurrExpandedExpander = OperationExpanderVM.MachiningOptionPanelExpander.ESTIMATIONS
IsExpanded = False
EgtDeselectAll()
Application.Msn.NotifyColleagues(Application.GETDISTANCE_ISCHECKED, False)
@@ -125,6 +124,8 @@ Public Class SimulationExpanderVM
Application.Msn.NotifyColleagues(Application.ESTIMATIONEXPANDER_GET_ISEXPANDED, value)
OnPropertyChanged("Estimation_IsExpanded")
OnPropertyChanged("GenerateIsEnabled")
' disattivo database utensili, lavorazioni e setup se vado in stima
Map.refMachinePanelVM.ToolMachSetUpIsEnabled(Not value, Not value, Not value)
End If
End Set
End Property