diff --git a/MP-IO/Controllers/IOBController.cs b/MP-IO/Controllers/IOBController.cs
index a266842c..f21f2fee 100644
--- a/MP-IO/Controllers/IOBController.cs
+++ b/MP-IO/Controllers/IOBController.cs
@@ -142,6 +142,28 @@ namespace MP_IO.Controllers
return answ;
}
///
+ /// Recupera ODL corrente x macchina:
+ ///
+ /// GET: IOB/getCurrODL/5
+ ///
+ ///
+ ///
+ ///
+ public string getCurrODL(string id)
+ {
+ string answ = "";
+ try
+ {
+ answ = DataLayer.currODL(id).ToString();
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in currODL (get){0}{1}", Environment.NewLine, exc));
+ answ = "NO";
+ }
+ return answ;
+ }
+ ///
/// Recupera COUNTER x macchina:
///
/// GET: IOB/getCounter/5