OmagCUT 1.6n7 :
- correzioni per macchine con TC, con foretti e senza frese.
This commit is contained in:
@@ -61,7 +61,8 @@ Public Class ChooseMachining
|
|||||||
If m_MillingList.Count = 0 Then
|
If m_MillingList.Count = 0 Then
|
||||||
m_CurrentMachine.sCurrMilling = String.Empty
|
m_CurrentMachine.sCurrMilling = String.Empty
|
||||||
End If
|
End If
|
||||||
ElseIf m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.MANUALTOOLCHANGER Or m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.TOOLCHANGER Then
|
ElseIf m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.MANUALTOOLCHANGER Or
|
||||||
|
m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.TOOLCHANGER Then
|
||||||
CreateMachiningList(MCH_MY.DRILLING, m_DrillingList)
|
CreateMachiningList(MCH_MY.DRILLING, m_DrillingList)
|
||||||
' Se la lista è vuota cancello la lavorazione corrente di questo tipo
|
' Se la lista è vuota cancello la lavorazione corrente di questo tipo
|
||||||
If m_DrillingList.Count = 0 Then
|
If m_DrillingList.Count = 0 Then
|
||||||
@@ -95,16 +96,17 @@ Public Class ChooseMachining
|
|||||||
|
|
||||||
If Not m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.SAW Then
|
If Not m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.SAW Then
|
||||||
If m_CurrentMachine.bDrilling Then
|
If m_CurrentMachine.bDrilling Then
|
||||||
m_AuxMachTypeList.Add(New StringIdCmBx(2, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 12)))
|
m_AuxMachTypeList.Add(New StringIdCmBx(1, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 11)))
|
||||||
If m_CurrentMachine.bMilling Then
|
If m_CurrentMachine.bMilling Then
|
||||||
m_AuxMachTypeList.Add(New StringIdCmBx(1, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 11)))
|
m_AuxMachTypeList.Add(New StringIdCmBx(2, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 12)))
|
||||||
If m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.MANUALTOOLCHANGER Or m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.TOOLCHANGER Then
|
If m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.MANUALTOOLCHANGER Or
|
||||||
|
m_CurrentMachine.MountedToolConfig = CurrentMachine.MountedToolConfigs.TOOLCHANGER Then
|
||||||
m_AuxMachTypeList.Add(New StringIdCmBx(3, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 13)))
|
m_AuxMachTypeList.Add(New StringIdCmBx(3, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 13)))
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
If m_CurrentMachine.bMilling Then
|
If m_CurrentMachine.bMilling Then
|
||||||
m_AuxMachTypeList.Add(New StringIdCmBx(1, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 11)))
|
m_AuxMachTypeList.Add(New StringIdCmBx(2, EgtMsg(MSG_CHOOSEMACHININGPAGEUC + 12)))
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
' Aggiungo nessuna come ultimo elemento della lista
|
' Aggiungo nessuna come ultimo elemento della lista
|
||||||
|
|||||||
@@ -60,5 +60,5 @@ Imports System.Windows
|
|||||||
' by using the '*' as shown below:
|
' by using the '*' as shown below:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.6.14.6")>
|
<Assembly: AssemblyVersion("1.6.14.7")>
|
||||||
<Assembly: AssemblyFileVersion("1.6.14.6")>
|
<Assembly: AssemblyFileVersion("1.6.14.7")>
|
||||||
|
|||||||
+36
-28
@@ -94,20 +94,24 @@ Public Class SetUpPage
|
|||||||
' Posiziono utensili già posizionati sul portautensili
|
' Posiziono utensili già posizionati sul portautensili
|
||||||
For Each ToolPosition In m_MainWindow.m_CurrentMachine.ToolChanger
|
For Each ToolPosition In m_MainWindow.m_CurrentMachine.ToolChanger
|
||||||
If ToolPosition.sTool <> String.Empty Then
|
If ToolPosition.sTool <> String.Empty Then
|
||||||
For Each Item In m_DrillbitsList.Items
|
If Not IsNothing(m_DrillbitsList) Then
|
||||||
If Item.Name = ToolPosition.sTool Then
|
For Each Item In m_DrillbitsList.Items
|
||||||
m_SetUpToolsList.Items.Add(Item)
|
If Item.Name = ToolPosition.sTool Then
|
||||||
m_DrillbitsList.Items.Remove(Item)
|
m_SetUpToolsList.Items.Add(Item)
|
||||||
Exit For
|
m_DrillbitsList.Items.Remove(Item)
|
||||||
End If
|
Exit For
|
||||||
Next
|
End If
|
||||||
For Each Item In m_MillsList.Items
|
Next
|
||||||
If Item.Name = ToolPosition.sTool Then
|
End If
|
||||||
m_SetUpToolsList.Items.Add(Item)
|
If Not IsNothing(m_MillsList) Then
|
||||||
m_MillsList.Items.Remove(Item)
|
For Each Item In m_MillsList.Items
|
||||||
Exit For
|
If Item.Name = ToolPosition.sTool Then
|
||||||
End If
|
m_SetUpToolsList.Items.Add(Item)
|
||||||
Next
|
m_MillsList.Items.Remove(Item)
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
End If
|
||||||
GetTlChPosFromIndex(ToolPosition.sPosition).Tool.IsChecked = True
|
GetTlChPosFromIndex(ToolPosition.sPosition).Tool.IsChecked = True
|
||||||
GetTxBxFromIndex(ToolPosition.sPosition).Text = ToolPosition.sTool
|
GetTxBxFromIndex(ToolPosition.sPosition).Text = ToolPosition.sTool
|
||||||
End If
|
End If
|
||||||
@@ -116,20 +120,24 @@ Public Class SetUpPage
|
|||||||
' Posiziono utensili già posizionati sul portautensili manuale
|
' Posiziono utensili già posizionati sul portautensili manuale
|
||||||
For Each ToolPosition In m_MainWindow.m_CurrentMachine.ManualToolChanger
|
For Each ToolPosition In m_MainWindow.m_CurrentMachine.ManualToolChanger
|
||||||
If ToolPosition.sTool <> String.Empty Then
|
If ToolPosition.sTool <> String.Empty Then
|
||||||
For Each Item In m_DrillbitsList.Items
|
If Not IsNothing(m_DrillbitsList) Then
|
||||||
If Item.Name = ToolPosition.sTool Then
|
For Each Item In m_DrillbitsList.Items
|
||||||
m_SetUpToolsList.Items.Add(Item)
|
If Item.Name = ToolPosition.sTool Then
|
||||||
m_DrillbitsList.Items.Remove(Item)
|
m_SetUpToolsList.Items.Add(Item)
|
||||||
Exit For
|
m_DrillbitsList.Items.Remove(Item)
|
||||||
End If
|
Exit For
|
||||||
Next
|
End If
|
||||||
For Each Item In m_MillsList.Items
|
Next
|
||||||
If Item.Name = ToolPosition.sTool Then
|
End If
|
||||||
m_SetUpToolsList.Items.Add(Item)
|
If Not IsNothing(m_MillsList) Then
|
||||||
m_MillsList.Items.Remove(Item)
|
For Each Item In m_MillsList.Items
|
||||||
Exit For
|
If Item.Name = ToolPosition.sTool Then
|
||||||
End If
|
m_SetUpToolsList.Items.Add(Item)
|
||||||
Next
|
m_MillsList.Items.Remove(Item)
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
End If
|
||||||
GetManTlChPosFromIndex(ToolPosition.sPosition).Tool.IsChecked = True
|
GetManTlChPosFromIndex(ToolPosition.sPosition).Tool.IsChecked = True
|
||||||
GetManTxBxFromIndex(ToolPosition.sPosition).Text = ToolPosition.sTool
|
GetManTxBxFromIndex(ToolPosition.sPosition).Text = ToolPosition.sTool
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user