diff --git a/MP-IO/Controllers/IOBController.cs b/MP-IO/Controllers/IOBController.cs
index 5323a602..1feb9f1a 100644
--- a/MP-IO/Controllers/IOBController.cs
+++ b/MP-IO/Controllers/IOBController.cs
@@ -964,36 +964,6 @@ namespace MP_IO.Controllers
return getPOdlNext(id);
}
- ///
- /// Recupera DATI PODL NEXT (=NON AVVIATI) x macchina: (copia di getCurrPODL)
- ///
- /// GET: IOB/getPOdlNext/SIMUL_03
- ///
- /// id macchina, se "" mostra tutto
- /// Json contenente lista oggetti PODL serializzati
- public string getPOdlNext(string id)
- {
- // attenzione! poiché nell'URL il carattere "#" viene filtrato ci aspettiamo il
- // carattere "|" che poi trasformiamo ora in "#"
- if (!string.IsNullOrEmpty(id))
- {
- id = id.Replace("|", "#");
- }
- string answ = "";
-
- // init obj DataLayer
- DataLayer DataLayerObj = new DataLayer();
- try
- {
- // recupero dati macchina...
- var elencoOdl = DataLayerObj.taPODL.getByMaccArt(id, "", "", true);
- answ = JsonConvert.SerializeObject(elencoOdl);
- }
- catch
- { }
- return answ;
- }
-
///
/// Restituisce intera riga dello stato di macchina...
/// GET: IOB/getCurrStatoRow/SIMUL_01
@@ -1526,6 +1496,36 @@ namespace MP_IO.Controllers
return answ;
}
+ ///
+ /// Recupera DATI PODL NEXT (=NON AVVIATI) x macchina: (copia di getCurrPODL)
+ ///
+ /// GET: IOB/getPOdlNext/SIMUL_03
+ ///
+ /// id macchina, se "" mostra tutto
+ /// Json contenente lista oggetti PODL serializzati
+ public string getPOdlNext(string id)
+ {
+ // attenzione! poiché nell'URL il carattere "#" viene filtrato ci aspettiamo il
+ // carattere "|" che poi trasformiamo ora in "#"
+ if (!string.IsNullOrEmpty(id))
+ {
+ id = id.Replace("|", "#");
+ }
+ string answ = "";
+
+ // init obj DataLayer
+ DataLayer DataLayerObj = new DataLayer();
+ try
+ {
+ // recupero dati macchina...
+ var elencoOdl = DataLayerObj.taPODL.getByMaccArt(id, "", "", true);
+ answ = JsonConvert.SerializeObject(elencoOdl);
+ }
+ catch
+ { }
+ return answ;
+ }
+
///
/// Recupera TASK richiesto x macchina:
///