From a1c38690a8905f8df317ef4523f98e4f1df06cbd Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 18 Oct 2018 16:45:12 +0200 Subject: [PATCH] Tipo eventi BCode/Tablet mostrati condizionato a famiglia macchina --- MP-TAB/WebUserControls/mod_dichiarazione.ascx | 20 ++++++++++- .../mod_dichiarazione.ascx.designer.cs | 9 +++++ MapoDb/DS_Utility.Designer.cs | 25 +++++++++++++- MapoDb/DS_Utility.xsd | 34 +++++++++++++------ MapoDb/DS_Utility.xss | 4 +-- 5 files changed, 77 insertions(+), 15 deletions(-) diff --git a/MP-TAB/WebUserControls/mod_dichiarazione.ascx b/MP-TAB/WebUserControls/mod_dichiarazione.ascx index 609863a5..51a9c8b5 100644 --- a/MP-TAB/WebUserControls/mod_dichiarazione.ascx +++ b/MP-TAB/WebUserControls/mod_dichiarazione.ascx @@ -3,6 +3,20 @@
+ + +
+
+
+   + ELABORAZIONE IN CORSO +   +
+
+
+
+
+
@@ -20,5 +34,9 @@
- + + + + + diff --git a/MP-TAB/WebUserControls/mod_dichiarazione.ascx.designer.cs b/MP-TAB/WebUserControls/mod_dichiarazione.ascx.designer.cs index a7fc468d..626c5494 100644 --- a/MP-TAB/WebUserControls/mod_dichiarazione.ascx.designer.cs +++ b/MP-TAB/WebUserControls/mod_dichiarazione.ascx.designer.cs @@ -21,6 +21,15 @@ namespace MoonProTablet.WebUserControls { /// protected global::System.Web.UI.WebControls.Label lblOut; + /// + /// Controllo updtRicerca. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.UpdateProgress updtRicerca; + /// /// Controllo repLI. /// diff --git a/MapoDb/DS_Utility.Designer.cs b/MapoDb/DS_Utility.Designer.cs index 0e1114d5..cbf9d818 100644 --- a/MapoDb/DS_Utility.Designer.cs +++ b/MapoDb/DS_Utility.Designer.cs @@ -7620,11 +7620,17 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selEventiBCode\r\nORDER BY label"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_vseb_getByIdxMacchina"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -7650,6 +7656,23 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P this.Adapter.Fill(dataTable); return dataTable; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Utility.v_selEventiBCodeDataTable getByIdxMacchina(string idxMacchina) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((idxMacchina == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); + } + DS_Utility.v_selEventiBCodeDataTable dataTable = new DS_Utility.v_selEventiBCodeDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } } /// diff --git a/MapoDb/DS_Utility.xsd b/MapoDb/DS_Utility.xsd index 3fff51d2..05d37185 100644 --- a/MapoDb/DS_Utility.xsd +++ b/MapoDb/DS_Utility.xsd @@ -210,7 +210,19 @@ ORDER BY label - + + + + + dbo.stp_vseb_getByIdxMacchina + + + + + + + + @@ -527,7 +539,7 @@ FROM dbo.v_selCauScarto - + @@ -541,7 +553,7 @@ FROM dbo.v_selCauScarto - + @@ -556,7 +568,7 @@ FROM dbo.v_selCauScarto - + @@ -570,7 +582,7 @@ FROM dbo.v_selCauScarto - + @@ -590,7 +602,7 @@ FROM dbo.v_selCauScarto - + @@ -659,7 +671,7 @@ FROM dbo.v_selCauScarto - + @@ -695,7 +707,7 @@ FROM dbo.v_selCauScarto - + @@ -746,7 +758,7 @@ FROM dbo.v_selCauScarto - + @@ -754,7 +766,7 @@ FROM dbo.v_selCauScarto - + @@ -788,7 +800,7 @@ FROM dbo.v_selCauScarto - + diff --git a/MapoDb/DS_Utility.xss b/MapoDb/DS_Utility.xss index 832b2904..9e829c60 100644 --- a/MapoDb/DS_Utility.xss +++ b/MapoDb/DS_Utility.xss @@ -4,13 +4,13 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - +