diff --git a/EgtBEAMWALL.Optimizer/BTLViewModel/BTLFeatureVM.vb b/EgtBEAMWALL.Optimizer/BTLViewModel/BTLFeatureVM.vb index 1f78d279..c600752b 100644 --- a/EgtBEAMWALL.Optimizer/BTLViewModel/BTLFeatureVM.vb +++ b/EgtBEAMWALL.Optimizer/BTLViewModel/BTLFeatureVM.vb @@ -332,11 +332,22 @@ Public Class BTLFeatureVM End Set End Property +#Region "Messages" + + Public ReadOnly Property Edit_ToolTip As String + Get + Return EgtMsg(61939) + End Get + End Property + +#End Region ' Messages + ' Definizione comandi Private m_cmdEdit As ICommand Private m_cmdSave As ICommand Private m_cmdCancel As ICommand Private m_cmdDeleteFeature As ICommand + Private m_cmdEditFeature As ICommand #Region "CONSTRUCTOR" @@ -599,6 +610,23 @@ Public Class BTLFeatureVM #End Region ' Cancel +#Region "Edit" + + Public ReadOnly Property EditFeature_Command As ICommand + Get + If m_cmdEditFeature Is Nothing Then + m_cmdEditFeature = New Command(AddressOf EditFeature) + End If + Return m_cmdEditFeature + End Get + End Property + + Public Sub EditFeature() + Map.refProjectVM.SetSelManagerTab(ProjectVM.ManagerTab.FEATUREMANAGER) + End Sub + +#End Region ' Edit + #End Region ' COMMANDS #Region "EVENTS" diff --git a/EgtBEAMWALL.Optimizer/BTLViewModel/BTLPartVM.vb b/EgtBEAMWALL.Optimizer/BTLViewModel/BTLPartVM.vb index 709f2179..76213972 100644 --- a/EgtBEAMWALL.Optimizer/BTLViewModel/BTLPartVM.vb +++ b/EgtBEAMWALL.Optimizer/BTLViewModel/BTLPartVM.vb @@ -1509,12 +1509,6 @@ Public Class BTLPartVM End Set End Property - Public ReadOnly Property sROT As String - Get - Return m_BTLPartM.nROTATED & " °" - End Get - End Property - ' lista delle feature del pezzo Private m_BTLFeatureVMList_ViewSource As CollectionViewSource = Nothing Private m_BTLFeatureVMList_View As ListCollectionView = Nothing diff --git a/EgtBEAMWALL.Optimizer/BTLViewModel/BTLStructureVM.vb b/EgtBEAMWALL.Optimizer/BTLViewModel/BTLStructureVM.vb index e9b12238..3f62a9fb 100644 --- a/EgtBEAMWALL.Optimizer/BTLViewModel/BTLStructureVM.vb +++ b/EgtBEAMWALL.Optimizer/BTLViewModel/BTLStructureVM.vb @@ -79,6 +79,7 @@ Public Class BTLStructureVM End If End If m_PrevSelectionType = m_SelectionType + Map.refProjectVM.SetSelManagerTab(ProjectVM.ManagerTab.RAWPARTMANAGER) If value = m_SelectionType And (Map.refProjectVM.LastSelGridType = ProjectVM.GridSelTypes.PART Or Map.refProjectVM.LastSelGridType = ProjectVM.GridSelTypes.PARTLIST) Then For Each BTLPart In m_BTLPartVMList BTLPart.SetOpenFeatureList(False) @@ -203,10 +204,6 @@ Public Class BTLStructureVM Core.ViewPanelVM.BWSetView(If(Core.ViewPanelVM.Type = BWType.BEAM, VT.ISO_SW, VT.TOP), False) EgtZoom(ZM.ALL) ElseIf Map.refMainMenuVM.SelPage = Pages.ONLYPRODPAGE Then - ' deseleziono eventuale MachGroup selezionato - If Not IsNothing(Map.refMachGroupPanelVM.SelectedMachGroup) Then - Map.refMachGroupPanelVM.SelectedMachGroup = Nothing - End If If Map.refProjectVM.LastSelGridType = ProjectVM.GridSelTypes.MACHGROUP Then ' resetto gruppo di lavorazione corrente EgtResetCurrMachGroup() diff --git a/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdBTLPartListV.xaml b/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdBTLPartListV.xaml index 90f2d876..0b7d47bd 100644 --- a/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdBTLPartListV.xaml +++ b/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdBTLPartListV.xaml @@ -258,7 +258,7 @@ - @@ -369,6 +369,7 @@ + + + diff --git a/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdRawPartListV.xaml b/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdRawPartListV.xaml index 54e9be69..5eb93ed5 100644 --- a/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdRawPartListV.xaml +++ b/EgtBEAMWALL.Optimizer/ItemParamList/OnlyProdRawPartListV.xaml @@ -499,7 +499,60 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -65,25 +65,74 @@ Grid.RowSpan="4" Style="{StaticResource Width_GridSplitter}"/> - - - - - - - - + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +