diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx b/MP-TAB/WebUserControls/mod_ODL.ascx index a25453ee..697b7811 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx +++ b/MP-TAB/WebUserControls/mod_ODL.ascx @@ -34,12 +34,15 @@
+
+ Annulla Setup ODL +
- +
diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx.cs b/MP-TAB/WebUserControls/mod_ODL.ascx.cs index 86a5d8a7..34246174 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx.cs +++ b/MP-TAB/WebUserControls/mod_ODL.ascx.cs @@ -47,7 +47,18 @@ namespace MoonProTablet.WebUserControls } /// - /// Verifica chiave showOdlProvv in tab Config + /// Verifica chiave enableAnnullaSetup in tab Config + /// + protected bool enableAnnullaSetup + { + get + { + return memLayer.ML.cdvb("enableAnnullaSetup"); + } + } + + /// + /// Verifica chiave enableRiattrezzaggio in tab Config /// protected bool enableRiattrezzaggio { @@ -488,6 +499,19 @@ namespace MoonProTablet.WebUserControls // sistemo buttons! lbtStartAttr.Enabled = (isEnabled && (!inAttr && hasNewOdl)); lbtEndProd.Enabled = (isEnabled && (!inAttr && currHasOdl)); + + // verifico condizioni annullamento setup + lbtAnnullaSetup.Visible = false; + if (isEnabled && enableAnnullaSetup && inAttr) + { + // verifico condizione pz da confermare + DS_ProdTempi.stp_PzProd_getByMacchinaRow rigaProd = DataLayerObj.taPzProd2conf.GetData(idxMacchinaFix)[0]; + if (rigaProd != null) + { + lbtAnnullaSetup.Visible = rigaProd.pezziNonConfermati == 0; + } + } + // controllo se ci sia da verificare scheda tecnica if (enableSchedaTecnica) { @@ -621,6 +645,43 @@ namespace MoonProTablet.WebUserControls } } + /// + /// RImozione dati e parametri (TAB e su PLC) x ODL corrente + /// + private void doRemoveCurrOdlData() + { + // invio task x end produzione... + DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.endProd, ""); + string setArtVal = "NO ART"; + string setPzCommVal = "0"; + string setCommVal = $"NO ODL"; + // FIXME TODO: scrivere come sotto? testare valvital x linea LASCO + DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.setArt, setArtVal); + DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.setPzComm, setPzCommVal); + DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.setComm, setCommVal); + // se è master --> chiamo update child! + if (isMaster) + { + // calcolo gli slave... + var slaveList = DataLayerObj.taM2S.getByMaster(idxMacchina); + foreach (var machine in slaveList) + { + // invio task x end produzione... + DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.endProd, ""); + DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setArt, setArtVal); + DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setPzComm, setPzCommVal); + DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setComm, setCommVal); + } + } + + // resetto contapezzi redis... + DataLayerObj.saveCounter(idxMacchinaFix, "0"); + // resetto ODL su redis... + DataLayerObj.emptyCurrODL(idxMacchinaFix); + // reset ODL!... + idxOdl = -1; + } + /// /// sistema buttons split /// @@ -763,6 +824,54 @@ namespace MoonProTablet.WebUserControls { } } + /// + /// Annulla setup ODL (come se avesse fatto FINE PROD) + /// + /// + /// + protected void lbtAnnullaSetup_Click(object sender, EventArgs e) + { + // leggo idxOdl da ultimo odl attivo x macchina + int idxODLCurr = DataLayerObj.taODL.getByMacchina(idxMacchinaFix)[0].IdxODL; + int idxEvento = 7; // !!!HARD CODED + + try + { + // confermo prod vecchio ODL + confermaProdOdl(true); + // processo x macchina selezionata + DataLayerObj.taODL.fineProd(idxODLCurr, idxMacchinaFix); + string evText = "Registrata ANNULLAMENTO ATTREZZAGGIO per ODL {0}"; + StringBuilder sb = new StringBuilder(); + sb.AppendLine(String.Format(evText, idxODLCurr)); + processaEvento(idxMacchinaFix, idxEvento, sb.ToString(), idxODLCurr); + + // resetta PODL e rimuove ODL x poi TOGLIERE info di setup su macchina corrente + DataLayerObj.taODL.clearSetup(idxODLCurr, idxMacchinaFix); + + // se è master --> chiamo update child! + if (isMaster) + { + DataLayerObj.taODL.fixMachineSlave(idxMacchina, 30, 1); + } + + // cancella dati correnti ODL + doRemoveCurrOdlData(); + // aggiorna dettaglio ODL + cmp_selPODL.DataBind(); + } + catch + { } + + // refresh finale + checkAll(); + // sollevo evento! + if (eh_reqUpdate != null) + { + eh_reqUpdate(this, new EventArgs()); + } + } + protected void lbtConfNewRevProd_Click(object sender, EventArgs e) { // chiamo stored x allineare revProd a revUT @@ -857,36 +966,7 @@ namespace MoonProTablet.WebUserControls Response.Redirect("~/DettaglioMacchina.aspx"); } } - // invio task x end produzione... - DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.endProd, ""); - string setArtVal = "NO ART"; - string setPzCommVal = "0"; - string setCommVal = $"NO ODL"; - // FIXME TODO: scrivere come sotto? testare valvital x linea LASCO - DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.setArt, setArtVal); - DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.setPzComm, setPzCommVal); - DataLayerObj.addTask4Machine(idxMacchinaFix, taskType.setComm, setCommVal); - // se è master --> chiamo update child! - if (isMaster) - { - // calcolo gli slave... - var slaveList = DataLayerObj.taM2S.getByMaster(idxMacchina); - foreach (var machine in slaveList) - { - // invio task x end produzione... - DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.endProd, ""); - DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setArt, setArtVal); - DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setPzComm, setPzCommVal); - DataLayerObj.addTask4Machine(machine.IdxMacchinaSlave, taskType.setComm, setCommVal); - } - } - - // resetto contapezzi redis... - DataLayerObj.saveCounter(idxMacchinaFix, "0"); - // resetto ODL su redis... - DataLayerObj.emptyCurrODL(idxMacchinaFix); - // reset ODL!... - idxOdl = -1; + doRemoveCurrOdlData(); // refresh finale checkAll(); diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs b/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs index e90a9c8d..8e5db684 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs +++ b/MP-TAB/WebUserControls/mod_ODL.ascx.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 MoonProTablet.WebUserControls @@ -15,272 +15,281 @@ namespace MoonProTablet.WebUserControls { /// - /// Controllo updtRicerca. + /// updtRicerca 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.UpdateProgress updtRicerca; /// - /// Controllo divWarningArt. + /// divWarningArt 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.HtmlControls.HtmlGenericControl divWarningArt; /// - /// Controllo lbtConfNewRevProd. + /// lbtConfNewRevProd 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.WebControls.LinkButton lbtConfNewRevProd; /// - /// Controllo divDettPOdl. + /// lbtAnnullaSetup 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.WebControls.LinkButton lbtAnnullaSetup; + + /// + /// divDettPOdl control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDettPOdl; /// - /// Controllo cmp_dettPODL. + /// cmp_dettPODL 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::MoonProTablet.WebUserControls.cmp_dettPODL cmp_dettPODL; /// - /// Controllo cmp_selPODL. + /// cmp_selPODL 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::MoonProTablet.WebUserControls.cmp_selPODL cmp_selPODL; /// - /// Controllo lbtShowOdlDet. + /// lbtShowOdlDet 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.WebControls.LinkButton lbtShowOdlDet; /// - /// Controllo lbtStartAttr. + /// lbtStartAttr 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.WebControls.LinkButton lbtStartAttr; /// - /// Controllo divDettOdl. + /// divDettOdl 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.HtmlControls.HtmlGenericControl divDettOdl; /// - /// Controllo cmp_dettODL. + /// cmp_dettODL 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::MoonProTablet.WebUserControls.cmp_dettODL cmp_dettODL; /// - /// Controllo divNote. + /// divNote 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.HtmlControls.HtmlGenericControl divNote; /// - /// Controllo txtNote. + /// txtNote 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.WebControls.TextBox txtNote; /// - /// Controllo divTempo. + /// divTempo 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.HtmlControls.HtmlGenericControl divTempo; /// - /// Controllo mod_tempoMSMC. + /// mod_tempoMSMC 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::MoonProTablet.WebUserControls.mod_tempoMSMC mod_tempoMSMC; /// - /// Controllo divPzPallet. + /// divPzPallet 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.HtmlControls.HtmlGenericControl divPzPallet; /// - /// Controllo cmp_selPzPallet. + /// cmp_selPzPallet 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::MoonProTablet.WebUserControls.cmp_selPzPallet cmp_selPzPallet; /// - /// Controllo divOpRiattr. + /// divOpRiattr 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.HtmlControls.HtmlGenericControl divOpRiattr; /// - /// Controllo lbtSplitOdlSuTav. + /// lbtSplitOdlSuTav 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.WebControls.LinkButton lbtSplitOdlSuTav; /// - /// Controllo lbtReopOdlSuTav. + /// lbtReopOdlSuTav 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.WebControls.LinkButton lbtReopOdlSuTav; /// - /// Controllo hlNeedStar. + /// hlNeedStar 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.WebControls.HyperLink hlNeedStar; /// - /// Controllo lbtStartProd. + /// lbtStartProd 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.WebControls.LinkButton lbtStartProd; /// - /// Controllo lbtEndProd. + /// lbtEndProd 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.WebControls.LinkButton lbtEndProd; /// - /// Controllo lbtShowSplitODL. + /// lbtShowSplitODL 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.WebControls.LinkButton lbtShowSplitODL; /// - /// Controllo chkCloseOdl. + /// chkCloseOdl 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.WebControls.CheckBox chkCloseOdl; /// - /// Controllo lbtSplitODL. + /// lbtSplitODL 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.WebControls.LinkButton lbtSplitODL; /// - /// Controllo lbtFixEndSetup. + /// lbtFixEndSetup 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.WebControls.LinkButton lbtFixEndSetup; /// - /// Controllo divOdlProvv. + /// divOdlProvv 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.HtmlControls.HtmlGenericControl divOdlProvv; /// - /// Controllo lbtShowCreaOdlProvv. + /// lbtShowCreaOdlProvv 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.WebControls.LinkButton lbtShowCreaOdlProvv; /// - /// Controllo cmp_newODL. + /// cmp_newODL 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::MoonProTablet.WebUserControls.cmp_newODL cmp_newODL; /// - /// Controllo lblOut. + /// lblOut 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.WebControls.Label lblOut; } diff --git a/MapoDb/DS_ProdTempi.xsd b/MapoDb/DS_ProdTempi.xsd index 5d24021c..74b7e8be 100644 --- a/MapoDb/DS_ProdTempi.xsd +++ b/MapoDb/DS_ProdTempi.xsd @@ -254,6 +254,18 @@ ORDER BY idxODL DESC + + + + dbo.stp_ODL_clearSetup + + + + + + + + @@ -685,7 +697,7 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO - + dbo.stp_ART_rowCount @@ -695,7 +707,7 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO - + dbo.stp_ART_setNewRev @@ -706,7 +718,7 @@ SELECT CodArticolo, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FRO - + dbo.stp_ART_update @@ -2910,7 +2922,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -2991,7 +3003,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3003,7 +3015,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3028,7 +3040,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3066,7 +3078,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3105,7 +3117,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3171,7 +3183,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3248,7 +3260,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3283,7 +3295,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3305,7 +3317,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + diff --git a/MapoDb/DS_ProdTempi.xss b/MapoDb/DS_ProdTempi.xss index 571d5bd6..35d74843 100644 --- a/MapoDb/DS_ProdTempi.xss +++ b/MapoDb/DS_ProdTempi.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + diff --git a/MapoDb/DS_ProdTempi1.Designer.cs b/MapoDb/DS_ProdTempi1.Designer.cs index 0ebaa74a..0cfbed3f 100644 --- a/MapoDb/DS_ProdTempi1.Designer.cs +++ b/MapoDb/DS_ProdTempi1.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Il codice è stato generato da uno strumento. -// Versione runtime:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se -// il codice viene rigenerato. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -10509,7 +10509,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.IdxMacchinaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxMacchina\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxMacchina\' in table \'ODL\' is DBNull.", e); } } set { @@ -10547,7 +10547,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.DescArticoloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescArticolo\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescArticolo\' in table \'ODL\' is DBNull.", e); } } set { @@ -10563,7 +10563,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.CodMacchinaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodMacchina\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'ODL\' is DBNull.", e); } } set { @@ -10579,7 +10579,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.NomeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'ODL\' is DBNull.", e); } } set { @@ -10595,7 +10595,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableODL.DataInizioColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataInizio\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataInizio\' in table \'ODL\' is DBNull.", e); } } set { @@ -10611,7 +10611,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableODL.DataFineColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataFine\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataFine\' in table \'ODL\' is DBNull.", e); } } set { @@ -10627,7 +10627,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.NoteColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Note\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'ODL\' is DBNull.", e); } } set { @@ -10654,7 +10654,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.UserApprColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'UserAppr\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'UserAppr\' in table \'ODL\' is DBNull.", e); } } set { @@ -10670,7 +10670,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableODL.DataApprColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataAppr\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataAppr\' in table \'ODL\' is DBNull.", e); } } set { @@ -10686,7 +10686,7 @@ namespace MapoDb { return ((decimal)(this[this.tableODL.TCRichAttrColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCRichAttr\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCRichAttr\' in table \'ODL\' is DBNull.", e); } } set { @@ -10735,7 +10735,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.OperSetupColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'OperSetup\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'OperSetup\' in table \'ODL\' is DBNull.", e); } } set { @@ -10942,7 +10942,7 @@ namespace MapoDb { return ((bool)(this[this.tableAnagArticoli.FlagIsNewColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'FlagIsNew\' nella tabella \'AnagArticoli\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'FlagIsNew\' in table \'AnagArticoli\' is DBNull.", e); } } set { @@ -11018,7 +11018,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiMacchine.DescFullColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescFull\' nella tabella \'DatiMacchine\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescFull\' in table \'DatiMacchine\' is DBNull.", e); } } set { @@ -11034,7 +11034,7 @@ namespace MapoDb { return ((bool)(this[this.tableDatiMacchine.palletChangeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'palletChange\' nella tabella \'DatiMacchine\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'palletChange\' in table \'DatiMacchine\' is DBNull.", e); } } set { @@ -11050,7 +11050,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiMacchine.serialPortColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'serialPort\' nella tabella \'DatiMacchine\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'serialPort\' in table \'DatiMacchine\' is DBNull.", e); } } set { @@ -11066,7 +11066,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiMacchine.refreshPeriodColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'refreshPeriod\' nella tabella \'DatiMacchine\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'refreshPeriod\' in table \'DatiMacchine\' is DBNull.", e); } } set { @@ -11082,7 +11082,7 @@ namespace MapoDb { return ((bool)(this[this.tableDatiMacchine.simulazioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'simulazione\' nella tabella \'DatiMacchine\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'simulazione\' in table \'DatiMacchine\' is DBNull.", e); } } set { @@ -11098,7 +11098,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiMacchine.CodArticolo_AColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo_A\' nella tabella \'DatiMacchine\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo_A\' in table \'DatiMacchine\' is DBNull.", e); } } set { @@ -11114,7 +11114,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiMacchine.CodArticolo_BColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo_B\' nella tabella \'DatiMacchine\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo_B\' in table \'DatiMacchine\' is DBNull.", e); } } set { @@ -11251,8 +11251,7 @@ namespace MapoDb { return ((string)(this[this.tablePostazioniMapo.DescPostazioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescPostazione\' nella tabella \'PostazioniMapo\' è DBNull." + - "", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescPostazione\' in table \'PostazioniMapo\' is DBNull.", e); } } set { @@ -11279,7 +11278,7 @@ namespace MapoDb { return ((int)(this[this.tablePostazioniMapo.MatrOperatoreColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'MatrOperatore\' nella tabella \'PostazioniMapo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'MatrOperatore\' in table \'PostazioniMapo\' is DBNull.", e); } } set { @@ -11295,7 +11294,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tablePostazioniMapo.InputUntilColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'InputUntil\' nella tabella \'PostazioniMapo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'InputUntil\' in table \'PostazioniMapo\' is DBNull.", e); } } set { @@ -11311,7 +11310,7 @@ namespace MapoDb { return ((string)(this[this.tablePostazioniMapo.LastBarcodeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'LastBarcode\' nella tabella \'PostazioniMapo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'LastBarcode\' in table \'PostazioniMapo\' is DBNull.", e); } } set { @@ -11390,8 +11389,8 @@ namespace MapoDb { return ((string)(this[this.tablestp_PzProd_getByMacchina.idxMacchinaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxMacchina\' nella tabella \'stp_PzProd_getByMacchina\' è " + - "DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'stp_PzProd_getByMacchina\' is DBNull." + + "", e); } } set { @@ -11407,8 +11406,8 @@ namespace MapoDb { return ((int)(this[this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pezziNonConfermati\' nella tabella \'stp_PzProd_getByMacch" + - "ina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pezziNonConfermati\' in table \'stp_PzProd_getByMacchina\' is " + + "DBNull.", e); } } set { @@ -11424,8 +11423,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tablestp_PzProd_getByMacchina.DataFromColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataFrom\' nella tabella \'stp_PzProd_getByMacchina\' è DBN" + - "ull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataFrom\' in table \'stp_PzProd_getByMacchina\' is DBNull.", e); } } set { @@ -11441,8 +11439,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tablestp_PzProd_getByMacchina.DataToColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataTo\' nella tabella \'stp_PzProd_getByMacchina\' è DBNul" + - "l.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataTo\' in table \'stp_PzProd_getByMacchina\' is DBNull.", e); } } set { @@ -11565,7 +11562,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiConfermati.TurnoRifColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TurnoRif\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TurnoRif\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11581,7 +11578,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiConfermati.CodArticoloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11608,7 +11605,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TCAssegnatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCAssegnato\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11624,7 +11621,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiConfermati.MatrOprColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'MatrOpr\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'MatrOpr\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11651,7 +11648,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraFromColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataOraFrom\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataOraFrom\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11667,7 +11664,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraToColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataOraTo\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataOraTo\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11694,7 +11691,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiConfermati.TotPzProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TotPzProd\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TotPzProd\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11710,7 +11707,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoProdottoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoProdotto\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoProdotto\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11726,7 +11723,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoCronColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoCron\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoCron\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11742,7 +11739,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoNDColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoND\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoND\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11758,7 +11755,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoAperturaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoApertura\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoApertura\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11774,7 +11771,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoOFFColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoOFF\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoOFF\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11790,7 +11787,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoONColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoON\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoON\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11806,7 +11803,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoFermoOnColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoFermoOn\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoFermoOn\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11822,7 +11819,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoAutoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoAuto\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11838,8 +11835,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoFermoAutoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoFermoAuto\' nella tabella \'DatiConfermati\' è DBNull." + - "", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoFermoAuto\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11855,7 +11851,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiConfermati.TempoRunColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoRun\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -11871,7 +11867,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiConfermati.TotPzFermoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TotPzFermo\' nella tabella \'DatiConfermati\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TotPzFermo\' in table \'DatiConfermati\' is DBNull.", e); } } set { @@ -12129,7 +12125,7 @@ namespace MapoDb { return ((string)(this[this.tableCalendFesteFerie.descrizioneColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'descrizione\' nella tabella \'CalendFesteFerie\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'CalendFesteFerie\' is DBNull.", e); } } set { @@ -12172,8 +12168,7 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_TempoByIdxMaccPeriodClass.oreColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ore\' nella tabella \'stp_TempoByIdxMaccPeriodClass\' è DBN" + - "ull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ore\' in table \'stp_TempoByIdxMaccPeriodClass\' is DBNull.", e); } } set { @@ -12260,7 +12255,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiProduzione.TurnoRifColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TurnoRif\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TurnoRif\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12276,7 +12271,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiProduzione.CodArticoloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12303,7 +12298,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiProduzione.TCAssegnatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCAssegnato\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12319,7 +12314,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiProduzione.MatrOprColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'MatrOpr\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'MatrOpr\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12346,7 +12341,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraFromColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataOraFrom\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataOraFrom\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12362,7 +12357,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraToColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataOraTo\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataOraTo\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12378,7 +12373,7 @@ namespace MapoDb { return ((int)(this[this.tableDatiProduzione.TotPzProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TotPzProd\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TotPzProd\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12394,7 +12389,7 @@ namespace MapoDb { return ((decimal)(this[this.tableDatiProduzione.TempoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Tempo\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Tempo\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12410,7 +12405,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiProduzione.ClasseTempoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ClasseTempo\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ClasseTempo\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12426,7 +12421,7 @@ namespace MapoDb { return ((string)(this[this.tableDatiProduzione.CausaleColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Causale\' nella tabella \'DatiProduzione\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Causale\' in table \'DatiProduzione\' is DBNull.", e); } } set { @@ -12577,8 +12572,8 @@ namespace MapoDb { return ((string)(this[this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo\' nella tabella \'stp_repDonati_getDatiProdMac" + - "china\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'stp_repDonati_getDatiProdMacchina\' i" + + "s DBNull.", e); } } set { @@ -12594,8 +12589,8 @@ namespace MapoDb { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PezziLanciati\' nella tabella \'stp_repDonati_getDatiProdM" + - "acchina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PezziLanciati\' in table \'stp_repDonati_getDatiProdMacchina\'" + + " is DBNull.", e); } } set { @@ -12611,8 +12606,8 @@ namespace MapoDb { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PezziProd\' nella tabella \'stp_repDonati_getDatiProdMacch" + - "ina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'stp_repDonati_getDatiProdMacchina\' is " + + "DBNull.", e); } } set { @@ -12628,8 +12623,8 @@ namespace MapoDb { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PezziConf\' nella tabella \'stp_repDonati_getDatiProdMacch" + - "ina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PezziConf\' in table \'stp_repDonati_getDatiProdMacchina\' is " + + "DBNull.", e); } } set { @@ -12645,8 +12640,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCAssegnato\' nella tabella \'stp_repDonati_getDatiProdMac" + - "china\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'stp_repDonati_getDatiProdMacchina\' i" + + "s DBNull.", e); } } set { @@ -12662,8 +12657,8 @@ namespace MapoDb { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodOperatore\' nella tabella \'stp_repDonati_getDatiProdMa" + - "cchina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodOperatore\' in table \'stp_repDonati_getDatiProdMacchina\' " + + "is DBNull.", e); } } set { @@ -12679,8 +12674,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoOn\' nella tabella \'stp_repDonati_getDatiProdMacchin" + - "a\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoOn\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + + "Null.", e); } } set { @@ -12696,8 +12691,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoAuto\' nella tabella \'stp_repDonati_getDatiProdMacch" + - "ina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'stp_repDonati_getDatiProdMacchina\' is " + + "DBNull.", e); } } set { @@ -12713,8 +12708,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoRun\' nella tabella \'stp_repDonati_getDatiProdMacchi" + - "na\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'stp_repDonati_getDatiProdMacchina\' is D" + + "BNull.", e); } } set { @@ -12730,8 +12725,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCMedio\' nella tabella \'stp_repDonati_getDatiProdMacchin" + - "a\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCMedio\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + + "Null.", e); } } set { @@ -12747,8 +12742,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCLav\' nella tabella \'stp_repDonati_getDatiProdMacchina\'" + - " è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCLav\' in table \'stp_repDonati_getDatiProdMacchina\' is DBNu" + + "ll.", e); } } set { @@ -12764,8 +12759,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCEff\' nella tabella \'stp_repDonati_getDatiProdMacchina\'" + - " è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCEff\' in table \'stp_repDonati_getDatiProdMacchina\' is DBNu" + + "ll.", e); } } set { @@ -12781,8 +12776,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCMedioRT\' nella tabella \'stp_repDonati_getDatiProdMacch" + - "ina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'stp_repDonati_getDatiProdMacchina\' is " + + "DBNull.", e); } } set { @@ -12798,8 +12793,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCLavRT\' nella tabella \'stp_repDonati_getDatiProdMacchin" + - "a\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + + "Null.", e); } } set { @@ -12815,8 +12810,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCEffRT\' nella tabella \'stp_repDonati_getDatiProdMacchin" + - "a\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + + "Null.", e); } } set { @@ -13027,8 +13022,8 @@ namespace MapoDb { return ((int)(this[this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxStato\' nella tabella \'stp_repDonati_getLastStatoDurat" + - "aMacchina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'idxStato\' in table \'stp_repDonati_getLastStatoDurataMacchin" + + "a\' is DBNull.", e); } } set { @@ -13044,8 +13039,8 @@ namespace MapoDb { return ((double)(this[this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Minuti\' nella tabella \'stp_repDonati_getLastStatoDurataM" + - "acchina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Minuti\' in table \'stp_repDonati_getLastStatoDurataMacchina\'" + + " is DBNull.", e); } } set { @@ -13100,8 +13095,8 @@ namespace MapoDb { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PezziProd\' nella tabella \'stp_repDonati_getDatiProdMacch" + - "inaPeriodo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'stp_repDonati_getDatiProdMacchinaPerio" + + "do\' is DBNull.", e); } } set { @@ -13117,8 +13112,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCAssegnato\' nella tabella \'stp_repDonati_getDatiProdMac" + - "chinaPeriodo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'stp_repDonati_getDatiProdMacchinaPer" + + "iodo\' is DBNull.", e); } } set { @@ -13134,8 +13129,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCMedioRT\' nella tabella \'stp_repDonati_getDatiProdMacch" + - "inaPeriodo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'stp_repDonati_getDatiProdMacchinaPerio" + + "do\' is DBNull.", e); } } set { @@ -13151,8 +13146,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCLavRT\' nella tabella \'stp_repDonati_getDatiProdMacchin" + - "aPeriodo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'stp_repDonati_getDatiProdMacchinaPeriodo" + + "\' is DBNull.", e); } } set { @@ -13168,8 +13163,8 @@ namespace MapoDb { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCEffRT\' nella tabella \'stp_repDonati_getDatiProdMacchin" + - "aPeriodo\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'stp_repDonati_getDatiProdMacchinaPeriodo" + + "\' is DBNull.", e); } } set { @@ -13271,7 +13266,7 @@ namespace MapoDb { return ((bool)(this[this.tableTurniMacchina.T1Column])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'T1\' nella tabella \'TurniMacchina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'T1\' in table \'TurniMacchina\' is DBNull.", e); } } set { @@ -13287,7 +13282,7 @@ namespace MapoDb { return ((bool)(this[this.tableTurniMacchina.T2Column])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'T2\' nella tabella \'TurniMacchina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'T2\' in table \'TurniMacchina\' is DBNull.", e); } } set { @@ -13303,7 +13298,7 @@ namespace MapoDb { return ((bool)(this[this.tableTurniMacchina.T3Column])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'T3\' nella tabella \'TurniMacchina\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'T3\' in table \'TurniMacchina\' is DBNull.", e); } } set { @@ -13381,7 +13376,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableMappaStatoExpl.lastUpdateColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'lastUpdate\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'lastUpdate\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13408,7 +13403,7 @@ namespace MapoDb { return ((string)(this[this.tableMappaStatoExpl.CodMacchinaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodMacchina\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13424,7 +13419,7 @@ namespace MapoDb { return ((string)(this[this.tableMappaStatoExpl.NomeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13440,7 +13435,7 @@ namespace MapoDb { return ((string)(this[this.tableMappaStatoExpl.urlColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'url\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'url\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13456,7 +13451,7 @@ namespace MapoDb { return ((int)(this[this.tableMappaStatoExpl.idxODLColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxODL\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'idxODL\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13472,7 +13467,7 @@ namespace MapoDb { return ((string)(this[this.tableMappaStatoExpl.CodArticoloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13488,7 +13483,7 @@ namespace MapoDb { return ((int)(this[this.tableMappaStatoExpl.NumPezziColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumPezzi\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'NumPezzi\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13504,7 +13499,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TCAssegnatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCAssegnato\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13520,7 +13515,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableMappaStatoExpl.DataInizioODLColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataInizioODL\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataInizioODL\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13536,7 +13531,7 @@ namespace MapoDb { return ((string)(this[this.tableMappaStatoExpl.SemaforoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Semaforo\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Semaforo\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13552,7 +13547,7 @@ namespace MapoDb { return ((int)(this[this.tableMappaStatoExpl.idxStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxStato\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'idxStato\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13568,8 +13563,7 @@ namespace MapoDb { return ((string)(this[this.tableMappaStatoExpl.DescrizioneStatoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrizioneStato\' nella tabella \'MappaStatoExpl\' è DBNul" + - "l.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescrizioneStato\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13585,7 +13579,7 @@ namespace MapoDb { return ((double)(this[this.tableMappaStatoExpl.durataColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'durata\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'durata\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13601,7 +13595,7 @@ namespace MapoDb { return ((int)(this[this.tableMappaStatoExpl.PezziProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PezziProd\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13617,7 +13611,7 @@ namespace MapoDb { return ((int)(this[this.tableMappaStatoExpl.PezziConfColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PezziConf\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PezziConf\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13633,7 +13627,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TempoOnColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoOn\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoOn\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13649,7 +13643,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TempoAutoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoAuto\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13665,7 +13659,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TempoRunColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TempoRun\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13681,7 +13675,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TCMedioColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCMedio\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCMedio\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13697,7 +13691,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TCLavColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCLav\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCLav\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13713,7 +13707,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TCEffColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCEff\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCEff\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13729,7 +13723,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TCMedioRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCMedioRT\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13745,7 +13739,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TCLavRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCLavRT\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13761,7 +13755,7 @@ namespace MapoDb { return ((decimal)(this[this.tableMappaStatoExpl.TCEffRTColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'TCEffRT\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -13777,7 +13771,7 @@ namespace MapoDb { return ((string)(this[this.tableMappaStatoExpl.DisegnoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Disegno\' nella tabella \'MappaStatoExpl\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Disegno\' in table \'MappaStatoExpl\' is DBNull.", e); } } set { @@ -14108,7 +14102,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitODL.IdxODLColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxODL\' nella tabella \'ResProdDett_splitODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxODL\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } set { @@ -14135,7 +14129,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitODL.pzOrdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzOrd\' nella tabella \'ResProdDett_splitODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzOrd\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } set { @@ -14151,7 +14145,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitODL.pzProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzProd\' nella tabella \'ResProdDett_splitODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } set { @@ -14167,7 +14161,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitODL.pzConfColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzConf\' nella tabella \'ResProdDett_splitODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } set { @@ -14183,7 +14177,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitODL.pzRimanColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzRiman\' nella tabella \'ResProdDett_splitODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzRiman\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } set { @@ -14274,7 +14268,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableResProdDett_splitGG.DataColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Data\' nella tabella \'ResProdDett_splitGG\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } set { @@ -14290,7 +14284,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitGG.IdxODLColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxODL\' nella tabella \'ResProdDett_splitGG\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxODL\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } set { @@ -14317,7 +14311,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitGG.pzProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzProd\' nella tabella \'ResProdDett_splitGG\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } set { @@ -14333,7 +14327,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdDett_splitGG.pzConfColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzConf\' nella tabella \'ResProdDett_splitGG\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } set { @@ -14349,7 +14343,7 @@ namespace MapoDb { return ((string)(this[this.tableResProdDett_splitGG.NomeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'ResProdDett_splitGG\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } set { @@ -14365,8 +14359,7 @@ namespace MapoDb { return ((string)(this[this.tableResProdDett_splitGG.CodArticoloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodArticolo\' nella tabella \'ResProdDett_splitGG\' è DBNul" + - "l.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } set { @@ -14502,7 +14495,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdTot.pzOrdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzOrd\' nella tabella \'ResProdTot\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzOrd\' in table \'ResProdTot\' is DBNull.", e); } } set { @@ -14518,7 +14511,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdTot.pzProdColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzProd\' nella tabella \'ResProdTot\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdTot\' is DBNull.", e); } } set { @@ -14534,7 +14527,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdTot.pzConfColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzConf\' nella tabella \'ResProdTot\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdTot\' is DBNull.", e); } } set { @@ -14550,7 +14543,7 @@ namespace MapoDb { return ((int)(this[this.tableResProdTot.pzRimanColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'pzRiman\' nella tabella \'ResProdTot\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'pzRiman\' in table \'ResProdTot\' is DBNull.", e); } } set { @@ -14728,7 +14721,7 @@ namespace MapoDb { return ((string)(this[this.tableRegistroControlli.OperatoreColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Operatore\' nella tabella \'RegistroControlli\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Operatore\' in table \'RegistroControlli\' is DBNull.", e); } } set { @@ -14804,7 +14797,7 @@ namespace MapoDb { return ((string)(this[this.tableRegistroScarti.OperatoreColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Operatore\' nella tabella \'RegistroScarti\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Operatore\' in table \'RegistroScarti\' is DBNull.", e); } } set { @@ -14864,8 +14857,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableRegistroScarti.DataOraProdRecColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataOraProdRec\' nella tabella \'RegistroScarti\' è DBNull." + - "", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataOraProdRec\' in table \'RegistroScarti\' is DBNull.", e); } } set { @@ -15019,7 +15011,7 @@ namespace MapoDb { return ((string)(this[this.tablePromesseODL.DescArticoloColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescArticolo\' nella tabella \'PromesseODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DescArticolo\' in table \'PromesseODL\' is DBNull.", e); } } set { @@ -15057,7 +15049,7 @@ namespace MapoDb { return ((string)(this[this.tablePromesseODL.CodMacchinaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodMacchina\' nella tabella \'PromesseODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'PromesseODL\' is DBNull.", e); } } set { @@ -15073,7 +15065,7 @@ namespace MapoDb { return ((string)(this[this.tablePromesseODL.NomeColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'PromesseODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'PromesseODL\' is DBNull.", e); } } set { @@ -15316,8 +15308,7 @@ namespace MapoDb { return ((string)(this[this.tableElencoConfermeProd.CognomeNomeOprColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CognomeNomeOpr\' nella tabella \'ElencoConfermeProd\' è DBN" + - "ull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CognomeNomeOpr\' in table \'ElencoConfermeProd\' is DBNull.", e); } } set { @@ -15360,7 +15351,7 @@ namespace MapoDb { return ((string)(this[this.tableStatoProd.idxMacchinaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxMacchina\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15376,7 +15367,7 @@ namespace MapoDb { return ((int)(this[this.tableStatoProd.IdxOdlColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'IdxOdl\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'IdxOdl\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15392,7 +15383,7 @@ namespace MapoDb { return ((int)(this[this.tableStatoProd.PzTotODLColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PzTotODL\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PzTotODL\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15408,7 +15399,7 @@ namespace MapoDb { return ((int)(this[this.tableStatoProd.PzConfScartoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PzConfScarto\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PzConfScarto\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15424,7 +15415,7 @@ namespace MapoDb { return ((int)(this[this.tableStatoProd.PzConfBuoniColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PzConfBuoni\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PzConfBuoni\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15440,7 +15431,7 @@ namespace MapoDb { return ((int)(this[this.tableStatoProd.PzRichODLColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'PzRichODL\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'PzRichODL\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15456,7 +15447,7 @@ namespace MapoDb { return ((int)(this[this.tableStatoProd.Pz2RecTotColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Pz2RecTot\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Pz2RecTot\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15472,7 +15463,7 @@ namespace MapoDb { return ((int)(this[this.tableStatoProd.Pz2RecScartoColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'Pz2RecScarto\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'Pz2RecScarto\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15488,7 +15479,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableStatoProd.DataFromColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataFrom\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataFrom\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -15504,7 +15495,7 @@ namespace MapoDb { return ((global::System.DateTime)(this[this.tableStatoProd.DataToColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataTo\' nella tabella \'StatoProd\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'DataTo\' in table \'StatoProd\' is DBNull.", e); } } set { @@ -17445,7 +17436,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[25]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[26]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT * FROM dbo.v_ODL_exp\r\nORDER BY idxODL DESC"; @@ -17461,70 +17452,69 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Approvato", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[2].Connection = this.Connection; - this._commandCollection[2].CommandText = "dbo.stp_ODL_deleteQuery"; + this._commandCollection[2].CommandText = "dbo.stp_ODL_clearSetup"; this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].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, "", "", "")); this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[3].Connection = this.Connection; - this._commandCollection[3].CommandText = "dbo.stp_ODL_dividiDaAltraTav"; + this._commandCollection[3].CommandText = "dbo.stp_ODL_deleteQuery"; this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchinaTo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "dbo.stp_ODL_fineProd"; + this._commandCollection[4].CommandText = "dbo.stp_ODL_dividiDaAltraTav"; this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].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, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchinaTo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = "dbo.stp_ODL_fixMachineSlave"; + this._commandCollection[5].CommandText = "dbo.stp_ODL_fineProd"; this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5].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, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDayPrev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DoInsert", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[6].Connection = this.Connection; - this._commandCollection[6].CommandText = "dbo.stp_ODL_getByCodArt"; + this._commandCollection[6].CommandText = "dbo.stp_ODL_fixMachineSlave"; this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].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, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDayPrev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DoInsert", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[7].Connection = this.Connection; - this._commandCollection[7].CommandText = "dbo.stp_ODL_getByIdx"; + this._commandCollection[7].CommandText = "dbo.stp_ODL_getByCodArt"; this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; 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("@IdxODL", 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("@onlyUnused", 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("@CodArticolo", 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_ODL_getByMacchina"; + this._commandCollection[8].CommandText = "dbo.stp_ODL_getByIdx"; this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[8].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[8].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, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@onlyUnused", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[9].Connection = this.Connection; - this._commandCollection[9].CommandText = "dbo.stp_ODL_getByMacchinaCodArt"; + this._commandCollection[9].CommandText = "dbo.stp_ODL_getByMacchina"; this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[9].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[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[9].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, "", "", "")); this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[10].Connection = this.Connection; - this._commandCollection[10].CommandText = "dbo.stp_ODL_getByMacchinaPeriodo"; + this._commandCollection[10].CommandText = "dbo.stp_ODL_getByMacchinaCodArt"; this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[10].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, "", "", "")); - this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[11].Connection = this.Connection; - this._commandCollection[11].CommandText = "dbo.stp_ODL_getByMacchinaPeriodoNoNull"; + this._commandCollection[11].CommandText = "dbo.stp_ODL_getByMacchinaPeriodo"; this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[11].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[11].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, "", "", "")); @@ -17532,32 +17522,29 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[12].Connection = this.Connection; - this._commandCollection[12].CommandText = "dbo.stp_ODL_getLastByMacchina"; + this._commandCollection[12].CommandText = "dbo.stp_ODL_getByMacchinaPeriodoNoNull"; this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[12].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[12].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, "", "", "")); + this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[13].Connection = this.Connection; - this._commandCollection[13].CommandText = "dbo.stp_ODL_needAppr"; + this._commandCollection[13].CommandText = "dbo.stp_ODL_getLastByMacchina"; this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[13].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[13].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, "", "", "")); this._commandCollection[14] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[14].Connection = this.Connection; - this._commandCollection[14].CommandText = "dbo.stp_ODL_inizioSetup"; + this._commandCollection[14].CommandText = "dbo.stp_ODL_needAppr"; this._commandCollection[14].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[14].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[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[14].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, "", "", "")); - this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[15] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[15].Connection = this.Connection; - this._commandCollection[15].CommandText = "dbo.stp_ODL_inizioSetupPromessa"; + this._commandCollection[15].CommandText = "dbo.stp_ODL_inizioSetup"; this._commandCollection[15].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[15].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[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPromessa", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[15].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, "", "", "")); this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -17565,26 +17552,26 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[16] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[16].Connection = this.Connection; - this._commandCollection[16].CommandText = "dbo.stp_ODL_inizioSetupPromessaPostuma"; + this._commandCollection[16].CommandText = "dbo.stp_ODL_inizioSetupPromessa"; this._commandCollection[16].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[16].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[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPromessa", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[16].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, "", "", "")); + this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[17] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[17].Connection = this.Connection; - this._commandCollection[17].CommandText = "dbo.stp_ODL_insertProvv"; + this._commandCollection[17].CommandText = "dbo.stp_ODL_inizioSetupPromessaPostuma"; this._commandCollection[17].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[17].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[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPromessa", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[17].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, "", "", "")); - this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[18] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[18].Connection = this.Connection; - this._commandCollection[18].CommandText = "dbo.stp_ODL_insertQuery"; + this._commandCollection[18].CommandText = "dbo.stp_ODL_insertProvv"; this._commandCollection[18].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[18].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[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -17592,68 +17579,79 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[18].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, "", "", "")); this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ToAs400", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CommessaAs400", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[19] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[19].Connection = this.Connection; - this._commandCollection[19].CommandText = "dbo.stp_ODL_insPostumo"; + this._commandCollection[19].CommandText = "dbo.stp_ODL_insertQuery"; this._commandCollection[19].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[19].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[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[19].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, "", "", "")); + this._commandCollection[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ToAs400", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[19].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CommessaAs400", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[20] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[20].Connection = this.Connection; - this._commandCollection[20].CommandText = "dbo.stp_ODL_reopenOdlMacc"; + this._commandCollection[20].CommandText = "dbo.stp_ODL_insPostumo"; this._commandCollection[20].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[20].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[20].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[20].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, "", "", "")); this._commandCollection[21] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[21].Connection = this.Connection; - this._commandCollection[21].CommandText = "dbo.stp_ODL_split"; + this._commandCollection[21].CommandText = "dbo.stp_ODL_reopenOdlMacc"; this._commandCollection[21].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[21].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[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[21].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, "", "", "")); - this._commandCollection[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartNewOdl", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QtyRich", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[22] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[22].Connection = this.Connection; - this._commandCollection[22].CommandText = "dbo.stp_ODL_updateQta"; + this._commandCollection[22].CommandText = "dbo.stp_ODL_split"; this._commandCollection[22].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[22].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[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[22].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, "", "", "")); + this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartNewOdl", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QtyRich", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[23] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[23].Connection = this.Connection; - this._commandCollection[23].CommandText = "dbo.stp_ODL_update"; + this._commandCollection[23].CommandText = "dbo.stp_ODL_updateQta"; this._commandCollection[23].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[23].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[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[23].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, "", "", "")); this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataInizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[24] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[24].Connection = this.Connection; - this._commandCollection[24].CommandText = "dbo.stp_ODL_updateSetup"; + this._commandCollection[24].CommandText = "dbo.stp_ODL_update"; this._commandCollection[24].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[24].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[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[24].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, "", "", "")); + this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataInizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[25] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[25].Connection = this.Connection; + this._commandCollection[25].CommandText = "dbo.stp_ODL_updateSetup"; + this._commandCollection[25].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[25].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[25].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[25].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[25].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[25].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[25].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -17685,7 +17683,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_ProdTempi.ODLDataTable getByCodArt(string CodArticolo) { - this.Adapter.SelectCommand = this.CommandCollection[6]; + this.Adapter.SelectCommand = this.CommandCollection[7]; if ((CodArticolo == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } @@ -17702,7 +17700,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_ProdTempi.ODLDataTable getByIdx(global::System.Nullable IdxODL, global::System.Nullable onlyUnused) { - this.Adapter.SelectCommand = this.CommandCollection[7]; + this.Adapter.SelectCommand = this.CommandCollection[8]; if ((IdxODL.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxODL.Value)); } @@ -17725,7 +17723,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_ProdTempi.ODLDataTable getByMacchina(string IdxMacchina) { - this.Adapter.SelectCommand = this.CommandCollection[8]; + this.Adapter.SelectCommand = this.CommandCollection[9]; if ((IdxMacchina == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } @@ -17742,7 +17740,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_ProdTempi.ODLDataTable getByMacchinaArticolo(string CodArticolo, string IdxMacchina) { - this.Adapter.SelectCommand = this.CommandCollection[9]; + this.Adapter.SelectCommand = this.CommandCollection[10]; if ((CodArticolo == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } @@ -17765,35 +17763,6 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_ProdTempi.ODLDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { - this.Adapter.SelectCommand = this.CommandCollection[10]; - if ((IdxMacchina == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); - } - if ((dataFrom.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; - } - if ((dataTo.HasValue == true)) { - this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); - } - else { - this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; - } - DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [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_ProdTempi.ODLDataTable getByMacchinaPeriodoNoNull(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { this.Adapter.SelectCommand = this.CommandCollection[11]; if ((IdxMacchina == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; @@ -17822,7 +17791,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [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_ProdTempi.ODLDataTable getLastByMacc(string IdxMacchina) { + public virtual DS_ProdTempi.ODLDataTable getByMacchinaPeriodoNoNull(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { this.Adapter.SelectCommand = this.CommandCollection[12]; if ((IdxMacchina == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; @@ -17830,6 +17799,35 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } + if ((dataFrom.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((dataTo.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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_ProdTempi.ODLDataTable getLastByMacc(string IdxMacchina) { + this.Adapter.SelectCommand = this.CommandCollection[13]; + if ((IdxMacchina == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); + } DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; @@ -17840,7 +17838,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_ProdTempi.ODLDataTable getNeedAppr() { - this.Adapter.SelectCommand = this.CommandCollection[13]; + this.Adapter.SelectCommand = this.CommandCollection[14]; DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; @@ -17851,7 +17849,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_ProdTempi.ODLDataTable reopenGetLast(string IdxMacchina) { - this.Adapter.SelectCommand = this.CommandCollection[20]; + this.Adapter.SelectCommand = this.CommandCollection[21]; if ((IdxMacchina == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } @@ -17909,12 +17907,46 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile return returnValue; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int clearSetup(global::System.Nullable idxODL, string IdxMacchina) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((idxODL.HasValue == true)) { + command.Parameters[1].Value = ((int)(idxODL.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((IdxMacchina == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(IdxMacchina)); + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [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.Delete, false)] public virtual int DeleteQuery(global::System.Nullable Original_IdxODL) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; if ((Original_IdxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(Original_IdxODL.Value)); } @@ -17942,7 +17974,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int dividiDaAltraTav(global::System.Nullable idxODL, global::System.Nullable MatrOpr, string IdxMacchinaTo) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; if ((idxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(idxODL.Value)); } @@ -17982,7 +18014,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int fineProd(global::System.Nullable idxODL, string IdxMacchina) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; if ((idxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(idxODL.Value)); } @@ -18016,7 +18048,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int fixMachineSlave(string IdxMacchina, global::System.Nullable NumDayPrev, global::System.Nullable DoInsert) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; if ((IdxMacchina == null)) { command.Parameters[1].Value = global::System.DBNull.Value; } @@ -18056,7 +18088,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int inizioSetup(global::System.Nullable idxODL, global::System.Nullable MatrOpr, string IdxMacchina, global::System.Nullable TCRichAttr, global::System.Nullable PzPallet, string Note) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[14]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[15]; if ((idxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(idxODL.Value)); } @@ -18114,7 +18146,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int inizioSetupPromessa(global::System.Nullable idxPromessa, global::System.Nullable MatrOpr, string IdxMacchina, global::System.Nullable TCRichAttr, global::System.Nullable PzPallet, string Note) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[15]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[16]; if ((idxPromessa.HasValue == true)) { command.Parameters[1].Value = ((int)(idxPromessa.Value)); } @@ -18172,7 +18204,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int inizioSetupPromessaPostuma(global::System.Nullable idxPromessa, global::System.Nullable MatrOpr, string IdxMacchina) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[16]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[17]; if ((idxPromessa.HasValue == true)) { command.Parameters[1].Value = ((int)(idxPromessa.Value)); } @@ -18212,7 +18244,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int insertProvv(string CodArticolo, global::System.Nullable MatrOpr, string IdxMacchina, global::System.Nullable NumPezzi, global::System.Nullable TCAssegnato, string Note) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[17]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[18]; if ((CodArticolo == null)) { command.Parameters[1].Value = global::System.DBNull.Value; } @@ -18271,7 +18303,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)] public virtual int InsertQuery(string CodArticolo, global::System.Nullable MatrOpr, string IdxMacchina, global::System.Nullable NumPezzi, global::System.Nullable TCAssegnato, global::System.Nullable PzPallet, global::System.Nullable ToAs400, string CommessaAs400) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[18]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[19]; if ((CodArticolo == null)) { command.Parameters[1].Value = global::System.DBNull.Value; } @@ -18341,7 +18373,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int insPostumo(global::System.Nullable idxODL, string IdxMacchina) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[19]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[20]; if ((idxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(idxODL.Value)); } @@ -18375,7 +18407,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int splitODL(global::System.Nullable idxODL, global::System.Nullable MatrOpr, string IdxMacchina, global::System.Nullable TCRichAttr, global::System.Nullable PzPallet, string Note, global::System.Nullable StartNewOdl, global::System.Nullable QtyRich) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[21]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[22]; if ((idxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(idxODL.Value)); } @@ -18445,7 +18477,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int updateQta(global::System.Nullable NumPezzi, global::System.Nullable PzPallet, global::System.Nullable Original_IdxODL) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[22]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[23]; if ((NumPezzi.HasValue == true)) { command.Parameters[1].Value = ((int)(NumPezzi.Value)); } @@ -18486,7 +18518,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] public virtual int UpdateQuery(string CodArticolo, global::System.Nullable MatrOpr, string IdxMacchina, global::System.Nullable NumPezzi, global::System.Nullable TCAssegnato, global::System.Nullable PzPallet, global::System.Nullable DataInizio, global::System.Nullable DataFine, string Note, global::System.Nullable Original_IdxODL) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[23]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[24]; if ((CodArticolo == null)) { command.Parameters[1].Value = global::System.DBNull.Value; } @@ -18568,7 +18600,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int updateSetup(global::System.Nullable idxODL, global::System.Nullable MatrOpr, global::System.Nullable TCRichAttr, global::System.Nullable PzPallet, string Note) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[24]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[25]; if ((idxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(idxODL.Value)); } @@ -29701,54 +29733,53 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I } if (((this._tempiCicloRilevatiTableAdapter != null) && (this.MatchTableAdapterConnection(this._tempiCicloRilevatiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._anagArticoliTableAdapter != null) && (this.MatchTableAdapterConnection(this._anagArticoliTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._postazioniMapoTableAdapter != null) && (this.MatchTableAdapterConnection(this._postazioniMapoTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._datiConfermatiTableAdapter != null) && (this.MatchTableAdapterConnection(this._datiConfermatiTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._calendFesteFerieTableAdapter != null) && (this.MatchTableAdapterConnection(this._calendFesteFerieTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._datiProduzioneTableAdapter != null) && (this.MatchTableAdapterConnection(this._datiProduzioneTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._turniMacchinaTableAdapter != null) && (this.MatchTableAdapterConnection(this._turniMacchinaTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._mappaStatoExplTableAdapter != null) && (this.MatchTableAdapterConnection(this._mappaStatoExplTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } if (((this._macchine2SlaveTableAdapter != null) && (this.MatchTableAdapterConnection(this._macchine2SlaveTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { - throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" + - "età TableAdapter di ciascun oggetto TableAdapterManager su un\'istanza TableAdapt" + - "er valida."); + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); } bool workConnOpened = false; if (((workConnection.State & global::System.Data.ConnectionState.Broken) @@ -29761,8 +29792,8 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I } global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); if ((workTransaction == null)) { - throw new global::System.ApplicationException("Impossibile avviare la transazione. La connessione dati corrente non supporta le " + - "transazioni oppure lo stato corrente non consente l\'avvio della transazione."); + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); } global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List();