From 284f5ef84eb8c67280b36b975855f8794a4fa8ea Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 17 Feb 2020 18:44:09 +0100 Subject: [PATCH] Update x gestione KIT finale --- NKC_WF/NKC_WF.csproj | 16 +++++ NKC_WF/WebUserControls/cmp_kitting.ascx | 15 +++++ NKC_WF/WebUserControls/cmp_kitting.ascx.cs | 17 ++++++ .../cmp_kitting.ascx.designer.cs | 17 ++++++ NKC_WF/site/Kitting.aspx | 6 +- NKC_WF/site/Kitting.aspx.cs | 2 +- NKC_WF/site/Kitting.aspx.designer.cs | 30 +++++----- NKC_WF/site/KittingSmart.aspx | 10 ++++ NKC_WF/site/KittingSmart.aspx.cs | 59 +++++++++++++++++++ NKC_WF/site/KittingSmart.aspx.designer.cs | 35 +++++++++++ 10 files changed, 189 insertions(+), 18 deletions(-) create mode 100644 NKC_WF/WebUserControls/cmp_kitting.ascx create mode 100644 NKC_WF/WebUserControls/cmp_kitting.ascx.cs create mode 100644 NKC_WF/WebUserControls/cmp_kitting.ascx.designer.cs create mode 100644 NKC_WF/site/KittingSmart.aspx create mode 100644 NKC_WF/site/KittingSmart.aspx.cs create mode 100644 NKC_WF/site/KittingSmart.aspx.designer.cs diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 696ddd4..4ee3070 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -362,6 +362,7 @@ + @@ -388,6 +389,7 @@ + @@ -639,6 +641,13 @@ Kitting.aspx + + KittingSmart.aspx + ASPXCodeBehind + + + KittingSmart.aspx + LabelsPrint.aspx ASPXCodeBehind @@ -863,6 +872,13 @@ cmp_kitList.ascx + + cmp_kitting.ascx + ASPXCodeBehind + + + cmp_kitting.ascx + cmp_login.ascx ASPXCodeBehind diff --git a/NKC_WF/WebUserControls/cmp_kitting.ascx b/NKC_WF/WebUserControls/cmp_kitting.ascx new file mode 100644 index 0000000..c8e499f --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kitting.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kitting.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kitting" %> + + +
+
+

BIN LIST

+ elenco BIN (small) +
+
+
+
+

CART LIST

+ elenco cart +
+
\ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_kitting.ascx.cs b/NKC_WF/WebUserControls/cmp_kitting.ascx.cs new file mode 100644 index 0000000..9ca5066 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kitting.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_kitting : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_kitting.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_kitting.ascx.designer.cs new file mode 100644 index 0000000..63e5551 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kitting.ascx.designer.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_kitting + { + } +} diff --git a/NKC_WF/site/Kitting.aspx b/NKC_WF/site/Kitting.aspx index 51b320c..ead353d 100644 --- a/NKC_WF/site/Kitting.aspx +++ b/NKC_WF/site/Kitting.aspx @@ -1,7 +1,7 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" CodeBehind="Kitting.aspx.cs" Inherits="NKC_WF.Kitting" %> +<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Kitting.aspx.cs" Inherits="NKC_WF.Kitting" %> -<%@ Register Src="~/WebUserControls/tpl_WIP.ascx" TagPrefix="uc1" TagName="tpl_WIP" %> +<%@ Register Src="~/WebUserControls/cmp_kitting.ascx" TagPrefix="uc1" TagName="cmp_kitting" %> - + diff --git a/NKC_WF/site/Kitting.aspx.cs b/NKC_WF/site/Kitting.aspx.cs index 1a3e3ae..4d9f1e7 100644 --- a/NKC_WF/site/Kitting.aspx.cs +++ b/NKC_WF/site/Kitting.aspx.cs @@ -13,7 +13,7 @@ namespace NKC_WF { if (!Page.IsPostBack) { - ((SiteContent)this.Master).showSearch = false; + ((SiteMaster)this.Master).showSearch = false; } } } diff --git a/NKC_WF/site/Kitting.aspx.designer.cs b/NKC_WF/site/Kitting.aspx.designer.cs index 1cc1764..4ed15a3 100644 --- a/NKC_WF/site/Kitting.aspx.designer.cs +++ b/NKC_WF/site/Kitting.aspx.designer.cs @@ -7,18 +7,20 @@ // //------------------------------------------------------------------------------ -namespace NKC_WF { - - - public partial class Kitting { - - /// - /// Controllo tpl_WIP. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::NKC_WF.WebUserControls.tpl_WIP tpl_WIP; - } +namespace NKC_WF +{ + + + public partial class Kitting + { + + /// + /// Controllo cmp_kitting. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_kitting cmp_kitting; + } } diff --git a/NKC_WF/site/KittingSmart.aspx b/NKC_WF/site/KittingSmart.aspx new file mode 100644 index 0000000..6fc7b7d --- /dev/null +++ b/NKC_WF/site/KittingSmart.aspx @@ -0,0 +1,10 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="KittingSmart.aspx.cs" Inherits="NKC_WF.site.KittingSmart" %> + +<%@ Register Src="~/WebUserControls/cmp_unloadSmart.ascx" TagPrefix="uc1" TagName="cmp_unloadSmart" %> + + + + + + + diff --git a/NKC_WF/site/KittingSmart.aspx.cs b/NKC_WF/site/KittingSmart.aspx.cs new file mode 100644 index 0000000..c263791 --- /dev/null +++ b/NKC_WF/site/KittingSmart.aspx.cs @@ -0,0 +1,59 @@ +using AppData; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.site +{ + public partial class KittingSmart : BasePage + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + ((SiteMaster)this.Master).showSearch = false; + doUpdate(); + } + } + /// + /// Batch corrente... + /// + public int BatchId + { + set + { + hfBatchID.Value = value.ToString(); + } + get + { + int answ = 0; + int.TryParse(hfBatchID.Value, out answ); + return answ; + } + } + /// + /// Aggiorna componente principale e child components + /// + private void doUpdate() + { + setCurrData(); + // aggiorno child + cmp_unloadSmart.BatchId = BatchId; + } + /// + /// Imposta dati correnti (Bunk / Sheet) + /// + private void setCurrData() + { + // recupero bunk corrente... + DS_App.StackListRow currBunk = ComLib.getCurrBunk(); + if (currBunk != null) + { + BatchId = currBunk.BatchID; + } + } + } +} \ No newline at end of file diff --git a/NKC_WF/site/KittingSmart.aspx.designer.cs b/NKC_WF/site/KittingSmart.aspx.designer.cs new file mode 100644 index 0000000..e2a3899 --- /dev/null +++ b/NKC_WF/site/KittingSmart.aspx.designer.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.site +{ + + + public partial class KittingSmart + { + + /// + /// Controllo hfBatchID. + /// + /// + /// 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.HiddenField hfBatchID; + + /// + /// Controllo cmp_unloadSmart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_unloadSmart cmp_unloadSmart; + } +}