inserito in IOB metodo x controllo ODL corrente

This commit is contained in:
Samuele E. Locatelli
2018-07-18 11:51:38 +02:00
parent 4f909408e9
commit ca27b7deb7
+22
View File
@@ -142,6 +142,28 @@ namespace MP_IO.Controllers
return answ;
}
/// <summary>
/// Recupera ODL corrente x macchina:
///
/// GET: IOB/getCurrODL/5
///
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
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;
}
/// <summary>
/// Recupera COUNTER x macchina:
///
/// GET: IOB/getCounter/5