diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs b/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs index a9a7fc7..d57586c 100644 --- a/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs +++ b/Projects/WebGIM/GIM_data/DS_applicazione.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.17929 +// Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -46,8 +46,6 @@ namespace GIM_data { private InterventoOpMtzDataTable tableInterventoOpMtz; - private v_mtzProgExpDataTable tablev_mtzProgExp; - private MtzProgPendingDataTable tableMtzProgPending; private MtzProgrammataDataTable tableMtzProgrammata; @@ -66,6 +64,8 @@ namespace GIM_data { private AnagrOperMtzDataTable tableAnagrOperMtz; + private v_mtzProgExpDataTable tablev_mtzProgExp; + private global::System.Data.DataRelation relationFK_AnagMacchine_AnagImpianti; private global::System.Data.DataRelation relationMacchine2FamMacchine_v_macchine; @@ -155,9 +155,6 @@ namespace GIM_data { if ((ds.Tables["InterventoOpMtz"] != null)) { base.Tables.Add(new InterventoOpMtzDataTable(ds.Tables["InterventoOpMtz"])); } - if ((ds.Tables["v_mtzProgExp"] != null)) { - base.Tables.Add(new v_mtzProgExpDataTable(ds.Tables["v_mtzProgExp"])); - } if ((ds.Tables["MtzProgPending"] != null)) { base.Tables.Add(new MtzProgPendingDataTable(ds.Tables["MtzProgPending"])); } @@ -185,6 +182,9 @@ namespace GIM_data { if ((ds.Tables["AnagrOperMtz"] != null)) { base.Tables.Add(new AnagrOperMtzDataTable(ds.Tables["AnagrOperMtz"])); } + if ((ds.Tables["v_mtzProgExp"] != null)) { + base.Tables.Add(new v_mtzProgExpDataTable(ds.Tables["v_mtzProgExp"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -313,16 +313,6 @@ namespace GIM_data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public v_mtzProgExpDataTable v_mtzProgExp { - get { - return this.tablev_mtzProgExp; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -413,6 +403,16 @@ namespace GIM_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public v_mtzProgExpDataTable v_mtzProgExp { + get { + return this.tablev_mtzProgExp; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -513,9 +513,6 @@ namespace GIM_data { if ((ds.Tables["InterventoOpMtz"] != null)) { base.Tables.Add(new InterventoOpMtzDataTable(ds.Tables["InterventoOpMtz"])); } - if ((ds.Tables["v_mtzProgExp"] != null)) { - base.Tables.Add(new v_mtzProgExpDataTable(ds.Tables["v_mtzProgExp"])); - } if ((ds.Tables["MtzProgPending"] != null)) { base.Tables.Add(new MtzProgPendingDataTable(ds.Tables["MtzProgPending"])); } @@ -543,6 +540,9 @@ namespace GIM_data { if ((ds.Tables["AnagrOperMtz"] != null)) { base.Tables.Add(new AnagrOperMtzDataTable(ds.Tables["AnagrOperMtz"])); } + if ((ds.Tables["v_mtzProgExp"] != null)) { + base.Tables.Add(new v_mtzProgExpDataTable(ds.Tables["v_mtzProgExp"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -642,12 +642,6 @@ namespace GIM_data { this.tableInterventoOpMtz.InitVars(); } } - this.tablev_mtzProgExp = ((v_mtzProgExpDataTable)(base.Tables["v_mtzProgExp"])); - if ((initTable == true)) { - if ((this.tablev_mtzProgExp != null)) { - this.tablev_mtzProgExp.InitVars(); - } - } this.tableMtzProgPending = ((MtzProgPendingDataTable)(base.Tables["MtzProgPending"])); if ((initTable == true)) { if ((this.tableMtzProgPending != null)) { @@ -702,6 +696,12 @@ namespace GIM_data { this.tableAnagrOperMtz.InitVars(); } } + this.tablev_mtzProgExp = ((v_mtzProgExpDataTable)(base.Tables["v_mtzProgExp"])); + if ((initTable == true)) { + if ((this.tablev_mtzProgExp != null)) { + this.tablev_mtzProgExp.InitVars(); + } + } this.relationFK_AnagMacchine_AnagImpianti = this.Relations["FK_AnagMacchine_AnagImpianti"]; this.relationMacchine2FamMacchine_v_macchine = this.Relations["Macchine2FamMacchine_v_macchine"]; this.relationAnagFamMacchine_v_selFamMacc = this.Relations["AnagFamMacchine_v_selFamMacc"]; @@ -748,8 +748,6 @@ namespace GIM_data { base.Tables.Add(this.tableAnagStati); this.tableInterventoOpMtz = new InterventoOpMtzDataTable(); base.Tables.Add(this.tableInterventoOpMtz); - this.tablev_mtzProgExp = new v_mtzProgExpDataTable(); - base.Tables.Add(this.tablev_mtzProgExp); this.tableMtzProgPending = new MtzProgPendingDataTable(); base.Tables.Add(this.tableMtzProgPending); this.tableMtzProgrammata = new MtzProgrammataDataTable(); @@ -768,6 +766,8 @@ namespace GIM_data { base.Tables.Add(this.tableAnagCausali); this.tableAnagrOperMtz = new AnagrOperMtzDataTable(); base.Tables.Add(this.tableAnagrOperMtz); + this.tablev_mtzProgExp = new v_mtzProgExpDataTable(); + base.Tables.Add(this.tablev_mtzProgExp); this.relationFK_AnagMacchine_AnagImpianti = new global::System.Data.DataRelation("FK_AnagMacchine_AnagImpianti", new global::System.Data.DataColumn[] { this.tableAnagImpianti.idxImpiantoColumn}, new global::System.Data.DataColumn[] { this.tablev_macchine.idxImpiantoColumn}, false); @@ -892,12 +892,6 @@ namespace GIM_data { return false; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializev_mtzProgExp() { - return false; - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeMtzProgPending() { @@ -952,6 +946,12 @@ namespace GIM_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_mtzProgExp() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -1040,9 +1040,6 @@ namespace GIM_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void InterventoOpMtzRowChangeEventHandler(object sender, InterventoOpMtzRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void v_mtzProgExpRowChangeEventHandler(object sender, v_mtzProgExpRowChangeEvent e); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void MtzProgPendingRowChangeEventHandler(object sender, MtzProgPendingRowChangeEvent e); @@ -1070,6 +1067,9 @@ namespace GIM_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void AnagrOperMtzRowChangeEventHandler(object sender, AnagrOperMtzRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_mtzProgExpRowChangeEventHandler(object sender, v_mtzProgExpRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -4836,457 +4836,6 @@ namespace GIM_data { } } - /// - ///Represents the strongly named DataTable class. - /// - [global::System.Serializable()] - [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class v_mtzProgExpDataTable : global::System.Data.TypedTableBase { - - private global::System.Data.DataColumn columnidxIntPro; - - private global::System.Data.DataColumn columnidxMacchina; - - private global::System.Data.DataColumn columninizio; - - private global::System.Data.DataColumn columncodFrequenza; - - private global::System.Data.DataColumn columncadenza; - - private global::System.Data.DataColumn columndescrizione; - - private global::System.Data.DataColumn columnidxPriorita; - - private global::System.Data.DataColumn columnisFermo; - - private global::System.Data.DataColumn columnidxTipo; - - private global::System.Data.DataColumn columncodMacchina; - - private global::System.Data.DataColumn columnnomeMacchina; - - private global::System.Data.DataColumn columnfrequenza; - - private global::System.Data.DataColumn columndescrPriorita; - - private global::System.Data.DataColumn columndescrTipo; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_mtzProgExpDataTable() { - this.TableName = "v_mtzProgExp"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_mtzProgExpDataTable(global::System.Data.DataTable table) { - this.TableName = table.TableName; - if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { - this.CaseSensitive = table.CaseSensitive; - } - if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { - this.Locale = table.Locale; - } - 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", "4.0.0.0")] - protected v_mtzProgExpDataTable(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", "4.0.0.0")] - public global::System.Data.DataColumn idxIntProColumn { - get { - return this.columnidxIntPro; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn idxMacchinaColumn { - get { - return this.columnidxMacchina; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn inizioColumn { - get { - return this.columninizio; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn codFrequenzaColumn { - get { - return this.columncodFrequenza; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn cadenzaColumn { - get { - return this.columncadenza; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn descrizioneColumn { - get { - return this.columndescrizione; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn idxPrioritaColumn { - get { - return this.columnidxPriorita; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn isFermoColumn { - get { - return this.columnisFermo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn idxTipoColumn { - get { - return this.columnidxTipo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn codMacchinaColumn { - get { - return this.columncodMacchina; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn nomeMacchinaColumn { - get { - return this.columnnomeMacchina; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn frequenzaColumn { - get { - return this.columnfrequenza; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn descrPrioritaColumn { - get { - return this.columndescrPriorita; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn descrTipoColumn { - get { - return this.columndescrTipo; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Browsable(false)] - public int Count { - get { - return this.Rows.Count; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_mtzProgExpRow this[int index] { - get { - return ((v_mtzProgExpRow)(this.Rows[index])); - } - } - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowChanging; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowChanged; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowDeleting; - - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Addv_mtzProgExpRow(v_mtzProgExpRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_mtzProgExpRow Addv_mtzProgExpRow(int idxMacchina, System.DateTime inizio, string codFrequenza, int cadenza, string descrizione, int idxPriorita, bool isFermo, int idxTipo, string codMacchina, string nomeMacchina, string frequenza, string descrPriorita, string descrTipo) { - v_mtzProgExpRow rowv_mtzProgExpRow = ((v_mtzProgExpRow)(this.NewRow())); - object[] columnValuesArray = new object[] { - null, - idxMacchina, - inizio, - codFrequenza, - cadenza, - descrizione, - idxPriorita, - isFermo, - idxTipo, - codMacchina, - nomeMacchina, - frequenza, - descrPriorita, - descrTipo}; - rowv_mtzProgExpRow.ItemArray = columnValuesArray; - this.Rows.Add(rowv_mtzProgExpRow); - return rowv_mtzProgExpRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_mtzProgExpRow FindByidxIntPro(int idxIntPro) { - return ((v_mtzProgExpRow)(this.Rows.Find(new object[] { - idxIntPro}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public override global::System.Data.DataTable Clone() { - v_mtzProgExpDataTable cln = ((v_mtzProgExpDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataTable CreateInstance() { - return new v_mtzProgExpDataTable(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal void InitVars() { - this.columnidxIntPro = base.Columns["idxIntPro"]; - this.columnidxMacchina = base.Columns["idxMacchina"]; - this.columninizio = base.Columns["inizio"]; - this.columncodFrequenza = base.Columns["codFrequenza"]; - this.columncadenza = base.Columns["cadenza"]; - this.columndescrizione = base.Columns["descrizione"]; - this.columnidxPriorita = base.Columns["idxPriorita"]; - this.columnisFermo = base.Columns["isFermo"]; - this.columnidxTipo = base.Columns["idxTipo"]; - this.columncodMacchina = base.Columns["codMacchina"]; - this.columnnomeMacchina = base.Columns["nomeMacchina"]; - this.columnfrequenza = base.Columns["frequenza"]; - this.columndescrPriorita = base.Columns["descrPriorita"]; - this.columndescrTipo = base.Columns["descrTipo"]; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitClass() { - this.columnidxIntPro = new global::System.Data.DataColumn("idxIntPro", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnidxIntPro); - this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnidxMacchina); - this.columninizio = new global::System.Data.DataColumn("inizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columninizio); - this.columncodFrequenza = new global::System.Data.DataColumn("codFrequenza", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncodFrequenza); - this.columncadenza = new global::System.Data.DataColumn("cadenza", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncadenza); - this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columndescrizione); - this.columnidxPriorita = new global::System.Data.DataColumn("idxPriorita", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnidxPriorita); - this.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnisFermo); - this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnidxTipo); - this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columncodMacchina); - this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnnomeMacchina); - this.columnfrequenza = new global::System.Data.DataColumn("frequenza", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnfrequenza); - this.columndescrPriorita = new global::System.Data.DataColumn("descrPriorita", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columndescrPriorita); - this.columndescrTipo = new global::System.Data.DataColumn("descrTipo", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columndescrTipo); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnidxIntPro}, true)); - this.columnidxIntPro.AutoIncrement = true; - this.columnidxIntPro.AutoIncrementSeed = -1; - this.columnidxIntPro.AutoIncrementStep = -1; - this.columnidxIntPro.AllowDBNull = false; - this.columnidxIntPro.ReadOnly = true; - this.columnidxIntPro.Unique = true; - this.columncodFrequenza.MaxLength = 2; - this.columndescrizione.MaxLength = 2500; - this.columncodMacchina.MaxLength = 50; - this.columnnomeMacchina.MaxLength = 250; - this.columnfrequenza.MaxLength = 50; - this.columndescrPriorita.MaxLength = 50; - this.columndescrTipo.MaxLength = 50; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_mtzProgExpRow Newv_mtzProgExpRow() { - return ((v_mtzProgExpRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new v_mtzProgExpRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override global::System.Type GetRowType() { - return typeof(v_mtzProgExpRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.v_mtzProgExpRowChanged != null)) { - this.v_mtzProgExpRowChanged(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.v_mtzProgExpRowChanging != null)) { - this.v_mtzProgExpRowChanging(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.v_mtzProgExpRowDeleted != null)) { - this.v_mtzProgExpRowDeleted(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.v_mtzProgExpRowDeleting != null)) { - this.v_mtzProgExpRowDeleting(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void Removev_mtzProgExpRow(v_mtzProgExpRow row) { - this.Rows.Remove(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - 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_applicazione ds = new DS_applicazione(); - global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); - any1.Namespace = "http://www.w3.org/2001/XMLSchema"; - any1.MinOccurs = new decimal(0); - any1.MaxOccurs = decimal.MaxValue; - any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any1); - global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); - any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; - any2.MinOccurs = new decimal(1); - any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; - sequence.Items.Add(any2); - global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute1.Name = "namespace"; - attribute1.FixedValue = ds.Namespace; - type.Attributes.Add(attribute1); - global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); - attribute2.Name = "tableTypeName"; - attribute2.FixedValue = "v_mtzProgExpDataTable"; - type.Attributes.Add(attribute2); - type.Particle = sequence; - global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - 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 { - global::System.Xml.Schema.XmlSchema schema = null; - dsSchema.Write(s1); - 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)) { - s1.Position = 0; - s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { - ; - } - if ((s1.Position == s1.Length)) { - return type; - } - } - } - } - finally { - if ((s1 != null)) { - s1.Close(); - } - if ((s2 != null)) { - s2.Close(); - } - } - } - xs.Add(dsSchema); - return type; - } - } - /// ///Represents the strongly named DataTable class. /// @@ -8020,6 +7569,499 @@ namespace GIM_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_mtzProgExpDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxIntPro; + + private global::System.Data.DataColumn columnidxMacchina; + + private global::System.Data.DataColumn columncodImpianto; + + private global::System.Data.DataColumn columnnomeImpianto; + + private global::System.Data.DataColumn columncodMacchina; + + private global::System.Data.DataColumn columnnomeMacchina; + + private global::System.Data.DataColumn columninizio; + + private global::System.Data.DataColumn columncodFrequenza; + + private global::System.Data.DataColumn columnfrequenza; + + private global::System.Data.DataColumn columncadenza; + + private global::System.Data.DataColumn columndescrizione; + + private global::System.Data.DataColumn columnidxPriorita; + + private global::System.Data.DataColumn columndescrPriorita; + + private global::System.Data.DataColumn columnisFermo; + + private global::System.Data.DataColumn columnidxTipo; + + private global::System.Data.DataColumn columndescrTipo; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_mtzProgExpDataTable() { + this.TableName = "v_mtzProgExp"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_mtzProgExpDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + 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", "4.0.0.0")] + protected v_mtzProgExpDataTable(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", "4.0.0.0")] + public global::System.Data.DataColumn idxIntProColumn { + get { + return this.columnidxIntPro; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxMacchinaColumn { + get { + return this.columnidxMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codImpiantoColumn { + get { + return this.columncodImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeImpiantoColumn { + get { + return this.columnnomeImpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codMacchinaColumn { + get { + return this.columncodMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nomeMacchinaColumn { + get { + return this.columnnomeMacchina; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn inizioColumn { + get { + return this.columninizio; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn codFrequenzaColumn { + get { + return this.columncodFrequenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn frequenzaColumn { + get { + return this.columnfrequenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn cadenzaColumn { + get { + return this.columncadenza; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descrizioneColumn { + get { + return this.columndescrizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxPrioritaColumn { + get { + return this.columnidxPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descrPrioritaColumn { + get { + return this.columndescrPriorita; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn isFermoColumn { + get { + return this.columnisFermo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxTipoColumn { + get { + return this.columnidxTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn descrTipoColumn { + get { + return this.columndescrTipo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_mtzProgExpRow this[int index] { + get { + return ((v_mtzProgExpRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_mtzProgExpRowChangeEventHandler v_mtzProgExpRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_mtzProgExpRow(v_mtzProgExpRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_mtzProgExpRow Addv_mtzProgExpRow( + int idxIntPro, + int idxMacchina, + string codImpianto, + string nomeImpianto, + string codMacchina, + string nomeMacchina, + System.DateTime inizio, + string codFrequenza, + string frequenza, + int cadenza, + string descrizione, + int idxPriorita, + string descrPriorita, + bool isFermo, + int idxTipo, + string descrTipo) { + v_mtzProgExpRow rowv_mtzProgExpRow = ((v_mtzProgExpRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxIntPro, + idxMacchina, + codImpianto, + nomeImpianto, + codMacchina, + nomeMacchina, + inizio, + codFrequenza, + frequenza, + cadenza, + descrizione, + idxPriorita, + descrPriorita, + isFermo, + idxTipo, + descrTipo}; + rowv_mtzProgExpRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_mtzProgExpRow); + return rowv_mtzProgExpRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_mtzProgExpRow FindByidxIntPro(int idxIntPro) { + return ((v_mtzProgExpRow)(this.Rows.Find(new object[] { + idxIntPro}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_mtzProgExpDataTable cln = ((v_mtzProgExpDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new v_mtzProgExpDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidxIntPro = base.Columns["idxIntPro"]; + this.columnidxMacchina = base.Columns["idxMacchina"]; + this.columncodImpianto = base.Columns["codImpianto"]; + this.columnnomeImpianto = base.Columns["nomeImpianto"]; + this.columncodMacchina = base.Columns["codMacchina"]; + this.columnnomeMacchina = base.Columns["nomeMacchina"]; + this.columninizio = base.Columns["inizio"]; + this.columncodFrequenza = base.Columns["codFrequenza"]; + this.columnfrequenza = base.Columns["frequenza"]; + this.columncadenza = base.Columns["cadenza"]; + this.columndescrizione = base.Columns["descrizione"]; + this.columnidxPriorita = base.Columns["idxPriorita"]; + this.columndescrPriorita = base.Columns["descrPriorita"]; + this.columnisFermo = base.Columns["isFermo"]; + this.columnidxTipo = base.Columns["idxTipo"]; + this.columndescrTipo = base.Columns["descrTipo"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidxIntPro = new global::System.Data.DataColumn("idxIntPro", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxIntPro); + this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxMacchina); + this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodImpianto); + this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeImpianto); + this.columncodMacchina = new global::System.Data.DataColumn("codMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodMacchina); + this.columnnomeMacchina = new global::System.Data.DataColumn("nomeMacchina", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnomeMacchina); + this.columninizio = new global::System.Data.DataColumn("inizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columninizio); + this.columncodFrequenza = new global::System.Data.DataColumn("codFrequenza", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodFrequenza); + this.columnfrequenza = new global::System.Data.DataColumn("frequenza", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfrequenza); + this.columncadenza = new global::System.Data.DataColumn("cadenza", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncadenza); + this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrizione); + this.columnidxPriorita = new global::System.Data.DataColumn("idxPriorita", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxPriorita); + this.columndescrPriorita = new global::System.Data.DataColumn("descrPriorita", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrPriorita); + this.columnisFermo = new global::System.Data.DataColumn("isFermo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisFermo); + this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxTipo); + this.columndescrTipo = new global::System.Data.DataColumn("descrTipo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescrTipo); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxIntPro}, true)); + this.columnidxIntPro.AllowDBNull = false; + this.columnidxIntPro.Unique = true; + this.columncodImpianto.MaxLength = 50; + this.columnnomeImpianto.MaxLength = 50; + this.columncodMacchina.MaxLength = 50; + this.columnnomeMacchina.MaxLength = 250; + this.columncodFrequenza.MaxLength = 2; + this.columnfrequenza.MaxLength = 50; + this.columndescrizione.MaxLength = 2500; + this.columndescrPriorita.MaxLength = 50; + this.columndescrTipo.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_mtzProgExpRow Newv_mtzProgExpRow() { + return ((v_mtzProgExpRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_mtzProgExpRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(v_mtzProgExpRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.v_mtzProgExpRowChanged != null)) { + this.v_mtzProgExpRowChanged(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.v_mtzProgExpRowChanging != null)) { + this.v_mtzProgExpRowChanging(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.v_mtzProgExpRowDeleted != null)) { + this.v_mtzProgExpRowDeleted(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.v_mtzProgExpRowDeleting != null)) { + this.v_mtzProgExpRowDeleting(this, new v_mtzProgExpRowChangeEvent(((v_mtzProgExpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_mtzProgExpRow(v_mtzProgExpRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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_applicazione ds = new DS_applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "v_mtzProgExpDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + 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 { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + 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)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -9861,396 +9903,6 @@ namespace GIM_data { } } - /// - ///Represents strongly named DataRow class. - /// - public partial class v_mtzProgExpRow : global::System.Data.DataRow { - - private v_mtzProgExpDataTable tablev_mtzProgExp; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal v_mtzProgExpRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablev_mtzProgExp = ((v_mtzProgExpDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int idxIntPro { - get { - return ((int)(this[this.tablev_mtzProgExp.idxIntProColumn])); - } - set { - this[this.tablev_mtzProgExp.idxIntProColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int idxMacchina { - get { - try { - return ((int)(this[this.tablev_mtzProgExp.idxMacchinaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.idxMacchinaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime inizio { - get { - try { - return ((global::System.DateTime)(this[this.tablev_mtzProgExp.inizioColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'inizio\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.inizioColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string codFrequenza { - get { - try { - return ((string)(this[this.tablev_mtzProgExp.codFrequenzaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codFrequenza\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.codFrequenzaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int cadenza { - get { - try { - return ((int)(this[this.tablev_mtzProgExp.cadenzaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cadenza\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.cadenzaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string descrizione { - get { - try { - return ((string)(this[this.tablev_mtzProgExp.descrizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.descrizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int idxPriorita { - get { - try { - return ((int)(this[this.tablev_mtzProgExp.idxPrioritaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'idxPriorita\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.idxPrioritaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool isFermo { - get { - try { - return ((bool)(this[this.tablev_mtzProgExp.isFermoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'isFermo\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.isFermoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public int idxTipo { - get { - try { - return ((int)(this[this.tablev_mtzProgExp.idxTipoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'idxTipo\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.idxTipoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string codMacchina { - get { - try { - return ((string)(this[this.tablev_mtzProgExp.codMacchinaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.codMacchinaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string nomeMacchina { - get { - try { - return ((string)(this[this.tablev_mtzProgExp.nomeMacchinaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.nomeMacchinaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string frequenza { - get { - try { - return ((string)(this[this.tablev_mtzProgExp.frequenzaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'frequenza\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.frequenzaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string descrPriorita { - get { - try { - return ((string)(this[this.tablev_mtzProgExp.descrPrioritaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descrPriorita\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.descrPrioritaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public string descrTipo { - get { - try { - return ((string)(this[this.tablev_mtzProgExp.descrTipoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descrTipo\' in table \'v_mtzProgExp\' is DBNull.", e); - } - } - set { - this[this.tablev_mtzProgExp.descrTipoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsidxMacchinaNull() { - return this.IsNull(this.tablev_mtzProgExp.idxMacchinaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetidxMacchinaNull() { - this[this.tablev_mtzProgExp.idxMacchinaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsinizioNull() { - return this.IsNull(this.tablev_mtzProgExp.inizioColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetinizioNull() { - this[this.tablev_mtzProgExp.inizioColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscodFrequenzaNull() { - return this.IsNull(this.tablev_mtzProgExp.codFrequenzaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcodFrequenzaNull() { - this[this.tablev_mtzProgExp.codFrequenzaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscadenzaNull() { - return this.IsNull(this.tablev_mtzProgExp.cadenzaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcadenzaNull() { - this[this.tablev_mtzProgExp.cadenzaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsdescrizioneNull() { - return this.IsNull(this.tablev_mtzProgExp.descrizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetdescrizioneNull() { - this[this.tablev_mtzProgExp.descrizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsidxPrioritaNull() { - return this.IsNull(this.tablev_mtzProgExp.idxPrioritaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetidxPrioritaNull() { - this[this.tablev_mtzProgExp.idxPrioritaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsisFermoNull() { - return this.IsNull(this.tablev_mtzProgExp.isFermoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetisFermoNull() { - this[this.tablev_mtzProgExp.isFermoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsidxTipoNull() { - return this.IsNull(this.tablev_mtzProgExp.idxTipoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetidxTipoNull() { - this[this.tablev_mtzProgExp.idxTipoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IscodMacchinaNull() { - return this.IsNull(this.tablev_mtzProgExp.codMacchinaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetcodMacchinaNull() { - this[this.tablev_mtzProgExp.codMacchinaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsnomeMacchinaNull() { - return this.IsNull(this.tablev_mtzProgExp.nomeMacchinaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetnomeMacchinaNull() { - this[this.tablev_mtzProgExp.nomeMacchinaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsfrequenzaNull() { - return this.IsNull(this.tablev_mtzProgExp.frequenzaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetfrequenzaNull() { - this[this.tablev_mtzProgExp.frequenzaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsdescrPrioritaNull() { - return this.IsNull(this.tablev_mtzProgExp.descrPrioritaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetdescrPrioritaNull() { - this[this.tablev_mtzProgExp.descrPrioritaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsdescrTipoNull() { - return this.IsNull(this.tablev_mtzProgExp.descrTipoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void SetdescrTipoNull() { - this[this.tablev_mtzProgExp.descrTipoColumn] = global::System.Convert.DBNull; - } - } - /// ///Represents strongly named DataRow class. /// @@ -11205,6 +10857,452 @@ namespace GIM_data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class v_mtzProgExpRow : global::System.Data.DataRow { + + private v_mtzProgExpDataTable tablev_mtzProgExp; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_mtzProgExpRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_mtzProgExp = ((v_mtzProgExpDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxIntPro { + get { + return ((int)(this[this.tablev_mtzProgExp.idxIntProColumn])); + } + set { + this[this.tablev_mtzProgExp.idxIntProColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxMacchina { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.idxMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.idxMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codImpianto { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.codImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codImpianto\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.codImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nomeImpianto { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.nomeImpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeImpianto\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.nomeImpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codMacchina { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.codMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.codMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nomeMacchina { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.nomeMacchinaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nomeMacchina\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.nomeMacchinaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime inizio { + get { + try { + return ((global::System.DateTime)(this[this.tablev_mtzProgExp.inizioColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'inizio\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.inizioColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string codFrequenza { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.codFrequenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codFrequenza\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.codFrequenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string frequenza { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.frequenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'frequenza\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.frequenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int cadenza { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.cadenzaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cadenza\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.cadenzaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descrizione { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.descrizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.descrizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxPriorita { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.idxPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxPriorita\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.idxPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descrPriorita { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.descrPrioritaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrPriorita\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.descrPrioritaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool isFermo { + get { + try { + return ((bool)(this[this.tablev_mtzProgExp.isFermoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isFermo\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.isFermoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxTipo { + get { + try { + return ((int)(this[this.tablev_mtzProgExp.idxTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxTipo\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.idxTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string descrTipo { + get { + try { + return ((string)(this[this.tablev_mtzProgExp.descrTipoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descrTipo\' in table \'v_mtzProgExp\' is DBNull.", e); + } + } + set { + this[this.tablev_mtzProgExp.descrTipoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxMacchinaNull() { + return this.IsNull(this.tablev_mtzProgExp.idxMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxMacchinaNull() { + this[this.tablev_mtzProgExp.idxMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodImpiantoNull() { + return this.IsNull(this.tablev_mtzProgExp.codImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodImpiantoNull() { + this[this.tablev_mtzProgExp.codImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeImpiantoNull() { + return this.IsNull(this.tablev_mtzProgExp.nomeImpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeImpiantoNull() { + this[this.tablev_mtzProgExp.nomeImpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodMacchinaNull() { + return this.IsNull(this.tablev_mtzProgExp.codMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodMacchinaNull() { + this[this.tablev_mtzProgExp.codMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnomeMacchinaNull() { + return this.IsNull(this.tablev_mtzProgExp.nomeMacchinaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnomeMacchinaNull() { + this[this.tablev_mtzProgExp.nomeMacchinaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsinizioNull() { + return this.IsNull(this.tablev_mtzProgExp.inizioColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetinizioNull() { + this[this.tablev_mtzProgExp.inizioColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscodFrequenzaNull() { + return this.IsNull(this.tablev_mtzProgExp.codFrequenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcodFrequenzaNull() { + this[this.tablev_mtzProgExp.codFrequenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsfrequenzaNull() { + return this.IsNull(this.tablev_mtzProgExp.frequenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetfrequenzaNull() { + this[this.tablev_mtzProgExp.frequenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IscadenzaNull() { + return this.IsNull(this.tablev_mtzProgExp.cadenzaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetcadenzaNull() { + this[this.tablev_mtzProgExp.cadenzaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescrizioneNull() { + return this.IsNull(this.tablev_mtzProgExp.descrizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescrizioneNull() { + this[this.tablev_mtzProgExp.descrizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxPrioritaNull() { + return this.IsNull(this.tablev_mtzProgExp.idxPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxPrioritaNull() { + this[this.tablev_mtzProgExp.idxPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescrPrioritaNull() { + return this.IsNull(this.tablev_mtzProgExp.descrPrioritaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescrPrioritaNull() { + this[this.tablev_mtzProgExp.descrPrioritaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsisFermoNull() { + return this.IsNull(this.tablev_mtzProgExp.isFermoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetisFermoNull() { + this[this.tablev_mtzProgExp.isFermoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxTipoNull() { + return this.IsNull(this.tablev_mtzProgExp.idxTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxTipoNull() { + this[this.tablev_mtzProgExp.idxTipoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsdescrTipoNull() { + return this.IsNull(this.tablev_mtzProgExp.descrTipoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetdescrTipoNull() { + this[this.tablev_mtzProgExp.descrTipoColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -11579,40 +11677,6 @@ namespace GIM_data { } } - /// - ///Row event argument class - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class v_mtzProgExpRowChangeEvent : global::System.EventArgs { - - private v_mtzProgExpRow eventRow; - - private global::System.Data.DataRowAction eventAction; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_mtzProgExpRowChangeEvent(v_mtzProgExpRow 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", "4.0.0.0")] - public v_mtzProgExpRow Row { - get { - return this.eventRow; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataRowAction Action { - get { - return this.eventAction; - } - } - } - /// ///Row event argument class /// @@ -11918,6 +11982,40 @@ namespace GIM_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_mtzProgExpRowChangeEvent : global::System.EventArgs { + + private v_mtzProgExpRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_mtzProgExpRowChangeEvent(v_mtzProgExpRow 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", "4.0.0.0")] + public v_mtzProgExpRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GIM_data.DS_applicazioneTableAdapters { @@ -16164,277 +16262,6 @@ ORDER BY numIntMtz DESC"; } } - /// - ///Represents the connection and commands used to retrieve and save data. - /// - [global::System.ComponentModel.DesignerCategoryAttribute("code")] - [global::System.ComponentModel.ToolboxItem(true)] - [global::System.ComponentModel.DataObjectAttribute(true)] - [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 v_mtzProgExpTableAdapter : global::System.ComponentModel.Component { - - private global::System.Data.SqlClient.SqlDataAdapter _adapter; - - private global::System.Data.SqlClient.SqlConnection _connection; - - private global::System.Data.SqlClient.SqlCommand[] _commandCollection; - - private bool _clearBeforeFill; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public v_mtzProgExpTableAdapter() { - this.ClearBeforeFill = true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private 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", "4.0.0.0")] - internal global::System.Data.SqlClient.SqlConnection Connection { - get { - if ((this._connection == null)) { - this.InitConnection(); - } - return this._connection; - } - set { - this._connection = value; - if ((this.Adapter.InsertCommand != null)) { - this.Adapter.InsertCommand.Connection = value; - } - if ((this.Adapter.DeleteCommand != null)) { - this.Adapter.DeleteCommand.Connection = value; - } - 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)) { - ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; - } - } - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - 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", "4.0.0.0")] - public bool ClearBeforeFill { - get { - return this._clearBeforeFill; - } - set { - this._clearBeforeFill = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - 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"; - tableMapping.DataSetTable = "v_mtzProgExp"; - tableMapping.ColumnMappings.Add("idxIntPro", "idxIntPro"); - tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); - tableMapping.ColumnMappings.Add("inizio", "inizio"); - tableMapping.ColumnMappings.Add("codFrequenza", "codFrequenza"); - tableMapping.ColumnMappings.Add("cadenza", "cadenza"); - tableMapping.ColumnMappings.Add("descrizione", "descrizione"); - tableMapping.ColumnMappings.Add("idxPriorita", "idxPriorita"); - tableMapping.ColumnMappings.Add("isFermo", "isFermo"); - tableMapping.ColumnMappings.Add("idxTipo", "idxTipo"); - tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); - tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); - tableMapping.ColumnMappings.Add("frequenza", "frequenza"); - tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita"); - tableMapping.ColumnMappings.Add("descrTipo", "descrTipo"); - this._adapter.TableMappings.Add(tableMapping); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private void InitConnection() { - this._connection = new global::System.Data.SqlClient.SqlConnection(); - this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - 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; - this._commandCollection[0].CommandText = "SELECT idxIntPro, idxMacchina, codMacchina, nomeMacchina, inizio, codFrequenz" + - "a, frequenza, cadenza, descrizione, idxPriorita, descrPriorita, isFermo, idxTipo" + - ", \r\n descrTipo\r\nFROM v_mtzProgExp"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[1].Connection = this.Connection; - this._commandCollection[1].CommandText = "dbo.stp_MtzProg_delete"; - this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); - this._commandCollection[2].Connection = this.Connection; - this._commandCollection[2].CommandText = "dbo.stp_MtzProg_insert"; - this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 2, 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("@cadenza", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 2500, 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("@idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", 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", "4.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_applicazione.v_mtzProgExpDataTable dataTable) { - this.Adapter.SelectCommand = this.CommandCollection[0]; - 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", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual DS_applicazione.v_mtzProgExpDataTable GetData() { - this.Adapter.SelectCommand = this.CommandCollection[0]; - DS_applicazione.v_mtzProgExpDataTable dataTable = new DS_applicazione.v_mtzProgExpDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int deleteQuery(global::System.Nullable Original_idxIntPro) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; - if ((Original_idxIntPro.HasValue == true)) { - command.Parameters[1].Value = ((int)(Original_idxIntPro.Value)); - } - 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)) { - command.Connection.Open(); - } - int returnValue; - try { - returnValue = command.ExecuteNonQuery(); - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - command.Connection.Close(); - } - } - return returnValue; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int insertQuery(global::System.Nullable idxMacchina, global::System.Nullable inizio, string codFrequenza, global::System.Nullable cadenza, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; - if ((idxMacchina.HasValue == true)) { - command.Parameters[1].Value = ((int)(idxMacchina.Value)); - } - else { - command.Parameters[1].Value = global::System.DBNull.Value; - } - if ((inizio.HasValue == true)) { - command.Parameters[2].Value = ((System.DateTime)(inizio.Value)); - } - else { - command.Parameters[2].Value = global::System.DBNull.Value; - } - if ((codFrequenza == null)) { - command.Parameters[3].Value = global::System.DBNull.Value; - } - else { - command.Parameters[3].Value = ((string)(codFrequenza)); - } - if ((cadenza.HasValue == true)) { - command.Parameters[4].Value = ((int)(cadenza.Value)); - } - else { - command.Parameters[4].Value = global::System.DBNull.Value; - } - if ((descrizione == null)) { - command.Parameters[5].Value = global::System.DBNull.Value; - } - else { - command.Parameters[5].Value = ((string)(descrizione)); - } - if ((idxPriorita.HasValue == true)) { - command.Parameters[6].Value = ((int)(idxPriorita.Value)); - } - else { - command.Parameters[6].Value = global::System.DBNull.Value; - } - if ((isFermo.HasValue == true)) { - command.Parameters[7].Value = ((bool)(isFermo.Value)); - } - else { - command.Parameters[7].Value = global::System.DBNull.Value; - } - if ((idxTipo.HasValue == true)) { - command.Parameters[8].Value = ((int)(idxTipo.Value)); - } - 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)) { - command.Connection.Open(); - } - int returnValue; - try { - returnValue = command.ExecuteNonQuery(); - } - finally { - if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { - command.Connection.Close(); - } - } - return returnValue; - } - } - /// ///Represents the connection and commands used to retrieve and save data. /// @@ -19624,6 +19451,279 @@ ORDER BY numIntMtz DESC"; return this.Update(Original_matrOp, Cognome, Nome, Original_matrOp); } } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [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 v_mtzProgExpTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_mtzProgExpTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private 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", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + 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)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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"; + tableMapping.DataSetTable = "v_mtzProgExp"; + tableMapping.ColumnMappings.Add("idxIntPro", "idxIntPro"); + tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina"); + tableMapping.ColumnMappings.Add("codImpianto", "codImpianto"); + tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto"); + tableMapping.ColumnMappings.Add("codMacchina", "codMacchina"); + tableMapping.ColumnMappings.Add("nomeMacchina", "nomeMacchina"); + tableMapping.ColumnMappings.Add("inizio", "inizio"); + tableMapping.ColumnMappings.Add("codFrequenza", "codFrequenza"); + tableMapping.ColumnMappings.Add("frequenza", "frequenza"); + tableMapping.ColumnMappings.Add("cadenza", "cadenza"); + tableMapping.ColumnMappings.Add("descrizione", "descrizione"); + tableMapping.ColumnMappings.Add("idxPriorita", "idxPriorita"); + tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita"); + tableMapping.ColumnMappings.Add("isFermo", "isFermo"); + tableMapping.ColumnMappings.Add("idxTipo", "idxTipo"); + tableMapping.ColumnMappings.Add("descrTipo", "descrTipo"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["GIMConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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; + this._commandCollection[0].CommandText = "SELECT idxIntPro, idxMacchina, codImpianto, nomeImpianto, codMacchina, nomeMacchi" + + "na, inizio, codFrequenza, frequenza, cadenza, descrizione, idxPriorita, descrPri" + + "orita, isFermo, idxTipo, descrTipo FROM dbo.v_mtzProgExp"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_MtzProg_delete"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_MtzProg_insert"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 2, 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("@cadenza", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 2500, 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("@idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", 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", "4.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_applicazione.v_mtzProgExpDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + 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", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_applicazione.v_mtzProgExpDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_applicazione.v_mtzProgExpDataTable dataTable = new DS_applicazione.v_mtzProgExpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int deleteQuery(global::System.Nullable Original_idxIntPro) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_idxIntPro.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_idxIntPro.Value)); + } + 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)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int insertQuery(global::System.Nullable idxMacchina, global::System.Nullable inizio, string codFrequenza, global::System.Nullable cadenza, string descrizione, global::System.Nullable idxPriorita, global::System.Nullable isFermo, global::System.Nullable idxTipo) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((idxMacchina.HasValue == true)) { + command.Parameters[1].Value = ((int)(idxMacchina.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((inizio.HasValue == true)) { + command.Parameters[2].Value = ((System.DateTime)(inizio.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((codFrequenza == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(codFrequenza)); + } + if ((cadenza.HasValue == true)) { + command.Parameters[4].Value = ((int)(cadenza.Value)); + } + else { + command.Parameters[4].Value = global::System.DBNull.Value; + } + if ((descrizione == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(descrizione)); + } + if ((idxPriorita.HasValue == true)) { + command.Parameters[6].Value = ((int)(idxPriorita.Value)); + } + else { + command.Parameters[6].Value = global::System.DBNull.Value; + } + if ((isFermo.HasValue == true)) { + command.Parameters[7].Value = ((bool)(isFermo.Value)); + } + else { + command.Parameters[7].Value = global::System.DBNull.Value; + } + if ((idxTipo.HasValue == true)) { + command.Parameters[8].Value = ((int)(idxTipo.Value)); + } + 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)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } } #pragma warning restore 1591 \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.xsd b/Projects/WebGIM/GIM_data/DS_applicazione.xsd index ae74122..c697663 100644 --- a/Projects/WebGIM/GIM_data/DS_applicazione.xsd +++ b/Projects/WebGIM/GIM_data/DS_applicazione.xsd @@ -909,67 +909,6 @@ WHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_matrOp) - - - - - - SELECT idxIntPro, idxMacchina, codMacchina, nomeMacchina, inizio, codFrequenza, frequenza, cadenza, descrizione, idxPriorita, descrPriorita, isFermo, idxTipo, - descrTipo -FROM v_mtzProgExp - - - - - - - - - - - - - - - - - - - - - - - - - - dbo.stp_MtzProg_delete - - - - - - - - - - - dbo.stp_MtzProg_insert - - - - - - - - - - - - - - - - @@ -1563,6 +1502,67 @@ WHERE (idxCausale = @Original_idxCausale) + + + + + + SELECT idxIntPro, idxMacchina, codImpianto, nomeImpianto, codMacchina, nomeMacchina, inizio, codFrequenza, frequenza, cadenza, descrizione, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo FROM dbo.v_mtzProgExp + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_MtzProg_delete + + + + + + + + + + + dbo.stp_MtzProg_insert + + + + + + + + + + + + + + + + @@ -1885,68 +1885,6 @@ WHERE (idxCausale = @Original_idxCausale) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2108,6 +2046,82 @@ WHERE (idxCausale = @Original_idxCausale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2156,10 +2170,6 @@ WHERE (idxCausale = @Original_idxCausale) - - - - @@ -2199,23 +2209,27 @@ WHERE (idxCausale = @Original_idxCausale) + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Projects/WebGIM/GIM_data/DS_applicazione.xss b/Projects/WebGIM/GIM_data/DS_applicazione.xss index de0307b..4d6ed22 100644 --- a/Projects/WebGIM/GIM_data/DS_applicazione.xss +++ b/Projects/WebGIM/GIM_data/DS_applicazione.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + @@ -13,20 +13,20 @@ - + - - - + + + diff --git a/Projects/WebGIM/GIM_data/bin/GIM_data.dll b/Projects/WebGIM/GIM_data/bin/GIM_data.dll index fc186de..a2a242f 100644 Binary files a/Projects/WebGIM/GIM_data/bin/GIM_data.dll and b/Projects/WebGIM/GIM_data/bin/GIM_data.dll differ diff --git a/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/GIM_data.dll b/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/GIM_data.dll index fc186de..a2a242f 100644 Binary files a/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/GIM_data.dll and b/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/GIM_data.dll differ diff --git a/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/TempPE/DS_applicazione.Designer.cs.dll b/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/TempPE/DS_applicazione.Designer.cs.dll index df2415a..840f790 100644 Binary files a/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/TempPE/DS_applicazione.Designer.cs.dll and b/Projects/WebGIM/GIM_data/obj/SomaschiniUSA/TempPE/DS_applicazione.Designer.cs.dll differ diff --git a/Projects/WebGIM/GIM_site/ExcelExportMtzPrev.aspx b/Projects/WebGIM/GIM_site/ExcelExportMtzPrev.aspx index 6332416..0c04738 100644 --- a/Projects/WebGIM/GIM_site/ExcelExportMtzPrev.aspx +++ b/Projects/WebGIM/GIM_site/ExcelExportMtzPrev.aspx @@ -15,14 +15,19 @@ + + + + + - + - + - + - + diff --git a/Projects/WebGIM/GIM_site/GIM_site.csproj b/Projects/WebGIM/GIM_site/GIM_site.csproj index fd924c6..1bba4b9 100644 --- a/Projects/WebGIM/GIM_site/GIM_site.csproj +++ b/Projects/WebGIM/GIM_site/GIM_site.csproj @@ -552,6 +552,7 @@ Web.config + Designer diff --git a/Projects/WebGIM/GIM_site/Web.config b/Projects/WebGIM/GIM_site/Web.config index 6a7f10a..9810f6b 100644 --- a/Projects/WebGIM/GIM_site/Web.config +++ b/Projects/WebGIM/GIM_site/Web.config @@ -103,7 +103,7 @@ - + diff --git a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx index 5c44638..95700a3 100644 --- a/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx +++ b/Projects/WebGIM/GIM_site/WebUserControls/mod_elencoMtzProg.ascx @@ -96,7 +96,7 @@ -
+
+ + + + + - - + +