From 548f847cc9e9dfa57f9d468e015a0f5fa7bc366c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 21 Nov 2023 16:33:58 +0100 Subject: [PATCH] Aggiunto gestione timer da web.config (da 1 a 3 sec refresh kitting page) --- NKC_WF/Web.config | 5 ++-- NKC_WF/site/Kitting.aspx | 2 +- NKC_WF/site/Kitting.aspx.cs | 4 +++- NKC_WF/site/Kitting.aspx.designer.cs | 34 ++++++++++++++-------------- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/NKC_WF/Web.config b/NKC_WF/Web.config index e9f7134..3a89e11 100644 --- a/NKC_WF/Web.config +++ b/NKC_WF/Web.config @@ -63,8 +63,9 @@ - - + + + diff --git a/NKC_WF/site/Kitting.aspx b/NKC_WF/site/Kitting.aspx index 9c1db2d..8af1cd9 100644 --- a/NKC_WF/site/Kitting.aspx +++ b/NKC_WF/site/Kitting.aspx @@ -6,7 +6,7 @@ - + <%--1000--%>
diff --git a/NKC_WF/site/Kitting.aspx.cs b/NKC_WF/site/Kitting.aspx.cs index e593bb0..cf3ebd6 100644 --- a/NKC_WF/site/Kitting.aspx.cs +++ b/NKC_WF/site/Kitting.aspx.cs @@ -1,4 +1,5 @@ -using System; +using SteamWare; +using System; using System.Web.UI; namespace NKC_WF.site @@ -10,6 +11,7 @@ namespace NKC_WF.site if (!Page.IsPostBack) { ((SiteMaster)this.Master).showSearch = false; + timerKitting.Interval = memLayer.ML.CRI("kittingPageRefresh"); } } diff --git a/NKC_WF/site/Kitting.aspx.designer.cs b/NKC_WF/site/Kitting.aspx.designer.cs index 4518a9c..9ef64af 100644 --- a/NKC_WF/site/Kitting.aspx.designer.cs +++ b/NKC_WF/site/Kitting.aspx.designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ -// -// Codice generato da uno strumento. +// +// This code was generated by a tool. // -// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// //------------------------------------------------------------------------------ namespace NKC_WF.site @@ -15,38 +15,38 @@ namespace NKC_WF.site { /// - /// Controllo UpdatePanel2. + /// UpdatePanel2 control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.UpdatePanel UpdatePanel2; /// - /// Controllo timerKitting. + /// timerKitting control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.Timer timerKitting; /// - /// Controllo cmp_kitReqRunning. + /// cmp_kitReqRunning control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::NKC_WF.WebUserControls.cmp_kitReqRunning cmp_kitReqRunning; /// - /// Controllo cmp_kitting. + /// cmp_kitting control. /// /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::NKC_WF.WebUserControls.cmp_kitting cmp_kitting; }