diff --git a/MP-IO/MP-IO.csproj.user b/MP-IO/MP-IO.csproj.user index 8f155350..486e078c 100644 --- a/MP-IO/MP-IO.csproj.user +++ b/MP-IO/MP-IO.csproj.user @@ -10,7 +10,7 @@ - Debug|Any CPU + IIS02|Any CPU ApiControllerWithActionsScaffolder root/Controller 600 diff --git a/MP-MON/Controllers/DbTaskController.cs b/MP-MON/Controllers/DbTaskController.cs index f22f0153..cfc8fc53 100644 --- a/MP-MON/Controllers/DbTaskController.cs +++ b/MP-MON/Controllers/DbTaskController.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; +using System.Text; using System.Web.Http; namespace MP_MON.Controllers @@ -19,7 +20,7 @@ namespace MP_MON.Controllers // GET: api/DbTask public IEnumerable Get() { - return new string[] { "value1", "value2" }; + return new string[] { "Refresh", "value2" }; } // GET: api/DbTask/5 @@ -29,8 +30,14 @@ namespace MP_MON.Controllers } // POST: api/DbTask - public void Post([FromBody] string value) + public string Post([FromBody] List names) { + string answ = ""; + foreach (var item in names) + { + answ += $"{item} | "; + } + return answ; } // PUT: api/DbTask/5 diff --git a/MP-MON/MP-MON.csproj.user b/MP-MON/MP-MON.csproj.user index 8765882c..cd6479fa 100644 --- a/MP-MON/MP-MON.csproj.user +++ b/MP-MON/MP-MON.csproj.user @@ -19,7 +19,7 @@ - Debug|Any CPU + IIS02|Any CPU ApiControllerWithActionsScaffolder root/Controller diff --git a/MP-Site/MP-Site.csproj.user b/MP-Site/MP-Site.csproj.user index c2cb7f33..1622a331 100644 --- a/MP-Site/MP-Site.csproj.user +++ b/MP-Site/MP-Site.csproj.user @@ -8,7 +8,7 @@ - Debug|Any CPU + IIS02|Any CPU ShowAllFiles IIS02 diff --git a/MP-TAB/WebUserControls/mod_confProd.ascx b/MP-TAB/WebUserControls/mod_confProd.ascx index 351ad743..dedac502 100644 --- a/MP-TAB/WebUserControls/mod_confProd.ascx +++ b/MP-TAB/WebUserControls/mod_confProd.ascx @@ -12,9 +12,9 @@ ////document.getElementById('<%= lblUpdating.ClientID %>').hidden = true; } function fixDelayed() { - console.log('start delay'); + //console.log('start delay'); setTimeout(function () { - console.log('after'); + //console.log('after'); ////document.getElementById('<%= lblUpdating.ClientID %>').hidden = true; }, 300); } @@ -71,6 +71,7 @@
+  
CONFERMA diff --git a/MP-TAB/WebUserControls/mod_confProd.ascx.cs b/MP-TAB/WebUserControls/mod_confProd.ascx.cs index 020aaac0..4e83f6b9 100644 --- a/MP-TAB/WebUserControls/mod_confProd.ascx.cs +++ b/MP-TAB/WebUserControls/mod_confProd.ascx.cs @@ -248,8 +248,10 @@ namespace MoonProTablet.WebUserControls private void checkConfig() { // verifico SE sia permesso gestire i "Pezzi lasciati" in macchina... - lblNumLasciati.Visible = memLayer.ML.cdvb("enablePzProdLasciati"); - txtNumLasciati.Visible = memLayer.ML.cdvb("enablePzProdLasciati"); + bool enablePzProdLasciati = memLayer.ML.cdvb("enablePzProdLasciati"); + lblNumLasciati.Visible = enablePzProdLasciati; + txtNumLasciati.Visible = enablePzProdLasciati; + lblEmptyNumLasciati.Visible = !enablePzProdLasciati; } /// diff --git a/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs b/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs index 8d089051..34ee2179 100644 --- a/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs +++ b/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs @@ -167,6 +167,15 @@ namespace MoonProTablet.WebUserControls /// protected global::System.Web.UI.WebControls.TextBox txtNumLasciati; + /// + /// Controllo lblEmptyNumLasciati. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblEmptyNumLasciati; + /// /// Controllo lbtSalva. ///