Spostata ricerca ODL in minimal API

This commit is contained in:
Samuele Locatelli
2026-06-20 10:31:06 +02:00
parent 3ee34c0300
commit 7c8bca902f
6 changed files with 37 additions and 35 deletions
+2 -1
View File
@@ -483,6 +483,7 @@ namespace MP.IOC.Controllers
return Ok(actValues);
}
#if false
/// <summary>
/// Recupera ODL corrente x macchina:
/// GET: IOB/getCurrODL/SIMUL_03
@@ -507,6 +508,7 @@ namespace MP.IOC.Controllers
return StatusCode(StatusCodes.Status500InternalServerError, "NO");
}
}
#endif
/// <summary>
/// Restituisce la quantità pezzi dell'odl correntemente in lavorazione sulla macchina...
@@ -901,7 +903,6 @@ namespace MP.IOC.Controllers
Stopwatch sw = new Stopwatch();
sw.Start();
answ = await IOCService.ProcessInputAsync(id, valore, dtEve, dtCurr, cnt);
//answ = await DService.ProcessInputAsync(id, valore, dtEve, dtCurr, cnt);
sw.Stop();
Log.Debug($"Input | elapsed: {sw.Elapsed.TotalMilliseconds:N1} | id: {id} | val: {valore} | cnt: {cnt}");
return Ok(answ);