Spostata ricerca ODL in minimal API
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user