EgtCAM5 2.3e4: -disabilitazione bottone MTable e bottoni dello SpecialPanel quando andiamo in Operation Parameters, SImulation o Estimations
This commit is contained in:
@@ -148,6 +148,9 @@ Public Class SimulationExpanderVM
|
||||
Map.refMachiningOptionPanelVM.OnPropertyChanged("GenerateIsEnabled")
|
||||
' disattivo database utensili, lavorazioni e setup se vado in simulazione
|
||||
Map.refMachinePanelVM.ToolMachSetUpIsEnabled(False, False, False)
|
||||
' disattivo MTable e SpecialPanel se vado in simulazione
|
||||
Map.refDoorPanelVM.MTableIsEnabled(False)
|
||||
Map.refSpecialPanelVM.SpecialPanelIsEnabled(False)
|
||||
Return True
|
||||
End Function
|
||||
|
||||
@@ -165,8 +168,11 @@ Public Class SimulationExpanderVM
|
||||
Map.refOperationsListExpanderVM.SimulationExpander_Get_IsExpanded(False)
|
||||
NotifyPropertyChanged("Simulation_IsExpanded")
|
||||
Map.refMachiningOptionPanelVM.OnPropertyChanged("GenerateIsEnabled")
|
||||
' disattivo database utensili, lavorazioni e setup se vado in simulazione
|
||||
' attivo database utensili, lavorazioni e setup se esco dalla simulazione
|
||||
Map.refMachinePanelVM.ToolMachSetUpIsEnabled(True, True, True)
|
||||
' disattivo MTable e SpecialPanel se esco dalla simulazione
|
||||
Map.refDoorPanelVM.MTableIsEnabled(True)
|
||||
Map.refSpecialPanelVM.SpecialPanelIsEnabled(True)
|
||||
Return True
|
||||
End Function
|
||||
|
||||
|
||||
Reference in New Issue
Block a user