EgtCAM5 2.2b2 :
- corretta segnalazione errori all'avvio della simulazione.
This commit is contained in:
@@ -739,7 +739,14 @@ Public Class SimulationExpanderVM
|
||||
Application.Msn.NotifyColleagues(Application.OPERATIONVIEWEXPANDERISENABLED, False)
|
||||
Application.Msn.NotifyColleagues(Application.MACHGROUPSISENABLED, False)
|
||||
OnPropertyChanged("Estimation_IsEnabled")
|
||||
EgtSimStart(False)
|
||||
If Not EgtSimStart(False) Then
|
||||
If EgtGetLastMachMgrErrorId() <> 0 Then
|
||||
Dim sErr As String = EgtGetLastMachMgrErrorString()
|
||||
MessageBox.Show(sErr, EgtMsg(MSG_SIMULATION + 5), MessageBoxButton.OK, MessageBoxImage.Exclamation) '.... - ERRORE
|
||||
Else
|
||||
MessageBox.Show(EgtMsg(MSG_MESSAGEBOX + 10), EgtMsg(MSG_SIMULATION + 5), MessageBoxButton.OK, MessageBoxImage.Error) 'Errore sconosciuto - ERRORE
|
||||
End If
|
||||
End If
|
||||
Dim nShowDataCounter As Integer = 0
|
||||
While m_nStatus <> MCH_SIM_ST.UI_STOP
|
||||
' Se simulazione in svolgimento
|
||||
|
||||
Reference in New Issue
Block a user