inserito in IOB metodo x controllo ODL corrente
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user