Rimesso da minimal api a controller metodi
This commit is contained in:
@@ -127,7 +127,7 @@ namespace MP.IOC.Controllers
|
||||
//{
|
||||
// Log.Error(ex, "Errore durante la verifica abilitazione per {Id}", id);
|
||||
// return StatusCode(500, "Errore interno del server");
|
||||
//}
|
||||
//}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -483,7 +483,6 @@ namespace MP.IOC.Controllers
|
||||
return Ok(actValues);
|
||||
}
|
||||
|
||||
#if false
|
||||
/// <summary>
|
||||
/// Recupera ODL corrente x macchina:
|
||||
/// GET: IOB/getCurrODL/SIMUL_03
|
||||
@@ -507,8 +506,7 @@ namespace MP.IOC.Controllers
|
||||
Log.Error(exc, "Errore GetCurrODL | macchina {MachineId}", id);
|
||||
return StatusCode(StatusCodes.Status500InternalServerError, "NO");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce la quantità pezzi dell'odl correntemente in lavorazione sulla macchina...
|
||||
@@ -1227,7 +1225,6 @@ namespace MP.IOC.Controllers
|
||||
return Ok(answ);
|
||||
}
|
||||
|
||||
#if false
|
||||
/// <summary>
|
||||
/// SALVA Counter x macchina restituendo il valore appena inviato o, se mancasse chiave
|
||||
/// redis, valore da DB ///
|
||||
@@ -1258,8 +1255,7 @@ namespace MP.IOC.Controllers
|
||||
return StatusCode(StatusCodes.Status500InternalServerError, "NO");
|
||||
}
|
||||
return Ok(answ);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Salva associazione tra macchina, device IOB chiamante e sue info
|
||||
@@ -1473,6 +1469,7 @@ namespace MP.IOC.Controllers
|
||||
#endregion Public Methods
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private static Logger Log = LogManager.GetCurrentClassLogger();
|
||||
private IIocService IOCService;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user