From c901ed9829ea73226e3be410aa4b60953f9e5de5 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 18 Jun 2021 14:26:32 +0200 Subject: [PATCH 1/3] new rel --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 524e66d8..0753f874 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ pipeline { steps { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=1425']) { + withEnv(['NEXT_BUILD_NUMBER=1426']) { // env.versionNumber = VersionNumber(versionNumberString : '6.13.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '6.13.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO' From d333fd0c1af0acdc836f74e1cf4b6d884a43bf37 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 18 Jun 2021 14:26:45 +0200 Subject: [PATCH 2/3] Update metodo split ODL con KeyRIcheista --- MapoDb/DS_ProdTempi.xsd | 21 +- MapoDb/DS_ProdTempi.xss | 12 +- MapoDb/DS_ProdTempi1.Designer.cs | 403 +++++++++++++++---------------- MapoDb/DataLayer.cs | 14 +- 4 files changed, 228 insertions(+), 222 deletions(-) diff --git a/MapoDb/DS_ProdTempi.xsd b/MapoDb/DS_ProdTempi.xsd index 380a3b8e..23ba3ea8 100644 --- a/MapoDb/DS_ProdTempi.xsd +++ b/MapoDb/DS_ProdTempi.xsd @@ -537,6 +537,7 @@ FROM v_ODL_exp ORDER BY IdxODL DESC + @@ -2946,7 +2947,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3027,7 +3028,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3039,7 +3040,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3064,7 +3065,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3102,7 +3103,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3141,7 +3142,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3207,7 +3208,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3284,7 +3285,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3319,7 +3320,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + @@ -3341,7 +3342,7 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I - + diff --git a/MapoDb/DS_ProdTempi.xss b/MapoDb/DS_ProdTempi.xss index 7042ce4b..50df6368 100644 --- a/MapoDb/DS_ProdTempi.xss +++ b/MapoDb/DS_ProdTempi.xss @@ -4,17 +4,17 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - + + - + @@ -24,8 +24,8 @@ - - + + diff --git a/MapoDb/DS_ProdTempi1.Designer.cs b/MapoDb/DS_ProdTempi1.Designer.cs index 2bea3808..fad6a767 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. // //------------------------------------------------------------------------------ @@ -10529,7 +10529,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 { @@ -10545,7 +10545,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 { @@ -10561,7 +10561,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 { @@ -10577,7 +10577,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 { @@ -10615,7 +10615,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 { @@ -10631,7 +10631,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 { @@ -10647,7 +10647,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 { @@ -10674,7 +10674,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 { @@ -10690,7 +10690,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 { @@ -10706,7 +10706,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 { @@ -10722,7 +10722,7 @@ namespace MapoDb { return ((int)(this[this.tableODL.ToAs400Column])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ToAs400\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'ToAs400\' in table \'ODL\' is DBNull.", e); } } set { @@ -10738,7 +10738,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.CommessaAs400Column])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CommessaAs400\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'CommessaAs400\' in table \'ODL\' is DBNull.", e); } } set { @@ -10765,7 +10765,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 { @@ -10781,7 +10781,7 @@ namespace MapoDb { return ((string)(this[this.tableODL.KeyRichiestaColumn])); } catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'KeyRichiesta\' nella tabella \'ODL\' è DBNull.", e); + throw new global::System.Data.StrongTypingException("The value for column \'KeyRichiesta\' in table \'ODL\' is DBNull.", e); } } set { @@ -11024,7 +11024,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 { @@ -11100,7 +11100,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 { @@ -11116,7 +11116,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 { @@ -11132,7 +11132,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 { @@ -11148,7 +11148,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 { @@ -11164,7 +11164,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 { @@ -11180,7 +11180,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 { @@ -11196,7 +11196,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 { @@ -11333,8 +11333,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 { @@ -11361,7 +11360,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 { @@ -11377,7 +11376,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 { @@ -11393,7 +11392,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 { @@ -11472,8 +11471,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 { @@ -11489,8 +11488,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 { @@ -11506,8 +11505,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 { @@ -11523,8 +11521,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 { @@ -11647,7 +11644,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 { @@ -11663,7 +11660,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 { @@ -11690,7 +11687,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 { @@ -11706,7 +11703,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 { @@ -11733,7 +11730,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 { @@ -11749,7 +11746,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 { @@ -11776,7 +11773,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 { @@ -11792,7 +11789,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 { @@ -11808,7 +11805,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 { @@ -11824,7 +11821,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 { @@ -11840,7 +11837,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 { @@ -11856,7 +11853,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 { @@ -11872,7 +11869,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 { @@ -11888,7 +11885,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 { @@ -11904,7 +11901,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 { @@ -11920,8 +11917,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 { @@ -11937,7 +11933,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 { @@ -11953,7 +11949,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 { @@ -12211,7 +12207,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 { @@ -12254,8 +12250,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 { @@ -12342,7 +12337,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 { @@ -12358,7 +12353,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 { @@ -12385,7 +12380,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 { @@ -12401,7 +12396,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 { @@ -12428,7 +12423,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 { @@ -12444,7 +12439,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 { @@ -12460,7 +12455,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 { @@ -12476,7 +12471,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 { @@ -12492,7 +12487,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 { @@ -12508,7 +12503,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 { @@ -12659,8 +12654,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 { @@ -12676,8 +12671,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 { @@ -12693,8 +12688,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 { @@ -12710,8 +12705,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 { @@ -12727,8 +12722,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 { @@ -12744,8 +12739,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 { @@ -12761,8 +12756,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 { @@ -12778,8 +12773,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 { @@ -12795,8 +12790,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 { @@ -12812,8 +12807,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 { @@ -12829,8 +12824,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 { @@ -12846,8 +12841,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 { @@ -12863,8 +12858,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 { @@ -12880,8 +12875,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 { @@ -12897,8 +12892,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 { @@ -13109,8 +13104,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 { @@ -13126,8 +13121,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 { @@ -13182,8 +13177,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 { @@ -13199,8 +13194,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 { @@ -13216,8 +13211,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 { @@ -13233,8 +13228,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 { @@ -13250,8 +13245,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 { @@ -13353,7 +13348,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 { @@ -13369,7 +13364,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 { @@ -13385,7 +13380,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 { @@ -13463,7 +13458,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 { @@ -13490,7 +13485,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 { @@ -13506,7 +13501,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 { @@ -13522,7 +13517,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 { @@ -13538,7 +13533,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 { @@ -13554,7 +13549,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 { @@ -13570,7 +13565,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 { @@ -13586,7 +13581,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 { @@ -13602,7 +13597,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 { @@ -13618,7 +13613,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 { @@ -13634,7 +13629,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 { @@ -13650,8 +13645,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 { @@ -13667,7 +13661,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 { @@ -13683,7 +13677,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 { @@ -13699,7 +13693,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 { @@ -13715,7 +13709,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 { @@ -13731,7 +13725,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 { @@ -13747,7 +13741,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 { @@ -13763,7 +13757,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 { @@ -13779,7 +13773,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 { @@ -13795,7 +13789,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 { @@ -13811,7 +13805,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 { @@ -13827,7 +13821,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 { @@ -13843,7 +13837,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 { @@ -13859,7 +13853,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 { @@ -14190,7 +14184,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 { @@ -14217,7 +14211,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 { @@ -14233,7 +14227,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 { @@ -14249,7 +14243,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 { @@ -14265,7 +14259,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 { @@ -14356,7 +14350,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 { @@ -14372,7 +14366,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 { @@ -14399,7 +14393,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 { @@ -14415,7 +14409,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 { @@ -14431,7 +14425,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 { @@ -14447,8 +14441,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 { @@ -14584,7 +14577,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 { @@ -14600,7 +14593,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 { @@ -14616,7 +14609,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 { @@ -14632,7 +14625,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 { @@ -14810,7 +14803,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 { @@ -14886,7 +14879,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 { @@ -14946,8 +14939,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 { @@ -15101,7 +15093,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 { @@ -15139,7 +15131,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 { @@ -15155,7 +15147,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 { @@ -15398,8 +15390,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 { @@ -15442,7 +15433,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 { @@ -15458,7 +15449,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 { @@ -15474,7 +15465,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 { @@ -15490,7 +15481,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 { @@ -15506,7 +15497,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 { @@ -15522,7 +15513,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 { @@ -15538,7 +15529,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 { @@ -15554,7 +15545,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 { @@ -15570,7 +15561,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 { @@ -15586,7 +15577,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 { @@ -17718,6 +17709,7 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile 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("@StartNewOdl", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[23].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].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyRichiesta", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_updateQta"; @@ -18528,7 +18520,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")] [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) { + 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, string KeyRichiesta) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[23]; if ((idxODL.HasValue == true)) { command.Parameters[1].Value = ((int)(idxODL.Value)); @@ -18578,6 +18570,12 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile else { command.Parameters[8].Value = global::System.DBNull.Value; } + if ((KeyRichiesta == null)) { + command.Parameters[9].Value = global::System.DBNull.Value; + } + else { + command.Parameters[9].Value = ((string)(KeyRichiesta)); + } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; if (((command.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { @@ -29883,54 +29881,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) @@ -29943,8 +29940,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(); diff --git a/MapoDb/DataLayer.cs b/MapoDb/DataLayer.cs index ba74f171..a9679cc4 100644 --- a/MapoDb/DataLayer.cs +++ b/MapoDb/DataLayer.cs @@ -1536,9 +1536,13 @@ namespace MapoDb /// /// Effettua split ODL /// - /// + /// macchina + /// effettuare conferma qty + /// imposta la qty prox ODL da ODL che si chiude + /// STEP x cui arrotondare la quantità prox ODL (corrente come riferimento) + /// Cod ext da associare all'ODL /// - public string forceSplitOdl(string idxMacchina, bool doConfirm, bool qtyFromLast, int roundStep = 100) + public string forceSplitOdl(string idxMacchina, bool doConfirm, bool qtyFromLast, int roundStep = 100, string keyRichiesta = "") { string answ = "KO"; // verifico NON CI SIA un veto a NUOVI split... 2 min di default... @@ -1621,7 +1625,7 @@ namespace MapoDb // attendo 100 msec Thread.Sleep(100); // chiamo splitOdl - MapoDbObj.taODL.splitODL(currData[0].IdxODL, 0, idxMacchina, currData[0].TCRichAttr, currData[0].PzPallet, $"Nuovo ODL da forceSplitOdl", true, qtyNew); + MapoDbObj.taODL.splitODL(currData[0].IdxODL, 0, idxMacchina, currData[0].TCRichAttr, currData[0].PzPallet, $"Nuovo ODL da forceSplitOdl", true, qtyNew, keyRichiesta); // elimino eventuale ODL precedente... string rKey = memLayer.ML.redHash($"ODL:{idxMacchina}"); memLayer.ML.setRSV(rKey, ""); @@ -1638,6 +1642,10 @@ namespace MapoDb string setArtVal = $"{currData[0].CodArticolo}"; string setPzCommVal = $"{qtyNew}"; string setCommVal = $"ODL{newOdl}"; + if (!string.IsNullOrEmpty(keyRichiesta)) + { + setCommVal = $"{keyRichiesta} ODL{newOdl}"; + } try { // invio task caricamento dati ODL From ddfc5767f6a8c48a77709ff230647b598c920683 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 18 Jun 2021 14:26:57 +0200 Subject: [PATCH 3/3] update controller x split ODL con KeyRicheista --- MP-IO/Controllers/IOBController.cs | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/MP-IO/Controllers/IOBController.cs b/MP-IO/Controllers/IOBController.cs index 35838081..1dac9750 100644 --- a/MP-IO/Controllers/IOBController.cs +++ b/MP-IO/Controllers/IOBController.cs @@ -328,7 +328,7 @@ namespace MP_IO.Controllers // attenzione! poiché nell'URL il carattere "#" fiene filtrato ci aspettiamo il carattere "|" che poi trasformiamo ora in "#" id = id.Replace("|", "#"); DataLayer DataLayerObj = new DataLayer(); - return DataLayerObj.forceSplitOdl(id, true, true, 100); + return DataLayerObj.forceSplitOdl(id, true, true, 100, ""); } /// @@ -351,7 +351,31 @@ namespace MP_IO.Controllers { roundStep = 100; } - return DataLayerObj.forceSplitOdl(id, doConfirm, qtyFromLast, (int)roundStep); + return DataLayerObj.forceSplitOdl(id, doConfirm, qtyFromLast, (int)roundStep, ""); + } + + /// + /// Chiude ODL precedente ed avvia uno nuovo (duplicandolo e sitemando quantità RIMANENTE), e CONFERMA produzione... + /// + /// GET: IOB/forceSplitOdl/SIMUL_03?doConfirm=true&qtyFromLast=true&roundStep=150&extOrderCode=ABCDE1234 + /// + /// + /// id impianto + /// + /// + /// + /// Cod esterno da legare all'ODL x tracciare lotti prod + /// Esito chiamata (OK/vuoto) + public string forceSplitOdlFull(string id, bool doConfirm, bool qtyFromLast, int? roundStep, string keyRichiesta) + { + // attenzione! poiché nell'URL il carattere "#" fiene filtrato ci aspettiamo il carattere "|" che poi trasformiamo ora in "#" + id = id.Replace("|", "#"); + DataLayer DataLayerObj = new DataLayer(); + if (roundStep == null) + { + roundStep = 100; + } + return DataLayerObj.forceSplitOdl(id, doConfirm, qtyFromLast, (int)roundStep, keyRichiesta); } ///