Aggiunto un commento all'avvio della simulazione
This commit is contained in:
@@ -86,6 +86,7 @@ Public Class SimulationPageUC
|
||||
End Sub
|
||||
|
||||
Private Sub SimulationPage_Loaded(sender As Object, e As RoutedEventArgs)
|
||||
EgtOutLog(" -- PREPARE SIMUL --")
|
||||
m_CurrProjPage = m_MainWindow.m_CurrentProjectPageUC
|
||||
Dim bOk As Boolean = True
|
||||
' Elimino eventuale attrezzaggio da OmagOFFICE
|
||||
@@ -110,9 +111,9 @@ Public Class SimulationPageUC
|
||||
If bOk Then m_CurrProjPage.SetOrderMachiningFlag()
|
||||
Dim bModif As Boolean = TestAllMachiningsForStrict()
|
||||
If bModif Then
|
||||
m_CurrProjPage.SetWarningMessage(EgtMsg(90321)) 'Ridotte alcune lavorazioni per evitare interferenze
|
||||
m_CurrProjPage.SetWarningMessage(EgtMsg(90321)) 'Ridotte alcune lavorazioni per evitare interferenze
|
||||
Else
|
||||
m_CurrProjPage.SetInfoMessage(EgtMsg(90399)) 'Aggiornate tutte le lavorazioni
|
||||
m_CurrProjPage.SetInfoMessage(EgtMsg(90399)) 'Aggiornate tutte le lavorazioni
|
||||
End If
|
||||
End If
|
||||
' Costringo ad aggiornare UI
|
||||
@@ -130,7 +131,7 @@ Public Class SimulationPageUC
|
||||
' Se errore in setup, lo segnalo
|
||||
If Not bSetup Then
|
||||
m_CurrProjPage.SetErrorMessage(EgtMsg(90322) & " " & sMissingTools) 'Mancano gli utensili : ...
|
||||
' Se errore in generazione, segnalo l'errore
|
||||
' Se errore in generazione, segnalo l'errore
|
||||
ElseIf Not bOk Then
|
||||
m_CurrProjPage.SetErrorMessage(EgtMsg(90314)) 'Errore nella generazione del programma CN
|
||||
End If
|
||||
@@ -170,7 +171,7 @@ Public Class SimulationPageUC
|
||||
' Nascondo eventuale contorno da foto
|
||||
m_CurrProjPage.ShowContour(False)
|
||||
' Nascondo eventuali testi con dati su aree
|
||||
m_CurrProjPage.SetAreasStatus( false)
|
||||
m_CurrProjPage.SetAreasStatus(False)
|
||||
' Recupero eventuale fase di ripartenza
|
||||
m_nRestart = m_MainWindow.m_CurrentProjectPageUC.GetProjectNcRestart()
|
||||
' Imposto prima fase
|
||||
|
||||
Reference in New Issue
Block a user