update x log CIMOLAI

This commit is contained in:
Samuele Locatelli
2022-12-09 09:19:42 +01:00
parent 4a9fee6ce0
commit 746873624a
+20
View File
@@ -678,6 +678,9 @@ namespace IOB_WIN_NEXT
{
currTravelState = travelState.StartOdl;
currTravelStateStart = adesso;
lgInfo("--------------------------------------------");
lgInfo("TRAVEL STATE: StartOdl");
lgInfo("--------------------------------------------");
}
}
// sono nell'esecuzione ODL, controllo il resto
@@ -706,6 +709,9 @@ namespace IOB_WIN_NEXT
{
currTravelState = travelState.UpLift;
currTravelStateStart = adesso;
lgInfo("--------------------------------------------");
lgInfo("TRAVEL STATE: UpLift");
lgInfo("--------------------------------------------");
}
}
// STEP 3: verifico se sia terminato caricamento...
@@ -715,6 +721,9 @@ namespace IOB_WIN_NEXT
{
currTravelState = travelState.Move;
currTravelStateStart = adesso;
lgInfo("--------------------------------------------");
lgInfo("TRAVEL STATE: Move");
lgInfo("--------------------------------------------");
}
}
// STEP 4: verifico se sia terminato movimento...
@@ -724,6 +733,9 @@ namespace IOB_WIN_NEXT
{
currTravelState = travelState.DownLift;
currTravelStateStart = adesso;
lgInfo("--------------------------------------------");
lgInfo("TRAVEL STATE: DownLift");
lgInfo("--------------------------------------------");
}
}
// STEP 5: verifico se sia terminato scaricamento...
@@ -733,6 +745,9 @@ namespace IOB_WIN_NEXT
{
currTravelState = travelState.WaitClose;
currTravelStateStart = adesso;
lgInfo("--------------------------------------------");
lgInfo("TRAVEL STATE: WaitClose");
lgInfo("--------------------------------------------");
}
}
}
@@ -747,6 +762,9 @@ namespace IOB_WIN_NEXT
{
currTravelState = travelState.Idle;
currTravelStateStart = adesso;
lgInfo("--------------------------------------------");
lgInfo("TRAVEL STATE: Idle");
lgInfo("--------------------------------------------");
}
// altrimenti manda richiesta chiusura
else
@@ -767,6 +785,8 @@ namespace IOB_WIN_NEXT
currTravelStateStart = adesso;
}
}
// trace opzionale
lgTrace($"TRAVEL STATE: {currTravelState}");
}
#endregion Protected Methods