EgtMachKernel :
- corretto controllo bit licenza per generazione CN e per lavorazioni avanzate.
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ Estimator::Run( const string& sCncFile, const string& sInfo)
|
||||
if ( nRet == KEY_OK)
|
||||
bKey = true ;
|
||||
bool bAdvMach = false ;
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) == 1)
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) != 0)
|
||||
bAdvMach = true ;
|
||||
|
||||
// Esecuzione
|
||||
|
||||
+2
-2
@@ -68,10 +68,10 @@ Generator::Run( const string& sCncFile, const string& sInfo)
|
||||
if ( nRet == KEY_OK)
|
||||
bKey = true ;
|
||||
bool bNcOff = false ;
|
||||
if ( ( nOpt1 & KEYOPT_EMK_NC_OFF) == 1)
|
||||
if ( ( nOpt1 & KEYOPT_EMK_NC_OFF) != 0)
|
||||
bNcOff = true ;
|
||||
bool bAdvMach = false ;
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) == 1)
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) != 0)
|
||||
bAdvMach = true ;
|
||||
|
||||
// Esecuzione
|
||||
|
||||
+1
-1
@@ -170,7 +170,7 @@ SimulatorMP::Start( bool bFirst)
|
||||
if ( nRet == KEY_OK)
|
||||
bKey = true ;
|
||||
bool bAdvMach = false ;
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) == 1)
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) != 0)
|
||||
bAdvMach = true ;
|
||||
if ( ! bMinTime || ! bCurrTime || ! bKey) {
|
||||
m_pMchMgr->SetLastError( 1000, "NC_OFF") ;
|
||||
|
||||
+1
-1
@@ -167,7 +167,7 @@ SimulatorSP::Start( bool bFirst)
|
||||
if ( nRet == KEY_OK)
|
||||
bKey = true ;
|
||||
bool bAdvMach = false ;
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) == 1)
|
||||
if ( ( nOpt1 & KEYOPT_EMK_ADV) != 0)
|
||||
bAdvMach = true ;
|
||||
if ( ! bMinTime || ! bCurrTime || ! bKey) {
|
||||
m_pMchMgr->SetLastError( 1000, "NC_OFF") ;
|
||||
|
||||
Reference in New Issue
Block a user