- Correzione aggiornamento messaggio errore dopo CALC

- Aggiunta opzione abilitadisabilita area pnte lunghe in nesting
This commit is contained in:
Emmanuele Sassi
2021-12-02 11:43:54 +01:00
parent a26e25b253
commit 28ca22ee35
5 changed files with 28 additions and 4 deletions
@@ -36,6 +36,8 @@ Public Class NestingRunningWndVM
End Get
End Property
Private m_bLDIntersOther As Boolean
Private m_CurrProgress_Value As Double = 0
Public Property CurrProgress_Value As Double
Get
@@ -99,8 +101,9 @@ Public Class NestingRunningWndVM
#End Region ' FIELDS & PROPERTIES
Sub New(OperationType As OperationTypes, SelPartType As Integer)
Sub New(OperationType As OperationTypes, SelPartType As Integer, Optional bLDIntersOther As Boolean = False)
m_OperationType = OperationType
m_bLDIntersOther = bLDIntersOther
Dim sLogPath As String = Map.refMainWindowVM.MainWindowM.sTempDir & "\RawPartLog.txt"
Dim dSectionTime As Double = GetMainPrivateProfileDouble(S_NEST, K_SECTIONTIME, 1)
Dim dPartTime As Double = GetMainPrivateProfileDouble(S_NEST, K_PARTTIME, 1)
@@ -248,7 +251,7 @@ Public Class NestingRunningWndVM
Dim SectionProgress As SectionProgress = m_SectionProgressList(m_SectionIndex)
' passo a lua lista id pezzi da nestare
If SectionProgress.SectionPartList.Count > 0 AndAlso SectionProgress.SParamList.Count > 0 AndAlso
Not ExecNesting(sLogPath, CurrentMachine.sMachineName, SectionProgress.SectionPartList, SectionProgress.SParamList, dStartOffset, dOffset, dKerf, SectionProgress.dCalcNestTime) Then
Not ExecNesting(sLogPath, CurrentMachine.sMachineName, SectionProgress.SectionPartList, SectionProgress.SParamList, dStartOffset, dOffset, dKerf, m_bLDIntersOther, SectionProgress.dCalcNestTime) Then
Exit For
End If
Next