diff --git a/Processor.cpp b/Processor.cpp index 27dd5cc..9438862 100644 --- a/Processor.cpp +++ b/Processor.cpp @@ -171,7 +171,7 @@ Processor::VerifySetup( void) string sErr = "Error with setup :" ; for ( const auto& sTmp : vsErr) sErr += " " + sTmp ; - m_pMchMgr->SetLastError( 1001, sErr) ; + m_pMchMgr->SetLastError( 1002, sErr) ; return false ; } @@ -581,7 +581,7 @@ Processor::OnProgramStart( const string& sMachName, const string& sCncFile, cons // apro il file di output bool bOk = m_pMachine->WriterOpen( sCncFile) ; if ( ! bOk) - m_pMchMgr->SetLastError( 1002, "Error opening Cnc file") ; + m_pMchMgr->SetLastError( 1003, "Error opening Cnc file") ; // assegno nome macchina bOk = bOk && m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_MACHNAME, sMachName) ; // assegno nome file diff --git a/SimulatorMP.cpp b/SimulatorMP.cpp index b8bc50a..4b7b9a2 100644 --- a/SimulatorMP.cpp +++ b/SimulatorMP.cpp @@ -296,7 +296,7 @@ SimulatorMP::VerifySetup( void) string sErr = "Error with setup :" ; for ( const auto& sTmp : vsErr) sErr += " " + sTmp ; - m_pMchMgr->SetLastError( 1001, sErr) ; + m_pMchMgr->SetLastError( 1002, sErr) ; return false ; } diff --git a/SimulatorSP.cpp b/SimulatorSP.cpp index 81a63e1..f6cb5d2 100644 --- a/SimulatorSP.cpp +++ b/SimulatorSP.cpp @@ -286,7 +286,7 @@ SimulatorSP::VerifySetup( void) string sErr = "Error with setup :" ; for ( const auto& sTmp : vsErr) sErr += " " + sTmp ; - m_pMchMgr->SetLastError( 1001, sErr) ; + m_pMchMgr->SetLastError( 1002, sErr) ; return false ; }