From 50ea17c0e32b964b8f64f9cfdcfec4350c52d146 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 23 Jul 2021 19:09:17 +0200 Subject: [PATCH] fix gestione bunk x machine (non necessaria) --- AppData/DS_App.Designer.cs | 9 +-------- AppData/DS_App.xsd | 1 - AppData/DS_App.xss | 4 ++-- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs index f1ab26c..df05fc5 100644 --- a/AppData/DS_App.Designer.cs +++ b/AppData/DS_App.Designer.cs @@ -29887,7 +29887,6 @@ namespace AppData.DS_AppTableAdapters { this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StackID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Redux", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Machine", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[8].Connection = this.Connection; this._commandCollection[8].CommandText = "dbo.stp_Sheets_getCurrentByBatch"; @@ -30095,7 +30094,7 @@ namespace AppData.DS_AppTableAdapters { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DS_App.SheetListDataTable getByStackRedux(global::System.Nullable StackID, global::System.Nullable Redux, string Machine) { + public virtual DS_App.SheetListDataTable getByStackRedux(global::System.Nullable StackID, global::System.Nullable Redux) { this.Adapter.SelectCommand = this.CommandCollection[7]; if ((StackID.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(StackID.Value)); @@ -30109,12 +30108,6 @@ namespace AppData.DS_AppTableAdapters { else { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Machine == null)) { - this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Machine)); - } DS_App.SheetListDataTable dataTable = new DS_App.SheetListDataTable(); this.Adapter.Fill(dataTable); return dataTable; diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd index 4a26dc4..332f2c6 100644 --- a/AppData/DS_App.xsd +++ b/AppData/DS_App.xsd @@ -603,7 +603,6 @@ FROM v_SheetList - diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss index 3ddbb6f..c3346d1 100644 --- a/AppData/DS_App.xss +++ b/AppData/DS_App.xss @@ -4,11 +4,11 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - +