ancora test debug
This commit is contained in:
@@ -671,10 +671,11 @@ namespace IOB_WIN_NEXT
|
||||
// può cambiare stato se per ALMENO minSecStatus è rimasto nello status corrente...
|
||||
if (canChange)
|
||||
{
|
||||
lgTrace("start checkExe");
|
||||
lgTrace($"start checkExe | TRAVEL STATE: {currTravelState}");
|
||||
// STEP 1: verifico se sia iniziato caricamento...
|
||||
if (currTravelState == travelState.Idle)
|
||||
{
|
||||
lgTrace("TState: Test 01");
|
||||
if (currIdxODL > 0)
|
||||
{
|
||||
currTravelState = travelState.StartOdl;
|
||||
@@ -687,6 +688,7 @@ namespace IOB_WIN_NEXT
|
||||
// sono nell'esecuzione ODL, controllo il resto
|
||||
else
|
||||
{
|
||||
lgTrace("TState: Test 02");
|
||||
// nb: vedere se usare isWorkingCimolai / isManualCimolai
|
||||
|
||||
// verifico il valore della variabile calcolata del PESO totale...
|
||||
@@ -703,6 +705,8 @@ namespace IOB_WIN_NEXT
|
||||
pesoTot += getDataItemValueDouble("PLC/DB231/peso4");
|
||||
}
|
||||
|
||||
lgTrace($"TState: Test 03 | pesoTot: {pesoTot}");
|
||||
|
||||
// STEP 2: verifico se sia iniziato caricamento...
|
||||
if (currTravelState == travelState.StartOdl)
|
||||
{
|
||||
@@ -755,7 +759,10 @@ namespace IOB_WIN_NEXT
|
||||
}
|
||||
else
|
||||
{
|
||||
lgTrace("Nessun agestione status travel: inCorso = 0");
|
||||
if (canChange)
|
||||
{
|
||||
lgTrace("TRAVEL STATE | Nessuna gestione status travel: inCorso = 0");
|
||||
}
|
||||
}
|
||||
|
||||
// ora verifico solo condizione finale x eventuale chiusura...
|
||||
|
||||
Reference in New Issue
Block a user