EgtWPFLib5 :
- corretta ValidateMaxMat per Probe (prima non si abilitava Salva su nuovo probe).
This commit is contained in:
@@ -3560,11 +3560,11 @@ Public Class ToolTreeViewItem
|
||||
m_MaxMatError = EgtMsg(31106) ' Il Massimo Materiale deve essere maggiore di 0
|
||||
End If
|
||||
End If
|
||||
' Per getto d'acqua
|
||||
If Type = MCH_TF.WATERJET Then
|
||||
' Per getto d'acqua o tastatore
|
||||
If (Type And MCH_TF.WATERJET) <> 0 OrElse (Type And MCH_TF.PROBE) <> 0 Then
|
||||
' Non devo fare controlli
|
||||
m_MaxMatError = String.Empty
|
||||
' Per lame
|
||||
' Per lame
|
||||
ElseIf (Type And MCH_TF.SAWBLADE) <> 0 Then
|
||||
If Not IsNothing(m_Diam) Then
|
||||
Dim dDiam As Double = 0
|
||||
@@ -3573,7 +3573,7 @@ Public Class ToolTreeViewItem
|
||||
m_MaxMatError = String.Format(EgtMsg(31117), 0.4 * dDiam) ' Il Massimo Materiale deve essere minore di {0}
|
||||
End If
|
||||
End If
|
||||
' Per tutti gli altri
|
||||
' Per tutti gli altri
|
||||
Else
|
||||
If Not IsNothing(m_Len) Then
|
||||
Dim dLen As Double = 0
|
||||
|
||||
Reference in New Issue
Block a user