diff --git a/MapoDb/DS_ProdTempi1.Designer.cs b/MapoDb/DS_ProdTempi1.Designer.cs index 27ecb6b2..15539939 100644 --- a/MapoDb/DS_ProdTempi1.Designer.cs +++ b/MapoDb/DS_ProdTempi1.Designer.cs @@ -10,9 +10,12 @@ #pragma warning disable 1591 -namespace MapoDb { - - +using System.Data; + +namespace MapoDb +{ + + /// ///Represents a strongly typed in-memory cache of data. /// @@ -22,61 +25,63 @@ namespace MapoDb { [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] [global::System.Xml.Serialization.XmlRootAttribute("DS_ProdTempi")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] - public partial class DS_ProdTempi : global::System.Data.DataSet { - + public partial class DS_ProdTempi : global::System.Data.DataSet + { + private TempiCicloRilevatiDataTable tableTempiCicloRilevati; - + private ODLDataTable tableODL; - + private AnagArticoliDataTable tableAnagArticoli; - + private DatiMacchineDataTable tableDatiMacchine; - + private PostazioniMapoDataTable tablePostazioniMapo; - + private stp_PzProd_getByMacchinaDataTable tablestp_PzProd_getByMacchina; - + private DatiConfermatiDataTable tableDatiConfermati; - + private CalendFesteFerieDataTable tableCalendFesteFerie; - + private stp_TempoByIdxMaccPeriodClassDataTable tablestp_TempoByIdxMaccPeriodClass; - + private DatiProduzioneDataTable tableDatiProduzione; - + private stp_repDonati_getDatiProdMacchinaDataTable tablestp_repDonati_getDatiProdMacchina; - + private stp_repDonati_getLastStatoDurataMacchinaDataTable tablestp_repDonati_getLastStatoDurataMacchina; - + private stp_repDonati_getDatiProdMacchinaPeriodoDataTable tablestp_repDonati_getDatiProdMacchinaPeriodo; - + private TurniMacchinaDataTable tableTurniMacchina; - + private MappaStatoExplDataTable tableMappaStatoExpl; - + private ResProdDett_splitODLDataTable tableResProdDett_splitODL; - + private ResProdDett_splitGGDataTable tableResProdDett_splitGG; - + private ResProdTotDataTable tableResProdTot; - + private RegistroControlliDataTable tableRegistroControlli; - + private RegistroScartiDataTable tableRegistroScarti; - + private PromesseODLDataTable tablePromesseODL; - + private ElencoConfermeProdDataTable tableElencoConfermeProd; - + private StatoProdDataTable tableStatoProd; - + private Macchine2SlaveDataTable tableMacchine2Slave; - + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DS_ProdTempi() { + public DS_ProdTempi() + { this.BeginInit(); this.InitClass(); global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); @@ -84,12 +89,14 @@ namespace MapoDb { base.Relations.CollectionChanged += schemaChangedHandler; this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected DS_ProdTempi(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context, false) { - if ((this.IsBinarySerialized(info, context) == true)) { + protected DS_ProdTempi(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) + { + if ((this.IsBinarySerialized(info, context) == true)) + { this.InitVars(false); global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler1; @@ -97,79 +104,104 @@ namespace MapoDb { return; } string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); - if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) + { global::System.Data.DataSet ds = new global::System.Data.DataSet(); ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - if ((ds.Tables["TempiCicloRilevati"] != null)) { + if ((ds.Tables["TempiCicloRilevati"] != null)) + { base.Tables.Add(new TempiCicloRilevatiDataTable(ds.Tables["TempiCicloRilevati"])); } - if ((ds.Tables["ODL"] != null)) { + if ((ds.Tables["ODL"] != null)) + { base.Tables.Add(new ODLDataTable(ds.Tables["ODL"])); } - if ((ds.Tables["AnagArticoli"] != null)) { + if ((ds.Tables["AnagArticoli"] != null)) + { base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"])); } - if ((ds.Tables["DatiMacchine"] != null)) { + if ((ds.Tables["DatiMacchine"] != null)) + { base.Tables.Add(new DatiMacchineDataTable(ds.Tables["DatiMacchine"])); } - if ((ds.Tables["PostazioniMapo"] != null)) { + if ((ds.Tables["PostazioniMapo"] != null)) + { base.Tables.Add(new PostazioniMapoDataTable(ds.Tables["PostazioniMapo"])); } - if ((ds.Tables["stp_PzProd_getByMacchina"] != null)) { + if ((ds.Tables["stp_PzProd_getByMacchina"] != null)) + { base.Tables.Add(new stp_PzProd_getByMacchinaDataTable(ds.Tables["stp_PzProd_getByMacchina"])); } - if ((ds.Tables["DatiConfermati"] != null)) { + if ((ds.Tables["DatiConfermati"] != null)) + { base.Tables.Add(new DatiConfermatiDataTable(ds.Tables["DatiConfermati"])); } - if ((ds.Tables["CalendFesteFerie"] != null)) { + if ((ds.Tables["CalendFesteFerie"] != null)) + { base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"])); } - if ((ds.Tables["stp_TempoByIdxMaccPeriodClass"] != null)) { + if ((ds.Tables["stp_TempoByIdxMaccPeriodClass"] != null)) + { base.Tables.Add(new stp_TempoByIdxMaccPeriodClassDataTable(ds.Tables["stp_TempoByIdxMaccPeriodClass"])); } - if ((ds.Tables["DatiProduzione"] != null)) { + if ((ds.Tables["DatiProduzione"] != null)) + { base.Tables.Add(new DatiProduzioneDataTable(ds.Tables["DatiProduzione"])); } - if ((ds.Tables["stp_repDonati_getDatiProdMacchina"] != null)) { + if ((ds.Tables["stp_repDonati_getDatiProdMacchina"] != null)) + { base.Tables.Add(new stp_repDonati_getDatiProdMacchinaDataTable(ds.Tables["stp_repDonati_getDatiProdMacchina"])); } - if ((ds.Tables["stp_repDonati_getLastStatoDurataMacchina"] != null)) { + if ((ds.Tables["stp_repDonati_getLastStatoDurataMacchina"] != null)) + { base.Tables.Add(new stp_repDonati_getLastStatoDurataMacchinaDataTable(ds.Tables["stp_repDonati_getLastStatoDurataMacchina"])); } - if ((ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"] != null)) { + if ((ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"] != null)) + { base.Tables.Add(new stp_repDonati_getDatiProdMacchinaPeriodoDataTable(ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"])); } - if ((ds.Tables["TurniMacchina"] != null)) { + if ((ds.Tables["TurniMacchina"] != null)) + { base.Tables.Add(new TurniMacchinaDataTable(ds.Tables["TurniMacchina"])); } - if ((ds.Tables["MappaStatoExpl"] != null)) { + if ((ds.Tables["MappaStatoExpl"] != null)) + { base.Tables.Add(new MappaStatoExplDataTable(ds.Tables["MappaStatoExpl"])); } - if ((ds.Tables["ResProdDett_splitODL"] != null)) { + if ((ds.Tables["ResProdDett_splitODL"] != null)) + { base.Tables.Add(new ResProdDett_splitODLDataTable(ds.Tables["ResProdDett_splitODL"])); } - if ((ds.Tables["ResProdDett_splitGG"] != null)) { + if ((ds.Tables["ResProdDett_splitGG"] != null)) + { base.Tables.Add(new ResProdDett_splitGGDataTable(ds.Tables["ResProdDett_splitGG"])); } - if ((ds.Tables["ResProdTot"] != null)) { + if ((ds.Tables["ResProdTot"] != null)) + { base.Tables.Add(new ResProdTotDataTable(ds.Tables["ResProdTot"])); } - if ((ds.Tables["RegistroControlli"] != null)) { + if ((ds.Tables["RegistroControlli"] != null)) + { base.Tables.Add(new RegistroControlliDataTable(ds.Tables["RegistroControlli"])); } - if ((ds.Tables["RegistroScarti"] != null)) { + if ((ds.Tables["RegistroScarti"] != null)) + { base.Tables.Add(new RegistroScartiDataTable(ds.Tables["RegistroScarti"])); } - if ((ds.Tables["PromesseODL"] != null)) { + if ((ds.Tables["PromesseODL"] != null)) + { base.Tables.Add(new PromesseODLDataTable(ds.Tables["PromesseODL"])); } - if ((ds.Tables["ElencoConfermeProd"] != null)) { + if ((ds.Tables["ElencoConfermeProd"] != null)) + { base.Tables.Add(new ElencoConfermeProdDataTable(ds.Tables["ElencoConfermeProd"])); } - if ((ds.Tables["StatoProd"] != null)) { + if ((ds.Tables["StatoProd"] != null)) + { base.Tables.Add(new StatoProdDataTable(ds.Tables["StatoProd"])); } - if ((ds.Tables["Macchine2Slave"] != null)) { + if ((ds.Tables["Macchine2Slave"] != null)) + { base.Tables.Add(new Macchine2SlaveDataTable(ds.Tables["Macchine2Slave"])); } this.DataSetName = ds.DataSetName; @@ -181,7 +213,8 @@ namespace MapoDb { this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); this.InitVars(); } - else { + else + { this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); } this.GetSerializationData(info, context); @@ -189,384 +222,469 @@ namespace MapoDb { base.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public TempiCicloRilevatiDataTable TempiCicloRilevati { - get { + public TempiCicloRilevatiDataTable TempiCicloRilevati + { + get + { return this.tableTempiCicloRilevati; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public ODLDataTable ODL { - get { + public ODLDataTable ODL + { + get + { return this.tableODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public AnagArticoliDataTable AnagArticoli { - get { + public AnagArticoliDataTable AnagArticoli + { + get + { return this.tableAnagArticoli; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public DatiMacchineDataTable DatiMacchine { - get { + public DatiMacchineDataTable DatiMacchine + { + get + { return this.tableDatiMacchine; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public PostazioniMapoDataTable PostazioniMapo { - get { + public PostazioniMapoDataTable PostazioniMapo + { + get + { return this.tablePostazioniMapo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public stp_PzProd_getByMacchinaDataTable stp_PzProd_getByMacchina { - get { + public stp_PzProd_getByMacchinaDataTable stp_PzProd_getByMacchina + { + get + { return this.tablestp_PzProd_getByMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public DatiConfermatiDataTable DatiConfermati { - get { + public DatiConfermatiDataTable DatiConfermati + { + get + { return this.tableDatiConfermati; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public CalendFesteFerieDataTable CalendFesteFerie { - get { + public CalendFesteFerieDataTable CalendFesteFerie + { + get + { return this.tableCalendFesteFerie; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public stp_TempoByIdxMaccPeriodClassDataTable stp_TempoByIdxMaccPeriodClass { - get { + public stp_TempoByIdxMaccPeriodClassDataTable stp_TempoByIdxMaccPeriodClass + { + get + { return this.tablestp_TempoByIdxMaccPeriodClass; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public DatiProduzioneDataTable DatiProduzione { - get { + public DatiProduzioneDataTable DatiProduzione + { + get + { return this.tableDatiProduzione; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public stp_repDonati_getDatiProdMacchinaDataTable stp_repDonati_getDatiProdMacchina { - get { + public stp_repDonati_getDatiProdMacchinaDataTable stp_repDonati_getDatiProdMacchina + { + get + { return this.tablestp_repDonati_getDatiProdMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public stp_repDonati_getLastStatoDurataMacchinaDataTable stp_repDonati_getLastStatoDurataMacchina { - get { + public stp_repDonati_getLastStatoDurataMacchinaDataTable stp_repDonati_getLastStatoDurataMacchina + { + get + { return this.tablestp_repDonati_getLastStatoDurataMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public stp_repDonati_getDatiProdMacchinaPeriodoDataTable stp_repDonati_getDatiProdMacchinaPeriodo { - get { + public stp_repDonati_getDatiProdMacchinaPeriodoDataTable stp_repDonati_getDatiProdMacchinaPeriodo + { + get + { return this.tablestp_repDonati_getDatiProdMacchinaPeriodo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public TurniMacchinaDataTable TurniMacchina { - get { + public TurniMacchinaDataTable TurniMacchina + { + get + { return this.tableTurniMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public MappaStatoExplDataTable MappaStatoExpl { - get { + public MappaStatoExplDataTable MappaStatoExpl + { + get + { return this.tableMappaStatoExpl; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public ResProdDett_splitODLDataTable ResProdDett_splitODL { - get { + public ResProdDett_splitODLDataTable ResProdDett_splitODL + { + get + { return this.tableResProdDett_splitODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public ResProdDett_splitGGDataTable ResProdDett_splitGG { - get { + public ResProdDett_splitGGDataTable ResProdDett_splitGG + { + get + { return this.tableResProdDett_splitGG; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public ResProdTotDataTable ResProdTot { - get { + public ResProdTotDataTable ResProdTot + { + get + { return this.tableResProdTot; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public RegistroControlliDataTable RegistroControlli { - get { + public RegistroControlliDataTable RegistroControlli + { + get + { return this.tableRegistroControlli; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public RegistroScartiDataTable RegistroScarti { - get { + public RegistroScartiDataTable RegistroScarti + { + get + { return this.tableRegistroScarti; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public PromesseODLDataTable PromesseODL { - get { + public PromesseODLDataTable PromesseODL + { + get + { return this.tablePromesseODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public ElencoConfermeProdDataTable ElencoConfermeProd { - get { + public ElencoConfermeProdDataTable ElencoConfermeProd + { + get + { return this.tableElencoConfermeProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public StatoProdDataTable StatoProd { - get { + public StatoProdDataTable StatoProd + { + get + { return this.tableStatoProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public Macchine2SlaveDataTable Macchine2Slave { - get { + public Macchine2SlaveDataTable Macchine2Slave + { + get + { return this.tableMacchine2Slave; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] - public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { - get { + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode + { + get + { return this._schemaSerializationMode; } - set { + set + { this._schemaSerializationMode = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataTableCollection Tables { - get { + public new global::System.Data.DataTableCollection Tables + { + get + { return base.Tables; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public new global::System.Data.DataRelationCollection Relations { - get { + public new global::System.Data.DataRelationCollection Relations + { + get + { return base.Relations; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void InitializeDerivedDataSet() { + protected override void InitializeDerivedDataSet() + { this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataSet Clone() { + public override global::System.Data.DataSet Clone() + { DS_ProdTempi cln = ((DS_ProdTempi)(base.Clone())); cln.InitVars(); cln.SchemaSerializationMode = this.SchemaSerializationMode; return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override bool ShouldSerializeTables() { + protected override bool ShouldSerializeTables() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override bool ShouldSerializeRelations() { + protected override bool ShouldSerializeRelations() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { - if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) + { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) + { this.Reset(); global::System.Data.DataSet ds = new global::System.Data.DataSet(); ds.ReadXml(reader); - if ((ds.Tables["TempiCicloRilevati"] != null)) { + if ((ds.Tables["TempiCicloRilevati"] != null)) + { base.Tables.Add(new TempiCicloRilevatiDataTable(ds.Tables["TempiCicloRilevati"])); } - if ((ds.Tables["ODL"] != null)) { + if ((ds.Tables["ODL"] != null)) + { base.Tables.Add(new ODLDataTable(ds.Tables["ODL"])); } - if ((ds.Tables["AnagArticoli"] != null)) { + if ((ds.Tables["AnagArticoli"] != null)) + { base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"])); } - if ((ds.Tables["DatiMacchine"] != null)) { + if ((ds.Tables["DatiMacchine"] != null)) + { base.Tables.Add(new DatiMacchineDataTable(ds.Tables["DatiMacchine"])); } - if ((ds.Tables["PostazioniMapo"] != null)) { + if ((ds.Tables["PostazioniMapo"] != null)) + { base.Tables.Add(new PostazioniMapoDataTable(ds.Tables["PostazioniMapo"])); } - if ((ds.Tables["stp_PzProd_getByMacchina"] != null)) { + if ((ds.Tables["stp_PzProd_getByMacchina"] != null)) + { base.Tables.Add(new stp_PzProd_getByMacchinaDataTable(ds.Tables["stp_PzProd_getByMacchina"])); } - if ((ds.Tables["DatiConfermati"] != null)) { + if ((ds.Tables["DatiConfermati"] != null)) + { base.Tables.Add(new DatiConfermatiDataTable(ds.Tables["DatiConfermati"])); } - if ((ds.Tables["CalendFesteFerie"] != null)) { + if ((ds.Tables["CalendFesteFerie"] != null)) + { base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"])); } - if ((ds.Tables["stp_TempoByIdxMaccPeriodClass"] != null)) { + if ((ds.Tables["stp_TempoByIdxMaccPeriodClass"] != null)) + { base.Tables.Add(new stp_TempoByIdxMaccPeriodClassDataTable(ds.Tables["stp_TempoByIdxMaccPeriodClass"])); } - if ((ds.Tables["DatiProduzione"] != null)) { + if ((ds.Tables["DatiProduzione"] != null)) + { base.Tables.Add(new DatiProduzioneDataTable(ds.Tables["DatiProduzione"])); } - if ((ds.Tables["stp_repDonati_getDatiProdMacchina"] != null)) { + if ((ds.Tables["stp_repDonati_getDatiProdMacchina"] != null)) + { base.Tables.Add(new stp_repDonati_getDatiProdMacchinaDataTable(ds.Tables["stp_repDonati_getDatiProdMacchina"])); } - if ((ds.Tables["stp_repDonati_getLastStatoDurataMacchina"] != null)) { + if ((ds.Tables["stp_repDonati_getLastStatoDurataMacchina"] != null)) + { base.Tables.Add(new stp_repDonati_getLastStatoDurataMacchinaDataTable(ds.Tables["stp_repDonati_getLastStatoDurataMacchina"])); } - if ((ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"] != null)) { + if ((ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"] != null)) + { base.Tables.Add(new stp_repDonati_getDatiProdMacchinaPeriodoDataTable(ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"])); } - if ((ds.Tables["TurniMacchina"] != null)) { + if ((ds.Tables["TurniMacchina"] != null)) + { base.Tables.Add(new TurniMacchinaDataTable(ds.Tables["TurniMacchina"])); } - if ((ds.Tables["MappaStatoExpl"] != null)) { + if ((ds.Tables["MappaStatoExpl"] != null)) + { base.Tables.Add(new MappaStatoExplDataTable(ds.Tables["MappaStatoExpl"])); } - if ((ds.Tables["ResProdDett_splitODL"] != null)) { + if ((ds.Tables["ResProdDett_splitODL"] != null)) + { base.Tables.Add(new ResProdDett_splitODLDataTable(ds.Tables["ResProdDett_splitODL"])); } - if ((ds.Tables["ResProdDett_splitGG"] != null)) { + if ((ds.Tables["ResProdDett_splitGG"] != null)) + { base.Tables.Add(new ResProdDett_splitGGDataTable(ds.Tables["ResProdDett_splitGG"])); } - if ((ds.Tables["ResProdTot"] != null)) { + if ((ds.Tables["ResProdTot"] != null)) + { base.Tables.Add(new ResProdTotDataTable(ds.Tables["ResProdTot"])); } - if ((ds.Tables["RegistroControlli"] != null)) { + if ((ds.Tables["RegistroControlli"] != null)) + { base.Tables.Add(new RegistroControlliDataTable(ds.Tables["RegistroControlli"])); } - if ((ds.Tables["RegistroScarti"] != null)) { + if ((ds.Tables["RegistroScarti"] != null)) + { base.Tables.Add(new RegistroScartiDataTable(ds.Tables["RegistroScarti"])); } - if ((ds.Tables["PromesseODL"] != null)) { + if ((ds.Tables["PromesseODL"] != null)) + { base.Tables.Add(new PromesseODLDataTable(ds.Tables["PromesseODL"])); } - if ((ds.Tables["ElencoConfermeProd"] != null)) { + if ((ds.Tables["ElencoConfermeProd"] != null)) + { base.Tables.Add(new ElencoConfermeProdDataTable(ds.Tables["ElencoConfermeProd"])); } - if ((ds.Tables["StatoProd"] != null)) { + if ((ds.Tables["StatoProd"] != null)) + { base.Tables.Add(new StatoProdDataTable(ds.Tables["StatoProd"])); } - if ((ds.Tables["Macchine2Slave"] != null)) { + if ((ds.Tables["Macchine2Slave"] != null)) + { base.Tables.Add(new Macchine2SlaveDataTable(ds.Tables["Macchine2Slave"])); } this.DataSetName = ds.DataSetName; @@ -578,179 +696,232 @@ namespace MapoDb { this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); this.InitVars(); } - else { + else + { this.ReadXml(reader); this.InitVars(); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() + { global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); stream.Position = 0; return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.InitVars(true); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars(bool initTable) { + internal void InitVars(bool initTable) + { this.tableTempiCicloRilevati = ((TempiCicloRilevatiDataTable)(base.Tables["TempiCicloRilevati"])); - if ((initTable == true)) { - if ((this.tableTempiCicloRilevati != null)) { + if ((initTable == true)) + { + if ((this.tableTempiCicloRilevati != null)) + { this.tableTempiCicloRilevati.InitVars(); } } this.tableODL = ((ODLDataTable)(base.Tables["ODL"])); - if ((initTable == true)) { - if ((this.tableODL != null)) { + if ((initTable == true)) + { + if ((this.tableODL != null)) + { this.tableODL.InitVars(); } } this.tableAnagArticoli = ((AnagArticoliDataTable)(base.Tables["AnagArticoli"])); - if ((initTable == true)) { - if ((this.tableAnagArticoli != null)) { + if ((initTable == true)) + { + if ((this.tableAnagArticoli != null)) + { this.tableAnagArticoli.InitVars(); } } this.tableDatiMacchine = ((DatiMacchineDataTable)(base.Tables["DatiMacchine"])); - if ((initTable == true)) { - if ((this.tableDatiMacchine != null)) { + if ((initTable == true)) + { + if ((this.tableDatiMacchine != null)) + { this.tableDatiMacchine.InitVars(); } } this.tablePostazioniMapo = ((PostazioniMapoDataTable)(base.Tables["PostazioniMapo"])); - if ((initTable == true)) { - if ((this.tablePostazioniMapo != null)) { + if ((initTable == true)) + { + if ((this.tablePostazioniMapo != null)) + { this.tablePostazioniMapo.InitVars(); } } this.tablestp_PzProd_getByMacchina = ((stp_PzProd_getByMacchinaDataTable)(base.Tables["stp_PzProd_getByMacchina"])); - if ((initTable == true)) { - if ((this.tablestp_PzProd_getByMacchina != null)) { + if ((initTable == true)) + { + if ((this.tablestp_PzProd_getByMacchina != null)) + { this.tablestp_PzProd_getByMacchina.InitVars(); } } this.tableDatiConfermati = ((DatiConfermatiDataTable)(base.Tables["DatiConfermati"])); - if ((initTable == true)) { - if ((this.tableDatiConfermati != null)) { + if ((initTable == true)) + { + if ((this.tableDatiConfermati != null)) + { this.tableDatiConfermati.InitVars(); } } this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(base.Tables["CalendFesteFerie"])); - if ((initTable == true)) { - if ((this.tableCalendFesteFerie != null)) { + if ((initTable == true)) + { + if ((this.tableCalendFesteFerie != null)) + { this.tableCalendFesteFerie.InitVars(); } } this.tablestp_TempoByIdxMaccPeriodClass = ((stp_TempoByIdxMaccPeriodClassDataTable)(base.Tables["stp_TempoByIdxMaccPeriodClass"])); - if ((initTable == true)) { - if ((this.tablestp_TempoByIdxMaccPeriodClass != null)) { + if ((initTable == true)) + { + if ((this.tablestp_TempoByIdxMaccPeriodClass != null)) + { this.tablestp_TempoByIdxMaccPeriodClass.InitVars(); } } this.tableDatiProduzione = ((DatiProduzioneDataTable)(base.Tables["DatiProduzione"])); - if ((initTable == true)) { - if ((this.tableDatiProduzione != null)) { + if ((initTable == true)) + { + if ((this.tableDatiProduzione != null)) + { this.tableDatiProduzione.InitVars(); } } this.tablestp_repDonati_getDatiProdMacchina = ((stp_repDonati_getDatiProdMacchinaDataTable)(base.Tables["stp_repDonati_getDatiProdMacchina"])); - if ((initTable == true)) { - if ((this.tablestp_repDonati_getDatiProdMacchina != null)) { + if ((initTable == true)) + { + if ((this.tablestp_repDonati_getDatiProdMacchina != null)) + { this.tablestp_repDonati_getDatiProdMacchina.InitVars(); } } this.tablestp_repDonati_getLastStatoDurataMacchina = ((stp_repDonati_getLastStatoDurataMacchinaDataTable)(base.Tables["stp_repDonati_getLastStatoDurataMacchina"])); - if ((initTable == true)) { - if ((this.tablestp_repDonati_getLastStatoDurataMacchina != null)) { + if ((initTable == true)) + { + if ((this.tablestp_repDonati_getLastStatoDurataMacchina != null)) + { this.tablestp_repDonati_getLastStatoDurataMacchina.InitVars(); } } this.tablestp_repDonati_getDatiProdMacchinaPeriodo = ((stp_repDonati_getDatiProdMacchinaPeriodoDataTable)(base.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"])); - if ((initTable == true)) { - if ((this.tablestp_repDonati_getDatiProdMacchinaPeriodo != null)) { + if ((initTable == true)) + { + if ((this.tablestp_repDonati_getDatiProdMacchinaPeriodo != null)) + { this.tablestp_repDonati_getDatiProdMacchinaPeriodo.InitVars(); } } this.tableTurniMacchina = ((TurniMacchinaDataTable)(base.Tables["TurniMacchina"])); - if ((initTable == true)) { - if ((this.tableTurniMacchina != null)) { + if ((initTable == true)) + { + if ((this.tableTurniMacchina != null)) + { this.tableTurniMacchina.InitVars(); } } this.tableMappaStatoExpl = ((MappaStatoExplDataTable)(base.Tables["MappaStatoExpl"])); - if ((initTable == true)) { - if ((this.tableMappaStatoExpl != null)) { + if ((initTable == true)) + { + if ((this.tableMappaStatoExpl != null)) + { this.tableMappaStatoExpl.InitVars(); } } this.tableResProdDett_splitODL = ((ResProdDett_splitODLDataTable)(base.Tables["ResProdDett_splitODL"])); - if ((initTable == true)) { - if ((this.tableResProdDett_splitODL != null)) { + if ((initTable == true)) + { + if ((this.tableResProdDett_splitODL != null)) + { this.tableResProdDett_splitODL.InitVars(); } } this.tableResProdDett_splitGG = ((ResProdDett_splitGGDataTable)(base.Tables["ResProdDett_splitGG"])); - if ((initTable == true)) { - if ((this.tableResProdDett_splitGG != null)) { + if ((initTable == true)) + { + if ((this.tableResProdDett_splitGG != null)) + { this.tableResProdDett_splitGG.InitVars(); } } this.tableResProdTot = ((ResProdTotDataTable)(base.Tables["ResProdTot"])); - if ((initTable == true)) { - if ((this.tableResProdTot != null)) { + if ((initTable == true)) + { + if ((this.tableResProdTot != null)) + { this.tableResProdTot.InitVars(); } } this.tableRegistroControlli = ((RegistroControlliDataTable)(base.Tables["RegistroControlli"])); - if ((initTable == true)) { - if ((this.tableRegistroControlli != null)) { + if ((initTable == true)) + { + if ((this.tableRegistroControlli != null)) + { this.tableRegistroControlli.InitVars(); } } this.tableRegistroScarti = ((RegistroScartiDataTable)(base.Tables["RegistroScarti"])); - if ((initTable == true)) { - if ((this.tableRegistroScarti != null)) { + if ((initTable == true)) + { + if ((this.tableRegistroScarti != null)) + { this.tableRegistroScarti.InitVars(); } } this.tablePromesseODL = ((PromesseODLDataTable)(base.Tables["PromesseODL"])); - if ((initTable == true)) { - if ((this.tablePromesseODL != null)) { + if ((initTable == true)) + { + if ((this.tablePromesseODL != null)) + { this.tablePromesseODL.InitVars(); } } this.tableElencoConfermeProd = ((ElencoConfermeProdDataTable)(base.Tables["ElencoConfermeProd"])); - if ((initTable == true)) { - if ((this.tableElencoConfermeProd != null)) { + if ((initTable == true)) + { + if ((this.tableElencoConfermeProd != null)) + { this.tableElencoConfermeProd.InitVars(); } } this.tableStatoProd = ((StatoProdDataTable)(base.Tables["StatoProd"])); - if ((initTable == true)) { - if ((this.tableStatoProd != null)) { + if ((initTable == true)) + { + if ((this.tableStatoProd != null)) + { this.tableStatoProd.InitVars(); } } this.tableMacchine2Slave = ((Macchine2SlaveDataTable)(base.Tables["Macchine2Slave"])); - if ((initTable == true)) { - if ((this.tableMacchine2Slave != null)) { + if ((initTable == true)) + { + if ((this.tableMacchine2Slave != null)) + { this.tableMacchine2Slave.InitVars(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.DataSetName = "DS_ProdTempi"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DS_ProdTempi.xsd"; @@ -805,162 +976,189 @@ namespace MapoDb { this.tableMacchine2Slave = new Macchine2SlaveDataTable(); base.Tables.Add(this.tableMacchine2Slave); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeTempiCicloRilevati() { + private bool ShouldSerializeTempiCicloRilevati() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeODL() { + private bool ShouldSerializeODL() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeAnagArticoli() { + private bool ShouldSerializeAnagArticoli() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeDatiMacchine() { + private bool ShouldSerializeDatiMacchine() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializePostazioniMapo() { + private bool ShouldSerializePostazioniMapo() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializestp_PzProd_getByMacchina() { + private bool ShouldSerializestp_PzProd_getByMacchina() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeDatiConfermati() { + private bool ShouldSerializeDatiConfermati() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeCalendFesteFerie() { + private bool ShouldSerializeCalendFesteFerie() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializestp_TempoByIdxMaccPeriodClass() { + private bool ShouldSerializestp_TempoByIdxMaccPeriodClass() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeDatiProduzione() { + private bool ShouldSerializeDatiProduzione() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializestp_repDonati_getDatiProdMacchina() { + private bool ShouldSerializestp_repDonati_getDatiProdMacchina() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializestp_repDonati_getLastStatoDurataMacchina() { + private bool ShouldSerializestp_repDonati_getLastStatoDurataMacchina() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializestp_repDonati_getDatiProdMacchinaPeriodo() { + private bool ShouldSerializestp_repDonati_getDatiProdMacchinaPeriodo() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeTurniMacchina() { + private bool ShouldSerializeTurniMacchina() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeMappaStatoExpl() { + private bool ShouldSerializeMappaStatoExpl() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeResProdDett_splitODL() { + private bool ShouldSerializeResProdDett_splitODL() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeResProdDett_splitGG() { + private bool ShouldSerializeResProdDett_splitGG() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeResProdTot() { + private bool ShouldSerializeResProdTot() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeRegistroControlli() { + private bool ShouldSerializeRegistroControlli() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeRegistroScarti() { + private bool ShouldSerializeRegistroScarti() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializePromesseODL() { + private bool ShouldSerializePromesseODL() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeElencoConfermeProd() { + private bool ShouldSerializeElencoConfermeProd() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeStatoProd() { + private bool ShouldSerializeStatoProd() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private bool ShouldSerializeMacchine2Slave() { + private bool ShouldSerializeMacchine2Slave() + { return false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { - if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) + { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) + { this.InitVars(); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { DS_ProdTempi ds = new DS_ProdTempi(); global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); @@ -969,34 +1167,43 @@ namespace MapoDb { sequence.Items.Add(any); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -1004,207 +1211,230 @@ namespace MapoDb { xs.Add(dsSchema); return type; } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void TempiCicloRilevatiRowChangeEventHandler(object sender, TempiCicloRilevatiRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ODLRowChangeEventHandler(object sender, ODLRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void AnagArticoliRowChangeEventHandler(object sender, AnagArticoliRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void DatiMacchineRowChangeEventHandler(object sender, DatiMacchineRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void PostazioniMapoRowChangeEventHandler(object sender, PostazioniMapoRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void stp_PzProd_getByMacchinaRowChangeEventHandler(object sender, stp_PzProd_getByMacchinaRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void DatiConfermatiRowChangeEventHandler(object sender, DatiConfermatiRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void CalendFesteFerieRowChangeEventHandler(object sender, CalendFesteFerieRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void stp_TempoByIdxMaccPeriodClassRowChangeEventHandler(object sender, stp_TempoByIdxMaccPeriodClassRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void DatiProduzioneRowChangeEventHandler(object sender, DatiProduzioneRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void stp_repDonati_getDatiProdMacchinaRowChangeEventHandler(object sender, stp_repDonati_getDatiProdMacchinaRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler(object sender, stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler(object sender, stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void TurniMacchinaRowChangeEventHandler(object sender, TurniMacchinaRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void MappaStatoExplRowChangeEventHandler(object sender, MappaStatoExplRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ResProdDett_splitODLRowChangeEventHandler(object sender, ResProdDett_splitODLRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ResProdDett_splitGGRowChangeEventHandler(object sender, ResProdDett_splitGGRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ResProdTotRowChangeEventHandler(object sender, ResProdTotRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void RegistroControlliRowChangeEventHandler(object sender, RegistroControlliRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void RegistroScartiRowChangeEventHandler(object sender, RegistroScartiRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void PromesseODLRowChangeEventHandler(object sender, PromesseODLRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void ElencoConfermeProdRowChangeEventHandler(object sender, ElencoConfermeProdRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void StatoProdRowChangeEventHandler(object sender, StatoProdRowChangeEvent e); - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public delegate void Macchine2SlaveRowChangeEventHandler(object sender, Macchine2SlaveRowChangeEvent e); - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class TempiCicloRilevatiDataTable : global::System.Data.TypedTableBase { - + public partial class TempiCicloRilevatiDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnDataOraRif; - + private global::System.Data.DataColumn columnTCMedio; - + private global::System.Data.DataColumn columnPzProd; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiDataTable() { + public TempiCicloRilevatiDataTable() + { this.TableName = "TempiCicloRilevati"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal TempiCicloRilevatiDataTable(global::System.Data.DataTable table) { + internal TempiCicloRilevatiDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected TempiCicloRilevatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected TempiCicloRilevatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraRifColumn { - get { + public global::System.Data.DataColumn DataOraRifColumn + { + get + { return this.columnDataOraRif; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCMedioColumn { - get { + public global::System.Data.DataColumn TCMedioColumn + { + get + { return this.columnTCMedio; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PzProdColumn { - get { + public global::System.Data.DataColumn PzProdColumn + { + get + { return this.columnPzProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiRow this[int index] { - get { + public TempiCicloRilevatiRow this[int index] + { + get + { return ((TempiCicloRilevatiRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddTempiCicloRilevatiRow(TempiCicloRilevatiRow row) { + public void AddTempiCicloRilevatiRow(TempiCicloRilevatiRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiRow AddTempiCicloRilevatiRow(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd) { + public TempiCicloRilevatiRow AddTempiCicloRilevatiRow(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd) + { TempiCicloRilevatiRow rowTempiCicloRilevatiRow = ((TempiCicloRilevatiRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxMacchina, @@ -1216,43 +1446,48 @@ namespace MapoDb { this.Rows.Add(rowTempiCicloRilevatiRow); return rowTempiCicloRilevatiRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiRow FindByIdxMacchinaCodArticoloDataOraRif(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif) { + public TempiCicloRilevatiRow FindByIdxMacchinaCodArticoloDataOraRif(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif) + { return ((TempiCicloRilevatiRow)(this.Rows.Find(new object[] { IdxMacchina, CodArticolo, DataOraRif}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { TempiCicloRilevatiDataTable cln = ((TempiCicloRilevatiDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new TempiCicloRilevatiDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxMacchina = base.Columns["IdxMacchina"]; this.columnCodArticolo = base.Columns["CodArticolo"]; this.columnDataOraRif = base.Columns["DataOraRif"]; this.columnTCMedio = base.Columns["TCMedio"]; this.columnPzProd = base.Columns["PzProd"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxMacchina); this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); @@ -1275,70 +1510,83 @@ namespace MapoDb { this.columnTCMedio.AllowDBNull = false; this.columnPzProd.AllowDBNull = false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiRow NewTempiCicloRilevatiRow() { + public TempiCicloRilevatiRow NewTempiCicloRilevatiRow() + { return ((TempiCicloRilevatiRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new TempiCicloRilevatiRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(TempiCicloRilevatiRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.TempiCicloRilevatiRowChanged != null)) { + if ((this.TempiCicloRilevatiRowChanged != null)) + { this.TempiCicloRilevatiRowChanged(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.TempiCicloRilevatiRowChanging != null)) { + if ((this.TempiCicloRilevatiRowChanging != null)) + { this.TempiCicloRilevatiRowChanging(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.TempiCicloRilevatiRowDeleted != null)) { + if ((this.TempiCicloRilevatiRowDeleted != null)) + { this.TempiCicloRilevatiRowDeleted(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.TempiCicloRilevatiRowDeleting != null)) { + if ((this.TempiCicloRilevatiRowDeleting != null)) + { this.TempiCicloRilevatiRowDeleting(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveTempiCicloRilevatiRow(TempiCicloRilevatiRow row) { + public void RemoveTempiCicloRilevatiRow(TempiCicloRilevatiRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -1363,34 +1611,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -1399,304 +1656,357 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class ODLDataTable : global::System.Data.TypedTableBase { - + public partial class ODLDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxODL; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnDescArticolo; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnCodMacchina; - + private global::System.Data.DataColumn columnNome; - + private global::System.Data.DataColumn columnNumPezzi; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnDataInizio; - + private global::System.Data.DataColumn columnDataFine; - + private global::System.Data.DataColumn columnNote; - + private global::System.Data.DataColumn columnNeedAppr; - + private global::System.Data.DataColumn columnUserAppr; - + private global::System.Data.DataColumn columnDataAppr; - + private global::System.Data.DataColumn columnTCRichAttr; - + private global::System.Data.DataColumn columnToAs400; - + private global::System.Data.DataColumn columnCommessaAs400; - + private global::System.Data.DataColumn columnPzPallet; - + private global::System.Data.DataColumn columnOperSetup; - + private global::System.Data.DataColumn columnKeyRichiesta; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ODLDataTable() { + public ODLDataTable() + { this.TableName = "ODL"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ODLDataTable(global::System.Data.DataTable table) { + internal ODLDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected ODLDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected ODLDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxODLColumn { - get { + public global::System.Data.DataColumn IdxODLColumn + { + get + { return this.columnIdxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DescArticoloColumn { - get { + public global::System.Data.DataColumn DescArticoloColumn + { + get + { return this.columnDescArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodMacchinaColumn { - get { + public global::System.Data.DataColumn CodMacchinaColumn + { + get + { return this.columnCodMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { + public global::System.Data.DataColumn NomeColumn + { + get + { return this.columnNome; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NumPezziColumn { - get { + public global::System.Data.DataColumn NumPezziColumn + { + get + { return this.columnNumPezzi; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataInizioColumn { - get { + public global::System.Data.DataColumn DataInizioColumn + { + get + { return this.columnDataInizio; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataFineColumn { - get { + public global::System.Data.DataColumn DataFineColumn + { + get + { return this.columnDataFine; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NoteColumn { - get { + public global::System.Data.DataColumn NoteColumn + { + get + { return this.columnNote; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NeedApprColumn { - get { + public global::System.Data.DataColumn NeedApprColumn + { + get + { return this.columnNeedAppr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn UserApprColumn { - get { + public global::System.Data.DataColumn UserApprColumn + { + get + { return this.columnUserAppr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataApprColumn { - get { + public global::System.Data.DataColumn DataApprColumn + { + get + { return this.columnDataAppr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCRichAttrColumn { - get { + public global::System.Data.DataColumn TCRichAttrColumn + { + get + { return this.columnTCRichAttr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn ToAs400Column { - get { + public global::System.Data.DataColumn ToAs400Column + { + get + { return this.columnToAs400; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CommessaAs400Column { - get { + public global::System.Data.DataColumn CommessaAs400Column + { + get + { return this.columnCommessaAs400; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PzPalletColumn { - get { + public global::System.Data.DataColumn PzPalletColumn + { + get + { return this.columnPzPallet; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn OperSetupColumn { - get { + public global::System.Data.DataColumn OperSetupColumn + { + get + { return this.columnOperSetup; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn KeyRichiestaColumn { - get { + public global::System.Data.DataColumn KeyRichiestaColumn + { + get + { return this.columnKeyRichiesta; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ODLRow this[int index] { - get { + public ODLRow this[int index] + { + get + { return ((ODLRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ODLRowChangeEventHandler ODLRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ODLRowChangeEventHandler ODLRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ODLRowChangeEventHandler ODLRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ODLRowChangeEventHandler ODLRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddODLRow(ODLRow row) { + public void AddODLRow(ODLRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public ODLRow AddODLRow( - string CodArticolo, - string DescArticolo, - string IdxMacchina, - string CodMacchina, - string Nome, - int NumPezzi, - decimal TCAssegnato, - System.DateTime DataInizio, - System.DateTime DataFine, - string Note, - bool NeedAppr, - string UserAppr, - System.DateTime DataAppr, - decimal TCRichAttr, - int ToAs400, - string CommessaAs400, - int PzPallet, - string OperSetup, - string KeyRichiesta) { + string CodArticolo, + string DescArticolo, + string IdxMacchina, + string CodMacchina, + string Nome, + int NumPezzi, + decimal TCAssegnato, + System.DateTime DataInizio, + System.DateTime DataFine, + string Note, + bool NeedAppr, + string UserAppr, + System.DateTime DataAppr, + decimal TCRichAttr, + int ToAs400, + string CommessaAs400, + int PzPallet, + string OperSetup, + string KeyRichiesta) + { ODLRow rowODLRow = ((ODLRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -1723,31 +2033,35 @@ namespace MapoDb { this.Rows.Add(rowODLRow); return rowODLRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ODLRow FindByIdxODL(int IdxODL) { + public ODLRow FindByIdxODL(int IdxODL) + { return ((ODLRow)(this.Rows.Find(new object[] { IdxODL}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { ODLDataTable cln = ((ODLDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new ODLDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxODL = base.Columns["IdxODL"]; this.columnCodArticolo = base.Columns["CodArticolo"]; this.columnDescArticolo = base.Columns["DescArticolo"]; @@ -1769,10 +2083,11 @@ namespace MapoDb { this.columnOperSetup = base.Columns["OperSetup"]; this.columnKeyRichiesta = base.Columns["KeyRichiesta"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxODL); this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); @@ -1844,70 +2159,83 @@ namespace MapoDb { this.columnKeyRichiesta.ReadOnly = true; this.columnKeyRichiesta.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ODLRow NewODLRow() { + public ODLRow NewODLRow() + { return ((ODLRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new ODLRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(ODLRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.ODLRowChanged != null)) { + if ((this.ODLRowChanged != null)) + { this.ODLRowChanged(this, new ODLRowChangeEvent(((ODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.ODLRowChanging != null)) { + if ((this.ODLRowChanging != null)) + { this.ODLRowChanging(this, new ODLRowChangeEvent(((ODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.ODLRowDeleted != null)) { + if ((this.ODLRowDeleted != null)) + { this.ODLRowDeleted(this, new ODLRowChangeEvent(((ODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.ODLRowDeleting != null)) { + if ((this.ODLRowDeleting != null)) + { this.ODLRowDeleting(this, new ODLRowChangeEvent(((ODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveODLRow(ODLRow row) { + public void RemoveODLRow(ODLRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -1932,34 +2260,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -1968,165 +2305,194 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class AnagArticoliDataTable : global::System.Data.TypedTableBase { - + public partial class AnagArticoliDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnDisegno; - + private global::System.Data.DataColumn columnDescArticolo; - + private global::System.Data.DataColumn columnCurrRev; - + private global::System.Data.DataColumn columnProdRev; - + private global::System.Data.DataColumn columnFlagIsNew; - + private global::System.Data.DataColumn columnTipo; - + private global::System.Data.DataColumn columnAzienda; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliDataTable() { + public AnagArticoliDataTable() + { this.TableName = "AnagArticoli"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal AnagArticoliDataTable(global::System.Data.DataTable table) { + internal AnagArticoliDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected AnagArticoliDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected AnagArticoliDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DisegnoColumn { - get { + public global::System.Data.DataColumn DisegnoColumn + { + get + { return this.columnDisegno; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DescArticoloColumn { - get { + public global::System.Data.DataColumn DescArticoloColumn + { + get + { return this.columnDescArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CurrRevColumn { - get { + public global::System.Data.DataColumn CurrRevColumn + { + get + { return this.columnCurrRev; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn ProdRevColumn { - get { + public global::System.Data.DataColumn ProdRevColumn + { + get + { return this.columnProdRev; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn FlagIsNewColumn { - get { + public global::System.Data.DataColumn FlagIsNewColumn + { + get + { return this.columnFlagIsNew; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TipoColumn { - get { + public global::System.Data.DataColumn TipoColumn + { + get + { return this.columnTipo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn AziendaColumn { - get { + public global::System.Data.DataColumn AziendaColumn + { + get + { return this.columnAzienda; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliRow this[int index] { - get { + public AnagArticoliRow this[int index] + { + get + { return ((AnagArticoliRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AnagArticoliRowChangeEventHandler AnagArticoliRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AnagArticoliRowChangeEventHandler AnagArticoliRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AnagArticoliRowChangeEventHandler AnagArticoliRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event AnagArticoliRowChangeEventHandler AnagArticoliRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddAnagArticoliRow(AnagArticoliRow row) { + public void AddAnagArticoliRow(AnagArticoliRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliRow AddAnagArticoliRow(string CodArticolo, string Disegno, string DescArticolo, string CurrRev, string ProdRev, bool FlagIsNew, string Tipo, string Azienda) { + public AnagArticoliRow AddAnagArticoliRow(string CodArticolo, string Disegno, string DescArticolo, string CurrRev, string ProdRev, bool FlagIsNew, string Tipo, string Azienda) + { AnagArticoliRow rowAnagArticoliRow = ((AnagArticoliRow)(this.NewRow())); object[] columnValuesArray = new object[] { CodArticolo, @@ -2141,31 +2507,35 @@ namespace MapoDb { this.Rows.Add(rowAnagArticoliRow); return rowAnagArticoliRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliRow FindByCodArticolo(string CodArticolo) { + public AnagArticoliRow FindByCodArticolo(string CodArticolo) + { return ((AnagArticoliRow)(this.Rows.Find(new object[] { CodArticolo}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { AnagArticoliDataTable cln = ((AnagArticoliDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new AnagArticoliDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnCodArticolo = base.Columns["CodArticolo"]; this.columnDisegno = base.Columns["Disegno"]; this.columnDescArticolo = base.Columns["DescArticolo"]; @@ -2175,10 +2545,11 @@ namespace MapoDb { this.columnTipo = base.Columns["Tipo"]; this.columnAzienda = base.Columns["Azienda"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodArticolo); this.columnDisegno = new global::System.Data.DataColumn("Disegno", typeof(string), null, global::System.Data.MappingType.Element); @@ -2214,70 +2585,83 @@ namespace MapoDb { this.columnAzienda.AllowDBNull = false; this.columnAzienda.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliRow NewAnagArticoliRow() { + public AnagArticoliRow NewAnagArticoliRow() + { return ((AnagArticoliRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new AnagArticoliRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(AnagArticoliRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.AnagArticoliRowChanged != null)) { + if ((this.AnagArticoliRowChanged != null)) + { this.AnagArticoliRowChanged(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.AnagArticoliRowChanging != null)) { + if ((this.AnagArticoliRowChanging != null)) + { this.AnagArticoliRowChanging(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.AnagArticoliRowDeleted != null)) { + if ((this.AnagArticoliRowDeleted != null)) + { this.AnagArticoliRowDeleted(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.AnagArticoliRowDeleting != null)) { + if ((this.AnagArticoliRowDeleting != null)) + { this.AnagArticoliRowDeleting(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveAnagArticoliRow(AnagArticoliRow row) { + public void RemoveAnagArticoliRow(AnagArticoliRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -2302,34 +2686,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -2338,175 +2731,206 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class DatiMacchineDataTable : global::System.Data.TypedTableBase { - + public partial class DatiMacchineDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnidxMacchina; - + private global::System.Data.DataColumn columnDescFull; - + private global::System.Data.DataColumn columnpalletChange; - + private global::System.Data.DataColumn columnserialPort; - + private global::System.Data.DataColumn columnrefreshPeriod; - + private global::System.Data.DataColumn columnsimulazione; - + private global::System.Data.DataColumn columnCodArticolo_A; - + private global::System.Data.DataColumn columnCodArticolo_B; - + private global::System.Data.DataColumn columnhasCounter; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineDataTable() { + public DatiMacchineDataTable() + { this.TableName = "DatiMacchine"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal DatiMacchineDataTable(global::System.Data.DataTable table) { + internal DatiMacchineDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected DatiMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected DatiMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxMacchinaColumn { - get { + public global::System.Data.DataColumn idxMacchinaColumn + { + get + { return this.columnidxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DescFullColumn { - get { + public global::System.Data.DataColumn DescFullColumn + { + get + { return this.columnDescFull; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn palletChangeColumn { - get { + public global::System.Data.DataColumn palletChangeColumn + { + get + { return this.columnpalletChange; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn serialPortColumn { - get { + public global::System.Data.DataColumn serialPortColumn + { + get + { return this.columnserialPort; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn refreshPeriodColumn { - get { + public global::System.Data.DataColumn refreshPeriodColumn + { + get + { return this.columnrefreshPeriod; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn simulazioneColumn { - get { + public global::System.Data.DataColumn simulazioneColumn + { + get + { return this.columnsimulazione; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticolo_AColumn { - get { + public global::System.Data.DataColumn CodArticolo_AColumn + { + get + { return this.columnCodArticolo_A; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticolo_BColumn { - get { + public global::System.Data.DataColumn CodArticolo_BColumn + { + get + { return this.columnCodArticolo_B; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn hasCounterColumn { - get { + public global::System.Data.DataColumn hasCounterColumn + { + get + { return this.columnhasCounter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineRow this[int index] { - get { + public DatiMacchineRow this[int index] + { + get + { return ((DatiMacchineRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiMacchineRowChangeEventHandler DatiMacchineRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiMacchineRowChangeEventHandler DatiMacchineRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiMacchineRowChangeEventHandler DatiMacchineRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiMacchineRowChangeEventHandler DatiMacchineRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddDatiMacchineRow(DatiMacchineRow row) { + public void AddDatiMacchineRow(DatiMacchineRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineRow AddDatiMacchineRow(string idxMacchina, string DescFull, bool palletChange, string serialPort, int refreshPeriod, bool simulazione, string CodArticolo_A, string CodArticolo_B, bool hasCounter) { + public DatiMacchineRow AddDatiMacchineRow(string idxMacchina, string DescFull, bool palletChange, string serialPort, int refreshPeriod, bool simulazione, string CodArticolo_A, string CodArticolo_B, bool hasCounter) + { DatiMacchineRow rowDatiMacchineRow = ((DatiMacchineRow)(this.NewRow())); object[] columnValuesArray = new object[] { idxMacchina, @@ -2522,31 +2946,35 @@ namespace MapoDb { this.Rows.Add(rowDatiMacchineRow); return rowDatiMacchineRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineRow FindByidxMacchina(string idxMacchina) { + public DatiMacchineRow FindByidxMacchina(string idxMacchina) + { return ((DatiMacchineRow)(this.Rows.Find(new object[] { idxMacchina}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { DatiMacchineDataTable cln = ((DatiMacchineDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new DatiMacchineDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnidxMacchina = base.Columns["idxMacchina"]; this.columnDescFull = base.Columns["DescFull"]; this.columnpalletChange = base.Columns["palletChange"]; @@ -2557,10 +2985,11 @@ namespace MapoDb { this.columnCodArticolo_B = base.Columns["CodArticolo_B"]; this.columnhasCounter = base.Columns["hasCounter"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidxMacchina); this.columnDescFull = new global::System.Data.DataColumn("DescFull", typeof(string), null, global::System.Data.MappingType.Element); @@ -2590,70 +3019,83 @@ namespace MapoDb { this.columnCodArticolo_B.MaxLength = 50; this.columnhasCounter.AllowDBNull = false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineRow NewDatiMacchineRow() { + public DatiMacchineRow NewDatiMacchineRow() + { return ((DatiMacchineRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new DatiMacchineRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(DatiMacchineRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.DatiMacchineRowChanged != null)) { + if ((this.DatiMacchineRowChanged != null)) + { this.DatiMacchineRowChanged(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.DatiMacchineRowChanging != null)) { + if ((this.DatiMacchineRowChanging != null)) + { this.DatiMacchineRowChanging(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.DatiMacchineRowDeleted != null)) { + if ((this.DatiMacchineRowDeleted != null)) + { this.DatiMacchineRowDeleted(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.DatiMacchineRowDeleting != null)) { + if ((this.DatiMacchineRowDeleting != null)) + { this.DatiMacchineRowDeleting(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveDatiMacchineRow(DatiMacchineRow row) { + public void RemoveDatiMacchineRow(DatiMacchineRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -2678,34 +3120,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -2714,145 +3165,170 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class PostazioniMapoDataTable : global::System.Data.TypedTableBase { - + public partial class PostazioniMapoDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxPostazione; - + private global::System.Data.DataColumn columnDescPostazione; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnMatrOperatore; - + private global::System.Data.DataColumn columnInputUntil; - + private global::System.Data.DataColumn columnLastBarcode; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoDataTable() { + public PostazioniMapoDataTable() + { this.TableName = "PostazioniMapo"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal PostazioniMapoDataTable(global::System.Data.DataTable table) { + internal PostazioniMapoDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected PostazioniMapoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected PostazioniMapoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxPostazioneColumn { - get { + public global::System.Data.DataColumn IdxPostazioneColumn + { + get + { return this.columnIdxPostazione; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DescPostazioneColumn { - get { + public global::System.Data.DataColumn DescPostazioneColumn + { + get + { return this.columnDescPostazione; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrOperatoreColumn { - get { + public global::System.Data.DataColumn MatrOperatoreColumn + { + get + { return this.columnMatrOperatore; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn InputUntilColumn { - get { + public global::System.Data.DataColumn InputUntilColumn + { + get + { return this.columnInputUntil; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn LastBarcodeColumn { - get { + public global::System.Data.DataColumn LastBarcodeColumn + { + get + { return this.columnLastBarcode; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoRow this[int index] { - get { + public PostazioniMapoRow this[int index] + { + get + { return ((PostazioniMapoRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddPostazioniMapoRow(PostazioniMapoRow row) { + public void AddPostazioniMapoRow(PostazioniMapoRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoRow AddPostazioniMapoRow(string IdxPostazione, string DescPostazione, string IdxMacchina, int MatrOperatore, System.DateTime InputUntil, string LastBarcode) { + public PostazioniMapoRow AddPostazioniMapoRow(string IdxPostazione, string DescPostazione, string IdxMacchina, int MatrOperatore, System.DateTime InputUntil, string LastBarcode) + { PostazioniMapoRow rowPostazioniMapoRow = ((PostazioniMapoRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxPostazione, @@ -2865,31 +3341,35 @@ namespace MapoDb { this.Rows.Add(rowPostazioniMapoRow); return rowPostazioniMapoRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoRow FindByIdxPostazione(string IdxPostazione) { + public PostazioniMapoRow FindByIdxPostazione(string IdxPostazione) + { return ((PostazioniMapoRow)(this.Rows.Find(new object[] { IdxPostazione}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { PostazioniMapoDataTable cln = ((PostazioniMapoDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new PostazioniMapoDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxPostazione = base.Columns["IdxPostazione"]; this.columnDescPostazione = base.Columns["DescPostazione"]; this.columnIdxMacchina = base.Columns["IdxMacchina"]; @@ -2897,10 +3377,11 @@ namespace MapoDb { this.columnInputUntil = base.Columns["InputUntil"]; this.columnLastBarcode = base.Columns["LastBarcode"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxPostazione = new global::System.Data.DataColumn("IdxPostazione", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxPostazione); this.columnDescPostazione = new global::System.Data.DataColumn("DescPostazione", typeof(string), null, global::System.Data.MappingType.Element); @@ -2923,70 +3404,83 @@ namespace MapoDb { this.columnIdxMacchina.MaxLength = 50; this.columnLastBarcode.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoRow NewPostazioniMapoRow() { + public PostazioniMapoRow NewPostazioniMapoRow() + { return ((PostazioniMapoRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new PostazioniMapoRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(PostazioniMapoRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.PostazioniMapoRowChanged != null)) { + if ((this.PostazioniMapoRowChanged != null)) + { this.PostazioniMapoRowChanged(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.PostazioniMapoRowChanging != null)) { + if ((this.PostazioniMapoRowChanging != null)) + { this.PostazioniMapoRowChanging(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.PostazioniMapoRowDeleted != null)) { + if ((this.PostazioniMapoRowDeleted != null)) + { this.PostazioniMapoRowDeleted(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.PostazioniMapoRowDeleting != null)) { + if ((this.PostazioniMapoRowDeleting != null)) + { this.PostazioniMapoRowDeleting(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemovePostazioniMapoRow(PostazioniMapoRow row) { + public void RemovePostazioniMapoRow(PostazioniMapoRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -3011,34 +3505,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -3047,125 +3550,146 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class stp_PzProd_getByMacchinaDataTable : global::System.Data.TypedTableBase { - + public partial class stp_PzProd_getByMacchinaDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnidxMacchina; - + private global::System.Data.DataColumn columnpezziNonConfermati; - + private global::System.Data.DataColumn columnDataFrom; - + private global::System.Data.DataColumn columnDataTo; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_PzProd_getByMacchinaDataTable() { + public stp_PzProd_getByMacchinaDataTable() + { this.TableName = "stp_PzProd_getByMacchina"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_PzProd_getByMacchinaDataTable(global::System.Data.DataTable table) { + internal stp_PzProd_getByMacchinaDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected stp_PzProd_getByMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected stp_PzProd_getByMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxMacchinaColumn { - get { + public global::System.Data.DataColumn idxMacchinaColumn + { + get + { return this.columnidxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pezziNonConfermatiColumn { - get { + public global::System.Data.DataColumn pezziNonConfermatiColumn + { + get + { return this.columnpezziNonConfermati; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataFromColumn { - get { + public global::System.Data.DataColumn DataFromColumn + { + get + { return this.columnDataFrom; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataToColumn { - get { + public global::System.Data.DataColumn DataToColumn + { + get + { return this.columnDataTo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_PzProd_getByMacchinaRow this[int index] { - get { + public stp_PzProd_getByMacchinaRow this[int index] + { + get + { return ((stp_PzProd_getByMacchinaRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Addstp_PzProd_getByMacchinaRow(stp_PzProd_getByMacchinaRow row) { + public void Addstp_PzProd_getByMacchinaRow(stp_PzProd_getByMacchinaRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_PzProd_getByMacchinaRow Addstp_PzProd_getByMacchinaRow(string idxMacchina, int pezziNonConfermati, System.DateTime DataFrom, System.DateTime DataTo) { + public stp_PzProd_getByMacchinaRow Addstp_PzProd_getByMacchinaRow(string idxMacchina, int pezziNonConfermati, System.DateTime DataFrom, System.DateTime DataTo) + { stp_PzProd_getByMacchinaRow rowstp_PzProd_getByMacchinaRow = ((stp_PzProd_getByMacchinaRow)(this.NewRow())); object[] columnValuesArray = new object[] { idxMacchina, @@ -3176,33 +3700,37 @@ namespace MapoDb { this.Rows.Add(rowstp_PzProd_getByMacchinaRow); return rowstp_PzProd_getByMacchinaRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { stp_PzProd_getByMacchinaDataTable cln = ((stp_PzProd_getByMacchinaDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new stp_PzProd_getByMacchinaDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnidxMacchina = base.Columns["idxMacchina"]; this.columnpezziNonConfermati = base.Columns["pezziNonConfermati"]; this.columnDataFrom = base.Columns["DataFrom"]; this.columnDataTo = base.Columns["DataTo"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidxMacchina); this.columnpezziNonConfermati = new global::System.Data.DataColumn("pezziNonConfermati", typeof(int), null, global::System.Data.MappingType.Element); @@ -3217,70 +3745,83 @@ namespace MapoDb { this.columnDataFrom.ReadOnly = true; this.columnDataTo.ReadOnly = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_PzProd_getByMacchinaRow Newstp_PzProd_getByMacchinaRow() { + public stp_PzProd_getByMacchinaRow Newstp_PzProd_getByMacchinaRow() + { return ((stp_PzProd_getByMacchinaRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new stp_PzProd_getByMacchinaRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(stp_PzProd_getByMacchinaRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.stp_PzProd_getByMacchinaRowChanged != null)) { + if ((this.stp_PzProd_getByMacchinaRowChanged != null)) + { this.stp_PzProd_getByMacchinaRowChanged(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.stp_PzProd_getByMacchinaRowChanging != null)) { + if ((this.stp_PzProd_getByMacchinaRowChanging != null)) + { this.stp_PzProd_getByMacchinaRowChanging(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.stp_PzProd_getByMacchinaRowDeleted != null)) { + if ((this.stp_PzProd_getByMacchinaRowDeleted != null)) + { this.stp_PzProd_getByMacchinaRowDeleted(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.stp_PzProd_getByMacchinaRowDeleting != null)) { + if ((this.stp_PzProd_getByMacchinaRowDeleting != null)) + { this.stp_PzProd_getByMacchinaRowDeleting(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Removestp_PzProd_getByMacchinaRow(stp_PzProd_getByMacchinaRow row) { + public void Removestp_PzProd_getByMacchinaRow(stp_PzProd_getByMacchinaRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -3305,34 +3846,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -3341,359 +3891,422 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class DatiConfermatiDataTable : global::System.Data.TypedTableBase { - + public partial class DatiConfermatiDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxConferma; - + private global::System.Data.DataColumn columnIdxODL; - + private global::System.Data.DataColumn columnDataOraApp; - + private global::System.Data.DataColumn columnDataRif; - + private global::System.Data.DataColumn columnTurnoRif; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnMatrOpr; - + private global::System.Data.DataColumn columnMatrApp; - + private global::System.Data.DataColumn columnDataOraFrom; - + private global::System.Data.DataColumn columnDataOraTo; - + private global::System.Data.DataColumn columnIdxStato; - + private global::System.Data.DataColumn columnTotPzProd; - + private global::System.Data.DataColumn columnTempoProdotto; - + private global::System.Data.DataColumn columnTempoCron; - + private global::System.Data.DataColumn columnTempoND; - + private global::System.Data.DataColumn columnTempoApertura; - + private global::System.Data.DataColumn columnTempoOFF; - + private global::System.Data.DataColumn columnTempoON; - + private global::System.Data.DataColumn columnTempoFermoOn; - + private global::System.Data.DataColumn columnTempoAuto; - + private global::System.Data.DataColumn columnTempoFermoAuto; - + private global::System.Data.DataColumn columnTempoRun; - + private global::System.Data.DataColumn columnTotPzFermo; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiConfermatiDataTable() { + public DatiConfermatiDataTable() + { this.TableName = "DatiConfermati"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal DatiConfermatiDataTable(global::System.Data.DataTable table) { + internal DatiConfermatiDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected DatiConfermatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected DatiConfermatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxConfermaColumn { - get { + public global::System.Data.DataColumn IdxConfermaColumn + { + get + { return this.columnIdxConferma; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxODLColumn { - get { + public global::System.Data.DataColumn IdxODLColumn + { + get + { return this.columnIdxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraAppColumn { - get { + public global::System.Data.DataColumn DataOraAppColumn + { + get + { return this.columnDataOraApp; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataRifColumn { - get { + public global::System.Data.DataColumn DataRifColumn + { + get + { return this.columnDataRif; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TurnoRifColumn { - get { + public global::System.Data.DataColumn TurnoRifColumn + { + get + { return this.columnTurnoRif; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrOprColumn { - get { + public global::System.Data.DataColumn MatrOprColumn + { + get + { return this.columnMatrOpr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrAppColumn { - get { + public global::System.Data.DataColumn MatrAppColumn + { + get + { return this.columnMatrApp; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraFromColumn { - get { + public global::System.Data.DataColumn DataOraFromColumn + { + get + { return this.columnDataOraFrom; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraToColumn { - get { + public global::System.Data.DataColumn DataOraToColumn + { + get + { return this.columnDataOraTo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxStatoColumn { - get { + public global::System.Data.DataColumn IdxStatoColumn + { + get + { return this.columnIdxStato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TotPzProdColumn { - get { + public global::System.Data.DataColumn TotPzProdColumn + { + get + { return this.columnTotPzProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoProdottoColumn { - get { + public global::System.Data.DataColumn TempoProdottoColumn + { + get + { return this.columnTempoProdotto; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoCronColumn { - get { + public global::System.Data.DataColumn TempoCronColumn + { + get + { return this.columnTempoCron; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoNDColumn { - get { + public global::System.Data.DataColumn TempoNDColumn + { + get + { return this.columnTempoND; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoAperturaColumn { - get { + public global::System.Data.DataColumn TempoAperturaColumn + { + get + { return this.columnTempoApertura; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoOFFColumn { - get { + public global::System.Data.DataColumn TempoOFFColumn + { + get + { return this.columnTempoOFF; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoONColumn { - get { + public global::System.Data.DataColumn TempoONColumn + { + get + { return this.columnTempoON; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoFermoOnColumn { - get { + public global::System.Data.DataColumn TempoFermoOnColumn + { + get + { return this.columnTempoFermoOn; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoAutoColumn { - get { + public global::System.Data.DataColumn TempoAutoColumn + { + get + { return this.columnTempoAuto; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoFermoAutoColumn { - get { + public global::System.Data.DataColumn TempoFermoAutoColumn + { + get + { return this.columnTempoFermoAuto; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoRunColumn { - get { + public global::System.Data.DataColumn TempoRunColumn + { + get + { return this.columnTempoRun; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TotPzFermoColumn { - get { + public global::System.Data.DataColumn TotPzFermoColumn + { + get + { return this.columnTotPzFermo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiConfermatiRow this[int index] { - get { + public DatiConfermatiRow this[int index] + { + get + { return ((DatiConfermatiRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddDatiConfermatiRow(DatiConfermatiRow row) { + public void AddDatiConfermatiRow(DatiConfermatiRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatiConfermatiRow AddDatiConfermatiRow( - int IdxODL, - System.DateTime DataOraApp, - System.DateTime DataRif, - int TurnoRif, - string CodArticolo, - string IdxMacchina, - decimal TCAssegnato, - int MatrOpr, - int MatrApp, - System.DateTime DataOraFrom, - System.DateTime DataOraTo, - int IdxStato, - int TotPzProd, - decimal TempoProdotto, - decimal TempoCron, - decimal TempoND, - decimal TempoApertura, - decimal TempoOFF, - decimal TempoON, - decimal TempoFermoOn, - decimal TempoAuto, - decimal TempoFermoAuto, - decimal TempoRun, - int TotPzFermo) { + int IdxODL, + System.DateTime DataOraApp, + System.DateTime DataRif, + int TurnoRif, + string CodArticolo, + string IdxMacchina, + decimal TCAssegnato, + int MatrOpr, + int MatrApp, + System.DateTime DataOraFrom, + System.DateTime DataOraTo, + int IdxStato, + int TotPzProd, + decimal TempoProdotto, + decimal TempoCron, + decimal TempoND, + decimal TempoApertura, + decimal TempoOFF, + decimal TempoON, + decimal TempoFermoOn, + decimal TempoAuto, + decimal TempoFermoAuto, + decimal TempoRun, + int TotPzFermo) + { DatiConfermatiRow rowDatiConfermatiRow = ((DatiConfermatiRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -3725,31 +4338,35 @@ namespace MapoDb { this.Rows.Add(rowDatiConfermatiRow); return rowDatiConfermatiRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiConfermatiRow FindByIdxConferma(int IdxConferma) { + public DatiConfermatiRow FindByIdxConferma(int IdxConferma) + { return ((DatiConfermatiRow)(this.Rows.Find(new object[] { IdxConferma}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { DatiConfermatiDataTable cln = ((DatiConfermatiDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new DatiConfermatiDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxConferma = base.Columns["IdxConferma"]; this.columnIdxODL = base.Columns["IdxODL"]; this.columnDataOraApp = base.Columns["DataOraApp"]; @@ -3776,10 +4393,11 @@ namespace MapoDb { this.columnTempoRun = base.Columns["TempoRun"]; this.columnTotPzFermo = base.Columns["TotPzFermo"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxConferma = new global::System.Data.DataColumn("IdxConferma", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxConferma); this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element); @@ -3847,70 +4465,83 @@ namespace MapoDb { this.columnMatrApp.AllowDBNull = false; this.columnIdxStato.AllowDBNull = false; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiConfermatiRow NewDatiConfermatiRow() { + public DatiConfermatiRow NewDatiConfermatiRow() + { return ((DatiConfermatiRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new DatiConfermatiRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(DatiConfermatiRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.DatiConfermatiRowChanged != null)) { + if ((this.DatiConfermatiRowChanged != null)) + { this.DatiConfermatiRowChanged(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.DatiConfermatiRowChanging != null)) { + if ((this.DatiConfermatiRowChanging != null)) + { this.DatiConfermatiRowChanging(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.DatiConfermatiRowDeleted != null)) { + if ((this.DatiConfermatiRowDeleted != null)) + { this.DatiConfermatiRowDeleted(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.DatiConfermatiRowDeleting != null)) { + if ((this.DatiConfermatiRowDeleting != null)) + { this.DatiConfermatiRowDeleting(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveDatiConfermatiRow(DatiConfermatiRow row) { + public void RemoveDatiConfermatiRow(DatiConfermatiRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -3935,34 +4566,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -3971,105 +4611,122 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class CalendFesteFerieDataTable : global::System.Data.TypedTableBase { - + public partial class CalendFesteFerieDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columndata; - + private global::System.Data.DataColumn columndescrizione; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieDataTable() { + public CalendFesteFerieDataTable() + { this.TableName = "CalendFesteFerie"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal CalendFesteFerieDataTable(global::System.Data.DataTable table) { + internal CalendFesteFerieDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected CalendFesteFerieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected CalendFesteFerieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn dataColumn { - get { + public global::System.Data.DataColumn dataColumn + { + get + { return this.columndata; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn descrizioneColumn { - get { + public global::System.Data.DataColumn descrizioneColumn + { + get + { return this.columndescrizione; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieRow this[int index] { - get { + public CalendFesteFerieRow this[int index] + { + get + { return ((CalendFesteFerieRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddCalendFesteFerieRow(CalendFesteFerieRow row) { + public void AddCalendFesteFerieRow(CalendFesteFerieRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieRow AddCalendFesteFerieRow(System.DateTime data, string descrizione) { + public CalendFesteFerieRow AddCalendFesteFerieRow(System.DateTime data, string descrizione) + { CalendFesteFerieRow rowCalendFesteFerieRow = ((CalendFesteFerieRow)(this.NewRow())); object[] columnValuesArray = new object[] { data, @@ -4078,38 +4735,43 @@ namespace MapoDb { this.Rows.Add(rowCalendFesteFerieRow); return rowCalendFesteFerieRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieRow FindBydata(System.DateTime data) { + public CalendFesteFerieRow FindBydata(System.DateTime data) + { return ((CalendFesteFerieRow)(this.Rows.Find(new object[] { data}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { CalendFesteFerieDataTable cln = ((CalendFesteFerieDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new CalendFesteFerieDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columndata = base.Columns["data"]; this.columndescrizione = base.Columns["descrizione"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columndata); this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); @@ -4120,70 +4782,83 @@ namespace MapoDb { this.columndata.Unique = true; this.columndescrizione.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieRow NewCalendFesteFerieRow() { + public CalendFesteFerieRow NewCalendFesteFerieRow() + { return ((CalendFesteFerieRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new CalendFesteFerieRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(CalendFesteFerieRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.CalendFesteFerieRowChanged != null)) { + if ((this.CalendFesteFerieRowChanged != null)) + { this.CalendFesteFerieRowChanged(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.CalendFesteFerieRowChanging != null)) { + if ((this.CalendFesteFerieRowChanging != null)) + { this.CalendFesteFerieRowChanging(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.CalendFesteFerieRowDeleted != null)) { + if ((this.CalendFesteFerieRowDeleted != null)) + { this.CalendFesteFerieRowDeleted(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.CalendFesteFerieRowDeleting != null)) { + if ((this.CalendFesteFerieRowDeleting != null)) + { this.CalendFesteFerieRowDeleting(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveCalendFesteFerieRow(CalendFesteFerieRow row) { + public void RemoveCalendFesteFerieRow(CalendFesteFerieRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -4208,34 +4883,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -4244,95 +4928,110 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class stp_TempoByIdxMaccPeriodClassDataTable : global::System.Data.TypedTableBase { - + public partial class stp_TempoByIdxMaccPeriodClassDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnore; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_TempoByIdxMaccPeriodClassDataTable() { + public stp_TempoByIdxMaccPeriodClassDataTable() + { this.TableName = "stp_TempoByIdxMaccPeriodClass"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_TempoByIdxMaccPeriodClassDataTable(global::System.Data.DataTable table) { + internal stp_TempoByIdxMaccPeriodClassDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected stp_TempoByIdxMaccPeriodClassDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected stp_TempoByIdxMaccPeriodClassDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn oreColumn { - get { + public global::System.Data.DataColumn oreColumn + { + get + { return this.columnore; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_TempoByIdxMaccPeriodClassRow this[int index] { - get { + public stp_TempoByIdxMaccPeriodClassRow this[int index] + { + get + { return ((stp_TempoByIdxMaccPeriodClassRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Addstp_TempoByIdxMaccPeriodClassRow(stp_TempoByIdxMaccPeriodClassRow row) { + public void Addstp_TempoByIdxMaccPeriodClassRow(stp_TempoByIdxMaccPeriodClassRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_TempoByIdxMaccPeriodClassRow Addstp_TempoByIdxMaccPeriodClassRow(decimal ore) { + public stp_TempoByIdxMaccPeriodClassRow Addstp_TempoByIdxMaccPeriodClassRow(decimal ore) + { stp_TempoByIdxMaccPeriodClassRow rowstp_TempoByIdxMaccPeriodClassRow = ((stp_TempoByIdxMaccPeriodClassRow)(this.NewRow())); object[] columnValuesArray = new object[] { ore}; @@ -4340,98 +5039,115 @@ namespace MapoDb { this.Rows.Add(rowstp_TempoByIdxMaccPeriodClassRow); return rowstp_TempoByIdxMaccPeriodClassRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { stp_TempoByIdxMaccPeriodClassDataTable cln = ((stp_TempoByIdxMaccPeriodClassDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new stp_TempoByIdxMaccPeriodClassDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnore = base.Columns["ore"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnore = new global::System.Data.DataColumn("ore", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnore); this.columnore.ReadOnly = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_TempoByIdxMaccPeriodClassRow Newstp_TempoByIdxMaccPeriodClassRow() { + public stp_TempoByIdxMaccPeriodClassRow Newstp_TempoByIdxMaccPeriodClassRow() + { return ((stp_TempoByIdxMaccPeriodClassRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new stp_TempoByIdxMaccPeriodClassRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(stp_TempoByIdxMaccPeriodClassRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.stp_TempoByIdxMaccPeriodClassRowChanged != null)) { + if ((this.stp_TempoByIdxMaccPeriodClassRowChanged != null)) + { this.stp_TempoByIdxMaccPeriodClassRowChanged(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.stp_TempoByIdxMaccPeriodClassRowChanging != null)) { + if ((this.stp_TempoByIdxMaccPeriodClassRowChanging != null)) + { this.stp_TempoByIdxMaccPeriodClassRowChanging(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.stp_TempoByIdxMaccPeriodClassRowDeleted != null)) { + if ((this.stp_TempoByIdxMaccPeriodClassRowDeleted != null)) + { this.stp_TempoByIdxMaccPeriodClassRowDeleted(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.stp_TempoByIdxMaccPeriodClassRowDeleting != null)) { + if ((this.stp_TempoByIdxMaccPeriodClassRowDeleting != null)) + { this.stp_TempoByIdxMaccPeriodClassRowDeleting(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Removestp_TempoByIdxMaccPeriodClassRow(stp_TempoByIdxMaccPeriodClassRow row) { + public void Removestp_TempoByIdxMaccPeriodClassRow(stp_TempoByIdxMaccPeriodClassRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -4456,34 +5172,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -4492,261 +5217,306 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class DatiProduzioneDataTable : global::System.Data.TypedTableBase { - + public partial class DatiProduzioneDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxConferma; - + private global::System.Data.DataColumn columnIdxODL; - + private global::System.Data.DataColumn columnDataOraApp; - + private global::System.Data.DataColumn columnDataRif; - + private global::System.Data.DataColumn columnTurnoRif; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnMatrOpr; - + private global::System.Data.DataColumn columnMatrApp; - + private global::System.Data.DataColumn columnDataOraFrom; - + private global::System.Data.DataColumn columnDataOraTo; - + private global::System.Data.DataColumn columnTotPzProd; - + private global::System.Data.DataColumn columnTempo; - + private global::System.Data.DataColumn columnClasseTempo; - + private global::System.Data.DataColumn columnCausale; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiProduzioneDataTable() { + public DatiProduzioneDataTable() + { this.TableName = "DatiProduzione"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal DatiProduzioneDataTable(global::System.Data.DataTable table) { + internal DatiProduzioneDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected DatiProduzioneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected DatiProduzioneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxConfermaColumn { - get { + public global::System.Data.DataColumn IdxConfermaColumn + { + get + { return this.columnIdxConferma; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxODLColumn { - get { + public global::System.Data.DataColumn IdxODLColumn + { + get + { return this.columnIdxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraAppColumn { - get { + public global::System.Data.DataColumn DataOraAppColumn + { + get + { return this.columnDataOraApp; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataRifColumn { - get { + public global::System.Data.DataColumn DataRifColumn + { + get + { return this.columnDataRif; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TurnoRifColumn { - get { + public global::System.Data.DataColumn TurnoRifColumn + { + get + { return this.columnTurnoRif; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrOprColumn { - get { + public global::System.Data.DataColumn MatrOprColumn + { + get + { return this.columnMatrOpr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrAppColumn { - get { + public global::System.Data.DataColumn MatrAppColumn + { + get + { return this.columnMatrApp; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraFromColumn { - get { + public global::System.Data.DataColumn DataOraFromColumn + { + get + { return this.columnDataOraFrom; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraToColumn { - get { + public global::System.Data.DataColumn DataOraToColumn + { + get + { return this.columnDataOraTo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TotPzProdColumn { - get { + public global::System.Data.DataColumn TotPzProdColumn + { + get + { return this.columnTotPzProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoColumn { - get { + public global::System.Data.DataColumn TempoColumn + { + get + { return this.columnTempo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn ClasseTempoColumn { - get { + public global::System.Data.DataColumn ClasseTempoColumn + { + get + { return this.columnClasseTempo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CausaleColumn { - get { + public global::System.Data.DataColumn CausaleColumn + { + get + { return this.columnCausale; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiProduzioneRow this[int index] { - get { + public DatiProduzioneRow this[int index] + { + get + { return ((DatiProduzioneRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddDatiProduzioneRow(DatiProduzioneRow row) { + public void AddDatiProduzioneRow(DatiProduzioneRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public DatiProduzioneRow AddDatiProduzioneRow( - int IdxConferma, - int IdxODL, - System.DateTime DataOraApp, - System.DateTime DataRif, - int TurnoRif, - string CodArticolo, - string IdxMacchina, - decimal TCAssegnato, - int MatrOpr, - int MatrApp, - System.DateTime DataOraFrom, - System.DateTime DataOraTo, - int TotPzProd, - decimal Tempo, - string ClasseTempo, - string Causale) { + int IdxConferma, + int IdxODL, + System.DateTime DataOraApp, + System.DateTime DataRif, + int TurnoRif, + string CodArticolo, + string IdxMacchina, + decimal TCAssegnato, + int MatrOpr, + int MatrApp, + System.DateTime DataOraFrom, + System.DateTime DataOraTo, + int TotPzProd, + decimal Tempo, + string ClasseTempo, + string Causale) + { DatiProduzioneRow rowDatiProduzioneRow = ((DatiProduzioneRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxConferma, @@ -4769,31 +5539,35 @@ namespace MapoDb { this.Rows.Add(rowDatiProduzioneRow); return rowDatiProduzioneRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiProduzioneRow FindByIdxConferma(int IdxConferma) { + public DatiProduzioneRow FindByIdxConferma(int IdxConferma) + { return ((DatiProduzioneRow)(this.Rows.Find(new object[] { IdxConferma}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { DatiProduzioneDataTable cln = ((DatiProduzioneDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new DatiProduzioneDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxConferma = base.Columns["IdxConferma"]; this.columnIdxODL = base.Columns["IdxODL"]; this.columnDataOraApp = base.Columns["DataOraApp"]; @@ -4811,10 +5585,11 @@ namespace MapoDb { this.columnClasseTempo = base.Columns["ClasseTempo"]; this.columnCausale = base.Columns["Causale"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxConferma = new global::System.Data.DataColumn("IdxConferma", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxConferma); this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element); @@ -4861,70 +5636,83 @@ namespace MapoDb { this.columnClasseTempo.MaxLength = 50; this.columnCausale.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiProduzioneRow NewDatiProduzioneRow() { + public DatiProduzioneRow NewDatiProduzioneRow() + { return ((DatiProduzioneRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new DatiProduzioneRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(DatiProduzioneRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.DatiProduzioneRowChanged != null)) { + if ((this.DatiProduzioneRowChanged != null)) + { this.DatiProduzioneRowChanged(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.DatiProduzioneRowChanging != null)) { + if ((this.DatiProduzioneRowChanging != null)) + { this.DatiProduzioneRowChanging(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.DatiProduzioneRowDeleted != null)) { + if ((this.DatiProduzioneRowDeleted != null)) + { this.DatiProduzioneRowDeleted(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.DatiProduzioneRowDeleting != null)) { + if ((this.DatiProduzioneRowDeleting != null)) + { this.DatiProduzioneRowDeleting(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveDatiProduzioneRow(DatiProduzioneRow row) { + public void RemoveDatiProduzioneRow(DatiProduzioneRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -4949,34 +5737,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -4985,235 +5782,278 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class stp_repDonati_getDatiProdMacchinaDataTable : global::System.Data.TypedTableBase { - + public partial class stp_repDonati_getDatiProdMacchinaDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnPezziLanciati; - + private global::System.Data.DataColumn columnPezziProd; - + private global::System.Data.DataColumn columnPezziConf; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnCodOperatore; - + private global::System.Data.DataColumn columnTempoOn; - + private global::System.Data.DataColumn columnTempoAuto; - + private global::System.Data.DataColumn columnTempoRun; - + private global::System.Data.DataColumn columnTCMedio; - + private global::System.Data.DataColumn columnTCLav; - + private global::System.Data.DataColumn columnTCEff; - + private global::System.Data.DataColumn columnTCMedioRT; - + private global::System.Data.DataColumn columnTCLavRT; - + private global::System.Data.DataColumn columnTCEffRT; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaDataTable() { + public stp_repDonati_getDatiProdMacchinaDataTable() + { this.TableName = "stp_repDonati_getDatiProdMacchina"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_repDonati_getDatiProdMacchinaDataTable(global::System.Data.DataTable table) { + internal stp_repDonati_getDatiProdMacchinaDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected stp_repDonati_getDatiProdMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected stp_repDonati_getDatiProdMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PezziLanciatiColumn { - get { + public global::System.Data.DataColumn PezziLanciatiColumn + { + get + { return this.columnPezziLanciati; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PezziProdColumn { - get { + public global::System.Data.DataColumn PezziProdColumn + { + get + { return this.columnPezziProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PezziConfColumn { - get { + public global::System.Data.DataColumn PezziConfColumn + { + get + { return this.columnPezziConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodOperatoreColumn { - get { + public global::System.Data.DataColumn CodOperatoreColumn + { + get + { return this.columnCodOperatore; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoOnColumn { - get { + public global::System.Data.DataColumn TempoOnColumn + { + get + { return this.columnTempoOn; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoAutoColumn { - get { + public global::System.Data.DataColumn TempoAutoColumn + { + get + { return this.columnTempoAuto; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoRunColumn { - get { + public global::System.Data.DataColumn TempoRunColumn + { + get + { return this.columnTempoRun; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCMedioColumn { - get { + public global::System.Data.DataColumn TCMedioColumn + { + get + { return this.columnTCMedio; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCLavColumn { - get { + public global::System.Data.DataColumn TCLavColumn + { + get + { return this.columnTCLav; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCEffColumn { - get { + public global::System.Data.DataColumn TCEffColumn + { + get + { return this.columnTCEff; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCMedioRTColumn { - get { + public global::System.Data.DataColumn TCMedioRTColumn + { + get + { return this.columnTCMedioRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCLavRTColumn { - get { + public global::System.Data.DataColumn TCLavRTColumn + { + get + { return this.columnTCLavRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCEffRTColumn { - get { + public global::System.Data.DataColumn TCEffRTColumn + { + get + { return this.columnTCEffRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaRow this[int index] { - get { + public stp_repDonati_getDatiProdMacchinaRow this[int index] + { + get + { return ((stp_repDonati_getDatiProdMacchinaRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Addstp_repDonati_getDatiProdMacchinaRow(stp_repDonati_getDatiProdMacchinaRow row) { + public void Addstp_repDonati_getDatiProdMacchinaRow(stp_repDonati_getDatiProdMacchinaRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaRow Addstp_repDonati_getDatiProdMacchinaRow(string CodArticolo, int PezziLanciati, int PezziProd, int PezziConf, decimal TCAssegnato, int CodOperatore, decimal TempoOn, decimal TempoAuto, decimal TempoRun, decimal TCMedio, decimal TCLav, decimal TCEff, decimal TCMedioRT, decimal TCLavRT, decimal TCEffRT) { + public stp_repDonati_getDatiProdMacchinaRow Addstp_repDonati_getDatiProdMacchinaRow(string CodArticolo, int PezziLanciati, int PezziProd, int PezziConf, decimal TCAssegnato, int CodOperatore, decimal TempoOn, decimal TempoAuto, decimal TempoRun, decimal TCMedio, decimal TCLav, decimal TCEff, decimal TCMedioRT, decimal TCLavRT, decimal TCEffRT) + { stp_repDonati_getDatiProdMacchinaRow rowstp_repDonati_getDatiProdMacchinaRow = ((stp_repDonati_getDatiProdMacchinaRow)(this.NewRow())); object[] columnValuesArray = new object[] { CodArticolo, @@ -5235,24 +6075,27 @@ namespace MapoDb { this.Rows.Add(rowstp_repDonati_getDatiProdMacchinaRow); return rowstp_repDonati_getDatiProdMacchinaRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { stp_repDonati_getDatiProdMacchinaDataTable cln = ((stp_repDonati_getDatiProdMacchinaDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new stp_repDonati_getDatiProdMacchinaDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnCodArticolo = base.Columns["CodArticolo"]; this.columnPezziLanciati = base.Columns["PezziLanciati"]; this.columnPezziProd = base.Columns["PezziProd"]; @@ -5269,10 +6112,11 @@ namespace MapoDb { this.columnTCLavRT = base.Columns["TCLavRT"]; this.columnTCEffRT = base.Columns["TCEffRT"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodArticolo); this.columnPezziLanciati = new global::System.Data.DataColumn("PezziLanciati", typeof(int), null, global::System.Data.MappingType.Element); @@ -5320,70 +6164,83 @@ namespace MapoDb { this.columnTCLavRT.ReadOnly = true; this.columnTCEffRT.ReadOnly = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaRow Newstp_repDonati_getDatiProdMacchinaRow() { + public stp_repDonati_getDatiProdMacchinaRow Newstp_repDonati_getDatiProdMacchinaRow() + { return ((stp_repDonati_getDatiProdMacchinaRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new stp_repDonati_getDatiProdMacchinaRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(stp_repDonati_getDatiProdMacchinaRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.stp_repDonati_getDatiProdMacchinaRowChanged != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaRowChanged != null)) + { this.stp_repDonati_getDatiProdMacchinaRowChanged(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.stp_repDonati_getDatiProdMacchinaRowChanging != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaRowChanging != null)) + { this.stp_repDonati_getDatiProdMacchinaRowChanging(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.stp_repDonati_getDatiProdMacchinaRowDeleted != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaRowDeleted != null)) + { this.stp_repDonati_getDatiProdMacchinaRowDeleted(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.stp_repDonati_getDatiProdMacchinaRowDeleting != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaRowDeleting != null)) + { this.stp_repDonati_getDatiProdMacchinaRowDeleting(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Removestp_repDonati_getDatiProdMacchinaRow(stp_repDonati_getDatiProdMacchinaRow row) { + public void Removestp_repDonati_getDatiProdMacchinaRow(stp_repDonati_getDatiProdMacchinaRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -5408,34 +6265,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -5444,105 +6310,122 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class stp_repDonati_getLastStatoDurataMacchinaDataTable : global::System.Data.TypedTableBase { - + public partial class stp_repDonati_getLastStatoDurataMacchinaDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnidxStato; - + private global::System.Data.DataColumn columnMinuti; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getLastStatoDurataMacchinaDataTable() { + public stp_repDonati_getLastStatoDurataMacchinaDataTable() + { this.TableName = "stp_repDonati_getLastStatoDurataMacchina"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_repDonati_getLastStatoDurataMacchinaDataTable(global::System.Data.DataTable table) { + internal stp_repDonati_getLastStatoDurataMacchinaDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected stp_repDonati_getLastStatoDurataMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected stp_repDonati_getLastStatoDurataMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxStatoColumn { - get { + public global::System.Data.DataColumn idxStatoColumn + { + get + { return this.columnidxStato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MinutiColumn { - get { + public global::System.Data.DataColumn MinutiColumn + { + get + { return this.columnMinuti; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getLastStatoDurataMacchinaRow this[int index] { - get { + public stp_repDonati_getLastStatoDurataMacchinaRow this[int index] + { + get + { return ((stp_repDonati_getLastStatoDurataMacchinaRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Addstp_repDonati_getLastStatoDurataMacchinaRow(stp_repDonati_getLastStatoDurataMacchinaRow row) { + public void Addstp_repDonati_getLastStatoDurataMacchinaRow(stp_repDonati_getLastStatoDurataMacchinaRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getLastStatoDurataMacchinaRow Addstp_repDonati_getLastStatoDurataMacchinaRow(int idxStato, double Minuti) { + public stp_repDonati_getLastStatoDurataMacchinaRow Addstp_repDonati_getLastStatoDurataMacchinaRow(int idxStato, double Minuti) + { stp_repDonati_getLastStatoDurataMacchinaRow rowstp_repDonati_getLastStatoDurataMacchinaRow = ((stp_repDonati_getLastStatoDurataMacchinaRow)(this.NewRow())); object[] columnValuesArray = new object[] { idxStato, @@ -5551,31 +6434,35 @@ namespace MapoDb { this.Rows.Add(rowstp_repDonati_getLastStatoDurataMacchinaRow); return rowstp_repDonati_getLastStatoDurataMacchinaRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { stp_repDonati_getLastStatoDurataMacchinaDataTable cln = ((stp_repDonati_getLastStatoDurataMacchinaDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new stp_repDonati_getLastStatoDurataMacchinaDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnidxStato = base.Columns["idxStato"]; this.columnMinuti = base.Columns["Minuti"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidxStato); this.columnMinuti = new global::System.Data.DataColumn("Minuti", typeof(double), null, global::System.Data.MappingType.Element); @@ -5583,70 +6470,83 @@ namespace MapoDb { this.columnidxStato.ReadOnly = true; this.columnMinuti.ReadOnly = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getLastStatoDurataMacchinaRow Newstp_repDonati_getLastStatoDurataMacchinaRow() { + public stp_repDonati_getLastStatoDurataMacchinaRow Newstp_repDonati_getLastStatoDurataMacchinaRow() + { return ((stp_repDonati_getLastStatoDurataMacchinaRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new stp_repDonati_getLastStatoDurataMacchinaRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(stp_repDonati_getLastStatoDurataMacchinaRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.stp_repDonati_getLastStatoDurataMacchinaRowChanged != null)) { + if ((this.stp_repDonati_getLastStatoDurataMacchinaRowChanged != null)) + { this.stp_repDonati_getLastStatoDurataMacchinaRowChanged(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.stp_repDonati_getLastStatoDurataMacchinaRowChanging != null)) { + if ((this.stp_repDonati_getLastStatoDurataMacchinaRowChanging != null)) + { this.stp_repDonati_getLastStatoDurataMacchinaRowChanging(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.stp_repDonati_getLastStatoDurataMacchinaRowDeleted != null)) { + if ((this.stp_repDonati_getLastStatoDurataMacchinaRowDeleted != null)) + { this.stp_repDonati_getLastStatoDurataMacchinaRowDeleted(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.stp_repDonati_getLastStatoDurataMacchinaRowDeleting != null)) { + if ((this.stp_repDonati_getLastStatoDurataMacchinaRowDeleting != null)) + { this.stp_repDonati_getLastStatoDurataMacchinaRowDeleting(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Removestp_repDonati_getLastStatoDurataMacchinaRow(stp_repDonati_getLastStatoDurataMacchinaRow row) { + public void Removestp_repDonati_getLastStatoDurataMacchinaRow(stp_repDonati_getLastStatoDurataMacchinaRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -5671,34 +6571,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -5707,135 +6616,158 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class stp_repDonati_getDatiProdMacchinaPeriodoDataTable : global::System.Data.TypedTableBase { - + public partial class stp_repDonati_getDatiProdMacchinaPeriodoDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnPezziProd; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnTCMedioRT; - + private global::System.Data.DataColumn columnTCLavRT; - + private global::System.Data.DataColumn columnTCEffRT; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaPeriodoDataTable() { + public stp_repDonati_getDatiProdMacchinaPeriodoDataTable() + { this.TableName = "stp_repDonati_getDatiProdMacchinaPeriodo"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_repDonati_getDatiProdMacchinaPeriodoDataTable(global::System.Data.DataTable table) { + internal stp_repDonati_getDatiProdMacchinaPeriodoDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected stp_repDonati_getDatiProdMacchinaPeriodoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected stp_repDonati_getDatiProdMacchinaPeriodoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PezziProdColumn { - get { + public global::System.Data.DataColumn PezziProdColumn + { + get + { return this.columnPezziProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCMedioRTColumn { - get { + public global::System.Data.DataColumn TCMedioRTColumn + { + get + { return this.columnTCMedioRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCLavRTColumn { - get { + public global::System.Data.DataColumn TCLavRTColumn + { + get + { return this.columnTCLavRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCEffRTColumn { - get { + public global::System.Data.DataColumn TCEffRTColumn + { + get + { return this.columnTCEffRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaPeriodoRow this[int index] { - get { + public stp_repDonati_getDatiProdMacchinaPeriodoRow this[int index] + { + get + { return ((stp_repDonati_getDatiProdMacchinaPeriodoRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Addstp_repDonati_getDatiProdMacchinaPeriodoRow(stp_repDonati_getDatiProdMacchinaPeriodoRow row) { + public void Addstp_repDonati_getDatiProdMacchinaPeriodoRow(stp_repDonati_getDatiProdMacchinaPeriodoRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaPeriodoRow Addstp_repDonati_getDatiProdMacchinaPeriodoRow(int PezziProd, decimal TCAssegnato, decimal TCMedioRT, decimal TCLavRT, decimal TCEffRT) { + public stp_repDonati_getDatiProdMacchinaPeriodoRow Addstp_repDonati_getDatiProdMacchinaPeriodoRow(int PezziProd, decimal TCAssegnato, decimal TCMedioRT, decimal TCLavRT, decimal TCEffRT) + { stp_repDonati_getDatiProdMacchinaPeriodoRow rowstp_repDonati_getDatiProdMacchinaPeriodoRow = ((stp_repDonati_getDatiProdMacchinaPeriodoRow)(this.NewRow())); object[] columnValuesArray = new object[] { PezziProd, @@ -5847,34 +6779,38 @@ namespace MapoDb { this.Rows.Add(rowstp_repDonati_getDatiProdMacchinaPeriodoRow); return rowstp_repDonati_getDatiProdMacchinaPeriodoRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { stp_repDonati_getDatiProdMacchinaPeriodoDataTable cln = ((stp_repDonati_getDatiProdMacchinaPeriodoDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new stp_repDonati_getDatiProdMacchinaPeriodoDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnPezziProd = base.Columns["PezziProd"]; this.columnTCAssegnato = base.Columns["TCAssegnato"]; this.columnTCMedioRT = base.Columns["TCMedioRT"]; this.columnTCLavRT = base.Columns["TCLavRT"]; this.columnTCEffRT = base.Columns["TCEffRT"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnPezziProd = new global::System.Data.DataColumn("PezziProd", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPezziProd); this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element); @@ -5891,70 +6827,83 @@ namespace MapoDb { this.columnTCLavRT.ReadOnly = true; this.columnTCEffRT.ReadOnly = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaPeriodoRow Newstp_repDonati_getDatiProdMacchinaPeriodoRow() { + public stp_repDonati_getDatiProdMacchinaPeriodoRow Newstp_repDonati_getDatiProdMacchinaPeriodoRow() + { return ((stp_repDonati_getDatiProdMacchinaPeriodoRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new stp_repDonati_getDatiProdMacchinaPeriodoRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(stp_repDonati_getDatiProdMacchinaPeriodoRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanged != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanged != null)) + { this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanged(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanging != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanging != null)) + { this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanging(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleted != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleted != null)) + { this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleted(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleting != null)) { + if ((this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleting != null)) + { this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleting(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void Removestp_repDonati_getDatiProdMacchinaPeriodoRow(stp_repDonati_getDatiProdMacchinaPeriodoRow row) { + public void Removestp_repDonati_getDatiProdMacchinaPeriodoRow(stp_repDonati_getDatiProdMacchinaPeriodoRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -5979,34 +6928,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -6015,125 +6973,146 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class TurniMacchinaDataTable : global::System.Data.TypedTableBase { - + public partial class TurniMacchinaDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnT1; - + private global::System.Data.DataColumn columnT2; - + private global::System.Data.DataColumn columnT3; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaDataTable() { + public TurniMacchinaDataTable() + { this.TableName = "TurniMacchina"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal TurniMacchinaDataTable(global::System.Data.DataTable table) { + internal TurniMacchinaDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected TurniMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected TurniMacchinaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn T1Column { - get { + public global::System.Data.DataColumn T1Column + { + get + { return this.columnT1; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn T2Column { - get { + public global::System.Data.DataColumn T2Column + { + get + { return this.columnT2; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn T3Column { - get { + public global::System.Data.DataColumn T3Column + { + get + { return this.columnT3; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaRow this[int index] { - get { + public TurniMacchinaRow this[int index] + { + get + { return ((TurniMacchinaRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddTurniMacchinaRow(TurniMacchinaRow row) { + public void AddTurniMacchinaRow(TurniMacchinaRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaRow AddTurniMacchinaRow(string IdxMacchina, bool T1, bool T2, bool T3) { + public TurniMacchinaRow AddTurniMacchinaRow(string IdxMacchina, bool T1, bool T2, bool T3) + { TurniMacchinaRow rowTurniMacchinaRow = ((TurniMacchinaRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxMacchina, @@ -6144,40 +7123,45 @@ namespace MapoDb { this.Rows.Add(rowTurniMacchinaRow); return rowTurniMacchinaRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaRow FindByIdxMacchina(string IdxMacchina) { + public TurniMacchinaRow FindByIdxMacchina(string IdxMacchina) + { return ((TurniMacchinaRow)(this.Rows.Find(new object[] { IdxMacchina}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { TurniMacchinaDataTable cln = ((TurniMacchinaDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new TurniMacchinaDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxMacchina = base.Columns["IdxMacchina"]; this.columnT1 = base.Columns["T1"]; this.columnT2 = base.Columns["T2"]; this.columnT3 = base.Columns["T3"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxMacchina); this.columnT1 = new global::System.Data.DataColumn("T1", typeof(bool), null, global::System.Data.MappingType.Element); @@ -6192,70 +7176,83 @@ namespace MapoDb { this.columnIdxMacchina.Unique = true; this.columnIdxMacchina.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaRow NewTurniMacchinaRow() { + public TurniMacchinaRow NewTurniMacchinaRow() + { return ((TurniMacchinaRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new TurniMacchinaRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(TurniMacchinaRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.TurniMacchinaRowChanged != null)) { + if ((this.TurniMacchinaRowChanged != null)) + { this.TurniMacchinaRowChanged(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.TurniMacchinaRowChanging != null)) { + if ((this.TurniMacchinaRowChanging != null)) + { this.TurniMacchinaRowChanging(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.TurniMacchinaRowDeleted != null)) { + if ((this.TurniMacchinaRowDeleted != null)) + { this.TurniMacchinaRowDeleted(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.TurniMacchinaRowDeleting != null)) { + if ((this.TurniMacchinaRowDeleting != null)) + { this.TurniMacchinaRowDeleting(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveTurniMacchinaRow(TurniMacchinaRow row) { + public void RemoveTurniMacchinaRow(TurniMacchinaRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -6280,34 +7277,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -6316,392 +7322,461 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class MappaStatoExplDataTable : global::System.Data.TypedTableBase { - + public partial class MappaStatoExplDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnRowNum; - + private global::System.Data.DataColumn columnlastUpdate; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnCodMacchina; - + private global::System.Data.DataColumn columnNome; - + private global::System.Data.DataColumn columnurl; - + private global::System.Data.DataColumn columnidxODL; - + private global::System.Data.DataColumn columnidxPODL; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnDisegno; - + private global::System.Data.DataColumn columnNumPezzi; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnDataInizioODL; - + private global::System.Data.DataColumn columnSemaforo; - + private global::System.Data.DataColumn columnidxStato; - + private global::System.Data.DataColumn columnDescrizioneStato; - + private global::System.Data.DataColumn columndurata; - + private global::System.Data.DataColumn columnPezziProd; - + private global::System.Data.DataColumn columnPezziConf; - + private global::System.Data.DataColumn columnTempoOn; - + private global::System.Data.DataColumn columnTempoAuto; - + private global::System.Data.DataColumn columnTempoRun; - + private global::System.Data.DataColumn columnTCMedio; - + private global::System.Data.DataColumn columnTCLav; - + private global::System.Data.DataColumn columnTCEff; - + private global::System.Data.DataColumn columnTCMedioRT; - + private global::System.Data.DataColumn columnTCLavRT; - + private global::System.Data.DataColumn columnTCEffRT; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public MappaStatoExplDataTable() { + public MappaStatoExplDataTable() + { this.TableName = "MappaStatoExpl"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal MappaStatoExplDataTable(global::System.Data.DataTable table) { + internal MappaStatoExplDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected MappaStatoExplDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected MappaStatoExplDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn RowNumColumn { - get { + public global::System.Data.DataColumn RowNumColumn + { + get + { return this.columnRowNum; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn lastUpdateColumn { - get { + public global::System.Data.DataColumn lastUpdateColumn + { + get + { return this.columnlastUpdate; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodMacchinaColumn { - get { + public global::System.Data.DataColumn CodMacchinaColumn + { + get + { return this.columnCodMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { + public global::System.Data.DataColumn NomeColumn + { + get + { return this.columnNome; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn urlColumn { - get { + public global::System.Data.DataColumn urlColumn + { + get + { return this.columnurl; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxODLColumn { - get { + public global::System.Data.DataColumn idxODLColumn + { + get + { return this.columnidxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxPODLColumn { - get { + public global::System.Data.DataColumn idxPODLColumn + { + get + { return this.columnidxPODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DisegnoColumn { - get { + public global::System.Data.DataColumn DisegnoColumn + { + get + { return this.columnDisegno; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NumPezziColumn { - get { + public global::System.Data.DataColumn NumPezziColumn + { + get + { return this.columnNumPezzi; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataInizioODLColumn { - get { + public global::System.Data.DataColumn DataInizioODLColumn + { + get + { return this.columnDataInizioODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn SemaforoColumn { - get { + public global::System.Data.DataColumn SemaforoColumn + { + get + { return this.columnSemaforo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxStatoColumn { - get { + public global::System.Data.DataColumn idxStatoColumn + { + get + { return this.columnidxStato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DescrizioneStatoColumn { - get { + public global::System.Data.DataColumn DescrizioneStatoColumn + { + get + { return this.columnDescrizioneStato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn durataColumn { - get { + public global::System.Data.DataColumn durataColumn + { + get + { return this.columndurata; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PezziProdColumn { - get { + public global::System.Data.DataColumn PezziProdColumn + { + get + { return this.columnPezziProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PezziConfColumn { - get { + public global::System.Data.DataColumn PezziConfColumn + { + get + { return this.columnPezziConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoOnColumn { - get { + public global::System.Data.DataColumn TempoOnColumn + { + get + { return this.columnTempoOn; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoAutoColumn { - get { + public global::System.Data.DataColumn TempoAutoColumn + { + get + { return this.columnTempoAuto; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TempoRunColumn { - get { + public global::System.Data.DataColumn TempoRunColumn + { + get + { return this.columnTempoRun; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCMedioColumn { - get { + public global::System.Data.DataColumn TCMedioColumn + { + get + { return this.columnTCMedio; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCLavColumn { - get { + public global::System.Data.DataColumn TCLavColumn + { + get + { return this.columnTCLav; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCEffColumn { - get { + public global::System.Data.DataColumn TCEffColumn + { + get + { return this.columnTCEff; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCMedioRTColumn { - get { + public global::System.Data.DataColumn TCMedioRTColumn + { + get + { return this.columnTCMedioRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCLavRTColumn { - get { + public global::System.Data.DataColumn TCLavRTColumn + { + get + { return this.columnTCLavRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCEffRTColumn { - get { + public global::System.Data.DataColumn TCEffRTColumn + { + get + { return this.columnTCEffRT; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public MappaStatoExplRow this[int index] { - get { + public MappaStatoExplRow this[int index] + { + get + { return ((MappaStatoExplRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddMappaStatoExplRow(MappaStatoExplRow row) { + public void AddMappaStatoExplRow(MappaStatoExplRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public MappaStatoExplRow AddMappaStatoExplRow( - System.DateTime lastUpdate, - string IdxMacchina, - string CodMacchina, - string Nome, - string url, - int idxODL, - int idxPODL, - string CodArticolo, - string Disegno, - int NumPezzi, - decimal TCAssegnato, - System.DateTime DataInizioODL, - string Semaforo, - int idxStato, - string DescrizioneStato, - double durata, - int PezziProd, - int PezziConf, - decimal TempoOn, - decimal TempoAuto, - decimal TempoRun, - decimal TCMedio, - decimal TCLav, - decimal TCEff, - decimal TCMedioRT, - decimal TCLavRT, - decimal TCEffRT) { + System.DateTime lastUpdate, + string IdxMacchina, + string CodMacchina, + string Nome, + string url, + int idxODL, + int idxPODL, + string CodArticolo, + string Disegno, + int NumPezzi, + decimal TCAssegnato, + System.DateTime DataInizioODL, + string Semaforo, + int idxStato, + string DescrizioneStato, + double durata, + int PezziProd, + int PezziConf, + decimal TempoOn, + decimal TempoAuto, + decimal TempoRun, + decimal TCMedio, + decimal TCLav, + decimal TCEff, + decimal TCMedioRT, + decimal TCLavRT, + decimal TCEffRT) + { MappaStatoExplRow rowMappaStatoExplRow = ((MappaStatoExplRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -6736,31 +7811,35 @@ namespace MapoDb { this.Rows.Add(rowMappaStatoExplRow); return rowMappaStatoExplRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public MappaStatoExplRow FindByRowNum(int RowNum) { + public MappaStatoExplRow FindByRowNum(int RowNum) + { return ((MappaStatoExplRow)(this.Rows.Find(new object[] { RowNum}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { MappaStatoExplDataTable cln = ((MappaStatoExplDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new MappaStatoExplDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnRowNum = base.Columns["RowNum"]; this.columnlastUpdate = base.Columns["lastUpdate"]; this.columnIdxMacchina = base.Columns["IdxMacchina"]; @@ -6790,10 +7869,11 @@ namespace MapoDb { this.columnTCLavRT = base.Columns["TCLavRT"]; this.columnTCEffRT = base.Columns["TCEffRT"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnRowNum = new global::System.Data.DataColumn("RowNum", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnRowNum); this.columnlastUpdate = new global::System.Data.DataColumn("lastUpdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); @@ -6869,70 +7949,83 @@ namespace MapoDb { this.columnSemaforo.MaxLength = 50; this.columnDescrizioneStato.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public MappaStatoExplRow NewMappaStatoExplRow() { + public MappaStatoExplRow NewMappaStatoExplRow() + { return ((MappaStatoExplRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new MappaStatoExplRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(MappaStatoExplRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.MappaStatoExplRowChanged != null)) { + if ((this.MappaStatoExplRowChanged != null)) + { this.MappaStatoExplRowChanged(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.MappaStatoExplRowChanging != null)) { + if ((this.MappaStatoExplRowChanging != null)) + { this.MappaStatoExplRowChanging(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.MappaStatoExplRowDeleted != null)) { + if ((this.MappaStatoExplRowDeleted != null)) + { this.MappaStatoExplRowDeleted(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.MappaStatoExplRowDeleting != null)) { + if ((this.MappaStatoExplRowDeleting != null)) + { this.MappaStatoExplRowDeleting(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveMappaStatoExplRow(MappaStatoExplRow row) { + public void RemoveMappaStatoExplRow(MappaStatoExplRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -6957,34 +8050,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -6993,145 +8095,170 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class ResProdDett_splitODLDataTable : global::System.Data.TypedTableBase { - + public partial class ResProdDett_splitODLDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxODL; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnpzOrd; - + private global::System.Data.DataColumn columnpzProd; - + private global::System.Data.DataColumn columnpzConf; - + private global::System.Data.DataColumn columnpzRiman; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitODLDataTable() { + public ResProdDett_splitODLDataTable() + { this.TableName = "ResProdDett_splitODL"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ResProdDett_splitODLDataTable(global::System.Data.DataTable table) { + internal ResProdDett_splitODLDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected ResProdDett_splitODLDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected ResProdDett_splitODLDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxODLColumn { - get { + public global::System.Data.DataColumn IdxODLColumn + { + get + { return this.columnIdxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzOrdColumn { - get { + public global::System.Data.DataColumn pzOrdColumn + { + get + { return this.columnpzOrd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzProdColumn { - get { + public global::System.Data.DataColumn pzProdColumn + { + get + { return this.columnpzProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzConfColumn { - get { + public global::System.Data.DataColumn pzConfColumn + { + get + { return this.columnpzConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzRimanColumn { - get { + public global::System.Data.DataColumn pzRimanColumn + { + get + { return this.columnpzRiman; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitODLRow this[int index] { - get { + public ResProdDett_splitODLRow this[int index] + { + get + { return ((ResProdDett_splitODLRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddResProdDett_splitODLRow(ResProdDett_splitODLRow row) { + public void AddResProdDett_splitODLRow(ResProdDett_splitODLRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitODLRow AddResProdDett_splitODLRow(int IdxODL, decimal TCAssegnato, int pzOrd, int pzProd, int pzConf, int pzRiman) { + public ResProdDett_splitODLRow AddResProdDett_splitODLRow(int IdxODL, decimal TCAssegnato, int pzOrd, int pzProd, int pzConf, int pzRiman) + { ResProdDett_splitODLRow rowResProdDett_splitODLRow = ((ResProdDett_splitODLRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxODL, @@ -7144,24 +8271,27 @@ namespace MapoDb { this.Rows.Add(rowResProdDett_splitODLRow); return rowResProdDett_splitODLRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { ResProdDett_splitODLDataTable cln = ((ResProdDett_splitODLDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new ResProdDett_splitODLDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxODL = base.Columns["IdxODL"]; this.columnTCAssegnato = base.Columns["TCAssegnato"]; this.columnpzOrd = base.Columns["pzOrd"]; @@ -7169,10 +8299,11 @@ namespace MapoDb { this.columnpzConf = base.Columns["pzConf"]; this.columnpzRiman = base.Columns["pzRiman"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxODL); this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element); @@ -7191,70 +8322,83 @@ namespace MapoDb { this.columnpzConf.ReadOnly = true; this.columnpzRiman.ReadOnly = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitODLRow NewResProdDett_splitODLRow() { + public ResProdDett_splitODLRow NewResProdDett_splitODLRow() + { return ((ResProdDett_splitODLRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new ResProdDett_splitODLRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(ResProdDett_splitODLRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.ResProdDett_splitODLRowChanged != null)) { + if ((this.ResProdDett_splitODLRowChanged != null)) + { this.ResProdDett_splitODLRowChanged(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.ResProdDett_splitODLRowChanging != null)) { + if ((this.ResProdDett_splitODLRowChanging != null)) + { this.ResProdDett_splitODLRowChanging(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.ResProdDett_splitODLRowDeleted != null)) { + if ((this.ResProdDett_splitODLRowDeleted != null)) + { this.ResProdDett_splitODLRowDeleted(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.ResProdDett_splitODLRowDeleting != null)) { + if ((this.ResProdDett_splitODLRowDeleting != null)) + { this.ResProdDett_splitODLRowDeleting(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveResProdDett_splitODLRow(ResProdDett_splitODLRow row) { + public void RemoveResProdDett_splitODLRow(ResProdDett_splitODLRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -7279,34 +8423,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -7315,155 +8468,182 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class ResProdDett_splitGGDataTable : global::System.Data.TypedTableBase { - + public partial class ResProdDett_splitGGDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnData; - + private global::System.Data.DataColumn columnIdxODL; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnpzProd; - + private global::System.Data.DataColumn columnpzConf; - + private global::System.Data.DataColumn columnNome; - + private global::System.Data.DataColumn columnCodArticolo; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitGGDataTable() { + public ResProdDett_splitGGDataTable() + { this.TableName = "ResProdDett_splitGG"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ResProdDett_splitGGDataTable(global::System.Data.DataTable table) { + internal ResProdDett_splitGGDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected ResProdDett_splitGGDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected ResProdDett_splitGGDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataColumn { - get { + public global::System.Data.DataColumn DataColumn + { + get + { return this.columnData; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxODLColumn { - get { + public global::System.Data.DataColumn IdxODLColumn + { + get + { return this.columnIdxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzProdColumn { - get { + public global::System.Data.DataColumn pzProdColumn + { + get + { return this.columnpzProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzConfColumn { - get { + public global::System.Data.DataColumn pzConfColumn + { + get + { return this.columnpzConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { + public global::System.Data.DataColumn NomeColumn + { + get + { return this.columnNome; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitGGRow this[int index] { - get { + public ResProdDett_splitGGRow this[int index] + { + get + { return ((ResProdDett_splitGGRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddResProdDett_splitGGRow(ResProdDett_splitGGRow row) { + public void AddResProdDett_splitGGRow(ResProdDett_splitGGRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitGGRow AddResProdDett_splitGGRow(System.DateTime Data, int IdxODL, decimal TCAssegnato, int pzProd, int pzConf, string Nome, string CodArticolo) { + public ResProdDett_splitGGRow AddResProdDett_splitGGRow(System.DateTime Data, int IdxODL, decimal TCAssegnato, int pzProd, int pzConf, string Nome, string CodArticolo) + { ResProdDett_splitGGRow rowResProdDett_splitGGRow = ((ResProdDett_splitGGRow)(this.NewRow())); object[] columnValuesArray = new object[] { Data, @@ -7477,24 +8657,27 @@ namespace MapoDb { this.Rows.Add(rowResProdDett_splitGGRow); return rowResProdDett_splitGGRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { ResProdDett_splitGGDataTable cln = ((ResProdDett_splitGGDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new ResProdDett_splitGGDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnData = base.Columns["Data"]; this.columnIdxODL = base.Columns["IdxODL"]; this.columnTCAssegnato = base.Columns["TCAssegnato"]; @@ -7503,10 +8686,11 @@ namespace MapoDb { this.columnNome = base.Columns["Nome"]; this.columnCodArticolo = base.Columns["CodArticolo"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnData); this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element); @@ -7528,70 +8712,83 @@ namespace MapoDb { this.columnNome.MaxLength = 50; this.columnCodArticolo.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitGGRow NewResProdDett_splitGGRow() { + public ResProdDett_splitGGRow NewResProdDett_splitGGRow() + { return ((ResProdDett_splitGGRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new ResProdDett_splitGGRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(ResProdDett_splitGGRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.ResProdDett_splitGGRowChanged != null)) { + if ((this.ResProdDett_splitGGRowChanged != null)) + { this.ResProdDett_splitGGRowChanged(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.ResProdDett_splitGGRowChanging != null)) { + if ((this.ResProdDett_splitGGRowChanging != null)) + { this.ResProdDett_splitGGRowChanging(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.ResProdDett_splitGGRowDeleted != null)) { + if ((this.ResProdDett_splitGGRowDeleted != null)) + { this.ResProdDett_splitGGRowDeleted(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.ResProdDett_splitGGRowDeleting != null)) { + if ((this.ResProdDett_splitGGRowDeleting != null)) + { this.ResProdDett_splitGGRowDeleting(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveResProdDett_splitGGRow(ResProdDett_splitGGRow row) { + public void RemoveResProdDett_splitGGRow(ResProdDett_splitGGRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -7616,34 +8813,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -7652,165 +8858,194 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class ResProdTotDataTable : global::System.Data.TypedTableBase { - + public partial class ResProdTotDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnNome; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnpzOrd; - + private global::System.Data.DataColumn columnpzProd; - + private global::System.Data.DataColumn columnpzConf; - + private global::System.Data.DataColumn columnpzRiman; - + private global::System.Data.DataColumn columnStato; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotDataTable() { + public ResProdTotDataTable() + { this.TableName = "ResProdTot"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ResProdTotDataTable(global::System.Data.DataTable table) { + internal ResProdTotDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected ResProdTotDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected ResProdTotDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { + public global::System.Data.DataColumn NomeColumn + { + get + { return this.columnNome; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzOrdColumn { - get { + public global::System.Data.DataColumn pzOrdColumn + { + get + { return this.columnpzOrd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzProdColumn { - get { + public global::System.Data.DataColumn pzProdColumn + { + get + { return this.columnpzProd; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzConfColumn { - get { + public global::System.Data.DataColumn pzConfColumn + { + get + { return this.columnpzConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pzRimanColumn { - get { + public global::System.Data.DataColumn pzRimanColumn + { + get + { return this.columnpzRiman; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn StatoColumn { - get { + public global::System.Data.DataColumn StatoColumn + { + get + { return this.columnStato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotRow this[int index] { - get { + public ResProdTotRow this[int index] + { + get + { return ((ResProdTotRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdTotRowChangeEventHandler ResProdTotRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdTotRowChangeEventHandler ResProdTotRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdTotRowChangeEventHandler ResProdTotRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ResProdTotRowChangeEventHandler ResProdTotRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddResProdTotRow(ResProdTotRow row) { + public void AddResProdTotRow(ResProdTotRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotRow AddResProdTotRow(string Nome, string IdxMacchina, string CodArticolo, int pzOrd, int pzProd, int pzConf, int pzRiman, string Stato) { + public ResProdTotRow AddResProdTotRow(string Nome, string IdxMacchina, string CodArticolo, int pzOrd, int pzProd, int pzConf, int pzRiman, string Stato) + { ResProdTotRow rowResProdTotRow = ((ResProdTotRow)(this.NewRow())); object[] columnValuesArray = new object[] { Nome, @@ -7825,34 +9060,38 @@ namespace MapoDb { this.Rows.Add(rowResProdTotRow); return rowResProdTotRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotRow FindByNomeIdxMacchinaCodArticoloStato(string Nome, string IdxMacchina, string CodArticolo, string Stato) { + public ResProdTotRow FindByNomeIdxMacchinaCodArticoloStato(string Nome, string IdxMacchina, string CodArticolo, string Stato) + { return ((ResProdTotRow)(this.Rows.Find(new object[] { Nome, IdxMacchina, CodArticolo, Stato}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { ResProdTotDataTable cln = ((ResProdTotDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new ResProdTotDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnNome = base.Columns["Nome"]; this.columnIdxMacchina = base.Columns["IdxMacchina"]; this.columnCodArticolo = base.Columns["CodArticolo"]; @@ -7862,10 +9101,11 @@ namespace MapoDb { this.columnpzRiman = base.Columns["pzRiman"]; this.columnStato = base.Columns["Stato"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNome); this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element); @@ -7905,70 +9145,83 @@ namespace MapoDb { this.columnStato.ReadOnly = true; this.columnStato.MaxLength = 6; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotRow NewResProdTotRow() { + public ResProdTotRow NewResProdTotRow() + { return ((ResProdTotRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new ResProdTotRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(ResProdTotRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.ResProdTotRowChanged != null)) { + if ((this.ResProdTotRowChanged != null)) + { this.ResProdTotRowChanged(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.ResProdTotRowChanging != null)) { + if ((this.ResProdTotRowChanging != null)) + { this.ResProdTotRowChanging(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.ResProdTotRowDeleted != null)) { + if ((this.ResProdTotRowDeleted != null)) + { this.ResProdTotRowDeleted(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.ResProdTotRowDeleting != null)) { + if ((this.ResProdTotRowDeleting != null)) + { this.ResProdTotRowDeleting(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveResProdTotRow(ResProdTotRow row) { + public void RemoveResProdTotRow(ResProdTotRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -7993,34 +9246,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -8029,175 +9291,206 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class RegistroControlliDataTable : global::System.Data.TypedTableBase { - + public partial class RegistroControlliDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxControllo; - + private global::System.Data.DataColumn columnDataOra; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnIdxODL; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnMatrOpr; - + private global::System.Data.DataColumn columnEsitoOK; - + private global::System.Data.DataColumn columnNote; - + private global::System.Data.DataColumn columnOperatore; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliDataTable() { + public RegistroControlliDataTable() + { this.TableName = "RegistroControlli"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal RegistroControlliDataTable(global::System.Data.DataTable table) { + internal RegistroControlliDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected RegistroControlliDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected RegistroControlliDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxControlloColumn { - get { + public global::System.Data.DataColumn IdxControlloColumn + { + get + { return this.columnIdxControllo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraColumn { - get { + public global::System.Data.DataColumn DataOraColumn + { + get + { return this.columnDataOra; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxODLColumn { - get { + public global::System.Data.DataColumn IdxODLColumn + { + get + { return this.columnIdxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrOprColumn { - get { + public global::System.Data.DataColumn MatrOprColumn + { + get + { return this.columnMatrOpr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn EsitoOKColumn { - get { + public global::System.Data.DataColumn EsitoOKColumn + { + get + { return this.columnEsitoOK; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NoteColumn { - get { + public global::System.Data.DataColumn NoteColumn + { + get + { return this.columnNote; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn OperatoreColumn { - get { + public global::System.Data.DataColumn OperatoreColumn + { + get + { return this.columnOperatore; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliRow this[int index] { - get { + public RegistroControlliRow this[int index] + { + get + { return ((RegistroControlliRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroControlliRowChangeEventHandler RegistroControlliRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroControlliRowChangeEventHandler RegistroControlliRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroControlliRowChangeEventHandler RegistroControlliRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroControlliRowChangeEventHandler RegistroControlliRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddRegistroControlliRow(RegistroControlliRow row) { + public void AddRegistroControlliRow(RegistroControlliRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliRow AddRegistroControlliRow(System.DateTime DataOra, string IdxMacchina, int IdxODL, string CodArticolo, int MatrOpr, bool EsitoOK, string Note, string Operatore) { + public RegistroControlliRow AddRegistroControlliRow(System.DateTime DataOra, string IdxMacchina, int IdxODL, string CodArticolo, int MatrOpr, bool EsitoOK, string Note, string Operatore) + { RegistroControlliRow rowRegistroControlliRow = ((RegistroControlliRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -8213,31 +9506,35 @@ namespace MapoDb { this.Rows.Add(rowRegistroControlliRow); return rowRegistroControlliRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliRow FindByIdxControllo(int IdxControllo) { + public RegistroControlliRow FindByIdxControllo(int IdxControllo) + { return ((RegistroControlliRow)(this.Rows.Find(new object[] { IdxControllo}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { RegistroControlliDataTable cln = ((RegistroControlliDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new RegistroControlliDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxControllo = base.Columns["IdxControllo"]; this.columnDataOra = base.Columns["DataOra"]; this.columnIdxMacchina = base.Columns["IdxMacchina"]; @@ -8248,10 +9545,11 @@ namespace MapoDb { this.columnNote = base.Columns["Note"]; this.columnOperatore = base.Columns["Operatore"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxControllo = new global::System.Data.DataColumn("IdxControllo", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxControllo); this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); @@ -8291,70 +9589,83 @@ namespace MapoDb { this.columnOperatore.ReadOnly = true; this.columnOperatore.MaxLength = 101; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliRow NewRegistroControlliRow() { + public RegistroControlliRow NewRegistroControlliRow() + { return ((RegistroControlliRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new RegistroControlliRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(RegistroControlliRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.RegistroControlliRowChanged != null)) { + if ((this.RegistroControlliRowChanged != null)) + { this.RegistroControlliRowChanged(this, new RegistroControlliRowChangeEvent(((RegistroControlliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.RegistroControlliRowChanging != null)) { + if ((this.RegistroControlliRowChanging != null)) + { this.RegistroControlliRowChanging(this, new RegistroControlliRowChangeEvent(((RegistroControlliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.RegistroControlliRowDeleted != null)) { + if ((this.RegistroControlliRowDeleted != null)) + { this.RegistroControlliRowDeleted(this, new RegistroControlliRowChangeEvent(((RegistroControlliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.RegistroControlliRowDeleting != null)) { + if ((this.RegistroControlliRowDeleting != null)) + { this.RegistroControlliRowDeleting(this, new RegistroControlliRowChangeEvent(((RegistroControlliRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveRegistroControlliRow(RegistroControlliRow row) { + public void RemoveRegistroControlliRow(RegistroControlliRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -8379,34 +9690,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -8415,205 +9735,242 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class RegistroScartiDataTable : global::System.Data.TypedTableBase { - + public partial class RegistroScartiDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnDataOra; - + private global::System.Data.DataColumn columnCausale; - + private global::System.Data.DataColumn columnOperatore; - + private global::System.Data.DataColumn columnQta; - + private global::System.Data.DataColumn columnNote; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnMatrOpr; - + private global::System.Data.DataColumn columnDataOraProdRec; - + private global::System.Data.DataColumn columnDescrizione; - + private global::System.Data.DataColumn columncssClass; - + private global::System.Data.DataColumn columnicona; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiDataTable() { + public RegistroScartiDataTable() + { this.TableName = "RegistroScarti"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal RegistroScartiDataTable(global::System.Data.DataTable table) { + internal RegistroScartiDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected RegistroScartiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected RegistroScartiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraColumn { - get { + public global::System.Data.DataColumn DataOraColumn + { + get + { return this.columnDataOra; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CausaleColumn { - get { + public global::System.Data.DataColumn CausaleColumn + { + get + { return this.columnCausale; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn OperatoreColumn { - get { + public global::System.Data.DataColumn OperatoreColumn + { + get + { return this.columnOperatore; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn QtaColumn { - get { + public global::System.Data.DataColumn QtaColumn + { + get + { return this.columnQta; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NoteColumn { - get { + public global::System.Data.DataColumn NoteColumn + { + get + { return this.columnNote; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrOprColumn { - get { + public global::System.Data.DataColumn MatrOprColumn + { + get + { return this.columnMatrOpr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraProdRecColumn { - get { + public global::System.Data.DataColumn DataOraProdRecColumn + { + get + { return this.columnDataOraProdRec; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DescrizioneColumn { - get { + public global::System.Data.DataColumn DescrizioneColumn + { + get + { return this.columnDescrizione; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn cssClassColumn { - get { + public global::System.Data.DataColumn cssClassColumn + { + get + { return this.columncssClass; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn iconaColumn { - get { + public global::System.Data.DataColumn iconaColumn + { + get + { return this.columnicona; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiRow this[int index] { - get { + public RegistroScartiRow this[int index] + { + get + { return ((RegistroScartiRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroScartiRowChangeEventHandler RegistroScartiRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroScartiRowChangeEventHandler RegistroScartiRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroScartiRowChangeEventHandler RegistroScartiRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event RegistroScartiRowChangeEventHandler RegistroScartiRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddRegistroScartiRow(RegistroScartiRow row) { + public void AddRegistroScartiRow(RegistroScartiRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiRow AddRegistroScartiRow(string IdxMacchina, System.DateTime DataOra, string Causale, string Operatore, int Qta, string Note, string CodArticolo, int MatrOpr, System.DateTime DataOraProdRec, string Descrizione, string cssClass, string icona) { + public RegistroScartiRow AddRegistroScartiRow(string IdxMacchina, System.DateTime DataOra, string Causale, string Operatore, int Qta, string Note, string CodArticolo, int MatrOpr, System.DateTime DataOraProdRec, string Descrizione, string cssClass, string icona) + { RegistroScartiRow rowRegistroScartiRow = ((RegistroScartiRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxMacchina, @@ -8632,33 +9989,37 @@ namespace MapoDb { this.Rows.Add(rowRegistroScartiRow); return rowRegistroScartiRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiRow FindByIdxMacchinaDataOraCausale(string IdxMacchina, System.DateTime DataOra, string Causale) { + public RegistroScartiRow FindByIdxMacchinaDataOraCausale(string IdxMacchina, System.DateTime DataOra, string Causale) + { return ((RegistroScartiRow)(this.Rows.Find(new object[] { IdxMacchina, DataOra, Causale}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { RegistroScartiDataTable cln = ((RegistroScartiDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new RegistroScartiDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxMacchina = base.Columns["IdxMacchina"]; this.columnDataOra = base.Columns["DataOra"]; this.columnCausale = base.Columns["Causale"]; @@ -8672,10 +10033,11 @@ namespace MapoDb { this.columncssClass = base.Columns["cssClass"]; this.columnicona = base.Columns["icona"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxMacchina); this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); @@ -8724,70 +10086,83 @@ namespace MapoDb { this.columnicona.AllowDBNull = false; this.columnicona.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiRow NewRegistroScartiRow() { + public RegistroScartiRow NewRegistroScartiRow() + { return ((RegistroScartiRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new RegistroScartiRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(RegistroScartiRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.RegistroScartiRowChanged != null)) { + if ((this.RegistroScartiRowChanged != null)) + { this.RegistroScartiRowChanged(this, new RegistroScartiRowChangeEvent(((RegistroScartiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.RegistroScartiRowChanging != null)) { + if ((this.RegistroScartiRowChanging != null)) + { this.RegistroScartiRowChanging(this, new RegistroScartiRowChangeEvent(((RegistroScartiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.RegistroScartiRowDeleted != null)) { + if ((this.RegistroScartiRowDeleted != null)) + { this.RegistroScartiRowDeleted(this, new RegistroScartiRowChangeEvent(((RegistroScartiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.RegistroScartiRowDeleting != null)) { + if ((this.RegistroScartiRowDeleting != null)) + { this.RegistroScartiRowDeleting(this, new RegistroScartiRowChangeEvent(((RegistroScartiRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveRegistroScartiRow(RegistroScartiRow row) { + public void RemoveRegistroScartiRow(RegistroScartiRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -8812,34 +10187,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -8848,304 +10232,357 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class PromesseODLDataTable : global::System.Data.TypedTableBase { - + public partial class PromesseODLDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnidxPromessa; - + private global::System.Data.DataColumn columnKeyRichiesta; - + private global::System.Data.DataColumn columnKeyBCode; - + private global::System.Data.DataColumn columnAttivabile; - + private global::System.Data.DataColumn columnIdxODL; - + private global::System.Data.DataColumn columnCodArticolo; - + private global::System.Data.DataColumn columnDescArticolo; - + private global::System.Data.DataColumn columnCodGruppo; - + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnCodMacchina; - + private global::System.Data.DataColumn columnNome; - + private global::System.Data.DataColumn columnNumPezzi; - + private global::System.Data.DataColumn columnTCAssegnato; - + private global::System.Data.DataColumn columnDueDate; - + private global::System.Data.DataColumn columnPriorita; - + private global::System.Data.DataColumn columnPzPallet; - + private global::System.Data.DataColumn columnNote; - + private global::System.Data.DataColumn columnCodCli; - + private global::System.Data.DataColumn columnInsertDate; - + private global::System.Data.DataColumn columnRecipe; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PromesseODLDataTable() { + public PromesseODLDataTable() + { this.TableName = "PromesseODL"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal PromesseODLDataTable(global::System.Data.DataTable table) { + internal PromesseODLDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected PromesseODLDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected PromesseODLDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxPromessaColumn { - get { + public global::System.Data.DataColumn idxPromessaColumn + { + get + { return this.columnidxPromessa; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn KeyRichiestaColumn { - get { + public global::System.Data.DataColumn KeyRichiestaColumn + { + get + { return this.columnKeyRichiesta; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn KeyBCodeColumn { - get { + public global::System.Data.DataColumn KeyBCodeColumn + { + get + { return this.columnKeyBCode; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn AttivabileColumn { - get { + public global::System.Data.DataColumn AttivabileColumn + { + get + { return this.columnAttivabile; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxODLColumn { - get { + public global::System.Data.DataColumn IdxODLColumn + { + get + { return this.columnIdxODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodArticoloColumn { - get { + public global::System.Data.DataColumn CodArticoloColumn + { + get + { return this.columnCodArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DescArticoloColumn { - get { + public global::System.Data.DataColumn DescArticoloColumn + { + get + { return this.columnDescArticolo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodGruppoColumn { - get { + public global::System.Data.DataColumn CodGruppoColumn + { + get + { return this.columnCodGruppo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodMacchinaColumn { - get { + public global::System.Data.DataColumn CodMacchinaColumn + { + get + { return this.columnCodMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NomeColumn { - get { + public global::System.Data.DataColumn NomeColumn + { + get + { return this.columnNome; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NumPezziColumn { - get { + public global::System.Data.DataColumn NumPezziColumn + { + get + { return this.columnNumPezzi; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TCAssegnatoColumn { - get { + public global::System.Data.DataColumn TCAssegnatoColumn + { + get + { return this.columnTCAssegnato; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DueDateColumn { - get { + public global::System.Data.DataColumn DueDateColumn + { + get + { return this.columnDueDate; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PrioritaColumn { - get { + public global::System.Data.DataColumn PrioritaColumn + { + get + { return this.columnPriorita; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PzPalletColumn { - get { + public global::System.Data.DataColumn PzPalletColumn + { + get + { return this.columnPzPallet; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn NoteColumn { - get { + public global::System.Data.DataColumn NoteColumn + { + get + { return this.columnNote; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CodCliColumn { - get { + public global::System.Data.DataColumn CodCliColumn + { + get + { return this.columnCodCli; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn InsertDateColumn { - get { + public global::System.Data.DataColumn InsertDateColumn + { + get + { return this.columnInsertDate; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn RecipeColumn { - get { + public global::System.Data.DataColumn RecipeColumn + { + get + { return this.columnRecipe; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PromesseODLRow this[int index] { - get { + public PromesseODLRow this[int index] + { + get + { return ((PromesseODLRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PromesseODLRowChangeEventHandler PromesseODLRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PromesseODLRowChangeEventHandler PromesseODLRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PromesseODLRowChangeEventHandler PromesseODLRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event PromesseODLRowChangeEventHandler PromesseODLRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddPromesseODLRow(PromesseODLRow row) { + public void AddPromesseODLRow(PromesseODLRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public PromesseODLRow AddPromesseODLRow( - string KeyRichiesta, - string KeyBCode, - bool Attivabile, - int IdxODL, - string CodArticolo, - string DescArticolo, - string CodGruppo, - string IdxMacchina, - string CodMacchina, - string Nome, - int NumPezzi, - decimal TCAssegnato, - System.DateTime DueDate, - int Priorita, - int PzPallet, - string Note, - string CodCli, - System.DateTime InsertDate, - string Recipe) { + string KeyRichiesta, + string KeyBCode, + bool Attivabile, + int IdxODL, + string CodArticolo, + string DescArticolo, + string CodGruppo, + string IdxMacchina, + string CodMacchina, + string Nome, + int NumPezzi, + decimal TCAssegnato, + System.DateTime DueDate, + int Priorita, + int PzPallet, + string Note, + string CodCli, + System.DateTime InsertDate, + string Recipe) + { PromesseODLRow rowPromesseODLRow = ((PromesseODLRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -9172,31 +10609,35 @@ namespace MapoDb { this.Rows.Add(rowPromesseODLRow); return rowPromesseODLRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PromesseODLRow FindByidxPromessa(int idxPromessa) { + public PromesseODLRow FindByidxPromessa(int idxPromessa) + { return ((PromesseODLRow)(this.Rows.Find(new object[] { idxPromessa}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { PromesseODLDataTable cln = ((PromesseODLDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new PromesseODLDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnidxPromessa = base.Columns["idxPromessa"]; this.columnKeyRichiesta = base.Columns["KeyRichiesta"]; this.columnKeyBCode = base.Columns["KeyBCode"]; @@ -9218,10 +10659,11 @@ namespace MapoDb { this.columnInsertDate = base.Columns["InsertDate"]; this.columnRecipe = base.Columns["Recipe"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnidxPromessa = new global::System.Data.DataColumn("idxPromessa", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidxPromessa); this.columnKeyRichiesta = new global::System.Data.DataColumn("KeyRichiesta", typeof(string), null, global::System.Data.MappingType.Element); @@ -9300,70 +10742,83 @@ namespace MapoDb { this.columnRecipe.AllowDBNull = false; this.columnRecipe.MaxLength = 500; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PromesseODLRow NewPromesseODLRow() { + public PromesseODLRow NewPromesseODLRow() + { return ((PromesseODLRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new PromesseODLRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(PromesseODLRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.PromesseODLRowChanged != null)) { + if ((this.PromesseODLRowChanged != null)) + { this.PromesseODLRowChanged(this, new PromesseODLRowChangeEvent(((PromesseODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.PromesseODLRowChanging != null)) { + if ((this.PromesseODLRowChanging != null)) + { this.PromesseODLRowChanging(this, new PromesseODLRowChangeEvent(((PromesseODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.PromesseODLRowDeleted != null)) { + if ((this.PromesseODLRowDeleted != null)) + { this.PromesseODLRowDeleted(this, new PromesseODLRowChangeEvent(((PromesseODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.PromesseODLRowDeleting != null)) { + if ((this.PromesseODLRowDeleting != null)) + { this.PromesseODLRowDeleting(this, new PromesseODLRowChangeEvent(((PromesseODLRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemovePromesseODLRow(PromesseODLRow row) { + public void RemovePromesseODLRow(PromesseODLRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -9388,34 +10843,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -9424,195 +10888,230 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class ElencoConfermeProdDataTable : global::System.Data.TypedTableBase { - + public partial class ElencoConfermeProdDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnDataOraConf; - + private global::System.Data.DataColumn columnidxMacchina; - + private global::System.Data.DataColumn columnMatrApp; - + private global::System.Data.DataColumn columndataFrom; - + private global::System.Data.DataColumn columndataTo; - + private global::System.Data.DataColumn columnpezziConf; - + private global::System.Data.DataColumn columnpezziScar; - + private global::System.Data.DataColumn columnpezziDaRilav; - + private global::System.Data.DataColumn columnCommessaEsterna; - + private global::System.Data.DataColumn columnTipoConf; - + private global::System.Data.DataColumn columnCognomeNomeOpr; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdDataTable() { + public ElencoConfermeProdDataTable() + { this.TableName = "ElencoConfermeProd"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ElencoConfermeProdDataTable(global::System.Data.DataTable table) { + internal ElencoConfermeProdDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected ElencoConfermeProdDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected ElencoConfermeProdDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataOraConfColumn { - get { + public global::System.Data.DataColumn DataOraConfColumn + { + get + { return this.columnDataOraConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxMacchinaColumn { - get { + public global::System.Data.DataColumn idxMacchinaColumn + { + get + { return this.columnidxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn MatrAppColumn { - get { + public global::System.Data.DataColumn MatrAppColumn + { + get + { return this.columnMatrApp; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn dataFromColumn { - get { + public global::System.Data.DataColumn dataFromColumn + { + get + { return this.columndataFrom; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn dataToColumn { - get { + public global::System.Data.DataColumn dataToColumn + { + get + { return this.columndataTo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pezziConfColumn { - get { + public global::System.Data.DataColumn pezziConfColumn + { + get + { return this.columnpezziConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pezziScarColumn { - get { + public global::System.Data.DataColumn pezziScarColumn + { + get + { return this.columnpezziScar; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn pezziDaRilavColumn { - get { + public global::System.Data.DataColumn pezziDaRilavColumn + { + get + { return this.columnpezziDaRilav; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CommessaEsternaColumn { - get { + public global::System.Data.DataColumn CommessaEsternaColumn + { + get + { return this.columnCommessaEsterna; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn TipoConfColumn { - get { + public global::System.Data.DataColumn TipoConfColumn + { + get + { return this.columnTipoConf; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn CognomeNomeOprColumn { - get { + public global::System.Data.DataColumn CognomeNomeOprColumn + { + get + { return this.columnCognomeNomeOpr; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdRow this[int index] { - get { + public ElencoConfermeProdRow this[int index] + { + get + { return ((ElencoConfermeProdRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event ElencoConfermeProdRowChangeEventHandler ElencoConfermeProdRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddElencoConfermeProdRow(ElencoConfermeProdRow row) { + public void AddElencoConfermeProdRow(ElencoConfermeProdRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdRow AddElencoConfermeProdRow(System.DateTime DataOraConf, string idxMacchina, int MatrApp, System.DateTime dataFrom, System.DateTime dataTo, int pezziConf, int pezziScar, int pezziDaRilav, string CommessaEsterna, int TipoConf, string CognomeNomeOpr) { + public ElencoConfermeProdRow AddElencoConfermeProdRow(System.DateTime DataOraConf, string idxMacchina, int MatrApp, System.DateTime dataFrom, System.DateTime dataTo, int pezziConf, int pezziScar, int pezziDaRilav, string CommessaEsterna, int TipoConf, string CognomeNomeOpr) + { ElencoConfermeProdRow rowElencoConfermeProdRow = ((ElencoConfermeProdRow)(this.NewRow())); object[] columnValuesArray = new object[] { DataOraConf, @@ -9630,32 +11129,36 @@ namespace MapoDb { this.Rows.Add(rowElencoConfermeProdRow); return rowElencoConfermeProdRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdRow FindByDataOraConfidxMacchina(System.DateTime DataOraConf, string idxMacchina) { + public ElencoConfermeProdRow FindByDataOraConfidxMacchina(System.DateTime DataOraConf, string idxMacchina) + { return ((ElencoConfermeProdRow)(this.Rows.Find(new object[] { DataOraConf, idxMacchina}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { ElencoConfermeProdDataTable cln = ((ElencoConfermeProdDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new ElencoConfermeProdDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnDataOraConf = base.Columns["DataOraConf"]; this.columnidxMacchina = base.Columns["idxMacchina"]; this.columnMatrApp = base.Columns["MatrApp"]; @@ -9668,10 +11171,11 @@ namespace MapoDb { this.columnTipoConf = base.Columns["TipoConf"]; this.columnCognomeNomeOpr = base.Columns["CognomeNomeOpr"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnDataOraConf = new global::System.Data.DataColumn("DataOraConf", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDataOraConf); this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(string), null, global::System.Data.MappingType.Element); @@ -9712,70 +11216,83 @@ namespace MapoDb { this.columnCognomeNomeOpr.ReadOnly = true; this.columnCognomeNomeOpr.MaxLength = 101; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdRow NewElencoConfermeProdRow() { + public ElencoConfermeProdRow NewElencoConfermeProdRow() + { return ((ElencoConfermeProdRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new ElencoConfermeProdRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(ElencoConfermeProdRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.ElencoConfermeProdRowChanged != null)) { + if ((this.ElencoConfermeProdRowChanged != null)) + { this.ElencoConfermeProdRowChanged(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.ElencoConfermeProdRowChanging != null)) { + if ((this.ElencoConfermeProdRowChanging != null)) + { this.ElencoConfermeProdRowChanging(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.ElencoConfermeProdRowDeleted != null)) { + if ((this.ElencoConfermeProdRowDeleted != null)) + { this.ElencoConfermeProdRowDeleted(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.ElencoConfermeProdRowDeleting != null)) { + if ((this.ElencoConfermeProdRowDeleting != null)) + { this.ElencoConfermeProdRowDeleting(this, new ElencoConfermeProdRowChangeEvent(((ElencoConfermeProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveElencoConfermeProdRow(ElencoConfermeProdRow row) { + public void RemoveElencoConfermeProdRow(ElencoConfermeProdRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -9800,34 +11317,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -9836,185 +11362,218 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class StatoProdDataTable : global::System.Data.TypedTableBase { - + public partial class StatoProdDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnidxMacchina; - + private global::System.Data.DataColumn columnIdxOdl; - + private global::System.Data.DataColumn columnPzTotODL; - + private global::System.Data.DataColumn columnPzConfScarto; - + private global::System.Data.DataColumn columnPzConfBuoni; - + private global::System.Data.DataColumn columnPzRichODL; - + private global::System.Data.DataColumn columnPz2RecTot; - + private global::System.Data.DataColumn columnPz2RecScarto; - + private global::System.Data.DataColumn columnDataFrom; - + private global::System.Data.DataColumn columnDataTo; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public StatoProdDataTable() { + public StatoProdDataTable() + { this.TableName = "StatoProd"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal StatoProdDataTable(global::System.Data.DataTable table) { + internal StatoProdDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected StatoProdDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected StatoProdDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn idxMacchinaColumn { - get { + public global::System.Data.DataColumn idxMacchinaColumn + { + get + { return this.columnidxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxOdlColumn { - get { + public global::System.Data.DataColumn IdxOdlColumn + { + get + { return this.columnIdxOdl; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PzTotODLColumn { - get { + public global::System.Data.DataColumn PzTotODLColumn + { + get + { return this.columnPzTotODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PzConfScartoColumn { - get { + public global::System.Data.DataColumn PzConfScartoColumn + { + get + { return this.columnPzConfScarto; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PzConfBuoniColumn { - get { + public global::System.Data.DataColumn PzConfBuoniColumn + { + get + { return this.columnPzConfBuoni; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn PzRichODLColumn { - get { + public global::System.Data.DataColumn PzRichODLColumn + { + get + { return this.columnPzRichODL; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn Pz2RecTotColumn { - get { + public global::System.Data.DataColumn Pz2RecTotColumn + { + get + { return this.columnPz2RecTot; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn Pz2RecScartoColumn { - get { + public global::System.Data.DataColumn Pz2RecScartoColumn + { + get + { return this.columnPz2RecScarto; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataFromColumn { - get { + public global::System.Data.DataColumn DataFromColumn + { + get + { return this.columnDataFrom; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn DataToColumn { - get { + public global::System.Data.DataColumn DataToColumn + { + get + { return this.columnDataTo; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public StatoProdRow this[int index] { - get { + public StatoProdRow this[int index] + { + get + { return ((StatoProdRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event StatoProdRowChangeEventHandler StatoProdRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event StatoProdRowChangeEventHandler StatoProdRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event StatoProdRowChangeEventHandler StatoProdRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event StatoProdRowChangeEventHandler StatoProdRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddStatoProdRow(StatoProdRow row) { + public void AddStatoProdRow(StatoProdRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public StatoProdRow AddStatoProdRow(string idxMacchina, int IdxOdl, int PzTotODL, int PzConfScarto, int PzConfBuoni, int PzRichODL, int Pz2RecTot, int Pz2RecScarto, System.DateTime DataFrom, System.DateTime DataTo) { + public StatoProdRow AddStatoProdRow(string idxMacchina, int IdxOdl, int PzTotODL, int PzConfScarto, int PzConfBuoni, int PzRichODL, int Pz2RecTot, int Pz2RecScarto, System.DateTime DataFrom, System.DateTime DataTo) + { StatoProdRow rowStatoProdRow = ((StatoProdRow)(this.NewRow())); object[] columnValuesArray = new object[] { idxMacchina, @@ -10031,24 +11590,27 @@ namespace MapoDb { this.Rows.Add(rowStatoProdRow); return rowStatoProdRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { StatoProdDataTable cln = ((StatoProdDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new StatoProdDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnidxMacchina = base.Columns["idxMacchina"]; this.columnIdxOdl = base.Columns["IdxOdl"]; this.columnPzTotODL = base.Columns["PzTotODL"]; @@ -10060,10 +11622,11 @@ namespace MapoDb { this.columnDataFrom = base.Columns["DataFrom"]; this.columnDataTo = base.Columns["DataTo"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidxMacchina); this.columnIdxOdl = new global::System.Data.DataColumn("IdxOdl", typeof(int), null, global::System.Data.MappingType.Element); @@ -10096,70 +11659,83 @@ namespace MapoDb { this.columnDataFrom.ReadOnly = true; this.columnDataTo.ReadOnly = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public StatoProdRow NewStatoProdRow() { + public StatoProdRow NewStatoProdRow() + { return ((StatoProdRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new StatoProdRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(StatoProdRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.StatoProdRowChanged != null)) { + if ((this.StatoProdRowChanged != null)) + { this.StatoProdRowChanged(this, new StatoProdRowChangeEvent(((StatoProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.StatoProdRowChanging != null)) { + if ((this.StatoProdRowChanging != null)) + { this.StatoProdRowChanging(this, new StatoProdRowChangeEvent(((StatoProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.StatoProdRowDeleted != null)) { + if ((this.StatoProdRowDeleted != null)) + { this.StatoProdRowDeleted(this, new StatoProdRowChangeEvent(((StatoProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.StatoProdRowDeleting != null)) { + if ((this.StatoProdRowDeleting != null)) + { this.StatoProdRowDeleting(this, new StatoProdRowChangeEvent(((StatoProdRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveStatoProdRow(StatoProdRow row) { + public void RemoveStatoProdRow(StatoProdRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -10184,34 +11760,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -10220,105 +11805,122 @@ namespace MapoDb { return type; } } - + /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class Macchine2SlaveDataTable : global::System.Data.TypedTableBase { - + public partial class Macchine2SlaveDataTable : global::System.Data.TypedTableBase + { + private global::System.Data.DataColumn columnIdxMacchina; - + private global::System.Data.DataColumn columnIdxMacchinaSlave; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveDataTable() { + public Macchine2SlaveDataTable() + { this.TableName = "Macchine2Slave"; this.BeginInit(); this.InitClass(); this.EndInit(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal Macchine2SlaveDataTable(global::System.Data.DataTable table) { + internal Macchine2SlaveDataTable(global::System.Data.DataTable table) + { this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) + { this.CaseSensitive = table.CaseSensitive; } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) + { this.Locale = table.Locale; } - if ((table.Namespace != table.DataSet.Namespace)) { + if ((table.Namespace != table.DataSet.Namespace)) + { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected Macchine2SlaveDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : - base(info, context) { + protected Macchine2SlaveDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) + { this.InitVars(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaColumn { - get { + public global::System.Data.DataColumn IdxMacchinaColumn + { + get + { return this.columnIdxMacchina; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataColumn IdxMacchinaSlaveColumn { - get { + public global::System.Data.DataColumn IdxMacchinaSlaveColumn + { + get + { return this.columnIdxMacchinaSlave; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int Count { - get { + public int Count + { + get + { return this.Rows.Count; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveRow this[int index] { - get { + public Macchine2SlaveRow this[int index] + { + get + { return ((Macchine2SlaveRow)(this.Rows[index])); } } - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event Macchine2SlaveRowChangeEventHandler Macchine2SlaveRowChanging; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event Macchine2SlaveRowChangeEventHandler Macchine2SlaveRowChanged; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event Macchine2SlaveRowChangeEventHandler Macchine2SlaveRowDeleting; - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] public event Macchine2SlaveRowChangeEventHandler Macchine2SlaveRowDeleted; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void AddMacchine2SlaveRow(Macchine2SlaveRow row) { + public void AddMacchine2SlaveRow(Macchine2SlaveRow row) + { this.Rows.Add(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveRow AddMacchine2SlaveRow(string IdxMacchina, string IdxMacchinaSlave) { + public Macchine2SlaveRow AddMacchine2SlaveRow(string IdxMacchina, string IdxMacchinaSlave) + { Macchine2SlaveRow rowMacchine2SlaveRow = ((Macchine2SlaveRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxMacchina, @@ -10327,39 +11929,44 @@ namespace MapoDb { this.Rows.Add(rowMacchine2SlaveRow); return rowMacchine2SlaveRow; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveRow FindByIdxMacchinaSlaveIdxMacchina(string IdxMacchinaSlave, string IdxMacchina) { + public Macchine2SlaveRow FindByIdxMacchinaSlaveIdxMacchina(string IdxMacchinaSlave, string IdxMacchina) + { return ((Macchine2SlaveRow)(this.Rows.Find(new object[] { IdxMacchinaSlave, IdxMacchina}))); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public override global::System.Data.DataTable Clone() { + public override global::System.Data.DataTable Clone() + { Macchine2SlaveDataTable cln = ((Macchine2SlaveDataTable)(base.Clone())); cln.InitVars(); return cln; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { + protected override global::System.Data.DataTable CreateInstance() + { return new Macchine2SlaveDataTable(); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal void InitVars() { + internal void InitVars() + { this.columnIdxMacchina = base.Columns["IdxMacchina"]; this.columnIdxMacchinaSlave = base.Columns["IdxMacchinaSlave"]; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitClass() { + private void InitClass() + { this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxMacchina); this.columnIdxMacchinaSlave = new global::System.Data.DataColumn("IdxMacchinaSlave", typeof(string), null, global::System.Data.MappingType.Element); @@ -10372,70 +11979,83 @@ namespace MapoDb { this.columnIdxMacchinaSlave.AllowDBNull = false; this.columnIdxMacchinaSlave.MaxLength = 50; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveRow NewMacchine2SlaveRow() { + public Macchine2SlaveRow NewMacchine2SlaveRow() + { return ((Macchine2SlaveRow)(this.NewRow())); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) + { return new Macchine2SlaveRow(builder); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override global::System.Type GetRowType() { + protected override global::System.Type GetRowType() + { return typeof(Macchine2SlaveRow); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanged(e); - if ((this.Macchine2SlaveRowChanged != null)) { + if ((this.Macchine2SlaveRowChanged != null)) + { this.Macchine2SlaveRowChanged(this, new Macchine2SlaveRowChangeEvent(((Macchine2SlaveRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowChanging(e); - if ((this.Macchine2SlaveRowChanging != null)) { + if ((this.Macchine2SlaveRowChanging != null)) + { this.Macchine2SlaveRowChanging(this, new Macchine2SlaveRowChangeEvent(((Macchine2SlaveRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleted(e); - if ((this.Macchine2SlaveRowDeleted != null)) { + if ((this.Macchine2SlaveRowDeleted != null)) + { this.Macchine2SlaveRowDeleted(this, new Macchine2SlaveRowChangeEvent(((Macchine2SlaveRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) + { base.OnRowDeleting(e); - if ((this.Macchine2SlaveRowDeleting != null)) { + if ((this.Macchine2SlaveRowDeleting != null)) + { this.Macchine2SlaveRowDeleting(this, new Macchine2SlaveRowChangeEvent(((Macchine2SlaveRow)(e.Row)), e.Action)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void RemoveMacchine2SlaveRow(Macchine2SlaveRow row) { + public void RemoveMacchine2SlaveRow(Macchine2SlaveRow row) + { this.Rows.Remove(row); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) + { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); DS_ProdTempi ds = new DS_ProdTempi(); @@ -10460,34 +12080,43 @@ namespace MapoDb { type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { + if (xs.Contains(dsSchema.TargetNamespace)) + { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { + try + { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();) + { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); - if ((s1.Length == s2.Length)) { + if ((s1.Length == s2.Length)) + { s1.Position = 0; s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte()));) + { ; } - if ((s1.Position == s1.Length)) { + if ((s1.Position == s1.Length)) + { return type; } } } } - finally { - if ((s1 != null)) { + finally + { + if ((s1 != null)) + { s1.Close(); } - if ((s2 != null)) { + if ((s2 != null)) + { s2.Close(); } } @@ -10496,6244 +12125,7718 @@ namespace MapoDb { return type; } } - + /// ///Represents strongly named DataRow class. /// - public partial class TempiCicloRilevatiRow : global::System.Data.DataRow { - + public partial class TempiCicloRilevatiRow : global::System.Data.DataRow + { + private TempiCicloRilevatiDataTable tableTempiCicloRilevati; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal TempiCicloRilevatiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal TempiCicloRilevatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableTempiCicloRilevati = ((TempiCicloRilevatiDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableTempiCicloRilevati.IdxMacchinaColumn])); } - set { + set + { this[this.tableTempiCicloRilevati.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { + public string CodArticolo + { + get + { return ((string)(this[this.tableTempiCicloRilevati.CodArticoloColumn])); } - set { + set + { this[this.tableTempiCicloRilevati.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraRif { - get { + public System.DateTime DataOraRif + { + get + { return ((global::System.DateTime)(this[this.tableTempiCicloRilevati.DataOraRifColumn])); } - set { + set + { this[this.tableTempiCicloRilevati.DataOraRifColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCMedio { - get { + public decimal TCMedio + { + get + { return ((decimal)(this[this.tableTempiCicloRilevati.TCMedioColumn])); } - set { + set + { this[this.tableTempiCicloRilevati.TCMedioColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PzProd { - get { + public int PzProd + { + get + { return ((int)(this[this.tableTempiCicloRilevati.PzProdColumn])); } - set { + set + { this[this.tableTempiCicloRilevati.PzProdColumn] = value; } } } - + /// ///Represents strongly named DataRow class. /// - public partial class ODLRow : global::System.Data.DataRow { - + public partial class ODLRow : global::System.Data.DataRow + { + private ODLDataTable tableODL; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ODLRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal ODLRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableODL = ((ODLDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxODL { - get { + public int IdxODL + { + get + { return ((int)(this[this.tableODL.IdxODLColumn])); } - set { + set + { this[this.tableODL.IdxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { + public string CodArticolo + { + get + { return ((string)(this[this.tableODL.CodArticoloColumn])); } - set { + set + { this[this.tableODL.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string DescArticolo { - get { - try { + public string DescArticolo + { + get + { + try + { return ((string)(this[this.tableODL.DescArticoloColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DescArticolo\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.DescArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { - try { + public string IdxMacchina + { + get + { + try + { return ((string)(this[this.tableODL.IdxMacchinaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'IdxMacchina\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodMacchina { - get { - try { + public string CodMacchina + { + get + { + try + { return ((string)(this[this.tableODL.CodMacchinaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.CodMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Nome { - get { - try { + public string Nome + { + get + { + try + { return ((string)(this[this.tableODL.NomeColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.NomeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int NumPezzi { - get { + public int NumPezzi + { + get + { return ((int)(this[this.tableODL.NumPezziColumn])); } - set { + set + { this[this.tableODL.NumPezziColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { + public decimal TCAssegnato + { + get + { return ((decimal)(this[this.tableODL.TCAssegnatoColumn])); } - set { + set + { this[this.tableODL.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataInizio { - get { - try { + public System.DateTime DataInizio + { + get + { + try + { return ((global::System.DateTime)(this[this.tableODL.DataInizioColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataInizio\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.DataInizioColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataFine { - get { - try { + public System.DateTime DataFine + { + get + { + try + { return ((global::System.DateTime)(this[this.tableODL.DataFineColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataFine\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.DataFineColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Note { - get { - try { + public string Note + { + get + { + try + { return ((string)(this[this.tableODL.NoteColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.NoteColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool NeedAppr { - get { + public bool NeedAppr + { + get + { return ((bool)(this[this.tableODL.NeedApprColumn])); } - set { + set + { this[this.tableODL.NeedApprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string UserAppr { - get { - try { + public string UserAppr + { + get + { + try + { return ((string)(this[this.tableODL.UserApprColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'UserAppr\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.UserApprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataAppr { - get { - try { + public System.DateTime DataAppr + { + get + { + try + { return ((global::System.DateTime)(this[this.tableODL.DataApprColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataAppr\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.DataApprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCRichAttr { - get { - try { + public decimal TCRichAttr + { + get + { + try + { return ((decimal)(this[this.tableODL.TCRichAttrColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCRichAttr\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.TCRichAttrColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int ToAs400 { - get { - try { + public int ToAs400 + { + get + { + try + { return ((int)(this[this.tableODL.ToAs400Column])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'ToAs400\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.ToAs400Column] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CommessaAs400 { - get { - try { + public string CommessaAs400 + { + get + { + try + { return ((string)(this[this.tableODL.CommessaAs400Column])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CommessaAs400\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.CommessaAs400Column] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PzPallet { - get { + public int PzPallet + { + get + { return ((int)(this[this.tableODL.PzPalletColumn])); } - set { + set + { this[this.tableODL.PzPalletColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string OperSetup { - get { - try { + public string OperSetup + { + get + { + try + { return ((string)(this[this.tableODL.OperSetupColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'OperSetup\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.OperSetupColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string KeyRichiesta { - get { - try { + public string KeyRichiesta + { + get + { + try + { return ((string)(this[this.tableODL.KeyRichiestaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'KeyRichiesta\' in table \'ODL\' is DBNull.", e); } } - set { + set + { this[this.tableODL.KeyRichiestaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDescArticoloNull() { + public bool IsDescArticoloNull() + { return this.IsNull(this.tableODL.DescArticoloColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDescArticoloNull() { + public void SetDescArticoloNull() + { this[this.tableODL.DescArticoloColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsIdxMacchinaNull() { + public bool IsIdxMacchinaNull() + { return this.IsNull(this.tableODL.IdxMacchinaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetIdxMacchinaNull() { + public void SetIdxMacchinaNull() + { this[this.tableODL.IdxMacchinaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodMacchinaNull() { + public bool IsCodMacchinaNull() + { return this.IsNull(this.tableODL.CodMacchinaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodMacchinaNull() { + public void SetCodMacchinaNull() + { this[this.tableODL.CodMacchinaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsNomeNull() { + public bool IsNomeNull() + { return this.IsNull(this.tableODL.NomeColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetNomeNull() { + public void SetNomeNull() + { this[this.tableODL.NomeColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataInizioNull() { + public bool IsDataInizioNull() + { return this.IsNull(this.tableODL.DataInizioColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataInizioNull() { + public void SetDataInizioNull() + { this[this.tableODL.DataInizioColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataFineNull() { + public bool IsDataFineNull() + { return this.IsNull(this.tableODL.DataFineColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataFineNull() { + public void SetDataFineNull() + { this[this.tableODL.DataFineColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsNoteNull() { + public bool IsNoteNull() + { return this.IsNull(this.tableODL.NoteColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetNoteNull() { + public void SetNoteNull() + { this[this.tableODL.NoteColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsUserApprNull() { + public bool IsUserApprNull() + { return this.IsNull(this.tableODL.UserApprColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetUserApprNull() { + public void SetUserApprNull() + { this[this.tableODL.UserApprColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataApprNull() { + public bool IsDataApprNull() + { return this.IsNull(this.tableODL.DataApprColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataApprNull() { + public void SetDataApprNull() + { this[this.tableODL.DataApprColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCRichAttrNull() { + public bool IsTCRichAttrNull() + { return this.IsNull(this.tableODL.TCRichAttrColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCRichAttrNull() { + public void SetTCRichAttrNull() + { this[this.tableODL.TCRichAttrColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsToAs400Null() { + public bool IsToAs400Null() + { return this.IsNull(this.tableODL.ToAs400Column); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetToAs400Null() { + public void SetToAs400Null() + { this[this.tableODL.ToAs400Column] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCommessaAs400Null() { + public bool IsCommessaAs400Null() + { return this.IsNull(this.tableODL.CommessaAs400Column); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCommessaAs400Null() { + public void SetCommessaAs400Null() + { this[this.tableODL.CommessaAs400Column] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsOperSetupNull() { + public bool IsOperSetupNull() + { return this.IsNull(this.tableODL.OperSetupColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetOperSetupNull() { + public void SetOperSetupNull() + { this[this.tableODL.OperSetupColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsKeyRichiestaNull() { + public bool IsKeyRichiestaNull() + { return this.IsNull(this.tableODL.KeyRichiestaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetKeyRichiestaNull() { + public void SetKeyRichiestaNull() + { this[this.tableODL.KeyRichiestaColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class AnagArticoliRow : global::System.Data.DataRow { - + public partial class AnagArticoliRow : global::System.Data.DataRow + { + private AnagArticoliDataTable tableAnagArticoli; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal AnagArticoliRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal AnagArticoliRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableAnagArticoli = ((AnagArticoliDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { + public string CodArticolo + { + get + { return ((string)(this[this.tableAnagArticoli.CodArticoloColumn])); } - set { + set + { this[this.tableAnagArticoli.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Disegno { - get { + public string Disegno + { + get + { return ((string)(this[this.tableAnagArticoli.DisegnoColumn])); } - set { + set + { this[this.tableAnagArticoli.DisegnoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string DescArticolo { - get { + public string DescArticolo + { + get + { return ((string)(this[this.tableAnagArticoli.DescArticoloColumn])); } - set { + set + { this[this.tableAnagArticoli.DescArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CurrRev { - get { + public string CurrRev + { + get + { return ((string)(this[this.tableAnagArticoli.CurrRevColumn])); } - set { + set + { this[this.tableAnagArticoli.CurrRevColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string ProdRev { - get { + public string ProdRev + { + get + { return ((string)(this[this.tableAnagArticoli.ProdRevColumn])); } - set { + set + { this[this.tableAnagArticoli.ProdRevColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool FlagIsNew { - get { - try { + public bool FlagIsNew + { + get + { + try + { return ((bool)(this[this.tableAnagArticoli.FlagIsNewColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'FlagIsNew\' in table \'AnagArticoli\' is DBNull.", e); } } - set { + set + { this[this.tableAnagArticoli.FlagIsNewColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Tipo { - get { + public string Tipo + { + get + { return ((string)(this[this.tableAnagArticoli.TipoColumn])); } - set { + set + { this[this.tableAnagArticoli.TipoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Azienda { - get { + public string Azienda + { + get + { return ((string)(this[this.tableAnagArticoli.AziendaColumn])); } - set { + set + { this[this.tableAnagArticoli.AziendaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsFlagIsNewNull() { + public bool IsFlagIsNewNull() + { return this.IsNull(this.tableAnagArticoli.FlagIsNewColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetFlagIsNewNull() { + public void SetFlagIsNewNull() + { this[this.tableAnagArticoli.FlagIsNewColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class DatiMacchineRow : global::System.Data.DataRow { - + public partial class DatiMacchineRow : global::System.Data.DataRow + { + private DatiMacchineDataTable tableDatiMacchine; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal DatiMacchineRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal DatiMacchineRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableDatiMacchine = ((DatiMacchineDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string idxMacchina { - get { + public string idxMacchina + { + get + { return ((string)(this[this.tableDatiMacchine.idxMacchinaColumn])); } - set { + set + { this[this.tableDatiMacchine.idxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string DescFull { - get { - try { + public string DescFull + { + get + { + try + { return ((string)(this[this.tableDatiMacchine.DescFullColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DescFull\' in table \'DatiMacchine\' is DBNull.", e); } } - set { + set + { this[this.tableDatiMacchine.DescFullColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool palletChange { - get { - try { + public bool palletChange + { + get + { + try + { return ((bool)(this[this.tableDatiMacchine.palletChangeColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'palletChange\' in table \'DatiMacchine\' is DBNull.", e); } } - set { + set + { this[this.tableDatiMacchine.palletChangeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string serialPort { - get { - try { + public string serialPort + { + get + { + try + { return ((string)(this[this.tableDatiMacchine.serialPortColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'serialPort\' in table \'DatiMacchine\' is DBNull.", e); } } - set { + set + { this[this.tableDatiMacchine.serialPortColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int refreshPeriod { - get { - try { + public int refreshPeriod + { + get + { + try + { return ((int)(this[this.tableDatiMacchine.refreshPeriodColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'refreshPeriod\' in table \'DatiMacchine\' is DBNull.", e); } } - set { + set + { this[this.tableDatiMacchine.refreshPeriodColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool simulazione { - get { - try { + public bool simulazione + { + get + { + try + { return ((bool)(this[this.tableDatiMacchine.simulazioneColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'simulazione\' in table \'DatiMacchine\' is DBNull.", e); } } - set { + set + { this[this.tableDatiMacchine.simulazioneColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo_A { - get { - try { + public string CodArticolo_A + { + get + { + try + { return ((string)(this[this.tableDatiMacchine.CodArticolo_AColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo_A\' in table \'DatiMacchine\' is DBNull.", e); } } - set { + set + { this[this.tableDatiMacchine.CodArticolo_AColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo_B { - get { - try { + public string CodArticolo_B + { + get + { + try + { return ((string)(this[this.tableDatiMacchine.CodArticolo_BColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo_B\' in table \'DatiMacchine\' is DBNull.", e); } } - set { + set + { this[this.tableDatiMacchine.CodArticolo_BColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool hasCounter { - get { + public bool hasCounter + { + get + { return ((bool)(this[this.tableDatiMacchine.hasCounterColumn])); } - set { + set + { this[this.tableDatiMacchine.hasCounterColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDescFullNull() { + public bool IsDescFullNull() + { return this.IsNull(this.tableDatiMacchine.DescFullColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDescFullNull() { + public void SetDescFullNull() + { this[this.tableDatiMacchine.DescFullColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspalletChangeNull() { + public bool IspalletChangeNull() + { return this.IsNull(this.tableDatiMacchine.palletChangeColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpalletChangeNull() { + public void SetpalletChangeNull() + { this[this.tableDatiMacchine.palletChangeColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsserialPortNull() { + public bool IsserialPortNull() + { return this.IsNull(this.tableDatiMacchine.serialPortColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetserialPortNull() { + public void SetserialPortNull() + { this[this.tableDatiMacchine.serialPortColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsrefreshPeriodNull() { + public bool IsrefreshPeriodNull() + { return this.IsNull(this.tableDatiMacchine.refreshPeriodColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetrefreshPeriodNull() { + public void SetrefreshPeriodNull() + { this[this.tableDatiMacchine.refreshPeriodColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IssimulazioneNull() { + public bool IssimulazioneNull() + { return this.IsNull(this.tableDatiMacchine.simulazioneColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetsimulazioneNull() { + public void SetsimulazioneNull() + { this[this.tableDatiMacchine.simulazioneColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodArticolo_ANull() { + public bool IsCodArticolo_ANull() + { return this.IsNull(this.tableDatiMacchine.CodArticolo_AColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodArticolo_ANull() { + public void SetCodArticolo_ANull() + { this[this.tableDatiMacchine.CodArticolo_AColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodArticolo_BNull() { + public bool IsCodArticolo_BNull() + { return this.IsNull(this.tableDatiMacchine.CodArticolo_BColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodArticolo_BNull() { + public void SetCodArticolo_BNull() + { this[this.tableDatiMacchine.CodArticolo_BColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class PostazioniMapoRow : global::System.Data.DataRow { - + public partial class PostazioniMapoRow : global::System.Data.DataRow + { + private PostazioniMapoDataTable tablePostazioniMapo; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal PostazioniMapoRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal PostazioniMapoRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tablePostazioniMapo = ((PostazioniMapoDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxPostazione { - get { + public string IdxPostazione + { + get + { return ((string)(this[this.tablePostazioniMapo.IdxPostazioneColumn])); } - set { + set + { this[this.tablePostazioniMapo.IdxPostazioneColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string DescPostazione { - get { - try { + public string DescPostazione + { + get + { + try + { return ((string)(this[this.tablePostazioniMapo.DescPostazioneColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DescPostazione\' in table \'PostazioniMapo\' is DBNull.", e); } } - set { + set + { this[this.tablePostazioniMapo.DescPostazioneColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tablePostazioniMapo.IdxMacchinaColumn])); } - set { + set + { this[this.tablePostazioniMapo.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrOperatore { - get { - try { + public int MatrOperatore + { + get + { + try + { return ((int)(this[this.tablePostazioniMapo.MatrOperatoreColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'MatrOperatore\' in table \'PostazioniMapo\' is DBNull.", e); } } - set { + set + { this[this.tablePostazioniMapo.MatrOperatoreColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime InputUntil { - get { - try { + public System.DateTime InputUntil + { + get + { + try + { return ((global::System.DateTime)(this[this.tablePostazioniMapo.InputUntilColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'InputUntil\' in table \'PostazioniMapo\' is DBNull.", e); } } - set { + set + { this[this.tablePostazioniMapo.InputUntilColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string LastBarcode { - get { - try { + public string LastBarcode + { + get + { + try + { return ((string)(this[this.tablePostazioniMapo.LastBarcodeColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'LastBarcode\' in table \'PostazioniMapo\' is DBNull.", e); } } - set { + set + { this[this.tablePostazioniMapo.LastBarcodeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDescPostazioneNull() { + public bool IsDescPostazioneNull() + { return this.IsNull(this.tablePostazioniMapo.DescPostazioneColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDescPostazioneNull() { + public void SetDescPostazioneNull() + { this[this.tablePostazioniMapo.DescPostazioneColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsMatrOperatoreNull() { + public bool IsMatrOperatoreNull() + { return this.IsNull(this.tablePostazioniMapo.MatrOperatoreColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetMatrOperatoreNull() { + public void SetMatrOperatoreNull() + { this[this.tablePostazioniMapo.MatrOperatoreColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsInputUntilNull() { + public bool IsInputUntilNull() + { return this.IsNull(this.tablePostazioniMapo.InputUntilColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetInputUntilNull() { + public void SetInputUntilNull() + { this[this.tablePostazioniMapo.InputUntilColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsLastBarcodeNull() { + public bool IsLastBarcodeNull() + { return this.IsNull(this.tablePostazioniMapo.LastBarcodeColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetLastBarcodeNull() { + public void SetLastBarcodeNull() + { this[this.tablePostazioniMapo.LastBarcodeColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class stp_PzProd_getByMacchinaRow : global::System.Data.DataRow { - + public partial class stp_PzProd_getByMacchinaRow : global::System.Data.DataRow + { + private stp_PzProd_getByMacchinaDataTable tablestp_PzProd_getByMacchina; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_PzProd_getByMacchinaRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal stp_PzProd_getByMacchinaRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tablestp_PzProd_getByMacchina = ((stp_PzProd_getByMacchinaDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string idxMacchina { - get { - try { + public string idxMacchina + { + get + { + try + { return ((string)(this[this.tablestp_PzProd_getByMacchina.idxMacchinaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'stp_PzProd_getByMacchina\' is DBNull." + "", e); } } - set { + set + { this[this.tablestp_PzProd_getByMacchina.idxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pezziNonConfermati { - get { - try { + public int pezziNonConfermati + { + get + { + try + { return ((int)(this[this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pezziNonConfermati\' in table \'stp_PzProd_getByMacchina\' is " + "DBNull.", e); } } - set { + set + { this[this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataFrom { - get { - try { + public System.DateTime DataFrom + { + get + { + try + { return ((global::System.DateTime)(this[this.tablestp_PzProd_getByMacchina.DataFromColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataFrom\' in table \'stp_PzProd_getByMacchina\' is DBNull.", e); } } - set { + set + { this[this.tablestp_PzProd_getByMacchina.DataFromColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataTo { - get { - try { + public System.DateTime DataTo + { + get + { + try + { return ((global::System.DateTime)(this[this.tablestp_PzProd_getByMacchina.DataToColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataTo\' in table \'stp_PzProd_getByMacchina\' is DBNull.", e); } } - set { + set + { this[this.tablestp_PzProd_getByMacchina.DataToColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsidxMacchinaNull() { + public bool IsidxMacchinaNull() + { return this.IsNull(this.tablestp_PzProd_getByMacchina.idxMacchinaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetidxMacchinaNull() { + public void SetidxMacchinaNull() + { this[this.tablestp_PzProd_getByMacchina.idxMacchinaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspezziNonConfermatiNull() { + public bool IspezziNonConfermatiNull() + { return this.IsNull(this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpezziNonConfermatiNull() { + public void SetpezziNonConfermatiNull() + { this[this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataFromNull() { + public bool IsDataFromNull() + { return this.IsNull(this.tablestp_PzProd_getByMacchina.DataFromColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataFromNull() { + public void SetDataFromNull() + { this[this.tablestp_PzProd_getByMacchina.DataFromColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataToNull() { + public bool IsDataToNull() + { return this.IsNull(this.tablestp_PzProd_getByMacchina.DataToColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataToNull() { + public void SetDataToNull() + { this[this.tablestp_PzProd_getByMacchina.DataToColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class DatiConfermatiRow : global::System.Data.DataRow { - + public partial class DatiConfermatiRow : global::System.Data.DataRow + { + private DatiConfermatiDataTable tableDatiConfermati; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal DatiConfermatiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal DatiConfermatiRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableDatiConfermati = ((DatiConfermatiDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxConferma { - get { + public int IdxConferma + { + get + { return ((int)(this[this.tableDatiConfermati.IdxConfermaColumn])); } - set { + set + { this[this.tableDatiConfermati.IdxConfermaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxODL { - get { + public int IdxODL + { + get + { return ((int)(this[this.tableDatiConfermati.IdxODLColumn])); } - set { + set + { this[this.tableDatiConfermati.IdxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraApp { - get { + public System.DateTime DataOraApp + { + get + { return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraAppColumn])); } - set { + set + { this[this.tableDatiConfermati.DataOraAppColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataRif { - get { + public System.DateTime DataRif + { + get + { return ((global::System.DateTime)(this[this.tableDatiConfermati.DataRifColumn])); } - set { + set + { this[this.tableDatiConfermati.DataRifColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int TurnoRif { - get { - try { + public int TurnoRif + { + get + { + try + { return ((int)(this[this.tableDatiConfermati.TurnoRifColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TurnoRif\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TurnoRifColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { - try { + public string CodArticolo + { + get + { + try + { return ((string)(this[this.tableDatiConfermati.CodArticoloColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableDatiConfermati.IdxMacchinaColumn])); } - set { + set + { this[this.tableDatiConfermati.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { - try { + public decimal TCAssegnato + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TCAssegnatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrOpr { - get { - try { + public int MatrOpr + { + get + { + try + { return ((int)(this[this.tableDatiConfermati.MatrOprColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'MatrOpr\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.MatrOprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrApp { - get { + public int MatrApp + { + get + { return ((int)(this[this.tableDatiConfermati.MatrAppColumn])); } - set { + set + { this[this.tableDatiConfermati.MatrAppColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraFrom { - get { - try { + public System.DateTime DataOraFrom + { + get + { + try + { return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraFromColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataOraFrom\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.DataOraFromColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraTo { - get { - try { + public System.DateTime DataOraTo + { + get + { + try + { return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraToColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataOraTo\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.DataOraToColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxStato { - get { + public int IdxStato + { + get + { return ((int)(this[this.tableDatiConfermati.IdxStatoColumn])); } - set { + set + { this[this.tableDatiConfermati.IdxStatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int TotPzProd { - get { - try { + public int TotPzProd + { + get + { + try + { return ((int)(this[this.tableDatiConfermati.TotPzProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TotPzProd\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TotPzProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoProdotto { - get { - try { + public decimal TempoProdotto + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoProdottoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoProdotto\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoProdottoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoCron { - get { - try { + public decimal TempoCron + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoCronColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoCron\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoCronColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoND { - get { - try { + public decimal TempoND + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoNDColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoND\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoNDColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoApertura { - get { - try { + public decimal TempoApertura + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoAperturaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoApertura\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoAperturaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoOFF { - get { - try { + public decimal TempoOFF + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoOFFColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoOFF\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoOFFColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoON { - get { - try { + public decimal TempoON + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoONColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoON\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoONColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoFermoOn { - get { - try { + public decimal TempoFermoOn + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoFermoOnColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoFermoOn\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoFermoOnColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoAuto { - get { - try { + public decimal TempoAuto + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoAutoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoAutoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoFermoAuto { - get { - try { + public decimal TempoFermoAuto + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoFermoAutoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoFermoAuto\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoFermoAutoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoRun { - get { - try { + public decimal TempoRun + { + get + { + try + { return ((decimal)(this[this.tableDatiConfermati.TempoRunColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TempoRunColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int TotPzFermo { - get { - try { + public int TotPzFermo + { + get + { + try + { return ((int)(this[this.tableDatiConfermati.TotPzFermoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TotPzFermo\' in table \'DatiConfermati\' is DBNull.", e); } } - set { + set + { this[this.tableDatiConfermati.TotPzFermoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTurnoRifNull() { + public bool IsTurnoRifNull() + { return this.IsNull(this.tableDatiConfermati.TurnoRifColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTurnoRifNull() { + public void SetTurnoRifNull() + { this[this.tableDatiConfermati.TurnoRifColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodArticoloNull() { + public bool IsCodArticoloNull() + { return this.IsNull(this.tableDatiConfermati.CodArticoloColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodArticoloNull() { + public void SetCodArticoloNull() + { this[this.tableDatiConfermati.CodArticoloColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCAssegnatoNull() { + public bool IsTCAssegnatoNull() + { return this.IsNull(this.tableDatiConfermati.TCAssegnatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCAssegnatoNull() { + public void SetTCAssegnatoNull() + { this[this.tableDatiConfermati.TCAssegnatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsMatrOprNull() { + public bool IsMatrOprNull() + { return this.IsNull(this.tableDatiConfermati.MatrOprColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetMatrOprNull() { + public void SetMatrOprNull() + { this[this.tableDatiConfermati.MatrOprColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataOraFromNull() { + public bool IsDataOraFromNull() + { return this.IsNull(this.tableDatiConfermati.DataOraFromColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataOraFromNull() { + public void SetDataOraFromNull() + { this[this.tableDatiConfermati.DataOraFromColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataOraToNull() { + public bool IsDataOraToNull() + { return this.IsNull(this.tableDatiConfermati.DataOraToColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataOraToNull() { + public void SetDataOraToNull() + { this[this.tableDatiConfermati.DataOraToColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTotPzProdNull() { + public bool IsTotPzProdNull() + { return this.IsNull(this.tableDatiConfermati.TotPzProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTotPzProdNull() { + public void SetTotPzProdNull() + { this[this.tableDatiConfermati.TotPzProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoProdottoNull() { + public bool IsTempoProdottoNull() + { return this.IsNull(this.tableDatiConfermati.TempoProdottoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoProdottoNull() { + public void SetTempoProdottoNull() + { this[this.tableDatiConfermati.TempoProdottoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoCronNull() { + public bool IsTempoCronNull() + { return this.IsNull(this.tableDatiConfermati.TempoCronColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoCronNull() { + public void SetTempoCronNull() + { this[this.tableDatiConfermati.TempoCronColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoNDNull() { + public bool IsTempoNDNull() + { return this.IsNull(this.tableDatiConfermati.TempoNDColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoNDNull() { + public void SetTempoNDNull() + { this[this.tableDatiConfermati.TempoNDColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoAperturaNull() { + public bool IsTempoAperturaNull() + { return this.IsNull(this.tableDatiConfermati.TempoAperturaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoAperturaNull() { + public void SetTempoAperturaNull() + { this[this.tableDatiConfermati.TempoAperturaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoOFFNull() { + public bool IsTempoOFFNull() + { return this.IsNull(this.tableDatiConfermati.TempoOFFColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoOFFNull() { + public void SetTempoOFFNull() + { this[this.tableDatiConfermati.TempoOFFColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoONNull() { + public bool IsTempoONNull() + { return this.IsNull(this.tableDatiConfermati.TempoONColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoONNull() { + public void SetTempoONNull() + { this[this.tableDatiConfermati.TempoONColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoFermoOnNull() { + public bool IsTempoFermoOnNull() + { return this.IsNull(this.tableDatiConfermati.TempoFermoOnColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoFermoOnNull() { + public void SetTempoFermoOnNull() + { this[this.tableDatiConfermati.TempoFermoOnColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoAutoNull() { + public bool IsTempoAutoNull() + { return this.IsNull(this.tableDatiConfermati.TempoAutoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoAutoNull() { + public void SetTempoAutoNull() + { this[this.tableDatiConfermati.TempoAutoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoFermoAutoNull() { + public bool IsTempoFermoAutoNull() + { return this.IsNull(this.tableDatiConfermati.TempoFermoAutoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoFermoAutoNull() { + public void SetTempoFermoAutoNull() + { this[this.tableDatiConfermati.TempoFermoAutoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoRunNull() { + public bool IsTempoRunNull() + { return this.IsNull(this.tableDatiConfermati.TempoRunColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoRunNull() { + public void SetTempoRunNull() + { this[this.tableDatiConfermati.TempoRunColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTotPzFermoNull() { + public bool IsTotPzFermoNull() + { return this.IsNull(this.tableDatiConfermati.TotPzFermoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTotPzFermoNull() { + public void SetTotPzFermoNull() + { this[this.tableDatiConfermati.TotPzFermoColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class CalendFesteFerieRow : global::System.Data.DataRow { - + public partial class CalendFesteFerieRow : global::System.Data.DataRow + { + private CalendFesteFerieDataTable tableCalendFesteFerie; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal CalendFesteFerieRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal CalendFesteFerieRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime data { - get { + public System.DateTime data + { + get + { return ((global::System.DateTime)(this[this.tableCalendFesteFerie.dataColumn])); } - set { + set + { this[this.tableCalendFesteFerie.dataColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string descrizione { - get { - try { + public string descrizione + { + get + { + try + { return ((string)(this[this.tableCalendFesteFerie.descrizioneColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'CalendFesteFerie\' is DBNull.", e); } } - set { + set + { this[this.tableCalendFesteFerie.descrizioneColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsdescrizioneNull() { + public bool IsdescrizioneNull() + { return this.IsNull(this.tableCalendFesteFerie.descrizioneColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetdescrizioneNull() { + public void SetdescrizioneNull() + { this[this.tableCalendFesteFerie.descrizioneColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class stp_TempoByIdxMaccPeriodClassRow : global::System.Data.DataRow { - + public partial class stp_TempoByIdxMaccPeriodClassRow : global::System.Data.DataRow + { + private stp_TempoByIdxMaccPeriodClassDataTable tablestp_TempoByIdxMaccPeriodClass; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_TempoByIdxMaccPeriodClassRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal stp_TempoByIdxMaccPeriodClassRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tablestp_TempoByIdxMaccPeriodClass = ((stp_TempoByIdxMaccPeriodClassDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal ore { - get { - try { + public decimal ore + { + get + { + try + { return ((decimal)(this[this.tablestp_TempoByIdxMaccPeriodClass.oreColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'ore\' in table \'stp_TempoByIdxMaccPeriodClass\' is DBNull.", e); } } - set { + set + { this[this.tablestp_TempoByIdxMaccPeriodClass.oreColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsoreNull() { + public bool IsoreNull() + { return this.IsNull(this.tablestp_TempoByIdxMaccPeriodClass.oreColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetoreNull() { + public void SetoreNull() + { this[this.tablestp_TempoByIdxMaccPeriodClass.oreColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class DatiProduzioneRow : global::System.Data.DataRow { - + public partial class DatiProduzioneRow : global::System.Data.DataRow + { + private DatiProduzioneDataTable tableDatiProduzione; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal DatiProduzioneRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal DatiProduzioneRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableDatiProduzione = ((DatiProduzioneDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxConferma { - get { + public int IdxConferma + { + get + { return ((int)(this[this.tableDatiProduzione.IdxConfermaColumn])); } - set { + set + { this[this.tableDatiProduzione.IdxConfermaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxODL { - get { + public int IdxODL + { + get + { return ((int)(this[this.tableDatiProduzione.IdxODLColumn])); } - set { + set + { this[this.tableDatiProduzione.IdxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraApp { - get { + public System.DateTime DataOraApp + { + get + { return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraAppColumn])); } - set { + set + { this[this.tableDatiProduzione.DataOraAppColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataRif { - get { + public System.DateTime DataRif + { + get + { return ((global::System.DateTime)(this[this.tableDatiProduzione.DataRifColumn])); } - set { + set + { this[this.tableDatiProduzione.DataRifColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int TurnoRif { - get { - try { + public int TurnoRif + { + get + { + try + { return ((int)(this[this.tableDatiProduzione.TurnoRifColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TurnoRif\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.TurnoRifColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { - try { + public string CodArticolo + { + get + { + try + { return ((string)(this[this.tableDatiProduzione.CodArticoloColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableDatiProduzione.IdxMacchinaColumn])); } - set { + set + { this[this.tableDatiProduzione.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { - try { + public decimal TCAssegnato + { + get + { + try + { return ((decimal)(this[this.tableDatiProduzione.TCAssegnatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrOpr { - get { - try { + public int MatrOpr + { + get + { + try + { return ((int)(this[this.tableDatiProduzione.MatrOprColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'MatrOpr\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.MatrOprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrApp { - get { + public int MatrApp + { + get + { return ((int)(this[this.tableDatiProduzione.MatrAppColumn])); } - set { + set + { this[this.tableDatiProduzione.MatrAppColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraFrom { - get { - try { + public System.DateTime DataOraFrom + { + get + { + try + { return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraFromColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataOraFrom\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.DataOraFromColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraTo { - get { - try { + public System.DateTime DataOraTo + { + get + { + try + { return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraToColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataOraTo\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.DataOraToColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int TotPzProd { - get { - try { + public int TotPzProd + { + get + { + try + { return ((int)(this[this.tableDatiProduzione.TotPzProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TotPzProd\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.TotPzProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal Tempo { - get { - try { + public decimal Tempo + { + get + { + try + { return ((decimal)(this[this.tableDatiProduzione.TempoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Tempo\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.TempoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string ClasseTempo { - get { - try { + public string ClasseTempo + { + get + { + try + { return ((string)(this[this.tableDatiProduzione.ClasseTempoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'ClasseTempo\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.ClasseTempoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Causale { - get { - try { + public string Causale + { + get + { + try + { return ((string)(this[this.tableDatiProduzione.CausaleColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Causale\' in table \'DatiProduzione\' is DBNull.", e); } } - set { + set + { this[this.tableDatiProduzione.CausaleColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTurnoRifNull() { + public bool IsTurnoRifNull() + { return this.IsNull(this.tableDatiProduzione.TurnoRifColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTurnoRifNull() { + public void SetTurnoRifNull() + { this[this.tableDatiProduzione.TurnoRifColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodArticoloNull() { + public bool IsCodArticoloNull() + { return this.IsNull(this.tableDatiProduzione.CodArticoloColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodArticoloNull() { + public void SetCodArticoloNull() + { this[this.tableDatiProduzione.CodArticoloColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCAssegnatoNull() { + public bool IsTCAssegnatoNull() + { return this.IsNull(this.tableDatiProduzione.TCAssegnatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCAssegnatoNull() { + public void SetTCAssegnatoNull() + { this[this.tableDatiProduzione.TCAssegnatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsMatrOprNull() { + public bool IsMatrOprNull() + { return this.IsNull(this.tableDatiProduzione.MatrOprColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetMatrOprNull() { + public void SetMatrOprNull() + { this[this.tableDatiProduzione.MatrOprColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataOraFromNull() { + public bool IsDataOraFromNull() + { return this.IsNull(this.tableDatiProduzione.DataOraFromColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataOraFromNull() { + public void SetDataOraFromNull() + { this[this.tableDatiProduzione.DataOraFromColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataOraToNull() { + public bool IsDataOraToNull() + { return this.IsNull(this.tableDatiProduzione.DataOraToColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataOraToNull() { + public void SetDataOraToNull() + { this[this.tableDatiProduzione.DataOraToColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTotPzProdNull() { + public bool IsTotPzProdNull() + { return this.IsNull(this.tableDatiProduzione.TotPzProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTotPzProdNull() { + public void SetTotPzProdNull() + { this[this.tableDatiProduzione.TotPzProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoNull() { + public bool IsTempoNull() + { return this.IsNull(this.tableDatiProduzione.TempoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoNull() { + public void SetTempoNull() + { this[this.tableDatiProduzione.TempoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsClasseTempoNull() { + public bool IsClasseTempoNull() + { return this.IsNull(this.tableDatiProduzione.ClasseTempoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetClasseTempoNull() { + public void SetClasseTempoNull() + { this[this.tableDatiProduzione.ClasseTempoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCausaleNull() { + public bool IsCausaleNull() + { return this.IsNull(this.tableDatiProduzione.CausaleColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCausaleNull() { + public void SetCausaleNull() + { this[this.tableDatiProduzione.CausaleColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class stp_repDonati_getDatiProdMacchinaRow : global::System.Data.DataRow { - + public partial class stp_repDonati_getDatiProdMacchinaRow : global::System.Data.DataRow + { + private stp_repDonati_getDatiProdMacchinaDataTable tablestp_repDonati_getDatiProdMacchina; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_repDonati_getDatiProdMacchinaRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal stp_repDonati_getDatiProdMacchinaRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tablestp_repDonati_getDatiProdMacchina = ((stp_repDonati_getDatiProdMacchinaDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { - try { + public string CodArticolo + { + get + { + try + { return ((string)(this[this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'stp_repDonati_getDatiProdMacchina\' i" + "s DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PezziLanciati { - get { - try { + public int PezziLanciati + { + get + { + try + { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PezziLanciati\' in table \'stp_repDonati_getDatiProdMacchina\'" + " is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PezziProd { - get { - try { + public int PezziProd + { + get + { + try + { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'stp_repDonati_getDatiProdMacchina\' is " + "DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PezziConf { - get { - try { + public int PezziConf + { + get + { + try + { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PezziConf\' in table \'stp_repDonati_getDatiProdMacchina\' is " + "DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { - try { + public decimal TCAssegnato + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'stp_repDonati_getDatiProdMacchina\' i" + "s DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int CodOperatore { - get { - try { + public int CodOperatore + { + get + { + try + { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodOperatore\' in table \'stp_repDonati_getDatiProdMacchina\' " + "is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoOn { - get { - try { + public decimal TempoOn + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoOn\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + "Null.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoAuto { - get { - try { + public decimal TempoAuto + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'stp_repDonati_getDatiProdMacchina\' is " + "DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoRun { - get { - try { + public decimal TempoRun + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'stp_repDonati_getDatiProdMacchina\' is D" + "BNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCMedio { - get { - try { + public decimal TCMedio + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCMedio\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + "Null.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCLav { - get { - try { + public decimal TCLav + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCLav\' in table \'stp_repDonati_getDatiProdMacchina\' is DBNu" + "ll.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCEff { - get { - try { + public decimal TCEff + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCEff\' in table \'stp_repDonati_getDatiProdMacchina\' is DBNu" + "ll.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCMedioRT { - get { - try { + public decimal TCMedioRT + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'stp_repDonati_getDatiProdMacchina\' is " + "DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCLavRT { - get { - try { + public decimal TCLavRT + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + "Null.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCEffRT { - get { - try { + public decimal TCEffRT + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" + "Null.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodArticoloNull() { + public bool IsCodArticoloNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodArticoloNull() { + public void SetCodArticoloNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPezziLanciatiNull() { + public bool IsPezziLanciatiNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPezziLanciatiNull() { + public void SetPezziLanciatiNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPezziProdNull() { + public bool IsPezziProdNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPezziProdNull() { + public void SetPezziProdNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPezziConfNull() { + public bool IsPezziConfNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPezziConfNull() { + public void SetPezziConfNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCAssegnatoNull() { + public bool IsTCAssegnatoNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCAssegnatoNull() { + public void SetTCAssegnatoNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodOperatoreNull() { + public bool IsCodOperatoreNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodOperatoreNull() { + public void SetCodOperatoreNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoOnNull() { + public bool IsTempoOnNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoOnNull() { + public void SetTempoOnNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoAutoNull() { + public bool IsTempoAutoNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoAutoNull() { + public void SetTempoAutoNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoRunNull() { + public bool IsTempoRunNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoRunNull() { + public void SetTempoRunNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCMedioNull() { + public bool IsTCMedioNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCMedioNull() { + public void SetTCMedioNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCLavNull() { + public bool IsTCLavNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCLavNull() { + public void SetTCLavNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCEffNull() { + public bool IsTCEffNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCEffNull() { + public void SetTCEffNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCMedioRTNull() { + public bool IsTCMedioRTNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCMedioRTNull() { + public void SetTCMedioRTNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCLavRTNull() { + public bool IsTCLavRTNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCLavRTNull() { + public void SetTCLavRTNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCEffRTNull() { + public bool IsTCEffRTNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCEffRTNull() { + public void SetTCEffRTNull() + { this[this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class stp_repDonati_getLastStatoDurataMacchinaRow : global::System.Data.DataRow { - + public partial class stp_repDonati_getLastStatoDurataMacchinaRow : global::System.Data.DataRow + { + private stp_repDonati_getLastStatoDurataMacchinaDataTable tablestp_repDonati_getLastStatoDurataMacchina; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_repDonati_getLastStatoDurataMacchinaRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal stp_repDonati_getLastStatoDurataMacchinaRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tablestp_repDonati_getLastStatoDurataMacchina = ((stp_repDonati_getLastStatoDurataMacchinaDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int idxStato { - get { - try { + public int idxStato + { + get + { + try + { return ((int)(this[this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'idxStato\' in table \'stp_repDonati_getLastStatoDurataMacchin" + "a\' is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public double Minuti { - get { - try { + public double Minuti + { + get + { + try + { return ((double)(this[this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Minuti\' in table \'stp_repDonati_getLastStatoDurataMacchina\'" + " is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsidxStatoNull() { + public bool IsidxStatoNull() + { return this.IsNull(this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetidxStatoNull() { + public void SetidxStatoNull() + { this[this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsMinutiNull() { + public bool IsMinutiNull() + { return this.IsNull(this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetMinutiNull() { + public void SetMinutiNull() + { this[this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class stp_repDonati_getDatiProdMacchinaPeriodoRow : global::System.Data.DataRow { - + public partial class stp_repDonati_getDatiProdMacchinaPeriodoRow : global::System.Data.DataRow + { + private stp_repDonati_getDatiProdMacchinaPeriodoDataTable tablestp_repDonati_getDatiProdMacchinaPeriodo; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal stp_repDonati_getDatiProdMacchinaPeriodoRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal stp_repDonati_getDatiProdMacchinaPeriodoRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tablestp_repDonati_getDatiProdMacchinaPeriodo = ((stp_repDonati_getDatiProdMacchinaPeriodoDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PezziProd { - get { - try { + public int PezziProd + { + get + { + try + { return ((int)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'stp_repDonati_getDatiProdMacchinaPerio" + "do\' is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { - try { + public decimal TCAssegnato + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'stp_repDonati_getDatiProdMacchinaPer" + "iodo\' is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCMedioRT { - get { - try { + public decimal TCMedioRT + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'stp_repDonati_getDatiProdMacchinaPerio" + "do\' is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCLavRT { - get { - try { + public decimal TCLavRT + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'stp_repDonati_getDatiProdMacchinaPeriodo" + "\' is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCEffRT { - get { - try { + public decimal TCEffRT + { + get + { + try + { return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'stp_repDonati_getDatiProdMacchinaPeriodo" + "\' is DBNull.", e); } } - set { + set + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPezziProdNull() { + public bool IsPezziProdNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPezziProdNull() { + public void SetPezziProdNull() + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCAssegnatoNull() { + public bool IsTCAssegnatoNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCAssegnatoNull() { + public void SetTCAssegnatoNull() + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCMedioRTNull() { + public bool IsTCMedioRTNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCMedioRTNull() { + public void SetTCMedioRTNull() + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCLavRTNull() { + public bool IsTCLavRTNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCLavRTNull() { + public void SetTCLavRTNull() + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCEffRTNull() { + public bool IsTCEffRTNull() + { return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCEffRTNull() { + public void SetTCEffRTNull() + { this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class TurniMacchinaRow : global::System.Data.DataRow { - + public partial class TurniMacchinaRow : global::System.Data.DataRow + { + private TurniMacchinaDataTable tableTurniMacchina; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal TurniMacchinaRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal TurniMacchinaRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableTurniMacchina = ((TurniMacchinaDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableTurniMacchina.IdxMacchinaColumn])); } - set { + set + { this[this.tableTurniMacchina.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool T1 { - get { - try { + public bool T1 + { + get + { + try + { return ((bool)(this[this.tableTurniMacchina.T1Column])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'T1\' in table \'TurniMacchina\' is DBNull.", e); } } - set { + set + { this[this.tableTurniMacchina.T1Column] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool T2 { - get { - try { + public bool T2 + { + get + { + try + { return ((bool)(this[this.tableTurniMacchina.T2Column])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'T2\' in table \'TurniMacchina\' is DBNull.", e); } } - set { + set + { this[this.tableTurniMacchina.T2Column] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool T3 { - get { - try { + public bool T3 + { + get + { + try + { return ((bool)(this[this.tableTurniMacchina.T3Column])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'T3\' in table \'TurniMacchina\' is DBNull.", e); } } - set { + set + { this[this.tableTurniMacchina.T3Column] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsT1Null() { + public bool IsT1Null() + { return this.IsNull(this.tableTurniMacchina.T1Column); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetT1Null() { + public void SetT1Null() + { this[this.tableTurniMacchina.T1Column] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsT2Null() { + public bool IsT2Null() + { return this.IsNull(this.tableTurniMacchina.T2Column); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetT2Null() { + public void SetT2Null() + { this[this.tableTurniMacchina.T2Column] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsT3Null() { + public bool IsT3Null() + { return this.IsNull(this.tableTurniMacchina.T3Column); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetT3Null() { + public void SetT3Null() + { this[this.tableTurniMacchina.T3Column] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class MappaStatoExplRow : global::System.Data.DataRow { - + public partial class MappaStatoExplRow : global::System.Data.DataRow + { + private MappaStatoExplDataTable tableMappaStatoExpl; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal MappaStatoExplRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal MappaStatoExplRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableMappaStatoExpl = ((MappaStatoExplDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int RowNum { - get { + public int RowNum + { + get + { return ((int)(this[this.tableMappaStatoExpl.RowNumColumn])); } - set { + set + { this[this.tableMappaStatoExpl.RowNumColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime lastUpdate { - get { - try { + public System.DateTime lastUpdate + { + get + { + try + { return ((global::System.DateTime)(this[this.tableMappaStatoExpl.lastUpdateColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'lastUpdate\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.lastUpdateColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { - try { + public string IdxMacchina + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.IdxMacchinaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'IdxMacchina\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodMacchina { - get { - try { + public string CodMacchina + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.CodMacchinaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.CodMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Nome { - get { - try { + public string Nome + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.NomeColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.NomeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string url { - get { - try { + public string url + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.urlColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'url\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.urlColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int idxODL { - get { - try { + public int idxODL + { + get + { + try + { return ((int)(this[this.tableMappaStatoExpl.idxODLColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'idxODL\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.idxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int idxPODL { - get { - try { + public int idxPODL + { + get + { + try + { return ((int)(this[this.tableMappaStatoExpl.idxPODLColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'idxPODL\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.idxPODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { - try { + public string CodArticolo + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.CodArticoloColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Disegno { - get { - try { + public string Disegno + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.DisegnoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Disegno\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.DisegnoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int NumPezzi { - get { - try { + public int NumPezzi + { + get + { + try + { return ((int)(this[this.tableMappaStatoExpl.NumPezziColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'NumPezzi\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.NumPezziColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { - try { + public decimal TCAssegnato + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TCAssegnatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataInizioODL { - get { - try { + public System.DateTime DataInizioODL + { + get + { + try + { return ((global::System.DateTime)(this[this.tableMappaStatoExpl.DataInizioODLColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataInizioODL\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.DataInizioODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Semaforo { - get { - try { + public string Semaforo + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.SemaforoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Semaforo\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.SemaforoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int idxStato { - get { - try { + public int idxStato + { + get + { + try + { return ((int)(this[this.tableMappaStatoExpl.idxStatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'idxStato\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.idxStatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string DescrizioneStato { - get { - try { + public string DescrizioneStato + { + get + { + try + { return ((string)(this[this.tableMappaStatoExpl.DescrizioneStatoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DescrizioneStato\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.DescrizioneStatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public double durata { - get { - try { + public double durata + { + get + { + try + { return ((double)(this[this.tableMappaStatoExpl.durataColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'durata\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.durataColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PezziProd { - get { - try { + public int PezziProd + { + get + { + try + { return ((int)(this[this.tableMappaStatoExpl.PezziProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.PezziProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PezziConf { - get { - try { + public int PezziConf + { + get + { + try + { return ((int)(this[this.tableMappaStatoExpl.PezziConfColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PezziConf\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.PezziConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoOn { - get { - try { + public decimal TempoOn + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TempoOnColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoOn\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TempoOnColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoAuto { - get { - try { + public decimal TempoAuto + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TempoAutoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TempoAutoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TempoRun { - get { - try { + public decimal TempoRun + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TempoRunColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TempoRunColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCMedio { - get { - try { + public decimal TCMedio + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TCMedioColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCMedio\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TCMedioColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCLav { - get { - try { + public decimal TCLav + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TCLavColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCLav\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TCLavColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCEff { - get { - try { + public decimal TCEff + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TCEffColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCEff\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TCEffColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCMedioRT { - get { - try { + public decimal TCMedioRT + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TCMedioRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TCMedioRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCLavRT { - get { - try { + public decimal TCLavRT + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TCLavRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TCLavRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCEffRT { - get { - try { + public decimal TCEffRT + { + get + { + try + { return ((decimal)(this[this.tableMappaStatoExpl.TCEffRTColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'MappaStatoExpl\' is DBNull.", e); } } - set { + set + { this[this.tableMappaStatoExpl.TCEffRTColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IslastUpdateNull() { + public bool IslastUpdateNull() + { return this.IsNull(this.tableMappaStatoExpl.lastUpdateColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetlastUpdateNull() { + public void SetlastUpdateNull() + { this[this.tableMappaStatoExpl.lastUpdateColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsIdxMacchinaNull() { + public bool IsIdxMacchinaNull() + { return this.IsNull(this.tableMappaStatoExpl.IdxMacchinaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetIdxMacchinaNull() { + public void SetIdxMacchinaNull() + { this[this.tableMappaStatoExpl.IdxMacchinaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodMacchinaNull() { + public bool IsCodMacchinaNull() + { return this.IsNull(this.tableMappaStatoExpl.CodMacchinaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodMacchinaNull() { + public void SetCodMacchinaNull() + { this[this.tableMappaStatoExpl.CodMacchinaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsNomeNull() { + public bool IsNomeNull() + { return this.IsNull(this.tableMappaStatoExpl.NomeColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetNomeNull() { + public void SetNomeNull() + { this[this.tableMappaStatoExpl.NomeColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsurlNull() { + public bool IsurlNull() + { return this.IsNull(this.tableMappaStatoExpl.urlColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SeturlNull() { + public void SeturlNull() + { this[this.tableMappaStatoExpl.urlColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsidxODLNull() { + public bool IsidxODLNull() + { return this.IsNull(this.tableMappaStatoExpl.idxODLColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetidxODLNull() { + public void SetidxODLNull() + { this[this.tableMappaStatoExpl.idxODLColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsidxPODLNull() { + public bool IsidxPODLNull() + { return this.IsNull(this.tableMappaStatoExpl.idxPODLColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetidxPODLNull() { + public void SetidxPODLNull() + { this[this.tableMappaStatoExpl.idxPODLColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodArticoloNull() { + public bool IsCodArticoloNull() + { return this.IsNull(this.tableMappaStatoExpl.CodArticoloColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodArticoloNull() { + public void SetCodArticoloNull() + { this[this.tableMappaStatoExpl.CodArticoloColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDisegnoNull() { + public bool IsDisegnoNull() + { return this.IsNull(this.tableMappaStatoExpl.DisegnoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDisegnoNull() { + public void SetDisegnoNull() + { this[this.tableMappaStatoExpl.DisegnoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsNumPezziNull() { + public bool IsNumPezziNull() + { return this.IsNull(this.tableMappaStatoExpl.NumPezziColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetNumPezziNull() { + public void SetNumPezziNull() + { this[this.tableMappaStatoExpl.NumPezziColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCAssegnatoNull() { + public bool IsTCAssegnatoNull() + { return this.IsNull(this.tableMappaStatoExpl.TCAssegnatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCAssegnatoNull() { + public void SetTCAssegnatoNull() + { this[this.tableMappaStatoExpl.TCAssegnatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataInizioODLNull() { + public bool IsDataInizioODLNull() + { return this.IsNull(this.tableMappaStatoExpl.DataInizioODLColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataInizioODLNull() { + public void SetDataInizioODLNull() + { this[this.tableMappaStatoExpl.DataInizioODLColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsSemaforoNull() { + public bool IsSemaforoNull() + { return this.IsNull(this.tableMappaStatoExpl.SemaforoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetSemaforoNull() { + public void SetSemaforoNull() + { this[this.tableMappaStatoExpl.SemaforoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsidxStatoNull() { + public bool IsidxStatoNull() + { return this.IsNull(this.tableMappaStatoExpl.idxStatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetidxStatoNull() { + public void SetidxStatoNull() + { this[this.tableMappaStatoExpl.idxStatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDescrizioneStatoNull() { + public bool IsDescrizioneStatoNull() + { return this.IsNull(this.tableMappaStatoExpl.DescrizioneStatoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDescrizioneStatoNull() { + public void SetDescrizioneStatoNull() + { this[this.tableMappaStatoExpl.DescrizioneStatoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsdurataNull() { + public bool IsdurataNull() + { return this.IsNull(this.tableMappaStatoExpl.durataColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetdurataNull() { + public void SetdurataNull() + { this[this.tableMappaStatoExpl.durataColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPezziProdNull() { + public bool IsPezziProdNull() + { return this.IsNull(this.tableMappaStatoExpl.PezziProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPezziProdNull() { + public void SetPezziProdNull() + { this[this.tableMappaStatoExpl.PezziProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPezziConfNull() { + public bool IsPezziConfNull() + { return this.IsNull(this.tableMappaStatoExpl.PezziConfColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPezziConfNull() { + public void SetPezziConfNull() + { this[this.tableMappaStatoExpl.PezziConfColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoOnNull() { + public bool IsTempoOnNull() + { return this.IsNull(this.tableMappaStatoExpl.TempoOnColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoOnNull() { + public void SetTempoOnNull() + { this[this.tableMappaStatoExpl.TempoOnColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoAutoNull() { + public bool IsTempoAutoNull() + { return this.IsNull(this.tableMappaStatoExpl.TempoAutoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoAutoNull() { + public void SetTempoAutoNull() + { this[this.tableMappaStatoExpl.TempoAutoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTempoRunNull() { + public bool IsTempoRunNull() + { return this.IsNull(this.tableMappaStatoExpl.TempoRunColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTempoRunNull() { + public void SetTempoRunNull() + { this[this.tableMappaStatoExpl.TempoRunColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCMedioNull() { + public bool IsTCMedioNull() + { return this.IsNull(this.tableMappaStatoExpl.TCMedioColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCMedioNull() { + public void SetTCMedioNull() + { this[this.tableMappaStatoExpl.TCMedioColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCLavNull() { + public bool IsTCLavNull() + { return this.IsNull(this.tableMappaStatoExpl.TCLavColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCLavNull() { + public void SetTCLavNull() + { this[this.tableMappaStatoExpl.TCLavColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCEffNull() { + public bool IsTCEffNull() + { return this.IsNull(this.tableMappaStatoExpl.TCEffColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCEffNull() { + public void SetTCEffNull() + { this[this.tableMappaStatoExpl.TCEffColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCMedioRTNull() { + public bool IsTCMedioRTNull() + { return this.IsNull(this.tableMappaStatoExpl.TCMedioRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCMedioRTNull() { + public void SetTCMedioRTNull() + { this[this.tableMappaStatoExpl.TCMedioRTColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCLavRTNull() { + public bool IsTCLavRTNull() + { return this.IsNull(this.tableMappaStatoExpl.TCLavRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCLavRTNull() { + public void SetTCLavRTNull() + { this[this.tableMappaStatoExpl.TCLavRTColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsTCEffRTNull() { + public bool IsTCEffRTNull() + { return this.IsNull(this.tableMappaStatoExpl.TCEffRTColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetTCEffRTNull() { + public void SetTCEffRTNull() + { this[this.tableMappaStatoExpl.TCEffRTColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class ResProdDett_splitODLRow : global::System.Data.DataRow { - + public partial class ResProdDett_splitODLRow : global::System.Data.DataRow + { + private ResProdDett_splitODLDataTable tableResProdDett_splitODL; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ResProdDett_splitODLRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal ResProdDett_splitODLRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableResProdDett_splitODL = ((ResProdDett_splitODLDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxODL { - get { - try { + public int IdxODL + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitODL.IdxODLColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'IdxODL\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitODL.IdxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { + public decimal TCAssegnato + { + get + { return ((decimal)(this[this.tableResProdDett_splitODL.TCAssegnatoColumn])); } - set { + set + { this[this.tableResProdDett_splitODL.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzOrd { - get { - try { + public int pzOrd + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitODL.pzOrdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzOrd\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitODL.pzOrdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzProd { - get { - try { + public int pzProd + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitODL.pzProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitODL.pzProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzConf { - get { - try { + public int pzConf + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitODL.pzConfColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitODL.pzConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzRiman { - get { - try { + public int pzRiman + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitODL.pzRimanColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzRiman\' in table \'ResProdDett_splitODL\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitODL.pzRimanColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsIdxODLNull() { + public bool IsIdxODLNull() + { return this.IsNull(this.tableResProdDett_splitODL.IdxODLColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetIdxODLNull() { + public void SetIdxODLNull() + { this[this.tableResProdDett_splitODL.IdxODLColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzOrdNull() { + public bool IspzOrdNull() + { return this.IsNull(this.tableResProdDett_splitODL.pzOrdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzOrdNull() { + public void SetpzOrdNull() + { this[this.tableResProdDett_splitODL.pzOrdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzProdNull() { + public bool IspzProdNull() + { return this.IsNull(this.tableResProdDett_splitODL.pzProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzProdNull() { + public void SetpzProdNull() + { this[this.tableResProdDett_splitODL.pzProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzConfNull() { + public bool IspzConfNull() + { return this.IsNull(this.tableResProdDett_splitODL.pzConfColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzConfNull() { + public void SetpzConfNull() + { this[this.tableResProdDett_splitODL.pzConfColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzRimanNull() { + public bool IspzRimanNull() + { return this.IsNull(this.tableResProdDett_splitODL.pzRimanColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzRimanNull() { + public void SetpzRimanNull() + { this[this.tableResProdDett_splitODL.pzRimanColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class ResProdDett_splitGGRow : global::System.Data.DataRow { - + public partial class ResProdDett_splitGGRow : global::System.Data.DataRow + { + private ResProdDett_splitGGDataTable tableResProdDett_splitGG; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ResProdDett_splitGGRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal ResProdDett_splitGGRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableResProdDett_splitGG = ((ResProdDett_splitGGDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime Data { - get { - try { + public System.DateTime Data + { + get + { + try + { return ((global::System.DateTime)(this[this.tableResProdDett_splitGG.DataColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitGG.DataColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxODL { - get { - try { + public int IdxODL + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitGG.IdxODLColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'IdxODL\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitGG.IdxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { + public decimal TCAssegnato + { + get + { return ((decimal)(this[this.tableResProdDett_splitGG.TCAssegnatoColumn])); } - set { + set + { this[this.tableResProdDett_splitGG.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzProd { - get { - try { + public int pzProd + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitGG.pzProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitGG.pzProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzConf { - get { - try { + public int pzConf + { + get + { + try + { return ((int)(this[this.tableResProdDett_splitGG.pzConfColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitGG.pzConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Nome { - get { - try { + public string Nome + { + get + { + try + { return ((string)(this[this.tableResProdDett_splitGG.NomeColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitGG.NomeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { - try { + public string CodArticolo + { + get + { + try + { return ((string)(this[this.tableResProdDett_splitGG.CodArticoloColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'ResProdDett_splitGG\' is DBNull.", e); } } - set { + set + { this[this.tableResProdDett_splitGG.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataNull() { + public bool IsDataNull() + { return this.IsNull(this.tableResProdDett_splitGG.DataColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataNull() { + public void SetDataNull() + { this[this.tableResProdDett_splitGG.DataColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsIdxODLNull() { + public bool IsIdxODLNull() + { return this.IsNull(this.tableResProdDett_splitGG.IdxODLColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetIdxODLNull() { + public void SetIdxODLNull() + { this[this.tableResProdDett_splitGG.IdxODLColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzProdNull() { + public bool IspzProdNull() + { return this.IsNull(this.tableResProdDett_splitGG.pzProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzProdNull() { + public void SetpzProdNull() + { this[this.tableResProdDett_splitGG.pzProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzConfNull() { + public bool IspzConfNull() + { return this.IsNull(this.tableResProdDett_splitGG.pzConfColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzConfNull() { + public void SetpzConfNull() + { this[this.tableResProdDett_splitGG.pzConfColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsNomeNull() { + public bool IsNomeNull() + { return this.IsNull(this.tableResProdDett_splitGG.NomeColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetNomeNull() { + public void SetNomeNull() + { this[this.tableResProdDett_splitGG.NomeColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodArticoloNull() { + public bool IsCodArticoloNull() + { return this.IsNull(this.tableResProdDett_splitGG.CodArticoloColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodArticoloNull() { + public void SetCodArticoloNull() + { this[this.tableResProdDett_splitGG.CodArticoloColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class ResProdTotRow : global::System.Data.DataRow { - + public partial class ResProdTotRow : global::System.Data.DataRow + { + private ResProdTotDataTable tableResProdTot; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ResProdTotRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal ResProdTotRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableResProdTot = ((ResProdTotDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Nome { - get { + public string Nome + { + get + { return ((string)(this[this.tableResProdTot.NomeColumn])); } - set { + set + { this[this.tableResProdTot.NomeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableResProdTot.IdxMacchinaColumn])); } - set { + set + { this[this.tableResProdTot.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { + public string CodArticolo + { + get + { return ((string)(this[this.tableResProdTot.CodArticoloColumn])); } - set { + set + { this[this.tableResProdTot.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzOrd { - get { - try { + public int pzOrd + { + get + { + try + { return ((int)(this[this.tableResProdTot.pzOrdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzOrd\' in table \'ResProdTot\' is DBNull.", e); } } - set { + set + { this[this.tableResProdTot.pzOrdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzProd { - get { - try { + public int pzProd + { + get + { + try + { return ((int)(this[this.tableResProdTot.pzProdColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdTot\' is DBNull.", e); } } - set { + set + { this[this.tableResProdTot.pzProdColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzConf { - get { - try { + public int pzConf + { + get + { + try + { return ((int)(this[this.tableResProdTot.pzConfColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdTot\' is DBNull.", e); } } - set { + set + { this[this.tableResProdTot.pzConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pzRiman { - get { - try { + public int pzRiman + { + get + { + try + { return ((int)(this[this.tableResProdTot.pzRimanColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'pzRiman\' in table \'ResProdTot\' is DBNull.", e); } } - set { + set + { this[this.tableResProdTot.pzRimanColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Stato { - get { + public string Stato + { + get + { return ((string)(this[this.tableResProdTot.StatoColumn])); } - set { + set + { this[this.tableResProdTot.StatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzOrdNull() { + public bool IspzOrdNull() + { return this.IsNull(this.tableResProdTot.pzOrdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzOrdNull() { + public void SetpzOrdNull() + { this[this.tableResProdTot.pzOrdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzProdNull() { + public bool IspzProdNull() + { return this.IsNull(this.tableResProdTot.pzProdColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzProdNull() { + public void SetpzProdNull() + { this[this.tableResProdTot.pzProdColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzConfNull() { + public bool IspzConfNull() + { return this.IsNull(this.tableResProdTot.pzConfColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzConfNull() { + public void SetpzConfNull() + { this[this.tableResProdTot.pzConfColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IspzRimanNull() { + public bool IspzRimanNull() + { return this.IsNull(this.tableResProdTot.pzRimanColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetpzRimanNull() { + public void SetpzRimanNull() + { this[this.tableResProdTot.pzRimanColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class RegistroControlliRow : global::System.Data.DataRow { - + public partial class RegistroControlliRow : global::System.Data.DataRow + { + private RegistroControlliDataTable tableRegistroControlli; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal RegistroControlliRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal RegistroControlliRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableRegistroControlli = ((RegistroControlliDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxControllo { - get { + public int IdxControllo + { + get + { return ((int)(this[this.tableRegistroControlli.IdxControlloColumn])); } - set { + set + { this[this.tableRegistroControlli.IdxControlloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOra { - get { + public System.DateTime DataOra + { + get + { return ((global::System.DateTime)(this[this.tableRegistroControlli.DataOraColumn])); } - set { + set + { this[this.tableRegistroControlli.DataOraColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableRegistroControlli.IdxMacchinaColumn])); } - set { + set + { this[this.tableRegistroControlli.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxODL { - get { + public int IdxODL + { + get + { return ((int)(this[this.tableRegistroControlli.IdxODLColumn])); } - set { + set + { this[this.tableRegistroControlli.IdxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { + public string CodArticolo + { + get + { return ((string)(this[this.tableRegistroControlli.CodArticoloColumn])); } - set { + set + { this[this.tableRegistroControlli.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrOpr { - get { + public int MatrOpr + { + get + { return ((int)(this[this.tableRegistroControlli.MatrOprColumn])); } - set { + set + { this[this.tableRegistroControlli.MatrOprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool EsitoOK { - get { + public bool EsitoOK + { + get + { return ((bool)(this[this.tableRegistroControlli.EsitoOKColumn])); } - set { + set + { this[this.tableRegistroControlli.EsitoOKColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Note { - get { + public string Note + { + get + { return ((string)(this[this.tableRegistroControlli.NoteColumn])); } - set { + set + { this[this.tableRegistroControlli.NoteColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Operatore { - get { - try { + public string Operatore + { + get + { + try + { return ((string)(this[this.tableRegistroControlli.OperatoreColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Operatore\' in table \'RegistroControlli\' is DBNull.", e); } } - set { + set + { this[this.tableRegistroControlli.OperatoreColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsOperatoreNull() { + public bool IsOperatoreNull() + { return this.IsNull(this.tableRegistroControlli.OperatoreColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetOperatoreNull() { + public void SetOperatoreNull() + { this[this.tableRegistroControlli.OperatoreColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class RegistroScartiRow : global::System.Data.DataRow { - + public partial class RegistroScartiRow : global::System.Data.DataRow + { + private RegistroScartiDataTable tableRegistroScarti; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal RegistroScartiRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal RegistroScartiRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableRegistroScarti = ((RegistroScartiDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableRegistroScarti.IdxMacchinaColumn])); } - set { + set + { this[this.tableRegistroScarti.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOra { - get { + public System.DateTime DataOra + { + get + { return ((global::System.DateTime)(this[this.tableRegistroScarti.DataOraColumn])); } - set { + set + { this[this.tableRegistroScarti.DataOraColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Causale { - get { + public string Causale + { + get + { return ((string)(this[this.tableRegistroScarti.CausaleColumn])); } - set { + set + { this[this.tableRegistroScarti.CausaleColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Operatore { - get { - try { + public string Operatore + { + get + { + try + { return ((string)(this[this.tableRegistroScarti.OperatoreColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Operatore\' in table \'RegistroScarti\' is DBNull.", e); } } - set { + set + { this[this.tableRegistroScarti.OperatoreColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int Qta { - get { + public int Qta + { + get + { return ((int)(this[this.tableRegistroScarti.QtaColumn])); } - set { + set + { this[this.tableRegistroScarti.QtaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Note { - get { + public string Note + { + get + { return ((string)(this[this.tableRegistroScarti.NoteColumn])); } - set { + set + { this[this.tableRegistroScarti.NoteColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { + public string CodArticolo + { + get + { return ((string)(this[this.tableRegistroScarti.CodArticoloColumn])); } - set { + set + { this[this.tableRegistroScarti.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrOpr { - get { + public int MatrOpr + { + get + { return ((int)(this[this.tableRegistroScarti.MatrOprColumn])); } - set { + set + { this[this.tableRegistroScarti.MatrOprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraProdRec { - get { - try { + public System.DateTime DataOraProdRec + { + get + { + try + { return ((global::System.DateTime)(this[this.tableRegistroScarti.DataOraProdRecColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataOraProdRec\' in table \'RegistroScarti\' is DBNull.", e); } } - set { + set + { this[this.tableRegistroScarti.DataOraProdRecColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Descrizione { - get { + public string Descrizione + { + get + { return ((string)(this[this.tableRegistroScarti.DescrizioneColumn])); } - set { + set + { this[this.tableRegistroScarti.DescrizioneColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string cssClass { - get { + public string cssClass + { + get + { return ((string)(this[this.tableRegistroScarti.cssClassColumn])); } - set { + set + { this[this.tableRegistroScarti.cssClassColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string icona { - get { + public string icona + { + get + { return ((string)(this[this.tableRegistroScarti.iconaColumn])); } - set { + set + { this[this.tableRegistroScarti.iconaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsOperatoreNull() { + public bool IsOperatoreNull() + { return this.IsNull(this.tableRegistroScarti.OperatoreColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetOperatoreNull() { + public void SetOperatoreNull() + { this[this.tableRegistroScarti.OperatoreColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataOraProdRecNull() { + public bool IsDataOraProdRecNull() + { return this.IsNull(this.tableRegistroScarti.DataOraProdRecColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataOraProdRecNull() { + public void SetDataOraProdRecNull() + { this[this.tableRegistroScarti.DataOraProdRecColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class PromesseODLRow : global::System.Data.DataRow { - + public partial class PromesseODLRow : global::System.Data.DataRow + { + private PromesseODLDataTable tablePromesseODL; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal PromesseODLRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal PromesseODLRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tablePromesseODL = ((PromesseODLDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int idxPromessa { - get { + public int idxPromessa + { + get + { return ((int)(this[this.tablePromesseODL.idxPromessaColumn])); } - set { + set + { this[this.tablePromesseODL.idxPromessaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string KeyRichiesta { - get { + public string KeyRichiesta + { + get + { return ((string)(this[this.tablePromesseODL.KeyRichiestaColumn])); } - set { + set + { this[this.tablePromesseODL.KeyRichiestaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string KeyBCode { - get { + public string KeyBCode + { + get + { return ((string)(this[this.tablePromesseODL.KeyBCodeColumn])); } - set { + set + { this[this.tablePromesseODL.KeyBCodeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool Attivabile { - get { + public bool Attivabile + { + get + { return ((bool)(this[this.tablePromesseODL.AttivabileColumn])); } - set { + set + { this[this.tablePromesseODL.AttivabileColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxODL { - get { + public int IdxODL + { + get + { return ((int)(this[this.tablePromesseODL.IdxODLColumn])); } - set { + set + { this[this.tablePromesseODL.IdxODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodArticolo { - get { + public string CodArticolo + { + get + { return ((string)(this[this.tablePromesseODL.CodArticoloColumn])); } - set { + set + { this[this.tablePromesseODL.CodArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string DescArticolo { - get { - try { + public string DescArticolo + { + get + { + try + { return ((string)(this[this.tablePromesseODL.DescArticoloColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DescArticolo\' in table \'PromesseODL\' is DBNull.", e); } } - set { + set + { this[this.tablePromesseODL.DescArticoloColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodGruppo { - get { + public string CodGruppo + { + get + { return ((string)(this[this.tablePromesseODL.CodGruppoColumn])); } - set { + set + { this[this.tablePromesseODL.CodGruppoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tablePromesseODL.IdxMacchinaColumn])); } - set { + set + { this[this.tablePromesseODL.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodMacchina { - get { - try { + public string CodMacchina + { + get + { + try + { return ((string)(this[this.tablePromesseODL.CodMacchinaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'PromesseODL\' is DBNull.", e); } } - set { + set + { this[this.tablePromesseODL.CodMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Nome { - get { - try { + public string Nome + { + get + { + try + { return ((string)(this[this.tablePromesseODL.NomeColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'PromesseODL\' is DBNull.", e); } } - set { + set + { this[this.tablePromesseODL.NomeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int NumPezzi { - get { + public int NumPezzi + { + get + { return ((int)(this[this.tablePromesseODL.NumPezziColumn])); } - set { + set + { this[this.tablePromesseODL.NumPezziColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public decimal TCAssegnato { - get { + public decimal TCAssegnato + { + get + { return ((decimal)(this[this.tablePromesseODL.TCAssegnatoColumn])); } - set { + set + { this[this.tablePromesseODL.TCAssegnatoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DueDate { - get { + public System.DateTime DueDate + { + get + { return ((global::System.DateTime)(this[this.tablePromesseODL.DueDateColumn])); } - set { + set + { this[this.tablePromesseODL.DueDateColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int Priorita { - get { + public int Priorita + { + get + { return ((int)(this[this.tablePromesseODL.PrioritaColumn])); } - set { + set + { this[this.tablePromesseODL.PrioritaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PzPallet { - get { + public int PzPallet + { + get + { return ((int)(this[this.tablePromesseODL.PzPalletColumn])); } - set { + set + { this[this.tablePromesseODL.PzPalletColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Note { - get { + public string Note + { + get + { return ((string)(this[this.tablePromesseODL.NoteColumn])); } - set { + set + { this[this.tablePromesseODL.NoteColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CodCli { - get { + public string CodCli + { + get + { return ((string)(this[this.tablePromesseODL.CodCliColumn])); } - set { + set + { this[this.tablePromesseODL.CodCliColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime InsertDate { - get { + public System.DateTime InsertDate + { + get + { return ((global::System.DateTime)(this[this.tablePromesseODL.InsertDateColumn])); } - set { + set + { this[this.tablePromesseODL.InsertDateColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string Recipe { - get { + public string Recipe + { + get + { return ((string)(this[this.tablePromesseODL.RecipeColumn])); } - set { + set + { this[this.tablePromesseODL.RecipeColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDescArticoloNull() { + public bool IsDescArticoloNull() + { return this.IsNull(this.tablePromesseODL.DescArticoloColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDescArticoloNull() { + public void SetDescArticoloNull() + { this[this.tablePromesseODL.DescArticoloColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCodMacchinaNull() { + public bool IsCodMacchinaNull() + { return this.IsNull(this.tablePromesseODL.CodMacchinaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCodMacchinaNull() { + public void SetCodMacchinaNull() + { this[this.tablePromesseODL.CodMacchinaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsNomeNull() { + public bool IsNomeNull() + { return this.IsNull(this.tablePromesseODL.NomeColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetNomeNull() { + public void SetNomeNull() + { this[this.tablePromesseODL.NomeColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class ElencoConfermeProdRow : global::System.Data.DataRow { - + public partial class ElencoConfermeProdRow : global::System.Data.DataRow + { + private ElencoConfermeProdDataTable tableElencoConfermeProd; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal ElencoConfermeProdRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal ElencoConfermeProdRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableElencoConfermeProd = ((ElencoConfermeProdDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataOraConf { - get { + public System.DateTime DataOraConf + { + get + { return ((global::System.DateTime)(this[this.tableElencoConfermeProd.DataOraConfColumn])); } - set { + set + { this[this.tableElencoConfermeProd.DataOraConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string idxMacchina { - get { + public string idxMacchina + { + get + { return ((string)(this[this.tableElencoConfermeProd.idxMacchinaColumn])); } - set { + set + { this[this.tableElencoConfermeProd.idxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int MatrApp { - get { + public int MatrApp + { + get + { return ((int)(this[this.tableElencoConfermeProd.MatrAppColumn])); } - set { + set + { this[this.tableElencoConfermeProd.MatrAppColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime dataFrom { - get { + public System.DateTime dataFrom + { + get + { return ((global::System.DateTime)(this[this.tableElencoConfermeProd.dataFromColumn])); } - set { + set + { this[this.tableElencoConfermeProd.dataFromColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime dataTo { - get { + public System.DateTime dataTo + { + get + { return ((global::System.DateTime)(this[this.tableElencoConfermeProd.dataToColumn])); } - set { + set + { this[this.tableElencoConfermeProd.dataToColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pezziConf { - get { + public int pezziConf + { + get + { return ((int)(this[this.tableElencoConfermeProd.pezziConfColumn])); } - set { + set + { this[this.tableElencoConfermeProd.pezziConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pezziScar { - get { + public int pezziScar + { + get + { return ((int)(this[this.tableElencoConfermeProd.pezziScarColumn])); } - set { + set + { this[this.tableElencoConfermeProd.pezziScarColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int pezziDaRilav { - get { + public int pezziDaRilav + { + get + { return ((int)(this[this.tableElencoConfermeProd.pezziDaRilavColumn])); } - set { + set + { this[this.tableElencoConfermeProd.pezziDaRilavColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CommessaEsterna { - get { + public string CommessaEsterna + { + get + { return ((string)(this[this.tableElencoConfermeProd.CommessaEsternaColumn])); } - set { + set + { this[this.tableElencoConfermeProd.CommessaEsternaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int TipoConf { - get { + public int TipoConf + { + get + { return ((int)(this[this.tableElencoConfermeProd.TipoConfColumn])); } - set { + set + { this[this.tableElencoConfermeProd.TipoConfColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string CognomeNomeOpr { - get { - try { + public string CognomeNomeOpr + { + get + { + try + { return ((string)(this[this.tableElencoConfermeProd.CognomeNomeOprColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'CognomeNomeOpr\' in table \'ElencoConfermeProd\' is DBNull.", e); } } - set { + set + { this[this.tableElencoConfermeProd.CognomeNomeOprColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsCognomeNomeOprNull() { + public bool IsCognomeNomeOprNull() + { return this.IsNull(this.tableElencoConfermeProd.CognomeNomeOprColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetCognomeNomeOprNull() { + public void SetCognomeNomeOprNull() + { this[this.tableElencoConfermeProd.CognomeNomeOprColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class StatoProdRow : global::System.Data.DataRow { - + public partial class StatoProdRow : global::System.Data.DataRow + { + private StatoProdDataTable tableStatoProd; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal StatoProdRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal StatoProdRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableStatoProd = ((StatoProdDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string idxMacchina { - get { - try { + public string idxMacchina + { + get + { + try + { return ((string)(this[this.tableStatoProd.idxMacchinaColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.idxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int IdxOdl { - get { - try { + public int IdxOdl + { + get + { + try + { return ((int)(this[this.tableStatoProd.IdxOdlColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'IdxOdl\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.IdxOdlColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PzTotODL { - get { - try { + public int PzTotODL + { + get + { + try + { return ((int)(this[this.tableStatoProd.PzTotODLColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PzTotODL\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.PzTotODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PzConfScarto { - get { - try { + public int PzConfScarto + { + get + { + try + { return ((int)(this[this.tableStatoProd.PzConfScartoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PzConfScarto\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.PzConfScartoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PzConfBuoni { - get { - try { + public int PzConfBuoni + { + get + { + try + { return ((int)(this[this.tableStatoProd.PzConfBuoniColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PzConfBuoni\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.PzConfBuoniColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int PzRichODL { - get { - try { + public int PzRichODL + { + get + { + try + { return ((int)(this[this.tableStatoProd.PzRichODLColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'PzRichODL\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.PzRichODLColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int Pz2RecTot { - get { - try { + public int Pz2RecTot + { + get + { + try + { return ((int)(this[this.tableStatoProd.Pz2RecTotColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Pz2RecTot\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.Pz2RecTotColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int Pz2RecScarto { - get { - try { + public int Pz2RecScarto + { + get + { + try + { return ((int)(this[this.tableStatoProd.Pz2RecScartoColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'Pz2RecScarto\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.Pz2RecScartoColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataFrom { - get { - try { + public System.DateTime DataFrom + { + get + { + try + { return ((global::System.DateTime)(this[this.tableStatoProd.DataFromColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataFrom\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.DataFromColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public System.DateTime DataTo { - get { - try { + public System.DateTime DataTo + { + get + { + try + { return ((global::System.DateTime)(this[this.tableStatoProd.DataToColumn])); } - catch (global::System.InvalidCastException e) { + catch (global::System.InvalidCastException e) + { throw new global::System.Data.StrongTypingException("The value for column \'DataTo\' in table \'StatoProd\' is DBNull.", e); } } - set { + set + { this[this.tableStatoProd.DataToColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsidxMacchinaNull() { + public bool IsidxMacchinaNull() + { return this.IsNull(this.tableStatoProd.idxMacchinaColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetidxMacchinaNull() { + public void SetidxMacchinaNull() + { this[this.tableStatoProd.idxMacchinaColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsIdxOdlNull() { + public bool IsIdxOdlNull() + { return this.IsNull(this.tableStatoProd.IdxOdlColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetIdxOdlNull() { + public void SetIdxOdlNull() + { this[this.tableStatoProd.IdxOdlColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPzTotODLNull() { + public bool IsPzTotODLNull() + { return this.IsNull(this.tableStatoProd.PzTotODLColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPzTotODLNull() { + public void SetPzTotODLNull() + { this[this.tableStatoProd.PzTotODLColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPzConfScartoNull() { + public bool IsPzConfScartoNull() + { return this.IsNull(this.tableStatoProd.PzConfScartoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPzConfScartoNull() { + public void SetPzConfScartoNull() + { this[this.tableStatoProd.PzConfScartoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPzConfBuoniNull() { + public bool IsPzConfBuoniNull() + { return this.IsNull(this.tableStatoProd.PzConfBuoniColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPzConfBuoniNull() { + public void SetPzConfBuoniNull() + { this[this.tableStatoProd.PzConfBuoniColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPzRichODLNull() { + public bool IsPzRichODLNull() + { return this.IsNull(this.tableStatoProd.PzRichODLColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPzRichODLNull() { + public void SetPzRichODLNull() + { this[this.tableStatoProd.PzRichODLColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPz2RecTotNull() { + public bool IsPz2RecTotNull() + { return this.IsNull(this.tableStatoProd.Pz2RecTotColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPz2RecTotNull() { + public void SetPz2RecTotNull() + { this[this.tableStatoProd.Pz2RecTotColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsPz2RecScartoNull() { + public bool IsPz2RecScartoNull() + { return this.IsNull(this.tableStatoProd.Pz2RecScartoColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetPz2RecScartoNull() { + public void SetPz2RecScartoNull() + { this[this.tableStatoProd.Pz2RecScartoColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataFromNull() { + public bool IsDataFromNull() + { return this.IsNull(this.tableStatoProd.DataFromColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataFromNull() { + public void SetDataFromNull() + { this[this.tableStatoProd.DataFromColumn] = global::System.Convert.DBNull; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool IsDataToNull() { + public bool IsDataToNull() + { return this.IsNull(this.tableStatoProd.DataToColumn); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public void SetDataToNull() { + public void SetDataToNull() + { this[this.tableStatoProd.DataToColumn] = global::System.Convert.DBNull; } } - + /// ///Represents strongly named DataRow class. /// - public partial class Macchine2SlaveRow : global::System.Data.DataRow { - + public partial class Macchine2SlaveRow : global::System.Data.DataRow + { + private Macchine2SlaveDataTable tableMacchine2Slave; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal Macchine2SlaveRow(global::System.Data.DataRowBuilder rb) : - base(rb) { + internal Macchine2SlaveRow(global::System.Data.DataRowBuilder rb) : + base(rb) + { this.tableMacchine2Slave = ((Macchine2SlaveDataTable)(this.Table)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchina { - get { + public string IdxMacchina + { + get + { return ((string)(this[this.tableMacchine2Slave.IdxMacchinaColumn])); } - set { + set + { this[this.tableMacchine2Slave.IdxMacchinaColumn] = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public string IdxMacchinaSlave { - get { + public string IdxMacchinaSlave + { + get + { return ((string)(this[this.tableMacchine2Slave.IdxMacchinaSlaveColumn])); } - set { + set + { this[this.tableMacchine2Slave.IdxMacchinaSlaveColumn] = value; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class TempiCicloRilevatiRowChangeEvent : global::System.EventArgs { - + public class TempiCicloRilevatiRowChangeEvent : global::System.EventArgs + { + private TempiCicloRilevatiRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiRowChangeEvent(TempiCicloRilevatiRow row, global::System.Data.DataRowAction action) { + public TempiCicloRilevatiRowChangeEvent(TempiCicloRilevatiRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiRow Row { - get { + public TempiCicloRilevatiRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class ODLRowChangeEvent : global::System.EventArgs { - + public class ODLRowChangeEvent : global::System.EventArgs + { + private ODLRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ODLRowChangeEvent(ODLRow row, global::System.Data.DataRowAction action) { + public ODLRowChangeEvent(ODLRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ODLRow Row { - get { + public ODLRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class AnagArticoliRowChangeEvent : global::System.EventArgs { - + public class AnagArticoliRowChangeEvent : global::System.EventArgs + { + private AnagArticoliRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliRowChangeEvent(AnagArticoliRow row, global::System.Data.DataRowAction action) { + public AnagArticoliRowChangeEvent(AnagArticoliRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliRow Row { - get { + public AnagArticoliRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class DatiMacchineRowChangeEvent : global::System.EventArgs { - + public class DatiMacchineRowChangeEvent : global::System.EventArgs + { + private DatiMacchineRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineRowChangeEvent(DatiMacchineRow row, global::System.Data.DataRowAction action) { + public DatiMacchineRowChangeEvent(DatiMacchineRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineRow Row { - get { + public DatiMacchineRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class PostazioniMapoRowChangeEvent : global::System.EventArgs { - + public class PostazioniMapoRowChangeEvent : global::System.EventArgs + { + private PostazioniMapoRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoRowChangeEvent(PostazioniMapoRow row, global::System.Data.DataRowAction action) { + public PostazioniMapoRowChangeEvent(PostazioniMapoRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoRow Row { - get { + public PostazioniMapoRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class stp_PzProd_getByMacchinaRowChangeEvent : global::System.EventArgs { - + public class stp_PzProd_getByMacchinaRowChangeEvent : global::System.EventArgs + { + private stp_PzProd_getByMacchinaRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_PzProd_getByMacchinaRowChangeEvent(stp_PzProd_getByMacchinaRow row, global::System.Data.DataRowAction action) { + public stp_PzProd_getByMacchinaRowChangeEvent(stp_PzProd_getByMacchinaRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_PzProd_getByMacchinaRow Row { - get { + public stp_PzProd_getByMacchinaRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class DatiConfermatiRowChangeEvent : global::System.EventArgs { - + public class DatiConfermatiRowChangeEvent : global::System.EventArgs + { + private DatiConfermatiRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiConfermatiRowChangeEvent(DatiConfermatiRow row, global::System.Data.DataRowAction action) { + public DatiConfermatiRowChangeEvent(DatiConfermatiRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiConfermatiRow Row { - get { + public DatiConfermatiRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class CalendFesteFerieRowChangeEvent : global::System.EventArgs { - + public class CalendFesteFerieRowChangeEvent : global::System.EventArgs + { + private CalendFesteFerieRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieRowChangeEvent(CalendFesteFerieRow row, global::System.Data.DataRowAction action) { + public CalendFesteFerieRowChangeEvent(CalendFesteFerieRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieRow Row { - get { + public CalendFesteFerieRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class stp_TempoByIdxMaccPeriodClassRowChangeEvent : global::System.EventArgs { - + public class stp_TempoByIdxMaccPeriodClassRowChangeEvent : global::System.EventArgs + { + private stp_TempoByIdxMaccPeriodClassRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_TempoByIdxMaccPeriodClassRowChangeEvent(stp_TempoByIdxMaccPeriodClassRow row, global::System.Data.DataRowAction action) { + public stp_TempoByIdxMaccPeriodClassRowChangeEvent(stp_TempoByIdxMaccPeriodClassRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_TempoByIdxMaccPeriodClassRow Row { - get { + public stp_TempoByIdxMaccPeriodClassRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class DatiProduzioneRowChangeEvent : global::System.EventArgs { - + public class DatiProduzioneRowChangeEvent : global::System.EventArgs + { + private DatiProduzioneRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiProduzioneRowChangeEvent(DatiProduzioneRow row, global::System.Data.DataRowAction action) { + public DatiProduzioneRowChangeEvent(DatiProduzioneRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiProduzioneRow Row { - get { + public DatiProduzioneRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class stp_repDonati_getDatiProdMacchinaRowChangeEvent : global::System.EventArgs { - + public class stp_repDonati_getDatiProdMacchinaRowChangeEvent : global::System.EventArgs + { + private stp_repDonati_getDatiProdMacchinaRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaRowChangeEvent(stp_repDonati_getDatiProdMacchinaRow row, global::System.Data.DataRowAction action) { + public stp_repDonati_getDatiProdMacchinaRowChangeEvent(stp_repDonati_getDatiProdMacchinaRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaRow Row { - get { + public stp_repDonati_getDatiProdMacchinaRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent : global::System.EventArgs { - + public class stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent : global::System.EventArgs + { + private stp_repDonati_getLastStatoDurataMacchinaRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(stp_repDonati_getLastStatoDurataMacchinaRow row, global::System.Data.DataRowAction action) { + public stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(stp_repDonati_getLastStatoDurataMacchinaRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getLastStatoDurataMacchinaRow Row { - get { + public stp_repDonati_getLastStatoDurataMacchinaRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent : global::System.EventArgs { - + public class stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent : global::System.EventArgs + { + private stp_repDonati_getDatiProdMacchinaPeriodoRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(stp_repDonati_getDatiProdMacchinaPeriodoRow row, global::System.Data.DataRowAction action) { + public stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(stp_repDonati_getDatiProdMacchinaPeriodoRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaPeriodoRow Row { - get { + public stp_repDonati_getDatiProdMacchinaPeriodoRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class TurniMacchinaRowChangeEvent : global::System.EventArgs { - + public class TurniMacchinaRowChangeEvent : global::System.EventArgs + { + private TurniMacchinaRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaRowChangeEvent(TurniMacchinaRow row, global::System.Data.DataRowAction action) { + public TurniMacchinaRowChangeEvent(TurniMacchinaRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaRow Row { - get { + public TurniMacchinaRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class MappaStatoExplRowChangeEvent : global::System.EventArgs { - + public class MappaStatoExplRowChangeEvent : global::System.EventArgs + { + private MappaStatoExplRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public MappaStatoExplRowChangeEvent(MappaStatoExplRow row, global::System.Data.DataRowAction action) { + public MappaStatoExplRowChangeEvent(MappaStatoExplRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public MappaStatoExplRow Row { - get { + public MappaStatoExplRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class ResProdDett_splitODLRowChangeEvent : global::System.EventArgs { - + public class ResProdDett_splitODLRowChangeEvent : global::System.EventArgs + { + private ResProdDett_splitODLRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitODLRowChangeEvent(ResProdDett_splitODLRow row, global::System.Data.DataRowAction action) { + public ResProdDett_splitODLRowChangeEvent(ResProdDett_splitODLRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitODLRow Row { - get { + public ResProdDett_splitODLRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class ResProdDett_splitGGRowChangeEvent : global::System.EventArgs { - + public class ResProdDett_splitGGRowChangeEvent : global::System.EventArgs + { + private ResProdDett_splitGGRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitGGRowChangeEvent(ResProdDett_splitGGRow row, global::System.Data.DataRowAction action) { + public ResProdDett_splitGGRowChangeEvent(ResProdDett_splitGGRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitGGRow Row { - get { + public ResProdDett_splitGGRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class ResProdTotRowChangeEvent : global::System.EventArgs { - + public class ResProdTotRowChangeEvent : global::System.EventArgs + { + private ResProdTotRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotRowChangeEvent(ResProdTotRow row, global::System.Data.DataRowAction action) { + public ResProdTotRowChangeEvent(ResProdTotRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotRow Row { - get { + public ResProdTotRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class RegistroControlliRowChangeEvent : global::System.EventArgs { - + public class RegistroControlliRowChangeEvent : global::System.EventArgs + { + private RegistroControlliRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliRowChangeEvent(RegistroControlliRow row, global::System.Data.DataRowAction action) { + public RegistroControlliRowChangeEvent(RegistroControlliRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliRow Row { - get { + public RegistroControlliRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class RegistroScartiRowChangeEvent : global::System.EventArgs { - + public class RegistroScartiRowChangeEvent : global::System.EventArgs + { + private RegistroScartiRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiRowChangeEvent(RegistroScartiRow row, global::System.Data.DataRowAction action) { + public RegistroScartiRowChangeEvent(RegistroScartiRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiRow Row { - get { + public RegistroScartiRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class PromesseODLRowChangeEvent : global::System.EventArgs { - + public class PromesseODLRowChangeEvent : global::System.EventArgs + { + private PromesseODLRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PromesseODLRowChangeEvent(PromesseODLRow row, global::System.Data.DataRowAction action) { + public PromesseODLRowChangeEvent(PromesseODLRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PromesseODLRow Row { - get { + public PromesseODLRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class ElencoConfermeProdRowChangeEvent : global::System.EventArgs { - + public class ElencoConfermeProdRowChangeEvent : global::System.EventArgs + { + private ElencoConfermeProdRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdRowChangeEvent(ElencoConfermeProdRow row, global::System.Data.DataRowAction action) { + public ElencoConfermeProdRowChangeEvent(ElencoConfermeProdRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdRow Row { - get { + public ElencoConfermeProdRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class StatoProdRowChangeEvent : global::System.EventArgs { - + public class StatoProdRowChangeEvent : global::System.EventArgs + { + private StatoProdRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public StatoProdRowChangeEvent(StatoProdRow row, global::System.Data.DataRowAction action) { + public StatoProdRowChangeEvent(StatoProdRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public StatoProdRow Row { - get { + public StatoProdRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } - + /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public class Macchine2SlaveRowChangeEvent : global::System.EventArgs { - + public class Macchine2SlaveRowChangeEvent : global::System.EventArgs + { + private Macchine2SlaveRow eventRow; - + private global::System.Data.DataRowAction eventAction; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveRowChangeEvent(Macchine2SlaveRow row, global::System.Data.DataRowAction action) { + public Macchine2SlaveRowChangeEvent(Macchine2SlaveRow row, global::System.Data.DataRowAction action) + { this.eventRow = row; this.eventAction = action; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveRow Row { - get { + public Macchine2SlaveRow Row + { + get + { return this.eventRow; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public global::System.Data.DataRowAction Action { - get { + public global::System.Data.DataRowAction Action + { + get + { return this.eventAction; } } } } } -namespace MapoDb.DS_ProdTempiTableAdapters { - - +namespace MapoDb.DS_ProdTempiTableAdapters +{ + + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -16743,114 +19846,142 @@ namespace MapoDb.DS_ProdTempiTableAdapters { [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class TempiCicloRilevatiTableAdapter : global::System.ComponentModel.Component { - + public partial class TempiCicloRilevatiTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TempiCicloRilevatiTableAdapter() { + public TempiCicloRilevatiTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -16899,17 +20030,19 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzProd", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -17002,540 +20135,669 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzMaxFix", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.TempiCicloRilevatiDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.TempiCicloRilevatiDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.TempiCicloRilevatiDataTable GetData() { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((Inizio.HasValue == true)) { + if ((Inizio.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Fine.HasValue == true)) { + if ((Fine.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getByMacchinaPeriodoFiltMax(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine, global::System.Nullable MAX) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getByMacchinaPeriodoFiltMax(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine, global::System.Nullable MAX) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((Inizio.HasValue == true)) { + if ((Inizio.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Fine.HasValue == true)) { + if ((Fine.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((MAX.HasValue == true)) { + if ((MAX.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(MAX.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getFilt(string IdxMacchina, global::System.Nullable dtFrom, global::System.Nullable dtTo, global::System.Nullable showMulti) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getFilt(string IdxMacchina, global::System.Nullable dtFrom, global::System.Nullable dtTo, global::System.Nullable showMulti) + { this.Adapter.SelectCommand = this.CommandCollection[3]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((dtFrom.HasValue == true)) { + if ((dtFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dtFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dtTo.HasValue == true)) { + if ((dtTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dtTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((showMulti.HasValue == true)) { + if ((showMulti.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(showMulti.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getFiltPaged(string IdxMacchina, global::System.Nullable dtFrom, global::System.Nullable dtTo, global::System.Nullable showMulti, global::System.Nullable maximumRows, global::System.Nullable startRowIndex) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getFiltPaged(string IdxMacchina, global::System.Nullable dtFrom, global::System.Nullable dtTo, global::System.Nullable showMulti, global::System.Nullable maximumRows, global::System.Nullable startRowIndex) + { this.Adapter.SelectCommand = this.CommandCollection[5]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((dtFrom.HasValue == true)) { + if ((dtFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dtFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dtTo.HasValue == true)) { + if ((dtTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dtTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((showMulti.HasValue == true)) { + if ((showMulti.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(showMulti.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((maximumRows.HasValue == true)) { + if ((maximumRows.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((int)(maximumRows.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((startRowIndex.HasValue == true)) { + if ((startRowIndex.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[6].Value = ((int)(startRowIndex.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getLastPzByMaccQta(string idxMacchina, global::System.Nullable DataOra, global::System.Nullable NumPz2Left) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getLastPzByMaccQta(string idxMacchina, global::System.Nullable DataOra, global::System.Nullable NumPz2Left) + { this.Adapter.SelectCommand = this.CommandCollection[6]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((DataOra.HasValue == true)) { + if ((DataOra.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataOra.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((NumPz2Left.HasValue == true)) { + if ((NumPz2Left.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((int)(NumPz2Left.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getMaxByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getMaxByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) + { this.Adapter.SelectCommand = this.CommandCollection[7]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((Inizio.HasValue == true)) { + if ((Inizio.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Fine.HasValue == true)) { + if ((Fine.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getMedByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getMedByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) + { this.Adapter.SelectCommand = this.CommandCollection[8]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((Inizio.HasValue == true)) { + if ((Inizio.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Fine.HasValue == true)) { + if ((Fine.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TempiCicloRilevatiDataTable getMinByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) { + public virtual DS_ProdTempi.TempiCicloRilevatiDataTable getMinByMacchinaPeriodo(string IdxMacchina, global::System.Nullable Inizio, global::System.Nullable Fine) + { this.Adapter.SelectCommand = this.CommandCollection[9]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((Inizio.HasValue == true)) { + if ((Inizio.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Fine.HasValue == true)) { + if ((Fine.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.TempiCicloRilevatiDataTable dataTable) { + public virtual int Update(DS_ProdTempi.TempiCicloRilevatiDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "TempiCicloRilevati"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) { - if ((Original_IdxMacchina == null)) { + public virtual int Delete(string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) + { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxMacchina)); } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { throw new global::System.ArgumentNullException("Original_CodArticolo"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodArticolo)); } this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_DataOraRif)); this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_TCMedio)); this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_PzProd)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd) { - if ((IdxMacchina == null)) { + public virtual int Insert(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd) + { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxMacchina)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { throw new global::System.ArgumentNullException("CodArticolo"); } - else { + else + { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodArticolo)); } this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataOraRif)); this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(TCMedio)); this.Adapter.InsertCommand.Parameters[4].Value = ((int)(PzProd)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd, string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) { - if ((IdxMacchina == null)) { + public virtual int Update(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd, string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) + { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxMacchina)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { throw new global::System.ArgumentNullException("CodArticolo"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodArticolo)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataOraRif)); this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(TCMedio)); this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(PzProd)); - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_IdxMacchina)); } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { throw new global::System.ArgumentNullException("Original_CodArticolo"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodArticolo)); } this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Original_DataOraRif)); this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(Original_TCMedio)); this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_PzProd)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(decimal TCMedio, int PzProd, string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) { + public virtual int Update(decimal TCMedio, int PzProd, string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) + { return this.Update(Original_IdxMacchina, Original_CodArticolo, Original_DataOraRif, TCMedio, PzProd, Original_IdxMacchina, Original_CodArticolo, Original_DataOraRif, Original_TCMedio, Original_PzProd); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual object getFiltCount(string IdxMacchina, global::System.Nullable dtFrom, global::System.Nullable dtTo, global::System.Nullable showMulti) { + public virtual object getFiltCount(string IdxMacchina, global::System.Nullable dtFrom, global::System.Nullable dtTo, global::System.Nullable showMulti) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((dtFrom.HasValue == true)) { + if ((dtFrom.HasValue == true)) + { command.Parameters[2].Value = ((System.DateTime)(dtFrom.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((dtTo.HasValue == true)) { + if ((dtTo.HasValue == true)) + { command.Parameters[3].Value = ((System.DateTime)(dtTo.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((showMulti.HasValue == true)) { + if ((showMulti.HasValue == true)) + { command.Parameters[4].Value = ((bool)(showMulti.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } object returnValue; - try { + try + { returnValue = command.ExecuteScalar(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } - if (((returnValue == null) - || (returnValue.GetType() == typeof(global::System.DBNull)))) { + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) + { return null; } - else { + else + { return ((object)(returnValue)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int TC_fixFromODL(global::System.Nullable IdxODL, global::System.Nullable PzMaxFix) { + public virtual int TC_fixFromODL(global::System.Nullable IdxODL, global::System.Nullable PzMaxFix) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; - if ((IdxODL.HasValue == true)) { + if ((IdxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(IdxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((PzMaxFix.HasValue == true)) { + if ((PzMaxFix.HasValue == true)) + { command.Parameters[2].Value = ((int)(PzMaxFix.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -17545,114 +20807,142 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class ODLTableAdapter : global::System.ComponentModel.Component { - + public partial class ODLTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ODLTableAdapter() { + public ODLTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -17679,17 +20969,19 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile tableMapping.ColumnMappings.Add("KeyRichiesta", "KeyRichiesta"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[30]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -17946,1193 +21238,1511 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[29].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[29].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()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.ODLDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.ODLDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.ODLDataTable GetData() { + public virtual DS_ProdTempi.ODLDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; 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", "17.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 getByCodArt(string CodArticolo) { + public virtual DS_ProdTempi.ODLDataTable getByCodArt(string CodArticolo) + { this.Adapter.SelectCommand = this.CommandCollection[10]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo)); } 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", "17.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 getByIdx(global::System.Nullable IdxODL, global::System.Nullable onlyUnused) { + public virtual DS_ProdTempi.ODLDataTable getByIdx(global::System.Nullable IdxODL, global::System.Nullable onlyUnused) + { this.Adapter.SelectCommand = this.CommandCollection[11]; - if ((IdxODL.HasValue == true)) { + if ((IdxODL.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxODL.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((onlyUnused.HasValue == true)) { + if ((onlyUnused.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(onlyUnused.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].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", "17.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 getByMacchina(string IdxMacchina) { + public virtual DS_ProdTempi.ODLDataTable getByMacchina(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[12]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } 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", "17.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 getByMacchinaArticolo(string CodArticolo, string IdxMacchina) { + public virtual DS_ProdTempi.ODLDataTable getByMacchinaArticolo(string CodArticolo, string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[13]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(IdxMacchina)); } 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", "17.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 getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { + public virtual DS_ProdTempi.ODLDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[14]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + 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", "17.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) { + public virtual DS_ProdTempi.ODLDataTable getByMacchinaPeriodoNoNull(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[15]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + 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", "17.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 getLastByMacc(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[16]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } 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", "17.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 getLastByMaccNum(string IdxMacchina, global::System.Nullable numRec) { + public virtual DS_ProdTempi.ODLDataTable getLastByMaccNum(string IdxMacchina, global::System.Nullable numRec) + { this.Adapter.SelectCommand = this.CommandCollection[17]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((numRec.HasValue == true)) { + if ((numRec.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((int)(numRec.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].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", "17.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 getNeedAppr() { + public virtual DS_ProdTempi.ODLDataTable getNeedAppr() + { this.Adapter.SelectCommand = this.CommandCollection[18]; 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", "17.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 reopenGetLast(string IdxMacchina) { + public virtual DS_ProdTempi.ODLDataTable reopenGetLast(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[25]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int approvaTC(global::System.Nullable idxODL, string Note, string UserAppr, global::System.Nullable Approvato) { + public virtual int approvaTC(global::System.Nullable idxODL, string Note, string UserAppr, global::System.Nullable Approvato) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(Note)); } - if ((UserAppr == null)) { + if ((UserAppr == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(UserAppr)); } - if ((Approvato.HasValue == true)) { + if ((Approvato.HasValue == true)) + { command.Parameters[4].Value = ((bool)(Approvato.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int AutoDayGener(string IdxMacchina, global::System.Nullable DataInizio, global::System.Nullable DataFine, string CodArticolo) { + public virtual int AutoDayGener(string IdxMacchina, global::System.Nullable DataInizio, global::System.Nullable DataFine, string CodArticolo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((DataInizio.HasValue == true)) { + if ((DataInizio.HasValue == true)) + { command.Parameters[2].Value = ((System.DateTime)(DataInizio.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((DataFine.HasValue == true)) { + if ((DataFine.HasValue == true)) + { command.Parameters[3].Value = ((System.DateTime)(DataFine.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[4].Value = ((string)(CodArticolo)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int autoStart(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) { + public virtual int autoStart(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[3]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchina)); } - if ((TCRichAttr.HasValue == true)) { + if ((TCRichAttr.HasValue == true)) + { command.Parameters[4].Value = ((decimal)(TCRichAttr.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[5].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(Note)); } - if ((StartNewOdl.HasValue == true)) { + if ((StartNewOdl.HasValue == true)) + { command.Parameters[7].Value = ((bool)(StartNewOdl.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((QtyRich.HasValue == true)) { + if ((QtyRich.HasValue == true)) + { command.Parameters[8].Value = ((int)(QtyRich.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } - if ((KeyRichiesta == null)) { + if ((KeyRichiesta == null)) + { command.Parameters[9].Value = global::System.DBNull.Value; } - else { + 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)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int clearSetup(global::System.Nullable idxODL, string IdxMacchina) { + public virtual int clearSetup(global::System.Nullable idxODL, string IdxMacchina) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + 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)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + public virtual int DeleteQuery(global::System.Nullable Original_IdxODL) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; - if ((Original_IdxODL.HasValue == true)) { + if ((Original_IdxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(Original_IdxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + public virtual int dividiDaAltraTav(global::System.Nullable idxODL, global::System.Nullable MatrOpr, string IdxMacchinaTo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchinaTo == null)) { + if ((IdxMacchinaTo == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchinaTo)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int fineProd(global::System.Nullable idxODL, string IdxMacchina) { + public virtual int fineProd(global::System.Nullable idxODL, string IdxMacchina) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + 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)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + public virtual int fixMachineSlave(string IdxMacchina, global::System.Nullable NumDayPrev, global::System.Nullable DoInsert) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((NumDayPrev.HasValue == true)) { + if ((NumDayPrev.HasValue == true)) + { command.Parameters[2].Value = ((int)(NumDayPrev.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((DoInsert.HasValue == true)) { + if ((DoInsert.HasValue == true)) + { command.Parameters[3].Value = ((int)(DoInsert.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int forceClose(global::System.Nullable idxODL, string IdxMacchina, global::System.Nullable dtEvento) { + public virtual int forceClose(global::System.Nullable idxODL, string IdxMacchina, global::System.Nullable dtEvento) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(IdxMacchina)); } - if ((dtEvento.HasValue == true)) { + if ((dtEvento.HasValue == true)) + { command.Parameters[3].Value = ((System.DateTime)(dtEvento.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + 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[19]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchina)); } - if ((TCRichAttr.HasValue == true)) { + if ((TCRichAttr.HasValue == true)) + { command.Parameters[4].Value = ((decimal)(TCRichAttr.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[5].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(Note)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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.Nullable dtEvento) { + 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.Nullable dtEvento) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[20]; - if ((idxPromessa.HasValue == true)) { + if ((idxPromessa.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxPromessa.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchina)); } - if ((TCRichAttr.HasValue == true)) { + if ((TCRichAttr.HasValue == true)) + { command.Parameters[4].Value = ((decimal)(TCRichAttr.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[5].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(Note)); } - if ((dtEvento.HasValue == true)) { + if ((dtEvento.HasValue == true)) + { command.Parameters[7].Value = ((System.DateTime)(dtEvento.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + public virtual int inizioSetupPromessaPostuma(global::System.Nullable idxPromessa, global::System.Nullable MatrOpr, string IdxMacchina) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[21]; - if ((idxPromessa.HasValue == true)) { + if ((idxPromessa.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxPromessa.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].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)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + 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[22]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(CodArticolo)); } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchina)); } - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { command.Parameters[4].Value = ((int)(NumPezzi.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { command.Parameters[5].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(Note)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [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) { + 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[23]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(CodArticolo)); } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchina)); } - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { command.Parameters[4].Value = ((int)(NumPezzi.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { command.Parameters[5].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[6].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } - if ((ToAs400.HasValue == true)) { + if ((ToAs400.HasValue == true)) + { command.Parameters[7].Value = ((bool)(ToAs400.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((CommessaAs400 == null)) { + if ((CommessaAs400 == null)) + { command.Parameters[8].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[8].Value = ((string)(CommessaAs400)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int insPostumo(global::System.Nullable idxODL, string IdxMacchina) { + public virtual int insPostumo(global::System.Nullable idxODL, string IdxMacchina) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[24]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + 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)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[26]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchina)); } - if ((TCRichAttr.HasValue == true)) { + if ((TCRichAttr.HasValue == true)) + { command.Parameters[4].Value = ((decimal)(TCRichAttr.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[5].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(Note)); } - if ((StartNewOdl.HasValue == true)) { + if ((StartNewOdl.HasValue == true)) + { command.Parameters[7].Value = ((bool)(StartNewOdl.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((QtyRich.HasValue == true)) { + if ((QtyRich.HasValue == true)) + { command.Parameters[8].Value = ((int)(QtyRich.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + 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[27]; - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { command.Parameters[1].Value = ((int)(NumPezzi.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[2].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((Original_IdxODL.HasValue == true)) { + if ((Original_IdxODL.HasValue == true)) + { command.Parameters[3].Value = ((int)(Original_IdxODL.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [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) { + 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[28]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(CodArticolo)); } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(IdxMacchina)); } - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { command.Parameters[4].Value = ((int)(NumPezzi.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { command.Parameters[5].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[6].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } - if ((DataInizio.HasValue == true)) { + if ((DataInizio.HasValue == true)) + { command.Parameters[7].Value = ((System.DateTime)(DataInizio.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((DataFine.HasValue == true)) { + if ((DataFine.HasValue == true)) + { command.Parameters[8].Value = ((System.DateTime)(DataFine.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[9].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[9].Value = ((string)(Note)); } - if ((Original_IdxODL.HasValue == true)) { + if ((Original_IdxODL.HasValue == true)) + { command.Parameters[10].Value = ((int)(Original_IdxODL.Value)); } - else { + else + { command.Parameters[10].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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) { + 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[29]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((TCRichAttr.HasValue == true)) { + if ((TCRichAttr.HasValue == true)) + { command.Parameters[3].Value = ((decimal)(TCRichAttr.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[4].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[5].Value = ((string)(Note)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -19142,114 +22752,142 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class AnagArticoliTableAdapter : global::System.ComponentModel.Component { - + public partial class AnagArticoliTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public AnagArticoliTableAdapter() { + public AnagArticoliTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -19264,17 +22902,19 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile tableMapping.ColumnMappings.Add("Azienda", "Azienda"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[13]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -19367,405 +23007,508 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Disegno", 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("@Tipo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.AnagArticoliDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.AnagArticoliDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.AnagArticoliDataTable GetData() { + public virtual DS_ProdTempi.AnagArticoliDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.AnagArticoliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.AnagArticoliDataTable getByCod(string CodArticolo) { + public virtual DS_ProdTempi.AnagArticoliDataTable getByCod(string CodArticolo) + { this.Adapter.SelectCommand = this.CommandCollection[3]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo)); } DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.AnagArticoliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.AnagArticoliDataTable getByCurrPODL() { + public virtual DS_ProdTempi.AnagArticoliDataTable getByCurrPODL() + { this.Adapter.SelectCommand = this.CommandCollection[4]; DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.AnagArticoliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.AnagArticoliDataTable getByDescr(string CodArticolo) { + public virtual DS_ProdTempi.AnagArticoliDataTable getByDescr(string CodArticolo) + { this.Adapter.SelectCommand = this.CommandCollection[5]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo)); } DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.AnagArticoliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.AnagArticoliDataTable getLastByMacc(string IdxMacchina) { + public virtual DS_ProdTempi.AnagArticoliDataTable getLastByMacc(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[6]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.AnagArticoliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.AnagArticoliDataTable getPaged(global::System.Nullable maximumRows, global::System.Nullable startRowIndex, string orderByCol, string searchVal, string tipo) { + public virtual DS_ProdTempi.AnagArticoliDataTable getPaged(global::System.Nullable maximumRows, global::System.Nullable startRowIndex, string orderByCol, string searchVal, string tipo) + { this.Adapter.SelectCommand = this.CommandCollection[7]; - if ((maximumRows.HasValue == true)) { + if ((maximumRows.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(maximumRows.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((startRowIndex.HasValue == true)) { + if ((startRowIndex.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((int)(startRowIndex.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((orderByCol == null)) { + if ((orderByCol == null)) + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = ((string)(orderByCol)); } - if ((searchVal == null)) { + if ((searchVal == null)) + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = ((string)(searchVal)); } - if ((tipo == null)) { + if ((tipo == null)) + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = ((string)(tipo)); } DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.AnagArticoliDataTable(); - this.Adapter.Fill(dataTable); + try + { + this.Adapter.Fill(dataTable); + } + catch (ConstraintException cexc) + { + } return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.AnagArticoliDataTable getUsed() { + public virtual DS_ProdTempi.AnagArticoliDataTable getUsed() + { this.Adapter.SelectCommand = this.CommandCollection[8]; DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.AnagArticoliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual object checkUsed(string CodArticolo, ref global::System.Nullable isUsed) { + public virtual object checkUsed(string CodArticolo, ref global::System.Nullable isUsed) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(CodArticolo)); } - if ((isUsed.HasValue == true)) { + if ((isUsed.HasValue == true)) + { command.Parameters[2].Value = ((bool)(isUsed.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } object returnValue; - try { + try + { returnValue = command.ExecuteScalar(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } - if (((command.Parameters[2].Value == null) - || (command.Parameters[2].Value.GetType() == typeof(global::System.DBNull)))) { + if (((command.Parameters[2].Value == null) + || (command.Parameters[2].Value.GetType() == typeof(global::System.DBNull)))) + { isUsed = new global::System.Nullable(); } - else { + else + { isUsed = new global::System.Nullable(((bool)(command.Parameters[2].Value))); } - if (((returnValue == null) - || (returnValue.GetType() == typeof(global::System.DBNull)))) { + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) + { return null; } - else { + else + { return ((object)(returnValue)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int deleteQry(string Original_CodArticolo) { + public virtual int deleteQry(string Original_CodArticolo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(Original_CodArticolo)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int insert(string CodArticolo, string DescArticolo, string CurrRev, string Disegno, string Tipo, string Azienda) { + public virtual int insert(string CodArticolo, string DescArticolo, string CurrRev, string Disegno, string Tipo, string Azienda) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(CodArticolo)); } - if ((DescArticolo == null)) { + if ((DescArticolo == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(DescArticolo)); } - if ((CurrRev == null)) { + if ((CurrRev == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(CurrRev)); } - if ((Disegno == null)) { + if ((Disegno == null)) + { command.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[4].Value = ((string)(Disegno)); } - if ((Tipo == null)) { + if ((Tipo == null)) + { command.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[5].Value = ((string)(Tipo)); } - if ((Azienda == null)) { + if ((Azienda == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(Azienda)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual object rowCount(string searchVal, string tipo) { + public virtual object rowCount(string searchVal, string tipo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; - if ((searchVal == null)) { + if ((searchVal == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(searchVal)); } - if ((tipo == null)) { + if ((tipo == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(tipo)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } object returnValue; - try { + try + { returnValue = command.ExecuteScalar(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } - if (((returnValue == null) - || (returnValue.GetType() == typeof(global::System.DBNull)))) { + if (((returnValue == null) + || (returnValue.GetType() == typeof(global::System.DBNull)))) + { return null; } - else { + else + { return ((object)(returnValue)); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int setNewRev(string Original_CodArticolo) { + public virtual int setNewRev(string Original_CodArticolo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11]; - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(Original_CodArticolo)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateQry(string Original_CodArticolo, string DescArticolo, string CurrRev, string CodArticolo, string Disegno, string Tipo) { + public virtual int updateQry(string Original_CodArticolo, string DescArticolo, string CurrRev, string CodArticolo, string Disegno, string Tipo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12]; - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(Original_CodArticolo)); } - if ((DescArticolo == null)) { + if ((DescArticolo == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(DescArticolo)); } - if ((CurrRev == null)) { + if ((CurrRev == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(CurrRev)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[4].Value = ((string)(CodArticolo)); } - if ((Disegno == null)) { + if ((Disegno == null)) + { command.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[5].Value = ((string)(Disegno)); } - if ((Tipo == null)) { + if ((Tipo == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(Tipo)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -19775,114 +23518,142 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class DatiMacchineTableAdapter : global::System.ComponentModel.Component { - + public partial class DatiMacchineTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiMacchineTableAdapter() { + public DatiMacchineTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -19898,17 +23669,19 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile tableMapping.ColumnMappings.Add("hasCounter", "hasCounter"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -19930,95 +23703,114 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo_A", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo_B", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.DatiMacchineDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.DatiMacchineDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.DatiMacchineDataTable GetData() { + public virtual DS_ProdTempi.DatiMacchineDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.DatiMacchineDataTable dataTable = new DS_ProdTempi.DatiMacchineDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.DatiMacchineDataTable getByIdx(string IdxMacchina) { + public virtual DS_ProdTempi.DatiMacchineDataTable getByIdx(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } DS_ProdTempi.DatiMacchineDataTable dataTable = new DS_ProdTempi.DatiMacchineDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateQry(string Original_idxMacchina, global::System.Nullable palletChange, string CodArticolo_A, string CodArticolo_B) { + public virtual int updateQry(string Original_idxMacchina, global::System.Nullable palletChange, string CodArticolo_A, string CodArticolo_B) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((Original_idxMacchina == null)) { + if ((Original_idxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(Original_idxMacchina)); } - if ((palletChange.HasValue == true)) { + if ((palletChange.HasValue == true)) + { command.Parameters[2].Value = ((bool)(palletChange.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((CodArticolo_A == null)) { + if ((CodArticolo_A == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(CodArticolo_A)); } - if ((CodArticolo_B == null)) { + if ((CodArticolo_B == null)) + { command.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[4].Value = ((string)(CodArticolo_B)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -20028,114 +23820,142 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class PostazioniMapoTableAdapter : global::System.ComponentModel.Component { - + public partial class PostazioniMapoTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PostazioniMapoTableAdapter() { + public PostazioniMapoTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -20194,17 +24014,19 @@ SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, La this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LastBarcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LastBarcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -20233,383 +24055,477 @@ SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, La this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOper", 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("@minutiModifica", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.PostazioniMapoDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.PostazioniMapoDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.PostazioniMapoDataTable GetData() { + public virtual DS_ProdTempi.PostazioniMapoDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.PostazioniMapoDataTable dataTable = new DS_ProdTempi.PostazioniMapoDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.PostazioniMapoDataTable getByIdxPostaz(string idxPostazione) { + public virtual DS_ProdTempi.PostazioniMapoDataTable getByIdxPostaz(string idxPostazione) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((idxPostazione == null)) { + if ((idxPostazione == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxPostazione)); } DS_ProdTempi.PostazioniMapoDataTable dataTable = new DS_ProdTempi.PostazioniMapoDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.PostazioniMapoDataTable dataTable) { + public virtual int Update(DS_ProdTempi.PostazioniMapoDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "PostazioniMapo"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable Original_MatrOperatore, global::System.Nullable Original_InputUntil, string Original_LastBarcode) { - if ((Original_IdxPostazione == null)) { + public virtual int Delete(string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable Original_MatrOperatore, global::System.Nullable Original_InputUntil, string Original_LastBarcode) + { + if ((Original_IdxPostazione == null)) + { throw new global::System.ArgumentNullException("Original_IdxPostazione"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxPostazione)); } - if ((Original_DescPostazione == null)) { + if ((Original_DescPostazione == null)) + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescPostazione)); } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_IdxMacchina)); } - if ((Original_MatrOperatore.HasValue == true)) { + if ((Original_MatrOperatore.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_MatrOperatore.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((Original_InputUntil.HasValue == true)) { + if ((Original_InputUntil.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_InputUntil.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; } - if ((Original_LastBarcode == null)) { + if ((Original_LastBarcode == null)) + { this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_LastBarcode)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string IdxPostazione, string DescPostazione, string IdxMacchina, global::System.Nullable MatrOperatore, global::System.Nullable InputUntil, string LastBarcode) { - if ((IdxPostazione == null)) { + public virtual int Insert(string IdxPostazione, string DescPostazione, string IdxMacchina, global::System.Nullable MatrOperatore, global::System.Nullable InputUntil, string LastBarcode) + { + if ((IdxPostazione == null)) + { throw new global::System.ArgumentNullException("IdxPostazione"); } - else { + else + { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxPostazione)); } - if ((DescPostazione == null)) { + if ((DescPostazione == null)) + { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescPostazione)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(IdxMacchina)); } - if ((MatrOperatore.HasValue == true)) { + if ((MatrOperatore.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[3].Value = ((int)(MatrOperatore.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((InputUntil.HasValue == true)) { + if ((InputUntil.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(InputUntil.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((LastBarcode == null)) { + if ((LastBarcode == null)) + { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(LastBarcode)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string IdxPostazione, string DescPostazione, string IdxMacchina, global::System.Nullable MatrOperatore, global::System.Nullable InputUntil, string LastBarcode, string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable Original_MatrOperatore, global::System.Nullable Original_InputUntil, string Original_LastBarcode) { - if ((IdxPostazione == null)) { + public virtual int Update(string IdxPostazione, string DescPostazione, string IdxMacchina, global::System.Nullable MatrOperatore, global::System.Nullable InputUntil, string LastBarcode, string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable Original_MatrOperatore, global::System.Nullable Original_InputUntil, string Original_LastBarcode) + { + if ((IdxPostazione == null)) + { throw new global::System.ArgumentNullException("IdxPostazione"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxPostazione)); } - if ((DescPostazione == null)) { + if ((DescPostazione == null)) + { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescPostazione)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(IdxMacchina)); } - if ((MatrOperatore.HasValue == true)) { + if ((MatrOperatore.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(MatrOperatore.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((InputUntil.HasValue == true)) { + if ((InputUntil.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(InputUntil.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((LastBarcode == null)) { + if ((LastBarcode == null)) + { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(LastBarcode)); } - if ((Original_IdxPostazione == null)) { + if ((Original_IdxPostazione == null)) + { throw new global::System.ArgumentNullException("Original_IdxPostazione"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_IdxPostazione)); } - if ((Original_DescPostazione == null)) { + if ((Original_DescPostazione == null)) + { this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescPostazione)); } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_IdxMacchina)); } - if ((Original_MatrOperatore.HasValue == true)) { + if ((Original_MatrOperatore.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_MatrOperatore.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } - if ((Original_InputUntil.HasValue == true)) { + if ((Original_InputUntil.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_InputUntil.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } - if ((Original_LastBarcode == null)) { + if ((Original_LastBarcode == null)) + { this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_LastBarcode)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string DescPostazione, string IdxMacchina, global::System.Nullable MatrOperatore, global::System.Nullable InputUntil, string LastBarcode, string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable Original_MatrOperatore, global::System.Nullable Original_InputUntil, string Original_LastBarcode) { + public virtual int Update(string DescPostazione, string IdxMacchina, global::System.Nullable MatrOperatore, global::System.Nullable InputUntil, string LastBarcode, string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable Original_MatrOperatore, global::System.Nullable Original_InputUntil, string Original_LastBarcode) + { return this.Update(Original_IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, LastBarcode, Original_IdxPostazione, Original_DescPostazione, Original_IdxMacchina, Original_MatrOperatore, Original_InputUntil, Original_LastBarcode); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateMacchina(string idxPostazione, string idxMacchina) { + public virtual int updateMacchina(string idxPostazione, string idxMacchina) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((idxPostazione == null)) { + if ((idxPostazione == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(idxPostazione)); } - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + 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)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateOperatoreAdmin(string idxPostazione, global::System.Nullable matrOper, global::System.Nullable minutiModifica) { + public virtual int updateOperatoreAdmin(string idxPostazione, global::System.Nullable matrOper, global::System.Nullable minutiModifica) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; - if ((idxPostazione == null)) { + if ((idxPostazione == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(idxPostazione)); } - if ((matrOper.HasValue == true)) { + if ((matrOper.HasValue == true)) + { command.Parameters[2].Value = ((int)(matrOper.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((minutiModifica.HasValue == true)) { + if ((minutiModifica.HasValue == true)) + { command.Parameters[3].Value = ((int)(minutiModifica.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -20619,114 +24535,142 @@ SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, La [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class stp_PzProd_getByMacchinaTableAdapter : global::System.ComponentModel.Component { - + public partial class stp_PzProd_getByMacchinaTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_PzProd_getByMacchinaTableAdapter() { + public stp_PzProd_getByMacchinaTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -20737,17 +24681,19 @@ SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, La tableMapping.ColumnMappings.Add("DataTo", "DataTo"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -20806,301 +24752,384 @@ SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, La this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStato", 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("@pezziConf", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.stp_PzProd_getByMacchinaDataTable dataTable, string idxMacchina) { + public virtual int Fill(DS_ProdTempi.stp_PzProd_getByMacchinaDataTable dataTable, string idxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.stp_PzProd_getByMacchinaDataTable GetData(string idxMacchina) { + public virtual DS_ProdTempi.stp_PzProd_getByMacchinaDataTable GetData(string idxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } DS_ProdTempi.stp_PzProd_getByMacchinaDataTable dataTable = new DS_ProdTempi.stp_PzProd_getByMacchinaDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.stp_PzProd_getByMacchinaDataTable getByMacchinaPeriodo(string idxMacchina, global::System.Nullable startProd, global::System.Nullable endProd) { + public virtual DS_ProdTempi.stp_PzProd_getByMacchinaDataTable getByMacchinaPeriodo(string idxMacchina, global::System.Nullable startProd, global::System.Nullable endProd) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((startProd.HasValue == true)) { + if ((startProd.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(startProd.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((endProd.HasValue == true)) { + if ((endProd.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(endProd.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.stp_PzProd_getByMacchinaDataTable dataTable = new DS_ProdTempi.stp_PzProd_getByMacchinaDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_ConfermaProduzCompleta(string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable pezziConf, global::System.Nullable pezziScar, global::System.Nullable TipoConf, global::System.Nullable DataOraApp, global::System.Nullable TestConferma) { + public virtual int stp_ConfermaProduzCompleta(string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable pezziConf, global::System.Nullable pezziScar, global::System.Nullable TipoConf, global::System.Nullable DataOraApp, global::System.Nullable TestConferma) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(idxMacchina)); } - if ((MatrApp.HasValue == true)) { + if ((MatrApp.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrApp.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { command.Parameters[3].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { command.Parameters[4].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((pezziConf.HasValue == true)) { + if ((pezziConf.HasValue == true)) + { command.Parameters[5].Value = ((int)(pezziConf.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((pezziScar.HasValue == true)) { + if ((pezziScar.HasValue == true)) + { command.Parameters[6].Value = ((int)(pezziScar.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } - if ((TipoConf.HasValue == true)) { + if ((TipoConf.HasValue == true)) + { command.Parameters[7].Value = ((int)(TipoConf.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((DataOraApp.HasValue == true)) { + if ((DataOraApp.HasValue == true)) + { command.Parameters[8].Value = ((System.DateTime)(DataOraApp.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } - if ((TestConferma.HasValue == true)) { + if ((TestConferma.HasValue == true)) + { command.Parameters[9].Value = ((bool)(TestConferma.Value)); } - else { + else + { command.Parameters[9].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_ConfermaProduzCompletaFull(string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable pezziConf, global::System.Nullable pezziLasciati, global::System.Nullable pezziScar, global::System.Nullable TipoConf, global::System.Nullable DataOraApp, global::System.Nullable TestConferma) { + public virtual int stp_ConfermaProduzCompletaFull(string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable pezziConf, global::System.Nullable pezziLasciati, global::System.Nullable pezziScar, global::System.Nullable TipoConf, global::System.Nullable DataOraApp, global::System.Nullable TestConferma) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(idxMacchina)); } - if ((MatrApp.HasValue == true)) { + if ((MatrApp.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrApp.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { command.Parameters[3].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { command.Parameters[4].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((pezziConf.HasValue == true)) { + if ((pezziConf.HasValue == true)) + { command.Parameters[5].Value = ((int)(pezziConf.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((pezziLasciati.HasValue == true)) { + if ((pezziLasciati.HasValue == true)) + { command.Parameters[6].Value = ((int)(pezziLasciati.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } - if ((pezziScar.HasValue == true)) { + if ((pezziScar.HasValue == true)) + { command.Parameters[7].Value = ((int)(pezziScar.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((TipoConf.HasValue == true)) { + if ((TipoConf.HasValue == true)) + { command.Parameters[8].Value = ((int)(TipoConf.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } - if ((DataOraApp.HasValue == true)) { + if ((DataOraApp.HasValue == true)) + { command.Parameters[9].Value = ((System.DateTime)(DataOraApp.Value)); } - else { + else + { command.Parameters[9].Value = global::System.DBNull.Value; } - if ((TestConferma.HasValue == true)) { + if ((TestConferma.HasValue == true)) + { command.Parameters[10].Value = ((bool)(TestConferma.Value)); } - else { + else + { command.Parameters[10].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_DatiConf_conferma(global::System.Nullable idxODL, string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable turno, global::System.Nullable idxStato, global::System.Nullable pezziConf) { + public virtual int stp_DatiConf_conferma(global::System.Nullable idxODL, string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable turno, global::System.Nullable idxStato, global::System.Nullable pezziConf) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(idxMacchina)); } - if ((MatrApp.HasValue == true)) { + if ((MatrApp.HasValue == true)) + { command.Parameters[3].Value = ((int)(MatrApp.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { command.Parameters[4].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { command.Parameters[5].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((turno.HasValue == true)) { + if ((turno.HasValue == true)) + { command.Parameters[6].Value = ((int)(turno.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } - if ((idxStato.HasValue == true)) { + if ((idxStato.HasValue == true)) + { command.Parameters[7].Value = ((int)(idxStato.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((pezziConf.HasValue == true)) { + if ((pezziConf.HasValue == true)) + { command.Parameters[8].Value = ((int)(pezziConf.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -21110,114 +25139,142 @@ SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, La [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class DatiConfermatiTableAdapter : global::System.ComponentModel.Component { - + public partial class DatiConfermatiTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiConfermatiTableAdapter() { + public DatiConfermatiTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -21459,17 +25516,19 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotPzFermo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzFermo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxConferma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -21493,877 +25552,1062 @@ WHERE (IdxMacchina = @IdxMacchina)"; this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; 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, "IdxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.DatiConfermatiDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.DatiConfermatiDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.DatiConfermatiDataTable GetData() { + public virtual DS_ProdTempi.DatiConfermatiDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.DatiConfermatiDataTable dataTable = new DS_ProdTempi.DatiConfermatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.DatiConfermatiDataTable getByMacchPeriodo(string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { + public virtual DS_ProdTempi.DatiConfermatiDataTable getByMacchPeriodo(string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.DatiConfermatiDataTable dataTable = new DS_ProdTempi.DatiConfermatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.DatiConfermatiDataTable getTop1ByIdxMacchina(string IdxMacchina) { + public virtual DS_ProdTempi.DatiConfermatiDataTable getTop1ByIdxMacchina(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(IdxMacchina)); } DS_ProdTempi.DatiConfermatiDataTable dataTable = new DS_ProdTempi.DatiConfermatiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.DatiConfermatiDataTable dataTable) { + public virtual int Update(DS_ProdTempi.DatiConfermatiDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "DatiConfermati"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete( - int Original_IdxConferma, - int Original_IdxODL, - System.DateTime Original_DataOraApp, - System.DateTime Original_DataRif, - global::System.Nullable Original_TurnoRif, - string Original_CodArticolo, - string Original_IdxMacchina, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_MatrOpr, - int Original_MatrApp, - global::System.Nullable Original_DataOraFrom, - global::System.Nullable Original_DataOraTo, - int Original_IdxStato, - global::System.Nullable Original_TotPzProd, - global::System.Nullable Original_TempoProdotto, - global::System.Nullable Original_TempoCron, - global::System.Nullable Original_TempoND, - global::System.Nullable Original_TempoApertura, - global::System.Nullable Original_TempoOFF, - global::System.Nullable Original_TempoON, - global::System.Nullable Original_TempoFermoOn, - global::System.Nullable Original_TempoAuto, - global::System.Nullable Original_TempoFermoAuto, - global::System.Nullable Original_TempoRun, - global::System.Nullable Original_TotPzFermo) { + int Original_IdxConferma, + int Original_IdxODL, + System.DateTime Original_DataOraApp, + System.DateTime Original_DataRif, + global::System.Nullable Original_TurnoRif, + string Original_CodArticolo, + string Original_IdxMacchina, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_MatrOpr, + int Original_MatrApp, + global::System.Nullable Original_DataOraFrom, + global::System.Nullable Original_DataOraTo, + int Original_IdxStato, + global::System.Nullable Original_TotPzProd, + global::System.Nullable Original_TempoProdotto, + global::System.Nullable Original_TempoCron, + global::System.Nullable Original_TempoND, + global::System.Nullable Original_TempoApertura, + global::System.Nullable Original_TempoOFF, + global::System.Nullable Original_TempoON, + global::System.Nullable Original_TempoFermoOn, + global::System.Nullable Original_TempoAuto, + global::System.Nullable Original_TempoFermoAuto, + global::System.Nullable Original_TempoRun, + global::System.Nullable Original_TotPzFermo) + { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxConferma)); this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxODL)); this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_DataOraApp)); this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_DataRif)); - if ((Original_TurnoRif.HasValue == true)) { + if ((Original_TurnoRif.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_TurnoRif.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodArticolo)); } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_IdxMacchina)); } - if ((Original_TCAssegnato.HasValue == true)) { + if ((Original_TCAssegnato.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_TCAssegnato.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; } - if ((Original_MatrOpr.HasValue == true)) { + if ((Original_MatrOpr.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_MatrOpr.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; } this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_MatrApp)); - if ((Original_DataOraFrom.HasValue == true)) { + if ((Original_DataOraFrom.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_DataOraFrom.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; } - if ((Original_DataOraTo.HasValue == true)) { + if ((Original_DataOraTo.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOraTo.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value; } this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_IdxStato)); - if ((Original_TotPzProd.HasValue == true)) { + if ((Original_TotPzProd.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[20].Value = ((int)(Original_TotPzProd.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; } - if ((Original_TempoProdotto.HasValue == true)) { + if ((Original_TempoProdotto.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[22].Value = ((decimal)(Original_TempoProdotto.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; } - if ((Original_TempoCron.HasValue == true)) { + if ((Original_TempoCron.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[24].Value = ((decimal)(Original_TempoCron.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; } - if ((Original_TempoND.HasValue == true)) { + if ((Original_TempoND.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[26].Value = ((decimal)(Original_TempoND.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; } - if ((Original_TempoApertura.HasValue == true)) { + if ((Original_TempoApertura.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[28].Value = ((decimal)(Original_TempoApertura.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; } - if ((Original_TempoOFF.HasValue == true)) { + if ((Original_TempoOFF.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[30].Value = ((decimal)(Original_TempoOFF.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; } - if ((Original_TempoON.HasValue == true)) { + if ((Original_TempoON.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[32].Value = ((decimal)(Original_TempoON.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; } - if ((Original_TempoFermoOn.HasValue == true)) { + if ((Original_TempoFermoOn.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[34].Value = ((decimal)(Original_TempoFermoOn.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; } - if ((Original_TempoAuto.HasValue == true)) { + if ((Original_TempoAuto.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_TempoAuto.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; } - if ((Original_TempoFermoAuto.HasValue == true)) { + if ((Original_TempoFermoAuto.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[38].Value = ((decimal)(Original_TempoFermoAuto.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; } - if ((Original_TempoRun.HasValue == true)) { + if ((Original_TempoRun.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[40].Value = ((decimal)(Original_TempoRun.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; } - if ((Original_TotPzFermo.HasValue == true)) { + if ((Original_TotPzFermo.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[42].Value = ((int)(Original_TotPzFermo.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert( - int IdxODL, - System.DateTime DataOraApp, - System.DateTime DataRif, - global::System.Nullable TurnoRif, - string CodArticolo, - string IdxMacchina, - global::System.Nullable TCAssegnato, - global::System.Nullable MatrOpr, - int MatrApp, - global::System.Nullable DataOraFrom, - global::System.Nullable DataOraTo, - int IdxStato, - global::System.Nullable TotPzProd, - global::System.Nullable TempoProdotto, - global::System.Nullable TempoCron, - global::System.Nullable TempoND, - global::System.Nullable TempoApertura, - global::System.Nullable TempoOFF, - global::System.Nullable TempoON, - global::System.Nullable TempoFermoOn, - global::System.Nullable TempoAuto, - global::System.Nullable TempoFermoAuto, - global::System.Nullable TempoRun, - global::System.Nullable TotPzFermo) { + int IdxODL, + System.DateTime DataOraApp, + System.DateTime DataRif, + global::System.Nullable TurnoRif, + string CodArticolo, + string IdxMacchina, + global::System.Nullable TCAssegnato, + global::System.Nullable MatrOpr, + int MatrApp, + global::System.Nullable DataOraFrom, + global::System.Nullable DataOraTo, + int IdxStato, + global::System.Nullable TotPzProd, + global::System.Nullable TempoProdotto, + global::System.Nullable TempoCron, + global::System.Nullable TempoND, + global::System.Nullable TempoApertura, + global::System.Nullable TempoOFF, + global::System.Nullable TempoON, + global::System.Nullable TempoFermoOn, + global::System.Nullable TempoAuto, + global::System.Nullable TempoFermoAuto, + global::System.Nullable TempoRun, + global::System.Nullable TotPzFermo) + { this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxODL)); this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp)); this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataRif)); - if ((TurnoRif.HasValue == true)) { + if ((TurnoRif.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[3].Value = ((int)(TurnoRif.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodArticolo)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(IdxMacchina)); } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[7].Value = ((int)(MatrOpr.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } this.Adapter.InsertCommand.Parameters[8].Value = ((int)(MatrApp)); - if ((DataOraFrom.HasValue == true)) { + if ((DataOraFrom.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } - if ((DataOraTo.HasValue == true)) { + if ((DataOraTo.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } this.Adapter.InsertCommand.Parameters[11].Value = ((int)(IdxStato)); - if ((TotPzProd.HasValue == true)) { + if ((TotPzProd.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[12].Value = ((int)(TotPzProd.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } - if ((TempoProdotto.HasValue == true)) { + if ((TempoProdotto.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(TempoProdotto.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } - if ((TempoCron.HasValue == true)) { + if ((TempoCron.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(TempoCron.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } - if ((TempoND.HasValue == true)) { + if ((TempoND.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(TempoND.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } - if ((TempoApertura.HasValue == true)) { + if ((TempoApertura.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(TempoApertura.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } - if ((TempoOFF.HasValue == true)) { + if ((TempoOFF.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(TempoOFF.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; } - if ((TempoON.HasValue == true)) { + if ((TempoON.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(TempoON.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } - if ((TempoFermoOn.HasValue == true)) { + if ((TempoFermoOn.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[19].Value = ((decimal)(TempoFermoOn.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; } - if ((TempoAuto.HasValue == true)) { + if ((TempoAuto.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(TempoAuto.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; } - if ((TempoFermoAuto.HasValue == true)) { + if ((TempoFermoAuto.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[21].Value = ((decimal)(TempoFermoAuto.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; } - if ((TempoRun.HasValue == true)) { + if ((TempoRun.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[22].Value = ((decimal)(TempoRun.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; } - if ((TotPzFermo.HasValue == true)) { + if ((TotPzFermo.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[23].Value = ((int)(TotPzFermo.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( - int IdxODL, - System.DateTime DataOraApp, - System.DateTime DataRif, - global::System.Nullable TurnoRif, - string CodArticolo, - string IdxMacchina, - global::System.Nullable TCAssegnato, - global::System.Nullable MatrOpr, - int MatrApp, - global::System.Nullable DataOraFrom, - global::System.Nullable DataOraTo, - int IdxStato, - global::System.Nullable TotPzProd, - global::System.Nullable TempoProdotto, - global::System.Nullable TempoCron, - global::System.Nullable TempoND, - global::System.Nullable TempoApertura, - global::System.Nullable TempoOFF, - global::System.Nullable TempoON, - global::System.Nullable TempoFermoOn, - global::System.Nullable TempoAuto, - global::System.Nullable TempoFermoAuto, - global::System.Nullable TempoRun, - global::System.Nullable TotPzFermo, - int Original_IdxConferma, - int Original_IdxODL, - System.DateTime Original_DataOraApp, - System.DateTime Original_DataRif, - global::System.Nullable Original_TurnoRif, - string Original_CodArticolo, - string Original_IdxMacchina, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_MatrOpr, - int Original_MatrApp, - global::System.Nullable Original_DataOraFrom, - global::System.Nullable Original_DataOraTo, - int Original_IdxStato, - global::System.Nullable Original_TotPzProd, - global::System.Nullable Original_TempoProdotto, - global::System.Nullable Original_TempoCron, - global::System.Nullable Original_TempoND, - global::System.Nullable Original_TempoApertura, - global::System.Nullable Original_TempoOFF, - global::System.Nullable Original_TempoON, - global::System.Nullable Original_TempoFermoOn, - global::System.Nullable Original_TempoAuto, - global::System.Nullable Original_TempoFermoAuto, - global::System.Nullable Original_TempoRun, - global::System.Nullable Original_TotPzFermo, - int IdxConferma) { + int IdxODL, + System.DateTime DataOraApp, + System.DateTime DataRif, + global::System.Nullable TurnoRif, + string CodArticolo, + string IdxMacchina, + global::System.Nullable TCAssegnato, + global::System.Nullable MatrOpr, + int MatrApp, + global::System.Nullable DataOraFrom, + global::System.Nullable DataOraTo, + int IdxStato, + global::System.Nullable TotPzProd, + global::System.Nullable TempoProdotto, + global::System.Nullable TempoCron, + global::System.Nullable TempoND, + global::System.Nullable TempoApertura, + global::System.Nullable TempoOFF, + global::System.Nullable TempoON, + global::System.Nullable TempoFermoOn, + global::System.Nullable TempoAuto, + global::System.Nullable TempoFermoAuto, + global::System.Nullable TempoRun, + global::System.Nullable TotPzFermo, + int Original_IdxConferma, + int Original_IdxODL, + System.DateTime Original_DataOraApp, + System.DateTime Original_DataRif, + global::System.Nullable Original_TurnoRif, + string Original_CodArticolo, + string Original_IdxMacchina, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_MatrOpr, + int Original_MatrApp, + global::System.Nullable Original_DataOraFrom, + global::System.Nullable Original_DataOraTo, + int Original_IdxStato, + global::System.Nullable Original_TotPzProd, + global::System.Nullable Original_TempoProdotto, + global::System.Nullable Original_TempoCron, + global::System.Nullable Original_TempoND, + global::System.Nullable Original_TempoApertura, + global::System.Nullable Original_TempoOFF, + global::System.Nullable Original_TempoON, + global::System.Nullable Original_TempoFermoOn, + global::System.Nullable Original_TempoAuto, + global::System.Nullable Original_TempoFermoAuto, + global::System.Nullable Original_TempoRun, + global::System.Nullable Original_TotPzFermo, + int IdxConferma) + { this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxODL)); this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp)); this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataRif)); - if ((TurnoRif.HasValue == true)) { + if ((TurnoRif.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(TurnoRif.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodArticolo)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(IdxMacchina)); } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(MatrOpr.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(MatrApp)); - if ((DataOraFrom.HasValue == true)) { + if ((DataOraFrom.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } - if ((DataOraTo.HasValue == true)) { + if ((DataOraTo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(IdxStato)); - if ((TotPzProd.HasValue == true)) { + if ((TotPzProd.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(TotPzProd.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } - if ((TempoProdotto.HasValue == true)) { + if ((TempoProdotto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(TempoProdotto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } - if ((TempoCron.HasValue == true)) { + if ((TempoCron.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(TempoCron.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } - if ((TempoND.HasValue == true)) { + if ((TempoND.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(TempoND.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } - if ((TempoApertura.HasValue == true)) { + if ((TempoApertura.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(TempoApertura.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; } - if ((TempoOFF.HasValue == true)) { + if ((TempoOFF.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(TempoOFF.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; } - if ((TempoON.HasValue == true)) { + if ((TempoON.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(TempoON.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } - if ((TempoFermoOn.HasValue == true)) { + if ((TempoFermoOn.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(TempoFermoOn.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; } - if ((TempoAuto.HasValue == true)) { + if ((TempoAuto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(TempoAuto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } - if ((TempoFermoAuto.HasValue == true)) { + if ((TempoFermoAuto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[21].Value = ((decimal)(TempoFermoAuto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; } - if ((TempoRun.HasValue == true)) { + if ((TempoRun.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(TempoRun.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } - if ((TotPzFermo.HasValue == true)) { + if ((TotPzFermo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(TotPzFermo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_IdxConferma)); this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_IdxODL)); this.Adapter.UpdateCommand.Parameters[26].Value = ((System.DateTime)(Original_DataOraApp)); this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_DataRif)); - if ((Original_TurnoRif.HasValue == true)) { + if ((Original_TurnoRif.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_TurnoRif.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_CodArticolo)); } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_IdxMacchina)); } - if ((Original_TCAssegnato.HasValue == true)) { + if ((Original_TCAssegnato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[34].Value = ((decimal)(Original_TCAssegnato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; } - if ((Original_MatrOpr.HasValue == true)) { + if ((Original_MatrOpr.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_MatrOpr.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[37].Value = ((int)(Original_MatrApp)); - if ((Original_DataOraFrom.HasValue == true)) { + if ((Original_DataOraFrom.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[39].Value = ((System.DateTime)(Original_DataOraFrom.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; } - if ((Original_DataOraTo.HasValue == true)) { + if ((Original_DataOraTo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[41].Value = ((System.DateTime)(Original_DataOraTo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_IdxStato)); - if ((Original_TotPzProd.HasValue == true)) { + if ((Original_TotPzProd.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[44].Value = ((int)(Original_TotPzProd.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; } - if ((Original_TempoProdotto.HasValue == true)) { + if ((Original_TempoProdotto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[46].Value = ((decimal)(Original_TempoProdotto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; } - if ((Original_TempoCron.HasValue == true)) { + if ((Original_TempoCron.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[48].Value = ((decimal)(Original_TempoCron.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; } - if ((Original_TempoND.HasValue == true)) { + if ((Original_TempoND.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[50].Value = ((decimal)(Original_TempoND.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; } - if ((Original_TempoApertura.HasValue == true)) { + if ((Original_TempoApertura.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[52].Value = ((decimal)(Original_TempoApertura.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; } - if ((Original_TempoOFF.HasValue == true)) { + if ((Original_TempoOFF.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[54].Value = ((decimal)(Original_TempoOFF.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; } - if ((Original_TempoON.HasValue == true)) { + if ((Original_TempoON.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[56].Value = ((decimal)(Original_TempoON.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; } - if ((Original_TempoFermoOn.HasValue == true)) { + if ((Original_TempoFermoOn.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[58].Value = ((decimal)(Original_TempoFermoOn.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; } - if ((Original_TempoAuto.HasValue == true)) { + if ((Original_TempoAuto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[60].Value = ((decimal)(Original_TempoAuto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; } - if ((Original_TempoFermoAuto.HasValue == true)) { + if ((Original_TempoFermoAuto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_TempoFermoAuto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; } - if ((Original_TempoRun.HasValue == true)) { + if ((Original_TempoRun.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_TempoRun.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; } - if ((Original_TotPzFermo.HasValue == true)) { + if ((Original_TotPzFermo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_TotPzFermo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[67].Value = ((int)(IdxConferma)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( - int IdxODL, - System.DateTime DataOraApp, - System.DateTime DataRif, - global::System.Nullable TurnoRif, - string CodArticolo, - string IdxMacchina, - global::System.Nullable TCAssegnato, - global::System.Nullable MatrOpr, - int MatrApp, - global::System.Nullable DataOraFrom, - global::System.Nullable DataOraTo, - int IdxStato, - global::System.Nullable TotPzProd, - global::System.Nullable TempoProdotto, - global::System.Nullable TempoCron, - global::System.Nullable TempoND, - global::System.Nullable TempoApertura, - global::System.Nullable TempoOFF, - global::System.Nullable TempoON, - global::System.Nullable TempoFermoOn, - global::System.Nullable TempoAuto, - global::System.Nullable TempoFermoAuto, - global::System.Nullable TempoRun, - global::System.Nullable TotPzFermo, - int Original_IdxConferma, - int Original_IdxODL, - System.DateTime Original_DataOraApp, - System.DateTime Original_DataRif, - global::System.Nullable Original_TurnoRif, - string Original_CodArticolo, - string Original_IdxMacchina, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_MatrOpr, - int Original_MatrApp, - global::System.Nullable Original_DataOraFrom, - global::System.Nullable Original_DataOraTo, - int Original_IdxStato, - global::System.Nullable Original_TotPzProd, - global::System.Nullable Original_TempoProdotto, - global::System.Nullable Original_TempoCron, - global::System.Nullable Original_TempoND, - global::System.Nullable Original_TempoApertura, - global::System.Nullable Original_TempoOFF, - global::System.Nullable Original_TempoON, - global::System.Nullable Original_TempoFermoOn, - global::System.Nullable Original_TempoAuto, - global::System.Nullable Original_TempoFermoAuto, - global::System.Nullable Original_TempoRun, - global::System.Nullable Original_TotPzFermo) { + int IdxODL, + System.DateTime DataOraApp, + System.DateTime DataRif, + global::System.Nullable TurnoRif, + string CodArticolo, + string IdxMacchina, + global::System.Nullable TCAssegnato, + global::System.Nullable MatrOpr, + int MatrApp, + global::System.Nullable DataOraFrom, + global::System.Nullable DataOraTo, + int IdxStato, + global::System.Nullable TotPzProd, + global::System.Nullable TempoProdotto, + global::System.Nullable TempoCron, + global::System.Nullable TempoND, + global::System.Nullable TempoApertura, + global::System.Nullable TempoOFF, + global::System.Nullable TempoON, + global::System.Nullable TempoFermoOn, + global::System.Nullable TempoAuto, + global::System.Nullable TempoFermoAuto, + global::System.Nullable TempoRun, + global::System.Nullable TotPzFermo, + int Original_IdxConferma, + int Original_IdxODL, + System.DateTime Original_DataOraApp, + System.DateTime Original_DataRif, + global::System.Nullable Original_TurnoRif, + string Original_CodArticolo, + string Original_IdxMacchina, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_MatrOpr, + int Original_MatrApp, + global::System.Nullable Original_DataOraFrom, + global::System.Nullable Original_DataOraTo, + int Original_IdxStato, + global::System.Nullable Original_TotPzProd, + global::System.Nullable Original_TempoProdotto, + global::System.Nullable Original_TempoCron, + global::System.Nullable Original_TempoND, + global::System.Nullable Original_TempoApertura, + global::System.Nullable Original_TempoOFF, + global::System.Nullable Original_TempoON, + global::System.Nullable Original_TempoFermoOn, + global::System.Nullable Original_TempoAuto, + global::System.Nullable Original_TempoFermoAuto, + global::System.Nullable Original_TempoRun, + global::System.Nullable Original_TotPzFermo) + { return this.Update(IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, IdxStato, TotPzProd, TempoProdotto, TempoCron, TempoND, TempoApertura, TempoOFF, TempoON, TempoFermoOn, TempoAuto, TempoFermoAuto, TempoRun, TotPzFermo, Original_IdxConferma, Original_IdxODL, Original_DataOraApp, Original_DataRif, Original_TurnoRif, Original_CodArticolo, Original_IdxMacchina, Original_TCAssegnato, Original_MatrOpr, Original_MatrApp, Original_DataOraFrom, Original_DataOraTo, Original_IdxStato, Original_TotPzProd, Original_TempoProdotto, Original_TempoCron, Original_TempoND, Original_TempoApertura, Original_TempoOFF, Original_TempoON, Original_TempoFermoOn, Original_TempoAuto, Original_TempoFermoAuto, Original_TempoRun, Original_TotPzFermo, Original_IdxConferma); } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -22373,114 +26617,142 @@ WHERE (IdxMacchina = @IdxMacchina)"; [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class CalendFesteFerieTableAdapter : global::System.ComponentModel.Component { - + public partial class CalendFesteFerieTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public CalendFesteFerieTableAdapter() { + public CalendFesteFerieTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -22515,181 +26787,214 @@ SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)"; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT data, descrizione FROM dbo.CalendFesteFerie"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.CalendFesteFerieDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.CalendFesteFerieDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.CalendFesteFerieDataTable GetData() { + public virtual DS_ProdTempi.CalendFesteFerieDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.CalendFesteFerieDataTable dataTable = new DS_ProdTempi.CalendFesteFerieDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.CalendFesteFerieDataTable dataTable) { + public virtual int Update(DS_ProdTempi.CalendFesteFerieDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "CalendFesteFerie"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(System.DateTime Original_data, string Original_descrizione) { + public virtual int Delete(System.DateTime Original_data, string Original_descrizione) + { this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_data)); - if ((Original_descrizione == null)) { + if ((Original_descrizione == null)) + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_descrizione)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(System.DateTime data, string descrizione) { + public virtual int Insert(System.DateTime data, string descrizione) + { this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(data)); - if ((descrizione == null)) { + if ((descrizione == null)) + { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(descrizione)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(System.DateTime data, string descrizione, System.DateTime Original_data, string Original_descrizione) { + public virtual int Update(System.DateTime data, string descrizione, System.DateTime Original_data, string Original_descrizione) + { this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(data)); - if ((descrizione == null)) { + if ((descrizione == null)) + { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(descrizione)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(Original_data)); - if ((Original_descrizione == null)) { + if ((Original_descrizione == null)) + { this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_descrizione)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string descrizione, System.DateTime Original_data, string Original_descrizione) { + public virtual int Update(string descrizione, System.DateTime Original_data, string Original_descrizione) + { return this.Update(Original_data, descrizione, Original_data, Original_descrizione); } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -22699,114 +27004,142 @@ SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)"; [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class stp_TempoByIdxMaccPeriodClassTableAdapter : global::System.ComponentModel.Component { - + public partial class stp_TempoByIdxMaccPeriodClassTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_TempoByIdxMaccPeriodClassTableAdapter() { + public stp_TempoByIdxMaccPeriodClassTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -22814,17 +27147,19 @@ SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)"; tableMapping.ColumnMappings.Add("ore", "ore"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -22836,72 +27171,91 @@ SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)"; this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable dataTable, string IdxMacchina, global::System.Nullable DataFrom, global::System.Nullable DataTo, string ClasseTempo) { + public virtual int Fill(DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable dataTable, string IdxMacchina, global::System.Nullable DataFrom, global::System.Nullable DataTo, string ClasseTempo) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((DataFrom.HasValue == true)) { + if ((DataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((DataTo.HasValue == true)) { + if ((DataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((ClasseTempo == null)) { + if ((ClasseTempo == null)) + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = ((string)(ClasseTempo)); } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable GetData(string IdxMacchina, global::System.Nullable DataFrom, global::System.Nullable DataTo, string ClasseTempo) { + public virtual DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable GetData(string IdxMacchina, global::System.Nullable DataFrom, global::System.Nullable DataTo, string ClasseTempo) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((DataFrom.HasValue == true)) { + if ((DataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((DataTo.HasValue == true)) { + if ((DataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((ClasseTempo == null)) { + if ((ClasseTempo == null)) + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = ((string)(ClasseTempo)); } DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable dataTable = new DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable(); @@ -22909,7 +27263,7 @@ SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)"; return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -22919,114 +27273,142 @@ SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)"; [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class DatiProduzioneTableAdapter : global::System.ComponentModel.Component { - + public partial class DatiProduzioneTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public DatiProduzioneTableAdapter() { + public DatiProduzioneTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -23167,17 +27549,19 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Causale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Causale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxConferma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -23224,720 +27608,883 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.DatiProduzioneDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.DatiProduzioneDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.DatiProduzioneDataTable GetData() { + public virtual DS_ProdTempi.DatiProduzioneDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.DatiProduzioneDataTable dataTable = new DS_ProdTempi.DatiProduzioneDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.DatiProduzioneDataTable getByMacchPeriodo(string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { + public virtual DS_ProdTempi.DatiProduzioneDataTable getByMacchPeriodo(string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.DatiProduzioneDataTable dataTable = new DS_ProdTempi.DatiProduzioneDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.DatiProduzioneDataTable getByPeriodo(global::System.Nullable dataFrom, global::System.Nullable dataTo) { + public virtual DS_ProdTempi.DatiProduzioneDataTable getByPeriodo(global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.DatiProduzioneDataTable dataTable = new DS_ProdTempi.DatiProduzioneDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.DatiProduzioneDataTable dataTable) { + public virtual int Update(DS_ProdTempi.DatiProduzioneDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "DatiProduzione"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete( - int Original_IdxConferma, - int Original_IdxODL, - System.DateTime Original_DataOraApp, - System.DateTime Original_DataRif, - global::System.Nullable Original_TurnoRif, - string Original_CodArticolo, - string Original_IdxMacchina, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_MatrOpr, - int Original_MatrApp, - global::System.Nullable Original_DataOraFrom, - global::System.Nullable Original_DataOraTo, - global::System.Nullable Original_TotPzProd, - global::System.Nullable Original_Tempo, - string Original_ClasseTempo, - string Original_Causale) { + int Original_IdxConferma, + int Original_IdxODL, + System.DateTime Original_DataOraApp, + System.DateTime Original_DataRif, + global::System.Nullable Original_TurnoRif, + string Original_CodArticolo, + string Original_IdxMacchina, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_MatrOpr, + int Original_MatrApp, + global::System.Nullable Original_DataOraFrom, + global::System.Nullable Original_DataOraTo, + global::System.Nullable Original_TotPzProd, + global::System.Nullable Original_Tempo, + string Original_ClasseTempo, + string Original_Causale) + { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxConferma)); this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxODL)); this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_DataOraApp)); this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_DataRif)); - if ((Original_TurnoRif.HasValue == true)) { + if ((Original_TurnoRif.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_TurnoRif.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodArticolo)); } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_IdxMacchina)); } - if ((Original_TCAssegnato.HasValue == true)) { + if ((Original_TCAssegnato.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_TCAssegnato.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; } - if ((Original_MatrOpr.HasValue == true)) { + if ((Original_MatrOpr.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_MatrOpr.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; } this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_MatrApp)); - if ((Original_DataOraFrom.HasValue == true)) { + if ((Original_DataOraFrom.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_DataOraFrom.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; } - if ((Original_DataOraTo.HasValue == true)) { + if ((Original_DataOraTo.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOraTo.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value; } - if ((Original_TotPzProd.HasValue == true)) { + if ((Original_TotPzProd.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[19].Value = ((int)(Original_TotPzProd.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value; } - if ((Original_Tempo.HasValue == true)) { + if ((Original_Tempo.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[21].Value = ((decimal)(Original_Tempo.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value; } - if ((Original_ClasseTempo == null)) { + if ((Original_ClasseTempo == null)) + { this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_ClasseTempo)); } - if ((Original_Causale == null)) { + if ((Original_Causale == null)) + { this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_Causale)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(int IdxODL, System.DateTime DataOraApp, System.DateTime DataRif, global::System.Nullable TurnoRif, string CodArticolo, string IdxMacchina, global::System.Nullable TCAssegnato, global::System.Nullable MatrOpr, int MatrApp, global::System.Nullable DataOraFrom, global::System.Nullable DataOraTo, global::System.Nullable TotPzProd, global::System.Nullable Tempo, string ClasseTempo, string Causale) { + public virtual int Insert(int IdxODL, System.DateTime DataOraApp, System.DateTime DataRif, global::System.Nullable TurnoRif, string CodArticolo, string IdxMacchina, global::System.Nullable TCAssegnato, global::System.Nullable MatrOpr, int MatrApp, global::System.Nullable DataOraFrom, global::System.Nullable DataOraTo, global::System.Nullable TotPzProd, global::System.Nullable Tempo, string ClasseTempo, string Causale) + { this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxODL)); this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp)); this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataRif)); - if ((TurnoRif.HasValue == true)) { + if ((TurnoRif.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[3].Value = ((int)(TurnoRif.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodArticolo)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(IdxMacchina)); } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[7].Value = ((int)(MatrOpr.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } this.Adapter.InsertCommand.Parameters[8].Value = ((int)(MatrApp)); - if ((DataOraFrom.HasValue == true)) { + if ((DataOraFrom.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } - if ((DataOraTo.HasValue == true)) { + if ((DataOraTo.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } - if ((TotPzProd.HasValue == true)) { + if ((TotPzProd.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[11].Value = ((int)(TotPzProd.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } - if ((Tempo.HasValue == true)) { + if ((Tempo.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(Tempo.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } - if ((ClasseTempo == null)) { + if ((ClasseTempo == null)) + { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[13].Value = ((string)(ClasseTempo)); } - if ((Causale == null)) { + if ((Causale == null)) + { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[14].Value = ((string)(Causale)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( - int IdxODL, - System.DateTime DataOraApp, - System.DateTime DataRif, - global::System.Nullable TurnoRif, - string CodArticolo, - string IdxMacchina, - global::System.Nullable TCAssegnato, - global::System.Nullable MatrOpr, - int MatrApp, - global::System.Nullable DataOraFrom, - global::System.Nullable DataOraTo, - global::System.Nullable TotPzProd, - global::System.Nullable Tempo, - string ClasseTempo, - string Causale, - int Original_IdxConferma, - int Original_IdxODL, - System.DateTime Original_DataOraApp, - System.DateTime Original_DataRif, - global::System.Nullable Original_TurnoRif, - string Original_CodArticolo, - string Original_IdxMacchina, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_MatrOpr, - int Original_MatrApp, - global::System.Nullable Original_DataOraFrom, - global::System.Nullable Original_DataOraTo, - global::System.Nullable Original_TotPzProd, - global::System.Nullable Original_Tempo, - string Original_ClasseTempo, - string Original_Causale, - int IdxConferma) { + int IdxODL, + System.DateTime DataOraApp, + System.DateTime DataRif, + global::System.Nullable TurnoRif, + string CodArticolo, + string IdxMacchina, + global::System.Nullable TCAssegnato, + global::System.Nullable MatrOpr, + int MatrApp, + global::System.Nullable DataOraFrom, + global::System.Nullable DataOraTo, + global::System.Nullable TotPzProd, + global::System.Nullable Tempo, + string ClasseTempo, + string Causale, + int Original_IdxConferma, + int Original_IdxODL, + System.DateTime Original_DataOraApp, + System.DateTime Original_DataRif, + global::System.Nullable Original_TurnoRif, + string Original_CodArticolo, + string Original_IdxMacchina, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_MatrOpr, + int Original_MatrApp, + global::System.Nullable Original_DataOraFrom, + global::System.Nullable Original_DataOraTo, + global::System.Nullable Original_TotPzProd, + global::System.Nullable Original_Tempo, + string Original_ClasseTempo, + string Original_Causale, + int IdxConferma) + { this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxODL)); this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp)); this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataRif)); - if ((TurnoRif.HasValue == true)) { + if ((TurnoRif.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(TurnoRif.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodArticolo)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(IdxMacchina)); } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(MatrOpr.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(MatrApp)); - if ((DataOraFrom.HasValue == true)) { + if ((DataOraFrom.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } - if ((DataOraTo.HasValue == true)) { + if ((DataOraTo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } - if ((TotPzProd.HasValue == true)) { + if ((TotPzProd.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(TotPzProd.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } - if ((Tempo.HasValue == true)) { + if ((Tempo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(Tempo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } - if ((ClasseTempo == null)) { + if ((ClasseTempo == null)) + { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(ClasseTempo)); } - if ((Causale == null)) { + if ((Causale == null)) + { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Causale)); } this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_IdxConferma)); this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_IdxODL)); this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOraApp)); this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(Original_DataRif)); - if ((Original_TurnoRif.HasValue == true)) { + if ((Original_TurnoRif.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_TurnoRif.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_CodArticolo)); } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_IdxMacchina)); } - if ((Original_TCAssegnato.HasValue == true)) { + if ((Original_TCAssegnato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_TCAssegnato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; } - if ((Original_MatrOpr.HasValue == true)) { + if ((Original_MatrOpr.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_MatrOpr.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(Original_MatrApp)); - if ((Original_DataOraFrom.HasValue == true)) { + if ((Original_DataOraFrom.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[30].Value = ((System.DateTime)(Original_DataOraFrom.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; } - if ((Original_DataOraTo.HasValue == true)) { + if ((Original_DataOraTo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[32].Value = ((System.DateTime)(Original_DataOraTo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; } - if ((Original_TotPzProd.HasValue == true)) { + if ((Original_TotPzProd.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_TotPzProd.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; } - if ((Original_Tempo.HasValue == true)) { + if ((Original_Tempo.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(Original_Tempo.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; } - if ((Original_ClasseTempo == null)) { + if ((Original_ClasseTempo == null)) + { this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_ClasseTempo)); } - if ((Original_Causale == null)) { + if ((Original_Causale == null)) + { this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_Causale)); } this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(IdxConferma)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( - int IdxODL, - System.DateTime DataOraApp, - System.DateTime DataRif, - global::System.Nullable TurnoRif, - string CodArticolo, - string IdxMacchina, - global::System.Nullable TCAssegnato, - global::System.Nullable MatrOpr, - int MatrApp, - global::System.Nullable DataOraFrom, - global::System.Nullable DataOraTo, - global::System.Nullable TotPzProd, - global::System.Nullable Tempo, - string ClasseTempo, - string Causale, - int Original_IdxConferma, - int Original_IdxODL, - System.DateTime Original_DataOraApp, - System.DateTime Original_DataRif, - global::System.Nullable Original_TurnoRif, - string Original_CodArticolo, - string Original_IdxMacchina, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_MatrOpr, - int Original_MatrApp, - global::System.Nullable Original_DataOraFrom, - global::System.Nullable Original_DataOraTo, - global::System.Nullable Original_TotPzProd, - global::System.Nullable Original_Tempo, - string Original_ClasseTempo, - string Original_Causale) { + int IdxODL, + System.DateTime DataOraApp, + System.DateTime DataRif, + global::System.Nullable TurnoRif, + string CodArticolo, + string IdxMacchina, + global::System.Nullable TCAssegnato, + global::System.Nullable MatrOpr, + int MatrApp, + global::System.Nullable DataOraFrom, + global::System.Nullable DataOraTo, + global::System.Nullable TotPzProd, + global::System.Nullable Tempo, + string ClasseTempo, + string Causale, + int Original_IdxConferma, + int Original_IdxODL, + System.DateTime Original_DataOraApp, + System.DateTime Original_DataRif, + global::System.Nullable Original_TurnoRif, + string Original_CodArticolo, + string Original_IdxMacchina, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_MatrOpr, + int Original_MatrApp, + global::System.Nullable Original_DataOraFrom, + global::System.Nullable Original_DataOraTo, + global::System.Nullable Original_TotPzProd, + global::System.Nullable Original_Tempo, + string Original_ClasseTempo, + string Original_Causale) + { return this.Update(IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, TotPzProd, Tempo, ClasseTempo, Causale, Original_IdxConferma, Original_IdxODL, Original_DataOraApp, Original_DataRif, Original_TurnoRif, Original_CodArticolo, Original_IdxMacchina, Original_TCAssegnato, Original_MatrOpr, Original_MatrApp, Original_DataOraFrom, Original_DataOraTo, Original_TotPzProd, Original_Tempo, Original_ClasseTempo, Original_Causale, Original_IdxConferma); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_DatiProd_insAllPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable dataRif, global::System.Nullable turnoRif, global::System.Nullable MatrApp) { + public virtual int stp_DatiProd_insAllPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable dataRif, global::System.Nullable turnoRif, global::System.Nullable MatrApp) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { command.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { command.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataRif.HasValue == true)) { + if ((dataRif.HasValue == true)) + { command.Parameters[4].Value = ((System.DateTime)(dataRif.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((turnoRif.HasValue == true)) { + if ((turnoRif.HasValue == true)) + { command.Parameters[5].Value = ((int)(turnoRif.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((MatrApp.HasValue == true)) { + if ((MatrApp.HasValue == true)) + { command.Parameters[6].Value = ((int)(MatrApp.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_DatiProd_insert(global::System.Nullable idxODL, string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable turno, global::System.Nullable pezziConf, global::System.Nullable Tempo, string ClasseTempo) { + public virtual int stp_DatiProd_insert(global::System.Nullable idxODL, string idxMacchina, global::System.Nullable MatrApp, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable turno, global::System.Nullable pezziConf, global::System.Nullable Tempo, string ClasseTempo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { command.Parameters[1].Value = ((int)(idxODL.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(idxMacchina)); } - if ((MatrApp.HasValue == true)) { + if ((MatrApp.HasValue == true)) + { command.Parameters[3].Value = ((int)(MatrApp.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { command.Parameters[4].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { command.Parameters[5].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } - if ((turno.HasValue == true)) { + if ((turno.HasValue == true)) + { command.Parameters[6].Value = ((int)(turno.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } - if ((pezziConf.HasValue == true)) { + if ((pezziConf.HasValue == true)) + { command.Parameters[7].Value = ((int)(pezziConf.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((Tempo.HasValue == true)) { + if ((Tempo.HasValue == true)) + { command.Parameters[8].Value = ((decimal)(Tempo.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } - if ((ClasseTempo == null)) { + if ((ClasseTempo == null)) + { command.Parameters[9].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[9].Value = ((string)(ClasseTempo)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -23947,114 +28494,142 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class stp_repDonati_getDatiProdMacchinaTableAdapter : global::System.ComponentModel.Component { - + public partial class stp_repDonati_getDatiProdMacchinaTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaTableAdapter() { + public stp_repDonati_getDatiProdMacchinaTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -24076,17 +28651,19 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch tableMapping.ColumnMappings.Add("TCEffRT", "TCEffRT"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -24095,36 +28672,43 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable dataTable, string idxMacchina) { + public virtual int Fill(DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable dataTable, string idxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable GetData(string idxMacchina) { + public virtual DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable GetData(string idxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable dataTable = new DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable(); @@ -24132,7 +28716,7 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -24142,114 +28726,142 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class stp_repDonati_getLastStatoDurataMacchinaTableAdapter : global::System.ComponentModel.Component { - + public partial class stp_repDonati_getLastStatoDurataMacchinaTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getLastStatoDurataMacchinaTableAdapter() { + public stp_repDonati_getLastStatoDurataMacchinaTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -24258,17 +28870,19 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch tableMapping.ColumnMappings.Add("Minuti", "Minuti"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -24278,48 +28892,59 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minDurata", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable dataTable, string idxMacchina, global::System.Nullable minDurata) { + public virtual int Fill(DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable dataTable, string idxMacchina, global::System.Nullable minDurata) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((minDurata.HasValue == true)) { + if ((minDurata.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((double)(minDurata.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable GetData(string idxMacchina, global::System.Nullable minDurata) { + public virtual DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable GetData(string idxMacchina, global::System.Nullable minDurata) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((minDurata.HasValue == true)) { + if ((minDurata.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((double)(minDurata.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable dataTable = new DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable(); @@ -24327,7 +28952,7 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -24337,114 +28962,142 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class stp_repDonati_getDatiProdMacchinaPeriodoTableAdapter : global::System.ComponentModel.Component { - + public partial class stp_repDonati_getDatiProdMacchinaPeriodoTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public stp_repDonati_getDatiProdMacchinaPeriodoTableAdapter() { + public stp_repDonati_getDatiProdMacchinaPeriodoTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -24456,17 +29109,19 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch tableMapping.ColumnMappings.Add("TCEffRT", "TCEffRT"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -24477,60 +29132,75 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch this._commandCollection[0].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[0].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, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable dataTable, string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { + public virtual int Fill(DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable dataTable, string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable GetData(string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { + public virtual DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable GetData(string idxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable dataTable = new DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable(); @@ -24538,7 +29208,7 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -24548,114 +29218,142 @@ SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class TurniMacchinaTableAdapter : global::System.ComponentModel.Component { - + public partial class TurniMacchinaTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public TurniMacchinaTableAdapter() { + public TurniMacchinaTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -24703,17 +29401,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_T3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_T3", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -24733,291 +29433,358 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch 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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numTurno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.TurniMacchinaDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.TurniMacchinaDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.TurniMacchinaDataTable GetData() { + public virtual DS_ProdTempi.TurniMacchinaDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.TurniMacchinaDataTable dataTable = new DS_ProdTempi.TurniMacchinaDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.TurniMacchinaDataTable getByIdxMacc(string IdxMacchina) { + public virtual DS_ProdTempi.TurniMacchinaDataTable getByIdxMacc(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } DS_ProdTempi.TurniMacchinaDataTable dataTable = new DS_ProdTempi.TurniMacchinaDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.TurniMacchinaDataTable dataTable) { + public virtual int Update(DS_ProdTempi.TurniMacchinaDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "TurniMacchina"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_IdxMacchina, global::System.Nullable Original_T1, global::System.Nullable Original_T2, global::System.Nullable Original_T3) { - if ((Original_IdxMacchina == null)) { + public virtual int Delete(string Original_IdxMacchina, global::System.Nullable Original_T1, global::System.Nullable Original_T2, global::System.Nullable Original_T3) + { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxMacchina)); } - if ((Original_T1.HasValue == true)) { + if ((Original_T1.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[2].Value = ((bool)(Original_T1.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Original_T2.HasValue == true)) { + if ((Original_T2.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_T2.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((Original_T3.HasValue == true)) { + if ((Original_T3.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_T3.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string IdxMacchina, global::System.Nullable T1, global::System.Nullable T2, global::System.Nullable T3) { - if ((IdxMacchina == null)) { + public virtual int Insert(string IdxMacchina, global::System.Nullable T1, global::System.Nullable T2, global::System.Nullable T3) + { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxMacchina)); } - if ((T1.HasValue == true)) { + if ((T1.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(T1.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((T2.HasValue == true)) { + if ((T2.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[2].Value = ((bool)(T2.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((T3.HasValue == true)) { + if ((T3.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(T3.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string IdxMacchina, global::System.Nullable T1, global::System.Nullable T2, global::System.Nullable T3, string Original_IdxMacchina, global::System.Nullable Original_T1, global::System.Nullable Original_T2, global::System.Nullable Original_T3) { - if ((IdxMacchina == null)) { + public virtual int Update(string IdxMacchina, global::System.Nullable T1, global::System.Nullable T2, global::System.Nullable T3, string Original_IdxMacchina, global::System.Nullable Original_T1, global::System.Nullable Original_T2, global::System.Nullable Original_T3) + { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxMacchina)); } - if ((T1.HasValue == true)) { + if ((T1.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(T1.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((T2.HasValue == true)) { + if ((T2.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[2].Value = ((bool)(T2.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((T3.HasValue == true)) { + if ((T3.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(T3.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_IdxMacchina)); } - if ((Original_T1.HasValue == true)) { + if ((Original_T1.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(Original_T1.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((Original_T2.HasValue == true)) { + if ((Original_T2.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(Original_T2.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } - if ((Original_T3.HasValue == true)) { + if ((Original_T3.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(Original_T3.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(global::System.Nullable T1, global::System.Nullable T2, global::System.Nullable T3, string Original_IdxMacchina, global::System.Nullable Original_T1, global::System.Nullable Original_T2, global::System.Nullable Original_T3) { + public virtual int Update(global::System.Nullable T1, global::System.Nullable T2, global::System.Nullable T3, string Original_IdxMacchina, global::System.Nullable Original_T1, global::System.Nullable Original_T2, global::System.Nullable Original_T3) + { return this.Update(Original_IdxMacchina, T1, T2, T3, Original_IdxMacchina, Original_T1, Original_T2, Original_T3); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int stp_turniMacchineUpdateTurno(string IdxMacchina, global::System.Nullable numTurno) { + public virtual int stp_turniMacchineUpdateTurno(string IdxMacchina, global::System.Nullable numTurno) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((numTurno.HasValue == true)) { + if ((numTurno.HasValue == true)) + { command.Parameters[2].Value = ((int)(numTurno.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -25027,114 +29794,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class MappaStatoExplTableAdapter : global::System.ComponentModel.Component { - + public partial class MappaStatoExplTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public MappaStatoExplTableAdapter() { + public MappaStatoExplTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -25415,17 +30210,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCEffRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEffRT", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RowNum", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "RowNum", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -25465,1153 +30262,1413 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxAgeSec", 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("@MatrOpr", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.MappaStatoExplDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.MappaStatoExplDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.MappaStatoExplDataTable GetData() { + public virtual DS_ProdTempi.MappaStatoExplDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.MappaStatoExplDataTable getByIdxMaccAndSub(string IdxMacchina, string IdxMacchSub) { + public virtual DS_ProdTempi.MappaStatoExplDataTable getByIdxMaccAndSub(string IdxMacchina, string IdxMacchSub) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((IdxMacchSub == null)) { + if ((IdxMacchSub == null)) + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(IdxMacchSub)); } DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.MappaStatoExplDataTable getByIdxMacchina(string IdxMacchina) { + public virtual DS_ProdTempi.MappaStatoExplDataTable getByIdxMacchina(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[3]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.MappaStatoExplDataTable getByRefreshData(global::System.Nullable maxAgeSec) { + public virtual DS_ProdTempi.MappaStatoExplDataTable getByRefreshData(global::System.Nullable maxAgeSec) + { this.Adapter.SelectCommand = this.CommandCollection[4]; - if ((maxAgeSec.HasValue == true)) { + if ((maxAgeSec.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(maxAgeSec.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.MappaStatoExplDataTable getByRefreshDataOpr(global::System.Nullable maxAgeSec, global::System.Nullable MatrOpr) { + public virtual DS_ProdTempi.MappaStatoExplDataTable getByRefreshDataOpr(global::System.Nullable maxAgeSec, global::System.Nullable MatrOpr) + { this.Adapter.SelectCommand = this.CommandCollection[5]; - if ((maxAgeSec.HasValue == true)) { + if ((maxAgeSec.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(maxAgeSec.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.MappaStatoExplDataTable dataTable) { + public virtual int Update(DS_ProdTempi.MappaStatoExplDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "MappaStatoExpl"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete( - int Original_RowNum, - global::System.Nullable Original_lastUpdate, - string Original_IdxMacchina, - string Original_CodMacchina, - string Original_Nome, - string Original_url, - global::System.Nullable Original_idxODL, - global::System.Nullable Original_idxPODL, - string Original_CodArticolo, - string Original_Disegno, - global::System.Nullable Original_NumPezzi, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_DataInizioODL, - string Original_Semaforo, - global::System.Nullable Original_idxStato, - string Original_DescrizioneStato, - global::System.Nullable Original_durata, - global::System.Nullable Original_PezziProd, - global::System.Nullable Original_PezziConf, - global::System.Nullable Original_TempoOn, - global::System.Nullable Original_TempoAuto, - global::System.Nullable Original_TempoRun, - global::System.Nullable Original_TCMedio, - global::System.Nullable Original_TCLav, - global::System.Nullable Original_TCEff, - global::System.Nullable Original_TCMedioRT, - global::System.Nullable Original_TCLavRT, - global::System.Nullable Original_TCEffRT) { + int Original_RowNum, + global::System.Nullable Original_lastUpdate, + string Original_IdxMacchina, + string Original_CodMacchina, + string Original_Nome, + string Original_url, + global::System.Nullable Original_idxODL, + global::System.Nullable Original_idxPODL, + string Original_CodArticolo, + string Original_Disegno, + global::System.Nullable Original_NumPezzi, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_DataInizioODL, + string Original_Semaforo, + global::System.Nullable Original_idxStato, + string Original_DescrizioneStato, + global::System.Nullable Original_durata, + global::System.Nullable Original_PezziProd, + global::System.Nullable Original_PezziConf, + global::System.Nullable Original_TempoOn, + global::System.Nullable Original_TempoAuto, + global::System.Nullable Original_TempoRun, + global::System.Nullable Original_TCMedio, + global::System.Nullable Original_TCLav, + global::System.Nullable Original_TCEff, + global::System.Nullable Original_TCMedioRT, + global::System.Nullable Original_TCLavRT, + global::System.Nullable Original_TCEffRT) + { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_RowNum)); - if ((Original_lastUpdate.HasValue == true)) { + if ((Original_lastUpdate.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_lastUpdate.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_IdxMacchina)); } - if ((Original_CodMacchina == null)) { + if ((Original_CodMacchina == null)) + { this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodMacchina)); } - if ((Original_Nome == null)) { + if ((Original_Nome == null)) + { this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Nome)); } - if ((Original_url == null)) { + if ((Original_url == null)) + { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_url)); } - if ((Original_idxODL.HasValue == true)) { + if ((Original_idxODL.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_idxODL.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; } - if ((Original_idxPODL.HasValue == true)) { + if ((Original_idxPODL.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_idxPODL.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_CodArticolo)); } - if ((Original_Disegno == null)) { + if ((Original_Disegno == null)) + { this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_Disegno)); } - if ((Original_NumPezzi.HasValue == true)) { + if ((Original_NumPezzi.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[20].Value = ((int)(Original_NumPezzi.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; } - if ((Original_TCAssegnato.HasValue == true)) { + if ((Original_TCAssegnato.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[22].Value = ((decimal)(Original_TCAssegnato.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; } - if ((Original_DataInizioODL.HasValue == true)) { + if ((Original_DataInizioODL.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_DataInizioODL.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; } - if ((Original_Semaforo == null)) { + if ((Original_Semaforo == null)) + { this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_Semaforo)); } - if ((Original_idxStato.HasValue == true)) { + if ((Original_idxStato.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[28].Value = ((int)(Original_idxStato.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; } - if ((Original_DescrizioneStato == null)) { + if ((Original_DescrizioneStato == null)) + { this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_DescrizioneStato)); } - if ((Original_durata.HasValue == true)) { + if ((Original_durata.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[32].Value = ((double)(Original_durata.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; } - if ((Original_PezziProd.HasValue == true)) { + if ((Original_PezziProd.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[34].Value = ((int)(Original_PezziProd.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; } - if ((Original_PezziConf.HasValue == true)) { + if ((Original_PezziConf.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[36].Value = ((int)(Original_PezziConf.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; } - if ((Original_TempoOn.HasValue == true)) { + if ((Original_TempoOn.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[38].Value = ((decimal)(Original_TempoOn.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; } - if ((Original_TempoAuto.HasValue == true)) { + if ((Original_TempoAuto.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[40].Value = ((decimal)(Original_TempoAuto.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; } - if ((Original_TempoRun.HasValue == true)) { + if ((Original_TempoRun.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[42].Value = ((decimal)(Original_TempoRun.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value; } - if ((Original_TCMedio.HasValue == true)) { + if ((Original_TCMedio.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[44].Value = ((decimal)(Original_TCMedio.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value; } - if ((Original_TCLav.HasValue == true)) { + if ((Original_TCLav.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[46].Value = ((decimal)(Original_TCLav.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value; } - if ((Original_TCEff.HasValue == true)) { + if ((Original_TCEff.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[48].Value = ((decimal)(Original_TCEff.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value; } - if ((Original_TCMedioRT.HasValue == true)) { + if ((Original_TCMedioRT.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[50].Value = ((decimal)(Original_TCMedioRT.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; } - if ((Original_TCLavRT.HasValue == true)) { + if ((Original_TCLavRT.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[52].Value = ((decimal)(Original_TCLavRT.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value; } - if ((Original_TCEffRT.HasValue == true)) { + if ((Original_TCEffRT.HasValue == true)) + { this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[54].Value = ((decimal)(Original_TCEffRT.Value)); } - else { + else + { this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert( - global::System.Nullable lastUpdate, - string IdxMacchina, - string CodMacchina, - string Nome, - string url, - global::System.Nullable idxODL, - global::System.Nullable idxPODL, - string CodArticolo, - string Disegno, - global::System.Nullable NumPezzi, - global::System.Nullable TCAssegnato, - global::System.Nullable DataInizioODL, - string Semaforo, - global::System.Nullable idxStato, - string DescrizioneStato, - global::System.Nullable durata, - global::System.Nullable PezziProd, - global::System.Nullable PezziConf, - global::System.Nullable TempoOn, - global::System.Nullable TempoAuto, - global::System.Nullable TempoRun, - global::System.Nullable TCMedio, - global::System.Nullable TCLav, - global::System.Nullable TCEff, - global::System.Nullable TCMedioRT, - global::System.Nullable TCLavRT, - global::System.Nullable TCEffRT) { - if ((lastUpdate.HasValue == true)) { + global::System.Nullable lastUpdate, + string IdxMacchina, + string CodMacchina, + string Nome, + string url, + global::System.Nullable idxODL, + global::System.Nullable idxPODL, + string CodArticolo, + string Disegno, + global::System.Nullable NumPezzi, + global::System.Nullable TCAssegnato, + global::System.Nullable DataInizioODL, + string Semaforo, + global::System.Nullable idxStato, + string DescrizioneStato, + global::System.Nullable durata, + global::System.Nullable PezziProd, + global::System.Nullable PezziConf, + global::System.Nullable TempoOn, + global::System.Nullable TempoAuto, + global::System.Nullable TempoRun, + global::System.Nullable TCMedio, + global::System.Nullable TCLav, + global::System.Nullable TCEff, + global::System.Nullable TCMedioRT, + global::System.Nullable TCLavRT, + global::System.Nullable TCEffRT) + { + if ((lastUpdate.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(lastUpdate.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((CodMacchina == null)) { + if ((CodMacchina == null)) + { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodMacchina)); } - if ((Nome == null)) { + if ((Nome == null)) + { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Nome)); } - if ((url == null)) { + if ((url == null)) + { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(url)); } - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[5].Value = ((int)(idxODL.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((idxPODL.HasValue == true)) { + if ((idxPODL.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[6].Value = ((int)(idxPODL.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CodArticolo)); } - if ((Disegno == null)) { + if ((Disegno == null)) + { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Disegno)); } - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[9].Value = ((int)(NumPezzi.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } - if ((DataInizioODL.HasValue == true)) { + if ((DataInizioODL.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[11].Value = ((System.DateTime)(DataInizioODL.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } - if ((Semaforo == null)) { + if ((Semaforo == null)) + { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Semaforo)); } - if ((idxStato.HasValue == true)) { + if ((idxStato.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[13].Value = ((int)(idxStato.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } - if ((DescrizioneStato == null)) { + if ((DescrizioneStato == null)) + { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.InsertCommand.Parameters[14].Value = ((string)(DescrizioneStato)); } - if ((durata.HasValue == true)) { + if ((durata.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[15].Value = ((double)(durata.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } - if ((PezziProd.HasValue == true)) { + if ((PezziProd.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[16].Value = ((int)(PezziProd.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } - if ((PezziConf.HasValue == true)) { + if ((PezziConf.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[17].Value = ((int)(PezziConf.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; } - if ((TempoOn.HasValue == true)) { + if ((TempoOn.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(TempoOn.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } - if ((TempoAuto.HasValue == true)) { + if ((TempoAuto.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[19].Value = ((decimal)(TempoAuto.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; } - if ((TempoRun.HasValue == true)) { + if ((TempoRun.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(TempoRun.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; } - if ((TCMedio.HasValue == true)) { + if ((TCMedio.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[21].Value = ((decimal)(TCMedio.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; } - if ((TCLav.HasValue == true)) { + if ((TCLav.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[22].Value = ((decimal)(TCLav.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; } - if ((TCEff.HasValue == true)) { + if ((TCEff.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[23].Value = ((decimal)(TCEff.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; } - if ((TCMedioRT.HasValue == true)) { + if ((TCMedioRT.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(TCMedioRT.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; } - if ((TCLavRT.HasValue == true)) { + if ((TCLavRT.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[25].Value = ((decimal)(TCLavRT.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; } - if ((TCEffRT.HasValue == true)) { + if ((TCEffRT.HasValue == true)) + { this.Adapter.InsertCommand.Parameters[26].Value = ((decimal)(TCEffRT.Value)); } - else { + else + { this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( - global::System.Nullable lastUpdate, - string CodMacchina, - string Nome, - string url, - global::System.Nullable idxODL, - global::System.Nullable idxPODL, - string CodArticolo, - string Disegno, - global::System.Nullable NumPezzi, - global::System.Nullable TCAssegnato, - global::System.Nullable DataInizioODL, - string Semaforo, - global::System.Nullable idxStato, - string DescrizioneStato, - global::System.Nullable durata, - global::System.Nullable PezziProd, - global::System.Nullable PezziConf, - global::System.Nullable TempoOn, - global::System.Nullable TempoAuto, - global::System.Nullable TempoRun, - global::System.Nullable TCMedio, - global::System.Nullable TCLav, - global::System.Nullable TCEff, - global::System.Nullable TCMedioRT, - global::System.Nullable TCLavRT, - global::System.Nullable TCEffRT, - int Original_RowNum, - global::System.Nullable Original_lastUpdate, - string Original_CodMacchina, - string Original_Nome, - string Original_url, - global::System.Nullable Original_idxODL, - global::System.Nullable Original_idxPODL, - string Original_CodArticolo, - string Original_Disegno, - global::System.Nullable Original_NumPezzi, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_DataInizioODL, - string Original_Semaforo, - global::System.Nullable Original_idxStato, - string Original_DescrizioneStato, - global::System.Nullable Original_durata, - global::System.Nullable Original_PezziProd, - global::System.Nullable Original_PezziConf, - global::System.Nullable Original_TempoOn, - global::System.Nullable Original_TempoAuto, - global::System.Nullable Original_TempoRun, - global::System.Nullable Original_TCMedio, - global::System.Nullable Original_TCLav, - global::System.Nullable Original_TCEff, - global::System.Nullable Original_TCMedioRT, - global::System.Nullable Original_TCLavRT, - global::System.Nullable Original_TCEffRT, - int RowNum) { - if ((lastUpdate.HasValue == true)) { + global::System.Nullable lastUpdate, + string CodMacchina, + string Nome, + string url, + global::System.Nullable idxODL, + global::System.Nullable idxPODL, + string CodArticolo, + string Disegno, + global::System.Nullable NumPezzi, + global::System.Nullable TCAssegnato, + global::System.Nullable DataInizioODL, + string Semaforo, + global::System.Nullable idxStato, + string DescrizioneStato, + global::System.Nullable durata, + global::System.Nullable PezziProd, + global::System.Nullable PezziConf, + global::System.Nullable TempoOn, + global::System.Nullable TempoAuto, + global::System.Nullable TempoRun, + global::System.Nullable TCMedio, + global::System.Nullable TCLav, + global::System.Nullable TCEff, + global::System.Nullable TCMedioRT, + global::System.Nullable TCLavRT, + global::System.Nullable TCEffRT, + int Original_RowNum, + global::System.Nullable Original_lastUpdate, + string Original_CodMacchina, + string Original_Nome, + string Original_url, + global::System.Nullable Original_idxODL, + global::System.Nullable Original_idxPODL, + string Original_CodArticolo, + string Original_Disegno, + global::System.Nullable Original_NumPezzi, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_DataInizioODL, + string Original_Semaforo, + global::System.Nullable Original_idxStato, + string Original_DescrizioneStato, + global::System.Nullable Original_durata, + global::System.Nullable Original_PezziProd, + global::System.Nullable Original_PezziConf, + global::System.Nullable Original_TempoOn, + global::System.Nullable Original_TempoAuto, + global::System.Nullable Original_TempoRun, + global::System.Nullable Original_TCMedio, + global::System.Nullable Original_TCLav, + global::System.Nullable Original_TCEff, + global::System.Nullable Original_TCMedioRT, + global::System.Nullable Original_TCLavRT, + global::System.Nullable Original_TCEffRT, + int RowNum) + { + if ((lastUpdate.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(lastUpdate.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; } - if ((CodMacchina == null)) { + if ((CodMacchina == null)) + { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodMacchina)); } - if ((Nome == null)) { + if ((Nome == null)) + { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Nome)); } - if ((url == null)) { + if ((url == null)) + { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(url)); } - if ((idxODL.HasValue == true)) { + if ((idxODL.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(idxODL.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((idxPODL.HasValue == true)) { + if ((idxPODL.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(idxPODL.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodArticolo)); } - if ((Disegno == null)) { + if ((Disegno == null)) + { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Disegno)); } - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(NumPezzi.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } - if ((DataInizioODL.HasValue == true)) { + if ((DataInizioODL.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(DataInizioODL.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } - if ((Semaforo == null)) { + if ((Semaforo == null)) + { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Semaforo)); } - if ((idxStato.HasValue == true)) { + if ((idxStato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(idxStato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } - if ((DescrizioneStato == null)) { + if ((DescrizioneStato == null)) + { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(DescrizioneStato)); } - if ((durata.HasValue == true)) { + if ((durata.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(durata.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } - if ((PezziProd.HasValue == true)) { + if ((PezziProd.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(PezziProd.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } - if ((PezziConf.HasValue == true)) { + if ((PezziConf.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(PezziConf.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; } - if ((TempoOn.HasValue == true)) { + if ((TempoOn.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(TempoOn.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; } - if ((TempoAuto.HasValue == true)) { + if ((TempoAuto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(TempoAuto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } - if ((TempoRun.HasValue == true)) { + if ((TempoRun.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(TempoRun.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; } - if ((TCMedio.HasValue == true)) { + if ((TCMedio.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(TCMedio.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } - if ((TCLav.HasValue == true)) { + if ((TCLav.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[21].Value = ((decimal)(TCLav.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; } - if ((TCEff.HasValue == true)) { + if ((TCEff.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(TCEff.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } - if ((TCMedioRT.HasValue == true)) { + if ((TCMedioRT.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[23].Value = ((decimal)(TCMedioRT.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; } - if ((TCLavRT.HasValue == true)) { + if ((TCLavRT.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[24].Value = ((decimal)(TCLavRT.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; } - if ((TCEffRT.HasValue == true)) { + if ((TCEffRT.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(TCEffRT.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_RowNum)); - if ((Original_lastUpdate.HasValue == true)) { + if ((Original_lastUpdate.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[28].Value = ((System.DateTime)(Original_lastUpdate.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; } - if ((Original_CodMacchina == null)) { + if ((Original_CodMacchina == null)) + { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_CodMacchina)); } - if ((Original_Nome == null)) { + if ((Original_Nome == null)) + { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_Nome)); } - if ((Original_url == null)) { + if ((Original_url == null)) + { this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_url)); } - if ((Original_idxODL.HasValue == true)) { + if ((Original_idxODL.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_idxODL.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; } - if ((Original_idxPODL.HasValue == true)) { + if ((Original_idxPODL.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[38].Value = ((int)(Original_idxPODL.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; } - if ((Original_CodArticolo == null)) { + if ((Original_CodArticolo == null)) + { this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_CodArticolo)); } - if ((Original_Disegno == null)) { + if ((Original_Disegno == null)) + { this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_Disegno)); } - if ((Original_NumPezzi.HasValue == true)) { + if ((Original_NumPezzi.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[44].Value = ((int)(Original_NumPezzi.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; } - if ((Original_TCAssegnato.HasValue == true)) { + if ((Original_TCAssegnato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[46].Value = ((decimal)(Original_TCAssegnato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; } - if ((Original_DataInizioODL.HasValue == true)) { + if ((Original_DataInizioODL.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[48].Value = ((System.DateTime)(Original_DataInizioODL.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; } - if ((Original_Semaforo == null)) { + if ((Original_Semaforo == null)) + { this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_Semaforo)); } - if ((Original_idxStato.HasValue == true)) { + if ((Original_idxStato.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[52].Value = ((int)(Original_idxStato.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; } - if ((Original_DescrizioneStato == null)) { + if ((Original_DescrizioneStato == null)) + { this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_DescrizioneStato)); } - if ((Original_durata.HasValue == true)) { + if ((Original_durata.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[56].Value = ((double)(Original_durata.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; } - if ((Original_PezziProd.HasValue == true)) { + if ((Original_PezziProd.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_PezziProd.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; } - if ((Original_PezziConf.HasValue == true)) { + if ((Original_PezziConf.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_PezziConf.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value; } - if ((Original_TempoOn.HasValue == true)) { + if ((Original_TempoOn.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_TempoOn.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value; } - if ((Original_TempoAuto.HasValue == true)) { + if ((Original_TempoAuto.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_TempoAuto.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value; } - if ((Original_TempoRun.HasValue == true)) { + if ((Original_TempoRun.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[66].Value = ((decimal)(Original_TempoRun.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value; } - if ((Original_TCMedio.HasValue == true)) { + if ((Original_TCMedio.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[68].Value = ((decimal)(Original_TCMedio.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value; } - if ((Original_TCLav.HasValue == true)) { + if ((Original_TCLav.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[70].Value = ((decimal)(Original_TCLav.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value; } - if ((Original_TCEff.HasValue == true)) { + if ((Original_TCEff.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[72].Value = ((decimal)(Original_TCEff.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value; } - if ((Original_TCMedioRT.HasValue == true)) { + if ((Original_TCMedioRT.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[74].Value = ((decimal)(Original_TCMedioRT.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value; } - if ((Original_TCLavRT.HasValue == true)) { + if ((Original_TCLavRT.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[76].Value = ((decimal)(Original_TCLavRT.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value; } - if ((Original_TCEffRT.HasValue == true)) { + if ((Original_TCEffRT.HasValue == true)) + { this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[78].Value = ((decimal)(Original_TCEffRT.Value)); } - else { + else + { this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[79].Value = ((int)(RowNum)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( - global::System.Nullable lastUpdate, - string CodMacchina, - string Nome, - string url, - global::System.Nullable idxODL, - global::System.Nullable idxPODL, - string CodArticolo, - string Disegno, - global::System.Nullable NumPezzi, - global::System.Nullable TCAssegnato, - global::System.Nullable DataInizioODL, - string Semaforo, - global::System.Nullable idxStato, - string DescrizioneStato, - global::System.Nullable durata, - global::System.Nullable PezziProd, - global::System.Nullable PezziConf, - global::System.Nullable TempoOn, - global::System.Nullable TempoAuto, - global::System.Nullable TempoRun, - global::System.Nullable TCMedio, - global::System.Nullable TCLav, - global::System.Nullable TCEff, - global::System.Nullable TCMedioRT, - global::System.Nullable TCLavRT, - global::System.Nullable TCEffRT, - int Original_RowNum, - global::System.Nullable Original_lastUpdate, - string Original_CodMacchina, - string Original_Nome, - string Original_url, - global::System.Nullable Original_idxODL, - global::System.Nullable Original_idxPODL, - string Original_CodArticolo, - string Original_Disegno, - global::System.Nullable Original_NumPezzi, - global::System.Nullable Original_TCAssegnato, - global::System.Nullable Original_DataInizioODL, - string Original_Semaforo, - global::System.Nullable Original_idxStato, - string Original_DescrizioneStato, - global::System.Nullable Original_durata, - global::System.Nullable Original_PezziProd, - global::System.Nullable Original_PezziConf, - global::System.Nullable Original_TempoOn, - global::System.Nullable Original_TempoAuto, - global::System.Nullable Original_TempoRun, - global::System.Nullable Original_TCMedio, - global::System.Nullable Original_TCLav, - global::System.Nullable Original_TCEff, - global::System.Nullable Original_TCMedioRT, - global::System.Nullable Original_TCLavRT, - global::System.Nullable Original_TCEffRT) { + global::System.Nullable lastUpdate, + string CodMacchina, + string Nome, + string url, + global::System.Nullable idxODL, + global::System.Nullable idxPODL, + string CodArticolo, + string Disegno, + global::System.Nullable NumPezzi, + global::System.Nullable TCAssegnato, + global::System.Nullable DataInizioODL, + string Semaforo, + global::System.Nullable idxStato, + string DescrizioneStato, + global::System.Nullable durata, + global::System.Nullable PezziProd, + global::System.Nullable PezziConf, + global::System.Nullable TempoOn, + global::System.Nullable TempoAuto, + global::System.Nullable TempoRun, + global::System.Nullable TCMedio, + global::System.Nullable TCLav, + global::System.Nullable TCEff, + global::System.Nullable TCMedioRT, + global::System.Nullable TCLavRT, + global::System.Nullable TCEffRT, + int Original_RowNum, + global::System.Nullable Original_lastUpdate, + string Original_CodMacchina, + string Original_Nome, + string Original_url, + global::System.Nullable Original_idxODL, + global::System.Nullable Original_idxPODL, + string Original_CodArticolo, + string Original_Disegno, + global::System.Nullable Original_NumPezzi, + global::System.Nullable Original_TCAssegnato, + global::System.Nullable Original_DataInizioODL, + string Original_Semaforo, + global::System.Nullable Original_idxStato, + string Original_DescrizioneStato, + global::System.Nullable Original_durata, + global::System.Nullable Original_PezziProd, + global::System.Nullable Original_PezziConf, + global::System.Nullable Original_TempoOn, + global::System.Nullable Original_TempoAuto, + global::System.Nullable Original_TempoRun, + global::System.Nullable Original_TCMedio, + global::System.Nullable Original_TCLav, + global::System.Nullable Original_TCEff, + global::System.Nullable Original_TCMedioRT, + global::System.Nullable Original_TCLavRT, + global::System.Nullable Original_TCEffRT) + { return this.Update(lastUpdate, CodMacchina, Nome, url, idxODL, idxPODL, CodArticolo, Disegno, NumPezzi, TCAssegnato, DataInizioODL, Semaforo, idxStato, DescrizioneStato, durata, PezziProd, PezziConf, TempoOn, TempoAuto, TempoRun, TCMedio, TCLav, TCEff, TCMedioRT, TCLavRT, TCEffRT, Original_RowNum, Original_lastUpdate, Original_CodMacchina, Original_Nome, Original_url, Original_idxODL, Original_idxPODL, Original_CodArticolo, Original_Disegno, Original_NumPezzi, Original_TCAssegnato, Original_DataInizioODL, Original_Semaforo, Original_idxStato, Original_DescrizioneStato, Original_durata, Original_PezziProd, Original_PezziConf, Original_TempoOn, Original_TempoAuto, Original_TempoRun, Original_TCMedio, Original_TCLav, Original_TCEff, Original_TCMedioRT, Original_TCLavRT, Original_TCEffRT, Original_RowNum); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int forceRecalc(global::System.Nullable maxAgeSec, string IdxMacchSign) { + public virtual int forceRecalc(global::System.Nullable maxAgeSec, string IdxMacchSign) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((maxAgeSec.HasValue == true)) { + if ((maxAgeSec.HasValue == true)) + { command.Parameters[1].Value = ((int)(maxAgeSec.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((IdxMacchSign == null)) { + if ((IdxMacchSign == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(IdxMacchSign)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -26621,114 +31678,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class ResProdDett_splitODLTableAdapter : global::System.ComponentModel.Component { - + public partial class ResProdDett_splitODLTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitODLTableAdapter() { + public ResProdDett_splitODLTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -26741,17 +31826,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("pzRiman", "pzRiman"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -26766,108 +31853,139 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlOpen", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlNew", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.ResProdDett_splitODLDataTable dataTable, string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) { + public virtual int Fill(DS_ProdTempi.ResProdDett_splitODLDataTable dataTable, string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((OdlClosed.HasValue == true)) { + if ((OdlClosed.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((OdlOpen.HasValue == true)) { + if ((OdlOpen.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((OdlNew.HasValue == true)) { + if ((OdlNew.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.ResProdDett_splitODLDataTable GetData(string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) { + public virtual DS_ProdTempi.ResProdDett_splitODLDataTable GetData(string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((OdlClosed.HasValue == true)) { + if ((OdlClosed.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((OdlOpen.HasValue == true)) { + if ((OdlOpen.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((OdlNew.HasValue == true)) { + if ((OdlNew.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; } DS_ProdTempi.ResProdDett_splitODLDataTable dataTable = new DS_ProdTempi.ResProdDett_splitODLDataTable(); @@ -26875,7 +31993,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -26885,114 +32003,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class ResProdDett_splitGGTableAdapter : global::System.ComponentModel.Component { - + public partial class ResProdDett_splitGGTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdDett_splitGGTableAdapter() { + public ResProdDett_splitGGTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -27006,17 +32152,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -27031,108 +32179,139 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlOpen", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlNew", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.ResProdDett_splitGGDataTable dataTable, string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) { + public virtual int Fill(DS_ProdTempi.ResProdDett_splitGGDataTable dataTable, string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((OdlClosed.HasValue == true)) { + if ((OdlClosed.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((OdlOpen.HasValue == true)) { + if ((OdlOpen.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((OdlNew.HasValue == true)) { + if ((OdlNew.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.ResProdDett_splitGGDataTable GetData(string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) { + public virtual DS_ProdTempi.ResProdDett_splitGGDataTable GetData(string idxMacchina, string CodArticolo, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((OdlClosed.HasValue == true)) { + if ((OdlClosed.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((OdlOpen.HasValue == true)) { + if ((OdlOpen.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } - if ((OdlNew.HasValue == true)) { + if ((OdlNew.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value; } DS_ProdTempi.ResProdDett_splitGGDataTable dataTable = new DS_ProdTempi.ResProdDett_splitGGDataTable(); @@ -27140,7 +32319,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -27150,114 +32329,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class ResProdTotTableAdapter : global::System.ComponentModel.Component { - + public partial class ResProdTotTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ResProdTotTableAdapter() { + public ResProdTotTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -27272,17 +32479,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("Stato", "Stato"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -27296,96 +32505,123 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlNew", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMulti", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.ResProdTotDataTable dataTable, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew, string idxMulti) { + public virtual int Fill(DS_ProdTempi.ResProdTotDataTable dataTable, global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew, string idxMulti) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((OdlClosed.HasValue == true)) { + if ((OdlClosed.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(OdlClosed.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((OdlOpen.HasValue == true)) { + if ((OdlOpen.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(OdlOpen.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((OdlNew.HasValue == true)) { + if ((OdlNew.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlNew.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((idxMulti == null)) { + if ((idxMulti == null)) + { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[6].Value = ((string)(idxMulti)); } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.ResProdTotDataTable GetData(global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew, string idxMulti) { + public virtual DS_ProdTempi.ResProdTotDataTable GetData(global::System.Nullable dataFrom, global::System.Nullable dataTo, global::System.Nullable OdlClosed, global::System.Nullable OdlOpen, global::System.Nullable OdlNew, string idxMulti) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((OdlClosed.HasValue == true)) { + if ((OdlClosed.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(OdlClosed.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((OdlOpen.HasValue == true)) { + if ((OdlOpen.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(OdlOpen.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((OdlNew.HasValue == true)) { + if ((OdlNew.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlNew.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } - if ((idxMulti == null)) { + if ((idxMulti == null)) + { this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[6].Value = ((string)(idxMulti)); } DS_ProdTempi.ResProdTotDataTable dataTable = new DS_ProdTempi.ResProdTotDataTable(); @@ -27393,7 +32629,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -27403,114 +32639,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class RegistroControlliTableAdapter : global::System.ComponentModel.Component { - + public partial class RegistroControlliTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroControlliTableAdapter() { + public RegistroControlliTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -27526,17 +32790,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("Operatore", "Operatore"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -27569,142 +32835,174 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", 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("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.RegistroControlliDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.RegistroControlliDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.RegistroControlliDataTable GetData() { + public virtual DS_ProdTempi.RegistroControlliDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.RegistroControlliDataTable dataTable = new DS_ProdTempi.RegistroControlliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.RegistroControlliDataTable getFilt(string IdxMacchina, global::System.Nullable IdxODL, global::System.Nullable DataFrom, global::System.Nullable DataTo, global::System.Nullable showMulti) { + public virtual DS_ProdTempi.RegistroControlliDataTable getFilt(string IdxMacchina, global::System.Nullable IdxODL, global::System.Nullable DataFrom, global::System.Nullable DataTo, global::System.Nullable showMulti) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((IdxODL.HasValue == true)) { + if ((IdxODL.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((int)(IdxODL.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((DataFrom.HasValue == true)) { + if ((DataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((DataTo.HasValue == true)) { + if ((DataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(DataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((showMulti.HasValue == true)) { + if ((showMulti.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(showMulti.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } DS_ProdTempi.RegistroControlliDataTable dataTable = new DS_ProdTempi.RegistroControlliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.RegistroControlliDataTable getLast(string IdxMacchina) { + public virtual DS_ProdTempi.RegistroControlliDataTable getLast(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } DS_ProdTempi.RegistroControlliDataTable dataTable = new DS_ProdTempi.RegistroControlliDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int insertQuery(string IdxMacchina, global::System.Nullable MatrOpr, global::System.Nullable EsitoOk, string Note, global::System.Nullable DataOra) { + public virtual int insertQuery(string IdxMacchina, global::System.Nullable MatrOpr, global::System.Nullable EsitoOk, string Note, global::System.Nullable DataOra) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[2].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((EsitoOk.HasValue == true)) { + if ((EsitoOk.HasValue == true)) + { command.Parameters[3].Value = ((bool)(EsitoOk.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[4].Value = ((string)(Note)); } - if ((DataOra.HasValue == true)) { + if ((DataOra.HasValue == true)) + { command.Parameters[5].Value = ((System.DateTime)(DataOra.Value)); } - else { + else + { command.Parameters[5].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -27714,114 +33012,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class RegistroScartiTableAdapter : global::System.ComponentModel.Component { - + public partial class RegistroScartiTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public RegistroScartiTableAdapter() { + public RegistroScartiTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -27840,17 +33166,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("icona", "icona"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -27899,211 +33227,261 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch 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("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.RegistroScartiDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.RegistroScartiDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.RegistroScartiDataTable GetData() { + public virtual DS_ProdTempi.RegistroScartiDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.RegistroScartiDataTable dataTable = new DS_ProdTempi.RegistroScartiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.RegistroScartiDataTable getFilt(string IdxMacchina, global::System.Nullable IdxODL, global::System.Nullable DataFrom, global::System.Nullable DataTo, global::System.Nullable showMulti) { + public virtual DS_ProdTempi.RegistroScartiDataTable getFilt(string IdxMacchina, global::System.Nullable IdxODL, global::System.Nullable DataFrom, global::System.Nullable DataTo, global::System.Nullable showMulti) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((IdxODL.HasValue == true)) { + if ((IdxODL.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((int)(IdxODL.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((DataFrom.HasValue == true)) { + if ((DataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - if ((DataTo.HasValue == true)) { + if ((DataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(DataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } - if ((showMulti.HasValue == true)) { + if ((showMulti.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(showMulti.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value; } DS_ProdTempi.RegistroScartiDataTable dataTable = new DS_ProdTempi.RegistroScartiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.RegistroScartiDataTable getPending(string IdxMacchina, global::System.Nullable DataTo) { + public virtual DS_ProdTempi.RegistroScartiDataTable getPending(string IdxMacchina, global::System.Nullable DataTo) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((DataTo.HasValue == true)) { + if ((DataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.RegistroScartiDataTable dataTable = new DS_ProdTempi.RegistroScartiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.RegistroScartiDataTable getPendingTot(string IdxMacchina, global::System.Nullable DataTo) { + public virtual DS_ProdTempi.RegistroScartiDataTable getPendingTot(string IdxMacchina, global::System.Nullable DataTo) + { this.Adapter.SelectCommand = this.CommandCollection[3]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((DataTo.HasValue == true)) { + if ((DataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.RegistroScartiDataTable dataTable = new DS_ProdTempi.RegistroScartiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int insertQuery(string IdxMacchina, global::System.Nullable DataOra, string Causale, global::System.Nullable Qta, string Note, global::System.Nullable MatrOpr) { + public virtual int insertQuery(string IdxMacchina, global::System.Nullable DataOra, string Causale, global::System.Nullable Qta, string Note, global::System.Nullable MatrOpr) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((DataOra.HasValue == true)) { + if ((DataOra.HasValue == true)) + { command.Parameters[2].Value = ((System.DateTime)(DataOra.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((Causale == null)) { + if ((Causale == null)) + { command.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[3].Value = ((string)(Causale)); } - if ((Qta.HasValue == true)) { + if ((Qta.HasValue == true)) + { command.Parameters[4].Value = ((int)(Qta.Value)); } - else { + else + { command.Parameters[4].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[5].Value = ((string)(Note)); } - if ((MatrOpr.HasValue == true)) { + if ((MatrOpr.HasValue == true)) + { command.Parameters[6].Value = ((int)(MatrOpr.Value)); } - else { + else + { command.Parameters[6].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int recProd(string IdxMacchina, global::System.Nullable DataTo) { + public virtual int recProd(string IdxMacchina, global::System.Nullable DataTo) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((DataTo.HasValue == true)) { + if ((DataTo.HasValue == true)) + { command.Parameters[2].Value = ((System.DateTime)(DataTo.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -28113,114 +33491,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class PromesseODLTableAdapter : global::System.ComponentModel.Component { - + public partial class PromesseODLTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public PromesseODLTableAdapter() { + public PromesseODLTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -28247,17 +33653,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("Recipe", "Recipe"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -28355,432 +33763,543 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPromessa", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.PromesseODLDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.PromesseODLDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.PromesseODLDataTable GetData() { + public virtual DS_ProdTempi.PromesseODLDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.PromesseODLDataTable getByCodArt(string CodArticolo, global::System.Nullable onlyAvail) { + public virtual DS_ProdTempi.PromesseODLDataTable getByCodArt(string CodArticolo, global::System.Nullable onlyAvail) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo)); } - if ((onlyAvail.HasValue == true)) { + if ((onlyAvail.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(onlyAvail.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.PromesseODLDataTable getByIdxMacc(string IdxMacchina, global::System.Nullable onlyFree, global::System.Nullable onlyDirect) { + public virtual DS_ProdTempi.PromesseODLDataTable getByIdxMacc(string IdxMacchina, global::System.Nullable onlyFree, global::System.Nullable onlyDirect) + { this.Adapter.SelectCommand = this.CommandCollection[3]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((onlyFree.HasValue == true)) { + if ((onlyFree.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(onlyFree.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((onlyDirect.HasValue == true)) { + if ((onlyDirect.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(onlyDirect.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.PromesseODLDataTable getByIdxOdl(global::System.Nullable IdxOdl) { + public virtual DS_ProdTempi.PromesseODLDataTable getByIdxOdl(global::System.Nullable IdxOdl) + { this.Adapter.SelectCommand = this.CommandCollection[4]; - if ((IdxOdl.HasValue == true)) { + if ((IdxOdl.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxOdl.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.PromesseODLDataTable getByKey(global::System.Nullable IdxPromessa) { + public virtual DS_ProdTempi.PromesseODLDataTable getByKey(global::System.Nullable IdxPromessa) + { this.Adapter.SelectCommand = this.CommandCollection[5]; - if ((IdxPromessa.HasValue == true)) { + if ((IdxPromessa.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxPromessa.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.PromesseODLDataTable getByMaccArt(string IdxMacchina, string CodArticolo, string CodGruppo, global::System.Nullable onlyFree) { + public virtual DS_ProdTempi.PromesseODLDataTable getByMaccArt(string IdxMacchina, string CodArticolo, string CodGruppo, global::System.Nullable onlyFree) + { this.Adapter.SelectCommand = this.CommandCollection[6]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo)); } - if ((CodGruppo == null)) { + if ((CodGruppo == null)) + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodGruppo)); } - if ((onlyFree.HasValue == true)) { + if ((onlyFree.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(onlyFree.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value; } DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.PromesseODLDataTable getByMultiMacc(string idxMulti, global::System.Nullable byGroup) { + public virtual DS_ProdTempi.PromesseODLDataTable getByMultiMacc(string idxMulti, global::System.Nullable byGroup) + { this.Adapter.SelectCommand = this.CommandCollection[7]; - if ((idxMulti == null)) { + if ((idxMulti == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMulti)); } - if ((byGroup.HasValue == true)) { + if ((byGroup.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(byGroup.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int deleteQuery(global::System.Nullable Original_idxPromessa) { + public virtual int deleteQuery(global::System.Nullable Original_idxPromessa) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((Original_idxPromessa.HasValue == true)) { + if ((Original_idxPromessa.HasValue == true)) + { command.Parameters[1].Value = ((int)(Original_idxPromessa.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int insertQuery(string KeyRichiesta, string KeyBCode, global::System.Nullable Attivabile, string CodArticolo, string CodGruppo, string IdxMacchina, global::System.Nullable NumPezzi, global::System.Nullable TCAssegnato, global::System.Nullable DueDate, global::System.Nullable Priorita, global::System.Nullable PzPallet, string Note) { + public virtual int insertQuery(string KeyRichiesta, string KeyBCode, global::System.Nullable Attivabile, string CodArticolo, string CodGruppo, string IdxMacchina, global::System.Nullable NumPezzi, global::System.Nullable TCAssegnato, global::System.Nullable DueDate, global::System.Nullable Priorita, global::System.Nullable PzPallet, string Note) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; - if ((KeyRichiesta == null)) { + if ((KeyRichiesta == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(KeyRichiesta)); } - if ((KeyBCode == null)) { + if ((KeyBCode == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(KeyBCode)); } - if ((Attivabile.HasValue == true)) { + if ((Attivabile.HasValue == true)) + { command.Parameters[3].Value = ((bool)(Attivabile.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[4].Value = ((string)(CodArticolo)); } - if ((CodGruppo == null)) { + if ((CodGruppo == null)) + { command.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[5].Value = ((string)(CodGruppo)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(IdxMacchina)); } - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { command.Parameters[7].Value = ((int)(NumPezzi.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { command.Parameters[8].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } - if ((DueDate.HasValue == true)) { + if ((DueDate.HasValue == true)) + { command.Parameters[9].Value = ((System.DateTime)(DueDate.Value)); } - else { + else + { command.Parameters[9].Value = global::System.DBNull.Value; } - if ((Priorita.HasValue == true)) { + if ((Priorita.HasValue == true)) + { command.Parameters[10].Value = ((int)(Priorita.Value)); } - else { + else + { command.Parameters[10].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[11].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[11].Value = global::System.DBNull.Value; } - if ((Note == null)) { + if ((Note == null)) + { command.Parameters[12].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[12].Value = ((string)(Note)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.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_idxPromessa) { + public virtual int updateQta(global::System.Nullable NumPezzi, global::System.Nullable PzPallet, global::System.Nullable Original_idxPromessa) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { command.Parameters[1].Value = ((int)(NumPezzi.Value)); } - else { + else + { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[2].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[2].Value = global::System.DBNull.Value; } - if ((Original_idxPromessa.HasValue == true)) { + if ((Original_idxPromessa.HasValue == true)) + { command.Parameters[3].Value = ((int)(Original_idxPromessa.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + 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", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int updateQuery(string KeyRichiesta, string KeyBCode, global::System.Nullable Attivabile, string CodArticolo, string CodGruppo, string IdxMacchina, global::System.Nullable NumPezzi, global::System.Nullable TCAssegnato, global::System.Nullable DueDate, global::System.Nullable Priorita, global::System.Nullable PzPallet, global::System.Nullable Original_idxPromessa) { + public virtual int updateQuery(string KeyRichiesta, string KeyBCode, global::System.Nullable Attivabile, string CodArticolo, string CodGruppo, string IdxMacchina, global::System.Nullable NumPezzi, global::System.Nullable TCAssegnato, global::System.Nullable DueDate, global::System.Nullable Priorita, global::System.Nullable PzPallet, global::System.Nullable Original_idxPromessa) + { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; - if ((KeyRichiesta == null)) { + if ((KeyRichiesta == null)) + { command.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[1].Value = ((string)(KeyRichiesta)); } - if ((KeyBCode == null)) { + if ((KeyBCode == null)) + { command.Parameters[2].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[2].Value = ((string)(KeyBCode)); } - if ((Attivabile.HasValue == true)) { + if ((Attivabile.HasValue == true)) + { command.Parameters[3].Value = ((bool)(Attivabile.Value)); } - else { + else + { command.Parameters[3].Value = global::System.DBNull.Value; } - if ((CodArticolo == null)) { + if ((CodArticolo == null)) + { command.Parameters[4].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[4].Value = ((string)(CodArticolo)); } - if ((CodGruppo == null)) { + if ((CodGruppo == null)) + { command.Parameters[5].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[5].Value = ((string)(CodGruppo)); } - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { command.Parameters[6].Value = global::System.DBNull.Value; } - else { + else + { command.Parameters[6].Value = ((string)(IdxMacchina)); } - if ((NumPezzi.HasValue == true)) { + if ((NumPezzi.HasValue == true)) + { command.Parameters[7].Value = ((int)(NumPezzi.Value)); } - else { + else + { command.Parameters[7].Value = global::System.DBNull.Value; } - if ((TCAssegnato.HasValue == true)) { + if ((TCAssegnato.HasValue == true)) + { command.Parameters[8].Value = ((decimal)(TCAssegnato.Value)); } - else { + else + { command.Parameters[8].Value = global::System.DBNull.Value; } - if ((DueDate.HasValue == true)) { + if ((DueDate.HasValue == true)) + { command.Parameters[9].Value = ((System.DateTime)(DueDate.Value)); } - else { + else + { command.Parameters[9].Value = global::System.DBNull.Value; } - if ((Priorita.HasValue == true)) { + if ((Priorita.HasValue == true)) + { command.Parameters[10].Value = ((int)(Priorita.Value)); } - else { + else + { command.Parameters[10].Value = global::System.DBNull.Value; } - if ((PzPallet.HasValue == true)) { + if ((PzPallet.HasValue == true)) + { command.Parameters[11].Value = ((int)(PzPallet.Value)); } - else { + else + { command.Parameters[11].Value = global::System.DBNull.Value; } - if ((Original_idxPromessa.HasValue == true)) { + if ((Original_idxPromessa.HasValue == true)) + { command.Parameters[12].Value = ((int)(Original_idxPromessa.Value)); } - else { + else + { command.Parameters[12].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; - if (((command.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { command.Connection.Open(); } int returnValue; - try { + try + { returnValue = command.ExecuteNonQuery(); } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { command.Connection.Close(); } } return returnValue; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -28790,114 +34309,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class ElencoConfermeProdTableAdapter : global::System.ComponentModel.Component { - + public partial class ElencoConfermeProdTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public ElencoConfermeProdTableAdapter() { + public ElencoConfermeProdTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -28915,17 +34462,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("CognomeNomeOpr", "CognomeNomeOpr"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -28940,53 +34489,63 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[1].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[1].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, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.ElencoConfermeProdDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.ElencoConfermeProdDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.ElencoConfermeProdDataTable GetData() { + public virtual DS_ProdTempi.ElencoConfermeProdDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.ElencoConfermeProdDataTable dataTable = new DS_ProdTempi.ElencoConfermeProdDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.ElencoConfermeProdDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) { + public virtual DS_ProdTempi.ElencoConfermeProdDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable dataFrom, global::System.Nullable dataTo) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } - if ((dataFrom.HasValue == true)) { + if ((dataFrom.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((dataTo.HasValue == true)) { + if ((dataTo.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; } DS_ProdTempi.ElencoConfermeProdDataTable dataTable = new DS_ProdTempi.ElencoConfermeProdDataTable(); @@ -28994,7 +34553,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -29004,114 +34563,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class StatoProdTableAdapter : global::System.ComponentModel.Component { - + public partial class StatoProdTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public StatoProdTableAdapter() { + public StatoProdTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -29128,17 +34715,19 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch tableMapping.ColumnMappings.Add("DataTo", "DataTo"); this._adapter.TableMappings.Add(tableMapping); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -29155,71 +34744,87 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.StatoProdDataTable dataTable, string idxMacchina, global::System.Nullable DataOra) { + public virtual int Fill(DS_ProdTempi.StatoProdDataTable dataTable, string idxMacchina, global::System.Nullable DataOra) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((DataOra.HasValue == true)) { + if ((DataOra.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataOra.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.StatoProdDataTable GetData(string idxMacchina, global::System.Nullable DataOra) { + public virtual DS_ProdTempi.StatoProdDataTable GetData(string idxMacchina, global::System.Nullable DataOra) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((DataOra.HasValue == true)) { + if ((DataOra.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataOra.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.StatoProdDataTable dataTable = new DS_ProdTempi.StatoProdDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.StatoProdDataTable getByMacchinaData(string idxMacchina, global::System.Nullable DataOra) { + public virtual DS_ProdTempi.StatoProdDataTable getByMacchinaData(string idxMacchina, global::System.Nullable DataOra) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((idxMacchina == null)) { + if ((idxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina)); } - if ((DataOra.HasValue == true)) { + if ((DataOra.HasValue == true)) + { this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataOra.Value)); } - else { + else + { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } DS_ProdTempi.StatoProdDataTable dataTable = new DS_ProdTempi.StatoProdDataTable(); @@ -29227,7 +34832,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch return dataTable; } } - + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -29237,114 +34842,142 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public partial class Macchine2SlaveTableAdapter : global::System.ComponentModel.Component { - + public partial class Macchine2SlaveTableAdapter : global::System.ComponentModel.Component + { + private global::System.Data.SqlClient.SqlDataAdapter _adapter; - + private global::System.Data.SqlClient.SqlConnection _connection; - + private global::System.Data.SqlClient.SqlTransaction _transaction; - + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - + private bool _clearBeforeFill; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public Macchine2SlaveTableAdapter() { + public Macchine2SlaveTableAdapter() + { this.ClearBeforeFill = true; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { - get { - if ((this._adapter == null)) { + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter + { + get + { + if ((this._adapter == null)) + { this.InitAdapter(); } return this._adapter; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { + internal global::System.Data.SqlClient.SqlConnection Connection + { + get + { + if ((this._connection == null)) + { this.InitConnection(); } return this._connection; } - set { + set + { this._connection = value; - if ((this.Adapter.InsertCommand != null)) { + if ((this.Adapter.InsertCommand != null)) + { this.Adapter.InsertCommand.Connection = value; } - if ((this.Adapter.DeleteCommand != null)) { + if ((this.Adapter.DeleteCommand != null)) + { this.Adapter.DeleteCommand.Connection = value; } - if ((this.Adapter.UpdateCommand != null)) { + if ((this.Adapter.UpdateCommand != null)) + { this.Adapter.UpdateCommand.Connection = value; } - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { - if ((this.CommandCollection[i] != null)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { + if ((this.CommandCollection[i] != null)) + { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal global::System.Data.SqlClient.SqlTransaction Transaction { - get { + internal global::System.Data.SqlClient.SqlTransaction Transaction + { + get + { return this._transaction; } - set { + set + { this._transaction = value; - for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) + { this.CommandCollection[i].Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.DeleteCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) + { this.Adapter.DeleteCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.InsertCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) + { this.Adapter.InsertCommand.Transaction = this._transaction; } - if (((this.Adapter != null) - && (this.Adapter.UpdateCommand != null))) { + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) + { this.Adapter.UpdateCommand.Transaction = this._transaction; } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { - get { - if ((this._commandCollection == null)) { + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection + { + get + { + if ((this._commandCollection == null)) + { this.InitCommandCollection(); } return this._commandCollection; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool ClearBeforeFill { - get { + public bool ClearBeforeFill + { + get + { return this._clearBeforeFill; } - set { + set + { this._clearBeforeFill = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitAdapter() { + private void InitAdapter() + { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; @@ -29378,17 +35011,19 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchinaSlave", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchinaSlave", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitConnection() { + private void InitConnection() + { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private void InitCommandCollection() { + private void InitCommandCollection() + { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; @@ -29407,214 +35042,259 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I 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("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_ProdTempi.Macchine2SlaveDataTable dataTable) { + public virtual int Fill(DS_ProdTempi.Macchine2SlaveDataTable dataTable) + { this.Adapter.SelectCommand = this.CommandCollection[0]; - if ((this.ClearBeforeFill == true)) { + if ((this.ClearBeforeFill == true)) + { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_ProdTempi.Macchine2SlaveDataTable GetData() { + public virtual DS_ProdTempi.Macchine2SlaveDataTable GetData() + { this.Adapter.SelectCommand = this.CommandCollection[0]; DS_ProdTempi.Macchine2SlaveDataTable dataTable = new DS_ProdTempi.Macchine2SlaveDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.Macchine2SlaveDataTable getByMaster(string IdxMacchina) { + public virtual DS_ProdTempi.Macchine2SlaveDataTable getByMaster(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[1]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } DS_ProdTempi.Macchine2SlaveDataTable dataTable = new DS_ProdTempi.Macchine2SlaveDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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.Macchine2SlaveDataTable getBySlave(string IdxMacchina) { + public virtual DS_ProdTempi.Macchine2SlaveDataTable getBySlave(string IdxMacchina) + { this.Adapter.SelectCommand = this.CommandCollection[2]; - if ((IdxMacchina == null)) { + if ((IdxMacchina == null)) + { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } - else { + else + { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina)); } DS_ProdTempi.Macchine2SlaveDataTable dataTable = new DS_ProdTempi.Macchine2SlaveDataTable(); this.Adapter.Fill(dataTable); return dataTable; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi.Macchine2SlaveDataTable dataTable) { + public virtual int Update(DS_ProdTempi.Macchine2SlaveDataTable dataTable) + { return this.Adapter.Update(dataTable); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_ProdTempi dataSet) { + public virtual int Update(DS_ProdTempi dataSet) + { return this.Adapter.Update(dataSet, "Macchine2Slave"); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow dataRow) { + public virtual int Update(global::System.Data.DataRow dataRow) + { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(global::System.Data.DataRow[] dataRows) { + public virtual int Update(global::System.Data.DataRow[] dataRows) + { return this.Adapter.Update(dataRows); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(string Original_IdxMacchina, string Original_IdxMacchinaSlave) { - if ((Original_IdxMacchina == null)) { + public virtual int Delete(string Original_IdxMacchina, string Original_IdxMacchinaSlave) + { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxMacchina)); } - if ((Original_IdxMacchinaSlave == null)) { + if ((Original_IdxMacchinaSlave == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchinaSlave"); } - else { + else + { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_IdxMacchinaSlave)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; - if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.DeleteCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.DeleteCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string IdxMacchina, string IdxMacchinaSlave) { - if ((IdxMacchina == null)) { + public virtual int Insert(string IdxMacchina, string IdxMacchinaSlave) + { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxMacchina)); } - if ((IdxMacchinaSlave == null)) { + if ((IdxMacchinaSlave == null)) + { throw new global::System.ArgumentNullException("IdxMacchinaSlave"); } - else { + else + { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(IdxMacchinaSlave)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; - if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.InsertCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.InsertCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string IdxMacchina, string IdxMacchinaSlave, string Original_IdxMacchina, string Original_IdxMacchinaSlave) { - if ((IdxMacchina == null)) { + public virtual int Update(string IdxMacchina, string IdxMacchinaSlave, string Original_IdxMacchina, string Original_IdxMacchinaSlave) + { + if ((IdxMacchina == null)) + { throw new global::System.ArgumentNullException("IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxMacchina)); } - if ((IdxMacchinaSlave == null)) { + if ((IdxMacchinaSlave == null)) + { throw new global::System.ArgumentNullException("IdxMacchinaSlave"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(IdxMacchinaSlave)); } - if ((Original_IdxMacchina == null)) { + if ((Original_IdxMacchina == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchina"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_IdxMacchina)); } - if ((Original_IdxMacchinaSlave == null)) { + if ((Original_IdxMacchinaSlave == null)) + { throw new global::System.ArgumentNullException("Original_IdxMacchinaSlave"); } - else { + else + { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_IdxMacchinaSlave)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; - if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) - != global::System.Data.ConnectionState.Open)) { + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) + { this.Adapter.UpdateCommand.Connection.Open(); } - try { + try + { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + finally + { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) + { this.Adapter.UpdateCommand.Connection.Close(); } } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update(string Original_IdxMacchina, string Original_IdxMacchinaSlave) { + public virtual int Update(string Original_IdxMacchina, string Original_IdxMacchinaSlave) + { return this.Update(Original_IdxMacchina, Original_IdxMacchinaSlave, Original_IdxMacchina, Original_IdxMacchinaSlave); } } - + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -29623,567 +35303,691 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] - public partial class TableAdapterManager : global::System.ComponentModel.Component { - + public partial class TableAdapterManager : global::System.ComponentModel.Component + { + private UpdateOrderOption _updateOrder; - + private TempiCicloRilevatiTableAdapter _tempiCicloRilevatiTableAdapter; - + private PostazioniMapoTableAdapter _postazioniMapoTableAdapter; - + private DatiConfermatiTableAdapter _datiConfermatiTableAdapter; - + private CalendFesteFerieTableAdapter _calendFesteFerieTableAdapter; - + private DatiProduzioneTableAdapter _datiProduzioneTableAdapter; - + private TurniMacchinaTableAdapter _turniMacchinaTableAdapter; - + private MappaStatoExplTableAdapter _mappaStatoExplTableAdapter; - + private Macchine2SlaveTableAdapter _macchine2SlaveTableAdapter; - + private bool _backupDataSetBeforeUpdate; - + private global::System.Data.IDbConnection _connection; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public UpdateOrderOption UpdateOrder { - get { + public UpdateOrderOption UpdateOrder + { + get + { return this._updateOrder; } - set { + set + { this._updateOrder = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public TempiCicloRilevatiTableAdapter TempiCicloRilevatiTableAdapter { - get { + public TempiCicloRilevatiTableAdapter TempiCicloRilevatiTableAdapter + { + get + { return this._tempiCicloRilevatiTableAdapter; } - set { + set + { this._tempiCicloRilevatiTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public PostazioniMapoTableAdapter PostazioniMapoTableAdapter { - get { + public PostazioniMapoTableAdapter PostazioniMapoTableAdapter + { + get + { return this._postazioniMapoTableAdapter; } - set { + set + { this._postazioniMapoTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public DatiConfermatiTableAdapter DatiConfermatiTableAdapter { - get { + public DatiConfermatiTableAdapter DatiConfermatiTableAdapter + { + get + { return this._datiConfermatiTableAdapter; } - set { + set + { this._datiConfermatiTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public CalendFesteFerieTableAdapter CalendFesteFerieTableAdapter { - get { + public CalendFesteFerieTableAdapter CalendFesteFerieTableAdapter + { + get + { return this._calendFesteFerieTableAdapter; } - set { + set + { this._calendFesteFerieTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public DatiProduzioneTableAdapter DatiProduzioneTableAdapter { - get { + public DatiProduzioneTableAdapter DatiProduzioneTableAdapter + { + get + { return this._datiProduzioneTableAdapter; } - set { + set + { this._datiProduzioneTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public TurniMacchinaTableAdapter TurniMacchinaTableAdapter { - get { + public TurniMacchinaTableAdapter TurniMacchinaTableAdapter + { + get + { return this._turniMacchinaTableAdapter; } - set { + set + { this._turniMacchinaTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public MappaStatoExplTableAdapter MappaStatoExplTableAdapter { - get { + public MappaStatoExplTableAdapter MappaStatoExplTableAdapter + { + get + { return this._mappaStatoExplTableAdapter; } - set { + set + { this._mappaStatoExplTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] - public Macchine2SlaveTableAdapter Macchine2SlaveTableAdapter { - get { + public Macchine2SlaveTableAdapter Macchine2SlaveTableAdapter + { + get + { return this._macchine2SlaveTableAdapter; } - set { + set + { this._macchine2SlaveTableAdapter = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public bool BackupDataSetBeforeUpdate { - get { + public bool BackupDataSetBeforeUpdate + { + get + { return this._backupDataSetBeforeUpdate; } - set { + set + { this._backupDataSetBeforeUpdate = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public global::System.Data.IDbConnection Connection { - get { - if ((this._connection != null)) { + public global::System.Data.IDbConnection Connection + { + get + { + if ((this._connection != null)) + { return this._connection; } - if (((this._tempiCicloRilevatiTableAdapter != null) - && (this._tempiCicloRilevatiTableAdapter.Connection != null))) { + if (((this._tempiCicloRilevatiTableAdapter != null) + && (this._tempiCicloRilevatiTableAdapter.Connection != null))) + { return this._tempiCicloRilevatiTableAdapter.Connection; } - if (((this._postazioniMapoTableAdapter != null) - && (this._postazioniMapoTableAdapter.Connection != null))) { + if (((this._postazioniMapoTableAdapter != null) + && (this._postazioniMapoTableAdapter.Connection != null))) + { return this._postazioniMapoTableAdapter.Connection; } - if (((this._datiConfermatiTableAdapter != null) - && (this._datiConfermatiTableAdapter.Connection != null))) { + if (((this._datiConfermatiTableAdapter != null) + && (this._datiConfermatiTableAdapter.Connection != null))) + { return this._datiConfermatiTableAdapter.Connection; } - if (((this._calendFesteFerieTableAdapter != null) - && (this._calendFesteFerieTableAdapter.Connection != null))) { + if (((this._calendFesteFerieTableAdapter != null) + && (this._calendFesteFerieTableAdapter.Connection != null))) + { return this._calendFesteFerieTableAdapter.Connection; } - if (((this._datiProduzioneTableAdapter != null) - && (this._datiProduzioneTableAdapter.Connection != null))) { + if (((this._datiProduzioneTableAdapter != null) + && (this._datiProduzioneTableAdapter.Connection != null))) + { return this._datiProduzioneTableAdapter.Connection; } - if (((this._turniMacchinaTableAdapter != null) - && (this._turniMacchinaTableAdapter.Connection != null))) { + if (((this._turniMacchinaTableAdapter != null) + && (this._turniMacchinaTableAdapter.Connection != null))) + { return this._turniMacchinaTableAdapter.Connection; } - if (((this._mappaStatoExplTableAdapter != null) - && (this._mappaStatoExplTableAdapter.Connection != null))) { + if (((this._mappaStatoExplTableAdapter != null) + && (this._mappaStatoExplTableAdapter.Connection != null))) + { return this._mappaStatoExplTableAdapter.Connection; } - if (((this._macchine2SlaveTableAdapter != null) - && (this._macchine2SlaveTableAdapter.Connection != null))) { + if (((this._macchine2SlaveTableAdapter != null) + && (this._macchine2SlaveTableAdapter.Connection != null))) + { return this._macchine2SlaveTableAdapter.Connection; } return null; } - set { + set + { this._connection = value; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.ComponentModel.Browsable(false)] - public int TableAdapterInstanceCount { - get { + public int TableAdapterInstanceCount + { + get + { int count = 0; - if ((this._tempiCicloRilevatiTableAdapter != null)) { + if ((this._tempiCicloRilevatiTableAdapter != null)) + { count = (count + 1); } - if ((this._postazioniMapoTableAdapter != null)) { + if ((this._postazioniMapoTableAdapter != null)) + { count = (count + 1); } - if ((this._datiConfermatiTableAdapter != null)) { + if ((this._datiConfermatiTableAdapter != null)) + { count = (count + 1); } - if ((this._calendFesteFerieTableAdapter != null)) { + if ((this._calendFesteFerieTableAdapter != null)) + { count = (count + 1); } - if ((this._datiProduzioneTableAdapter != null)) { + if ((this._datiProduzioneTableAdapter != null)) + { count = (count + 1); } - if ((this._turniMacchinaTableAdapter != null)) { + if ((this._turniMacchinaTableAdapter != null)) + { count = (count + 1); } - if ((this._mappaStatoExplTableAdapter != null)) { + if ((this._mappaStatoExplTableAdapter != null)) + { count = (count + 1); } - if ((this._macchine2SlaveTableAdapter != null)) { + if ((this._macchine2SlaveTableAdapter != null)) + { count = (count + 1); } return count; } } - + /// ///Update rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private int UpdateUpdatedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + private int UpdateUpdatedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) + { int result = 0; - if ((this._tempiCicloRilevatiTableAdapter != null)) { + if ((this._tempiCicloRilevatiTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.TempiCicloRilevati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._tempiCicloRilevatiTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } - if ((this._mappaStatoExplTableAdapter != null)) { + if ((this._mappaStatoExplTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.MappaStatoExpl.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._mappaStatoExplTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } - if ((this._turniMacchinaTableAdapter != null)) { + if ((this._turniMacchinaTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.TurniMacchina.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._turniMacchinaTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } - if ((this._datiProduzioneTableAdapter != null)) { + if ((this._datiProduzioneTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.DatiProduzione.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._datiProduzioneTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } - if ((this._calendFesteFerieTableAdapter != null)) { + if ((this._calendFesteFerieTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._calendFesteFerieTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } - if ((this._datiConfermatiTableAdapter != null)) { + if ((this._datiConfermatiTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.DatiConfermati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._datiConfermatiTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } - if ((this._postazioniMapoTableAdapter != null)) { + if ((this._postazioniMapoTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.PostazioniMapo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._postazioniMapoTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } - if ((this._macchine2SlaveTableAdapter != null)) { + if ((this._macchine2SlaveTableAdapter != null)) + { global::System.Data.DataRow[] updatedRows = dataSet.Macchine2Slave.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { + if (((updatedRows != null) + && (0 < updatedRows.Length))) + { result = (result + this._macchine2SlaveTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } return result; } - + /// ///Insert rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private int UpdateInsertedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List allAddedRows) { + private int UpdateInsertedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List allAddedRows) + { int result = 0; - if ((this._tempiCicloRilevatiTableAdapter != null)) { + if ((this._tempiCicloRilevatiTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.TempiCicloRilevati.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._tempiCicloRilevatiTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } - if ((this._mappaStatoExplTableAdapter != null)) { + if ((this._mappaStatoExplTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.MappaStatoExpl.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._mappaStatoExplTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } - if ((this._turniMacchinaTableAdapter != null)) { + if ((this._turniMacchinaTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.TurniMacchina.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._turniMacchinaTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } - if ((this._datiProduzioneTableAdapter != null)) { + if ((this._datiProduzioneTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.DatiProduzione.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._datiProduzioneTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } - if ((this._calendFesteFerieTableAdapter != null)) { + if ((this._calendFesteFerieTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._calendFesteFerieTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } - if ((this._datiConfermatiTableAdapter != null)) { + if ((this._datiConfermatiTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.DatiConfermati.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._datiConfermatiTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } - if ((this._postazioniMapoTableAdapter != null)) { + if ((this._postazioniMapoTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.PostazioniMapo.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._postazioniMapoTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } - if ((this._macchine2SlaveTableAdapter != null)) { + if ((this._macchine2SlaveTableAdapter != null)) + { global::System.Data.DataRow[] addedRows = dataSet.Macchine2Slave.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { + if (((addedRows != null) + && (0 < addedRows.Length))) + { result = (result + this._macchine2SlaveTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } return result; } - + /// ///Delete rows in bottom-up order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private int UpdateDeletedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List allChangedRows) { + private int UpdateDeletedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List allChangedRows) + { int result = 0; - if ((this._macchine2SlaveTableAdapter != null)) { + if ((this._macchine2SlaveTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.Macchine2Slave.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._macchine2SlaveTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } - if ((this._postazioniMapoTableAdapter != null)) { + if ((this._postazioniMapoTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.PostazioniMapo.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._postazioniMapoTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } - if ((this._datiConfermatiTableAdapter != null)) { + if ((this._datiConfermatiTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.DatiConfermati.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._datiConfermatiTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } - if ((this._calendFesteFerieTableAdapter != null)) { + if ((this._calendFesteFerieTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._calendFesteFerieTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } - if ((this._datiProduzioneTableAdapter != null)) { + if ((this._datiProduzioneTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.DatiProduzione.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._datiProduzioneTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } - if ((this._turniMacchinaTableAdapter != null)) { + if ((this._turniMacchinaTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.TurniMacchina.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._turniMacchinaTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } - if ((this._mappaStatoExplTableAdapter != null)) { + if ((this._mappaStatoExplTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.MappaStatoExpl.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._mappaStatoExplTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } - if ((this._tempiCicloRilevatiTableAdapter != null)) { + if ((this._tempiCicloRilevatiTableAdapter != null)) + { global::System.Data.DataRow[] deletedRows = dataSet.TempiCicloRilevati.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { + if (((deletedRows != null) + && (0 < deletedRows.Length))) + { result = (result + this._tempiCicloRilevatiTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } return result; } - + /// ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { - if (((updatedRows == null) - || (updatedRows.Length < 1))) { + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) + { + if (((updatedRows == null) + || (updatedRows.Length < 1))) + { return updatedRows; } - if (((allAddedRows == null) - || (allAddedRows.Count < 1))) { + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) + { return updatedRows; } global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); - for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) + { global::System.Data.DataRow row = updatedRows[i]; - if ((allAddedRows.Contains(row) == false)) { + if ((allAddedRows.Contains(row) == false)) + { realUpdatedRows.Add(row); } } return realUpdatedRows.ToArray(); } - + /// ///Update all changes to the dataset. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public virtual int UpdateAll(DS_ProdTempi dataSet) { - if ((dataSet == null)) { + public virtual int UpdateAll(DS_ProdTempi dataSet) + { + if ((dataSet == null)) + { throw new global::System.ArgumentNullException("dataSet"); } - if ((dataSet.HasChanges() == false)) { + if ((dataSet.HasChanges() == false)) + { return 0; } - if (((this._tempiCicloRilevatiTableAdapter != null) - && (this.MatchTableAdapterConnection(this._tempiCicloRilevatiTableAdapter.Connection) == false))) { + if (((this._tempiCicloRilevatiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._tempiCicloRilevatiTableAdapter.Connection) == false))) + { 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))) { + if (((this._postazioniMapoTableAdapter != null) + && (this.MatchTableAdapterConnection(this._postazioniMapoTableAdapter.Connection) == false))) + { 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))) { + if (((this._datiConfermatiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._datiConfermatiTableAdapter.Connection) == false))) + { 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))) { + if (((this._calendFesteFerieTableAdapter != null) + && (this.MatchTableAdapterConnection(this._calendFesteFerieTableAdapter.Connection) == false))) + { 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))) { + if (((this._datiProduzioneTableAdapter != null) + && (this.MatchTableAdapterConnection(this._datiProduzioneTableAdapter.Connection) == false))) + { 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))) { + if (((this._turniMacchinaTableAdapter != null) + && (this.MatchTableAdapterConnection(this._turniMacchinaTableAdapter.Connection) == false))) + { 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))) { + if (((this._mappaStatoExplTableAdapter != null) + && (this.MatchTableAdapterConnection(this._mappaStatoExplTableAdapter.Connection) == false))) + { 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))) { + if (((this._macchine2SlaveTableAdapter != null) + && (this.MatchTableAdapterConnection(this._macchine2SlaveTableAdapter.Connection) == false))) + { 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)) { + if ((workConnection == null)) + { 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) - == global::System.Data.ConnectionState.Broken)) { + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) + { workConnection.Close(); } - if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) + { workConnection.Open(); workConnOpened = true; } global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); - if ((workTransaction == null)) { + if ((workTransaction == null)) + { 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."); } @@ -30193,81 +35997,99 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); int result = 0; global::System.Data.DataSet backupDataSet = null; - if (this.BackupDataSetBeforeUpdate) { + if (this.BackupDataSetBeforeUpdate) + { backupDataSet = new global::System.Data.DataSet(); backupDataSet.Merge(dataSet); } - try { + try + { // ---- Prepare for update ----------- // - if ((this._tempiCicloRilevatiTableAdapter != null)) { + if ((this._tempiCicloRilevatiTableAdapter != null)) + { revertConnections.Add(this._tempiCicloRilevatiTableAdapter, this._tempiCicloRilevatiTableAdapter.Connection); this._tempiCicloRilevatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._tempiCicloRilevatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._tempiCicloRilevatiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._tempiCicloRilevatiTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._tempiCicloRilevatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._tempiCicloRilevatiTableAdapter.Adapter); } } - if ((this._postazioniMapoTableAdapter != null)) { + if ((this._postazioniMapoTableAdapter != null)) + { revertConnections.Add(this._postazioniMapoTableAdapter, this._postazioniMapoTableAdapter.Connection); this._postazioniMapoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._postazioniMapoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._postazioniMapoTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._postazioniMapoTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._postazioniMapoTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._postazioniMapoTableAdapter.Adapter); } } - if ((this._datiConfermatiTableAdapter != null)) { + if ((this._datiConfermatiTableAdapter != null)) + { revertConnections.Add(this._datiConfermatiTableAdapter, this._datiConfermatiTableAdapter.Connection); this._datiConfermatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._datiConfermatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._datiConfermatiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._datiConfermatiTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._datiConfermatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._datiConfermatiTableAdapter.Adapter); } } - if ((this._calendFesteFerieTableAdapter != null)) { + if ((this._calendFesteFerieTableAdapter != null)) + { revertConnections.Add(this._calendFesteFerieTableAdapter, this._calendFesteFerieTableAdapter.Connection); this._calendFesteFerieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._calendFesteFerieTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._calendFesteFerieTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._calendFesteFerieTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._calendFesteFerieTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._calendFesteFerieTableAdapter.Adapter); } } - if ((this._datiProduzioneTableAdapter != null)) { + if ((this._datiProduzioneTableAdapter != null)) + { revertConnections.Add(this._datiProduzioneTableAdapter, this._datiProduzioneTableAdapter.Connection); this._datiProduzioneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._datiProduzioneTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._datiProduzioneTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._datiProduzioneTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._datiProduzioneTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._datiProduzioneTableAdapter.Adapter); } } - if ((this._turniMacchinaTableAdapter != null)) { + if ((this._turniMacchinaTableAdapter != null)) + { revertConnections.Add(this._turniMacchinaTableAdapter, this._turniMacchinaTableAdapter.Connection); this._turniMacchinaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._turniMacchinaTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._turniMacchinaTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._turniMacchinaTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._turniMacchinaTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._turniMacchinaTableAdapter.Adapter); } } - if ((this._mappaStatoExplTableAdapter != null)) { + if ((this._mappaStatoExplTableAdapter != null)) + { revertConnections.Add(this._mappaStatoExplTableAdapter, this._mappaStatoExplTableAdapter.Connection); this._mappaStatoExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._mappaStatoExplTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._mappaStatoExplTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._mappaStatoExplTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._mappaStatoExplTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._mappaStatoExplTableAdapter.Adapter); } } - if ((this._macchine2SlaveTableAdapter != null)) { + if ((this._macchine2SlaveTableAdapter != null)) + { revertConnections.Add(this._macchine2SlaveTableAdapter, this._macchine2SlaveTableAdapter.Connection); this._macchine2SlaveTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); this._macchine2SlaveTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._macchine2SlaveTableAdapter.Adapter.AcceptChangesDuringUpdate) { + if (this._macchine2SlaveTableAdapter.Adapter.AcceptChangesDuringUpdate) + { this._macchine2SlaveTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._macchine2SlaveTableAdapter.Adapter); } @@ -30275,11 +36097,13 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I // //---- Perform updates ----------- // - if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) + { result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); } - else { + else + { result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); } @@ -30288,36 +36112,45 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I //---- Commit updates ----------- // workTransaction.Commit(); - if ((0 < allAddedRows.Count)) { + if ((0 < allAddedRows.Count)) + { global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { + for (int i = 0; (i < rows.Length); i = (i + 1)) + { global::System.Data.DataRow row = rows[i]; row.AcceptChanges(); } } - if ((0 < allChangedRows.Count)) { + if ((0 < allChangedRows.Count)) + { global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; allChangedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { + for (int i = 0; (i < rows.Length); i = (i + 1)) + { global::System.Data.DataRow row = rows[i]; row.AcceptChanges(); } } } - catch (global::System.Exception ex) { + catch (global::System.Exception ex) + { workTransaction.Rollback(); // ---- Restore the dataset ----------- - if (this.BackupDataSetBeforeUpdate) { + if (this.BackupDataSetBeforeUpdate) + { global::System.Diagnostics.Debug.Assert((backupDataSet != null)); dataSet.Clear(); dataSet.Merge(backupDataSet); } - else { - if ((0 < allAddedRows.Count)) { + else + { + if ((0 < allAddedRows.Count)) + { global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; allAddedRows.CopyTo(rows); - for (int i = 0; (i < rows.Length); i = (i + 1)) { + for (int i = 0; (i < rows.Length); i = (i + 1)) + { global::System.Data.DataRow row = rows[i]; row.AcceptChanges(); row.SetAdded(); @@ -30326,46 +36159,58 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I } throw ex; } - finally { - if (workConnOpened) { + finally + { + if (workConnOpened) + { workConnection.Close(); } - if ((this._tempiCicloRilevatiTableAdapter != null)) { + if ((this._tempiCicloRilevatiTableAdapter != null)) + { this._tempiCicloRilevatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tempiCicloRilevatiTableAdapter])); this._tempiCicloRilevatiTableAdapter.Transaction = null; } - if ((this._postazioniMapoTableAdapter != null)) { + if ((this._postazioniMapoTableAdapter != null)) + { this._postazioniMapoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._postazioniMapoTableAdapter])); this._postazioniMapoTableAdapter.Transaction = null; } - if ((this._datiConfermatiTableAdapter != null)) { + if ((this._datiConfermatiTableAdapter != null)) + { this._datiConfermatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._datiConfermatiTableAdapter])); this._datiConfermatiTableAdapter.Transaction = null; } - if ((this._calendFesteFerieTableAdapter != null)) { + if ((this._calendFesteFerieTableAdapter != null)) + { this._calendFesteFerieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._calendFesteFerieTableAdapter])); this._calendFesteFerieTableAdapter.Transaction = null; } - if ((this._datiProduzioneTableAdapter != null)) { + if ((this._datiProduzioneTableAdapter != null)) + { this._datiProduzioneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._datiProduzioneTableAdapter])); this._datiProduzioneTableAdapter.Transaction = null; } - if ((this._turniMacchinaTableAdapter != null)) { + if ((this._turniMacchinaTableAdapter != null)) + { this._turniMacchinaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._turniMacchinaTableAdapter])); this._turniMacchinaTableAdapter.Transaction = null; } - if ((this._mappaStatoExplTableAdapter != null)) { + if ((this._mappaStatoExplTableAdapter != null)) + { this._mappaStatoExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._mappaStatoExplTableAdapter])); this._mappaStatoExplTableAdapter.Transaction = null; } - if ((this._macchine2SlaveTableAdapter != null)) { + if ((this._macchine2SlaveTableAdapter != null)) + { this._macchine2SlaveTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._macchine2SlaveTableAdapter])); this._macchine2SlaveTableAdapter.Transaction = null; } - if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) + { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); - for (int i = 0; (i < adapters.Length); i = (i + 1)) { + for (int i = 0; (i < adapters.Length); i = (i + 1)) + { global::System.Data.Common.DataAdapter adapter = adapters[i]; adapter.AcceptChangesDuringUpdate = true; } @@ -30373,65 +36218,76 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I } return result; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) + { global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { - if ((this._connection != null)) { + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) + { + if ((this._connection != null)) + { return true; } - if (((this.Connection == null) - || (inputConnection == null))) { + if (((this.Connection == null) + || (inputConnection == null))) + { return true; } - if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) + { return true; } return false; } - + /// ///Update Order Option /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public enum UpdateOrderOption { - + public enum UpdateOrderOption + { + InsertUpdateDelete = 0, - + UpdateInsertDelete = 1, } - + /// ///Used to sort self-referenced table's rows /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { - + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer + { + private global::System.Data.DataRelation _relation; - + private int _childFirst; - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) + { this._relation = relation; - if (childFirst) { + if (childFirst) + { this._childFirst = -1; } - else { + else + { this._childFirst = 1; } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) + { global::System.Diagnostics.Debug.Assert((row != null)); global::System.Data.DataRow root = row; distance = 0; @@ -30441,23 +36297,26 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) + { distance = (distance + 1); root = parent; traversedRows[parent] = parent; parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); } - if ((distance == 0)) { + if ((distance == 0)) + { traversedRows.Clear(); traversedRows[row] = row; parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); for ( - ; ((parent != null) - && (traversedRows.ContainsKey(parent) == false)); - ) { + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) + { distance = (distance + 1); root = parent; traversedRows[parent] = parent; @@ -30467,17 +36326,21 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I return root; } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] - public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { - if (object.ReferenceEquals(row1, row2)) { + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) + { + if (object.ReferenceEquals(row1, row2)) + { return 0; } - if ((row1 == null)) { + if ((row1 == null)) + { return -1; } - if ((row2 == null)) { + if ((row2 == null)) + { return 1; } @@ -30487,16 +36350,20 @@ SELECT IdxMacchina, IdxMacchinaSlave FROM Macchine2Slave WHERE (IdxMacchina = @I int distance2 = 0; global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); - if (object.ReferenceEquals(root1, root2)) { + if (object.ReferenceEquals(root1, root2)) + { return (this._childFirst * distance1.CompareTo(distance2)); } - else { - global::System.Diagnostics.Debug.Assert(((root1.Table != null) + else + { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) && (root2.Table != null))); - if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) + { return -1; } - else { + else + { return 1; } }