diff --git a/GIM_dataLayer/DS_applicazione.xsd b/GIM_dataLayer/DS_applicazione.xsd index b145569..3b74705 100644 --- a/GIM_dataLayer/DS_applicazione.xsd +++ b/GIM_dataLayer/DS_applicazione.xsd @@ -587,6 +587,7 @@ ORDER BY numIntMtz DESC + @@ -1948,6 +1949,28 @@ FROM v_mtzProgExp + + + + + + dbo.stp_MtzProg_getScadenze + + + + + + + + + + + + + + + + @@ -2226,6 +2249,7 @@ FROM v_mtzProgExp + @@ -2442,7 +2466,7 @@ FROM v_mtzProgExp - + @@ -2527,7 +2551,7 @@ FROM v_mtzProgExp - + @@ -2552,7 +2576,7 @@ FROM v_mtzProgExp - + @@ -2586,7 +2610,7 @@ FROM v_mtzProgExp - + @@ -2672,7 +2696,7 @@ FROM v_mtzProgExp - + @@ -2756,6 +2780,16 @@ FROM v_mtzProgExp + + + + + + + + + + @@ -2866,22 +2900,22 @@ FROM v_mtzProgExp - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GIM_dataLayer/DS_applicazione.xss b/GIM_dataLayer/DS_applicazione.xss index cd8bc18..16fe69c 100644 --- a/GIM_dataLayer/DS_applicazione.xss +++ b/GIM_dataLayer/DS_applicazione.xss @@ -6,34 +6,35 @@ --> - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + 1110 @@ -45,7 +46,7 @@ - + 1376 @@ -65,7 +66,7 @@ - + 1380 @@ -85,7 +86,7 @@ - + 679 @@ -97,7 +98,7 @@ - + 843 @@ -113,7 +114,7 @@ - + 509 @@ -129,7 +130,7 @@ - + 523 @@ -141,7 +142,7 @@ - + 631 @@ -157,7 +158,7 @@ - + 1141 @@ -169,7 +170,7 @@ - + 1017 @@ -185,7 +186,7 @@ - + 1416 @@ -201,7 +202,7 @@ - + 922 @@ -213,7 +214,7 @@ - + 1380 @@ -225,7 +226,7 @@ - + 776 @@ -241,7 +242,7 @@ - + 121 @@ -257,7 +258,7 @@ - + 569 diff --git a/GIM_dataLayer/DS_applicazione1.Designer.cs b/GIM_dataLayer/DS_applicazione1.Designer.cs index 0046010..6cf1b9e 100644 --- a/GIM_dataLayer/DS_applicazione1.Designer.cs +++ b/GIM_dataLayer/DS_applicazione1.Designer.cs @@ -74,6 +74,8 @@ namespace GIM_dataLayer { private ElencoIntervExtDataTable tableElencoIntervExt; + private MtzProg_ScadenzeDataTable tableMtzProg_Scadenze; + private global::System.Data.DataRelation relationFK_AnagMacchine_AnagImpianti; private global::System.Data.DataRelation relationMacchine2FamMacchine_v_macchine; @@ -209,6 +211,9 @@ namespace GIM_dataLayer { if ((ds.Tables["ElencoIntervExt"] != null)) { base.Tables.Add(new ElencoIntervExtDataTable(ds.Tables["ElencoIntervExt"])); } + if ((ds.Tables["MtzProg_Scadenze"] != null)) { + base.Tables.Add(new MtzProg_ScadenzeDataTable(ds.Tables["MtzProg_Scadenze"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -477,6 +482,16 @@ namespace GIM_dataLayer { } } + [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 MtzProg_ScadenzeDataTable MtzProg_Scadenze { + get { + return this.tableMtzProg_Scadenze; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -619,6 +634,9 @@ namespace GIM_dataLayer { if ((ds.Tables["ElencoIntervExt"] != null)) { base.Tables.Add(new ElencoIntervExtDataTable(ds.Tables["ElencoIntervExt"])); } + if ((ds.Tables["MtzProg_Scadenze"] != null)) { + base.Tables.Add(new MtzProg_ScadenzeDataTable(ds.Tables["MtzProg_Scadenze"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -802,6 +820,12 @@ namespace GIM_dataLayer { this.tableElencoIntervExt.InitVars(); } } + this.tableMtzProg_Scadenze = ((MtzProg_ScadenzeDataTable)(base.Tables["MtzProg_Scadenze"])); + if ((initTable == true)) { + if ((this.tableMtzProg_Scadenze != null)) { + this.tableMtzProg_Scadenze.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"]; @@ -878,6 +902,8 @@ namespace GIM_dataLayer { base.Tables.Add(this.tablev_allData); this.tableElencoIntervExt = new ElencoIntervExtDataTable(); base.Tables.Add(this.tableElencoIntervExt); + this.tableMtzProg_Scadenze = new MtzProg_ScadenzeDataTable(); + base.Tables.Add(this.tableMtzProg_Scadenze); 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); @@ -1094,6 +1120,12 @@ namespace GIM_dataLayer { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeMtzProg_Scadenze() { + 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) { @@ -1224,6 +1256,9 @@ namespace GIM_dataLayer { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void ElencoIntervExtRowChangeEventHandler(object sender, ElencoIntervExtRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void MtzProg_ScadenzeRowChangeEventHandler(object sender, MtzProg_ScadenzeRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -3481,6 +3516,8 @@ namespace GIM_dataLayer { private global::System.Data.DataColumn columnisExt; + private global::System.Data.DataColumn columnidxIntPro; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public v_intervExpDataTable() { @@ -3770,6 +3807,14 @@ namespace GIM_dataLayer { } } + [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")] [global::System.ComponentModel.Browsable(false)] @@ -3838,7 +3883,8 @@ namespace GIM_dataLayer { string descrCausale, string isFermoSiNo, bool scheduled, - bool isExt) { + bool isExt, + int idxIntPro) { v_intervExpRow rowv_intervExpRow = ((v_intervExpRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -3872,7 +3918,8 @@ namespace GIM_dataLayer { descrCausale, isFermoSiNo, scheduled, - isExt}; + isExt, + idxIntPro}; if ((parentAnagAmbitoGuastoRowByFK_InterventiMtz_AnagAmbitoGuasto != null)) { columnValuesArray[6] = parentAnagAmbitoGuastoRowByFK_InterventiMtz_AnagAmbitoGuasto[0]; } @@ -3946,6 +3993,7 @@ namespace GIM_dataLayer { this.columnisFermoSiNo = base.Columns["isFermoSiNo"]; this.columnscheduled = base.Columns["scheduled"]; this.columnisExt = base.Columns["isExt"]; + this.columnidxIntPro = base.Columns["idxIntPro"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -4015,6 +4063,8 @@ namespace GIM_dataLayer { base.Columns.Add(this.columnscheduled); this.columnisExt = new global::System.Data.DataColumn("isExt", typeof(bool), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnisExt); + this.columnidxIntPro = new global::System.Data.DataColumn("idxIntPro", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxIntPro); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnnumIntMtz}, true)); this.columnnumIntMtz.AutoIncrement = true; @@ -4052,6 +4102,7 @@ namespace GIM_dataLayer { this.columnisFermoSiNo.ReadOnly = true; this.columnisFermoSiNo.MaxLength = 2; this.columnisExt.AllowDBNull = false; + this.columnidxIntPro.AllowDBNull = false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -10294,6 +10345,299 @@ namespace GIM_dataLayer { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class MtzProg_ScadenzeDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxIntPro; + + private global::System.Data.DataColumn columnlastOne; + + private global::System.Data.DataColumn columnscadProg; + + private global::System.Data.DataColumn columnscadNat; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public MtzProg_ScadenzeDataTable() { + this.TableName = "MtzProg_Scadenze"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal MtzProg_ScadenzeDataTable(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 MtzProg_ScadenzeDataTable(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 lastOneColumn { + get { + return this.columnlastOne; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn scadProgColumn { + get { + return this.columnscadProg; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn scadNatColumn { + get { + return this.columnscadNat; + } + } + + [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 MtzProg_ScadenzeRow this[int index] { + get { + return ((MtzProg_ScadenzeRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MtzProg_ScadenzeRowChangeEventHandler MtzProg_ScadenzeRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MtzProg_ScadenzeRowChangeEventHandler MtzProg_ScadenzeRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MtzProg_ScadenzeRowChangeEventHandler MtzProg_ScadenzeRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event MtzProg_ScadenzeRowChangeEventHandler MtzProg_ScadenzeRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddMtzProg_ScadenzeRow(MtzProg_ScadenzeRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public MtzProg_ScadenzeRow AddMtzProg_ScadenzeRow(int idxIntPro, System.DateTime lastOne, System.DateTime scadProg, System.DateTime scadNat) { + MtzProg_ScadenzeRow rowMtzProg_ScadenzeRow = ((MtzProg_ScadenzeRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxIntPro, + lastOne, + scadProg, + scadNat}; + rowMtzProg_ScadenzeRow.ItemArray = columnValuesArray; + this.Rows.Add(rowMtzProg_ScadenzeRow); + return rowMtzProg_ScadenzeRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + MtzProg_ScadenzeDataTable cln = ((MtzProg_ScadenzeDataTable)(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 MtzProg_ScadenzeDataTable(); + } + + [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.columnlastOne = base.Columns["lastOne"]; + this.columnscadProg = base.Columns["scadProg"]; + this.columnscadNat = base.Columns["scadNat"]; + } + + [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.columnlastOne = new global::System.Data.DataColumn("lastOne", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnlastOne); + this.columnscadProg = new global::System.Data.DataColumn("scadProg", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnscadProg); + this.columnscadNat = new global::System.Data.DataColumn("scadNat", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnscadNat); + this.columnidxIntPro.ReadOnly = true; + this.columnlastOne.ReadOnly = true; + this.columnscadProg.ReadOnly = true; + this.columnscadNat.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public MtzProg_ScadenzeRow NewMtzProg_ScadenzeRow() { + return ((MtzProg_ScadenzeRow)(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 MtzProg_ScadenzeRow(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(MtzProg_ScadenzeRow); + } + + [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.MtzProg_ScadenzeRowChanged != null)) { + this.MtzProg_ScadenzeRowChanged(this, new MtzProg_ScadenzeRowChangeEvent(((MtzProg_ScadenzeRow)(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.MtzProg_ScadenzeRowChanging != null)) { + this.MtzProg_ScadenzeRowChanging(this, new MtzProg_ScadenzeRowChangeEvent(((MtzProg_ScadenzeRow)(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.MtzProg_ScadenzeRowDeleted != null)) { + this.MtzProg_ScadenzeRowDeleted(this, new MtzProg_ScadenzeRowChangeEvent(((MtzProg_ScadenzeRow)(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.MtzProg_ScadenzeRowDeleting != null)) { + this.MtzProg_ScadenzeRowDeleting(this, new MtzProg_ScadenzeRowChangeEvent(((MtzProg_ScadenzeRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveMtzProg_ScadenzeRow(MtzProg_ScadenzeRow 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 = "MtzProg_ScadenzeDataTable"; + 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. /// @@ -11712,6 +12056,17 @@ namespace GIM_dataLayer { } } + [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_intervExp.idxIntProColumn])); + } + set { + this[this.tablev_intervExp.idxIntProColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public AnagAmbitoGuastoRow AnagAmbitoGuastoRow { @@ -15001,6 +15356,133 @@ namespace GIM_dataLayer { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class MtzProg_ScadenzeRow : global::System.Data.DataRow { + + private MtzProg_ScadenzeDataTable tableMtzProg_Scadenze; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal MtzProg_ScadenzeRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableMtzProg_Scadenze = ((MtzProg_ScadenzeDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxIntPro { + get { + try { + return ((int)(this[this.tableMtzProg_Scadenze.idxIntProColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'idxIntPro\' nella tabella \'MtzProg_Scadenze\' è DBNull.", e); + } + } + set { + this[this.tableMtzProg_Scadenze.idxIntProColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime lastOne { + get { + try { + return ((global::System.DateTime)(this[this.tableMtzProg_Scadenze.lastOneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'lastOne\' nella tabella \'MtzProg_Scadenze\' è DBNull.", e); + } + } + set { + this[this.tableMtzProg_Scadenze.lastOneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime scadProg { + get { + try { + return ((global::System.DateTime)(this[this.tableMtzProg_Scadenze.scadProgColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'scadProg\' nella tabella \'MtzProg_Scadenze\' è DBNull.", e); + } + } + set { + this[this.tableMtzProg_Scadenze.scadProgColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime scadNat { + get { + try { + return ((global::System.DateTime)(this[this.tableMtzProg_Scadenze.scadNatColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'scadNat\' nella tabella \'MtzProg_Scadenze\' è DBNull.", e); + } + } + set { + this[this.tableMtzProg_Scadenze.scadNatColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsidxIntProNull() { + return this.IsNull(this.tableMtzProg_Scadenze.idxIntProColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetidxIntProNull() { + this[this.tableMtzProg_Scadenze.idxIntProColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IslastOneNull() { + return this.IsNull(this.tableMtzProg_Scadenze.lastOneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetlastOneNull() { + this[this.tableMtzProg_Scadenze.lastOneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsscadProgNull() { + return this.IsNull(this.tableMtzProg_Scadenze.scadProgColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetscadProgNull() { + this[this.tableMtzProg_Scadenze.scadProgColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsscadNatNull() { + return this.IsNull(this.tableMtzProg_Scadenze.scadNatColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetscadNatNull() { + this[this.tableMtzProg_Scadenze.scadNatColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -15850,6 +16332,40 @@ namespace GIM_dataLayer { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class MtzProg_ScadenzeRowChangeEvent : global::System.EventArgs { + + private MtzProg_ScadenzeRow 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 MtzProg_ScadenzeRowChangeEvent(MtzProg_ScadenzeRow 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 MtzProg_ScadenzeRow 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_dataLayer.DS_applicazioneTableAdapters { @@ -18560,6 +19076,7 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters { tableMapping.ColumnMappings.Add("isFermoSiNo", "isFermoSiNo"); tableMapping.ColumnMappings.Add("scheduled", "scheduled"); tableMapping.ColumnMappings.Add("isExt", "isExt"); + tableMapping.ColumnMappings.Add("idxIntPro", "idxIntPro"); this._adapter.TableMappings.Add(tableMapping); } @@ -25257,6 +25774,162 @@ namespace GIM_dataLayer.DS_applicazioneTableAdapters { return dataTable; } } + + /// + ///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 MtzProg_ScadenzeTableAdapter : 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 MtzProg_ScadenzeTableAdapter() { + 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 = "MtzProg_Scadenze"; + tableMapping.ColumnMappings.Add("idxIntPro", "idxIntPro"); + tableMapping.ColumnMappings.Add("lastOne", "lastOne"); + tableMapping.ColumnMappings.Add("scadProg", "scadProg"); + tableMapping.ColumnMappings.Add("scadNat", "scadNat"); + 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 = global::GIM_dataLayer.Properties.Settings.Default.GIMConnectionString; + } + + [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[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_MtzProg_getScadenze"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxIntPro", 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.MtzProg_ScadenzeDataTable dataTable, global::System.Nullable idxIntPro) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((idxIntPro.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxIntPro.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + 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.MtzProg_ScadenzeDataTable GetData(global::System.Nullable idxIntPro) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((idxIntPro.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxIntPro.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_applicazione.MtzProg_ScadenzeDataTable dataTable = new DS_applicazione.MtzProg_ScadenzeDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } } #pragma warning restore 1591 \ No newline at end of file diff --git a/GIM_site/Appunti.txt b/GIM_site/Appunti.txt index b0e2e84..9e763b1 100644 --- a/GIM_site/Appunti.txt +++ b/GIM_site/Appunti.txt @@ -2,7 +2,7 @@ -------------------------------- --- NUOVE -------------------------------- -- verifica a chiusura degli interventi di manutenzione preventiva/programmata SE la data di chiusura sia molto diversa da quella programmata (tipicamente +/- 1 unità di pianificazione: se è a settimane 1 settimana, se mesi 1 mese...) --> in questo caso CHIEDE SE SI VOGLIANO SPOSTARE prossime scadenze (se ho anticipato 1 mese --> ripianifica a pari scadenza anticipando allo stesso modo, se ho posticipato 2 mesi idem, ripianifica spostando 2 mesi) -> per farlo verifica TRA data chiusura e data programmata +- verifica a chiusura degli interventi di manutenzione preventiva/programmata SE la data di chiusura sia molto diversa da quella programmata (tipicamente +/- 1 unità di pianificazione: se è a settimane 1 settimana, se mesi 1 mese...) --> in questo caso CHIEDE SE SI VOGLIANO SPOSTARE prossime scadenze (se ho anticipato 1 mese --> ripianifica a pari scadenza anticipando allo stesso modo, se ho posticipato 2 mesi idem, ripianifica spostando 2 mesi) -> per farlo verifica TRA data chiusura e data programmata, calcolo delta e confronto con scadenza... - possibilità (SOLO x le manutenzioni programmate) di chiudere con un "riprogrammata", ovvero * se ho un intervento tipicamente di "verifica e sostituzione" diff --git a/GIM_site/GIM_site.csproj b/GIM_site/GIM_site.csproj index 7384728..25dbeba 100644 --- a/GIM_site/GIM_site.csproj +++ b/GIM_site/GIM_site.csproj @@ -374,6 +374,7 @@ + @@ -1523,6 +1524,13 @@ mod_mtzPrevPending.ascx + + mod_nextMtzPro.ascx + ASPXCodeBehind + + + mod_nextMtzPro.ascx + mod_pageTitleAndSearch.ascx ASPXCodeBehind diff --git a/GIM_site/Web.config b/GIM_site/Web.config index 83bc8a2..ae5242c 100644 --- a/GIM_site/Web.config +++ b/GIM_site/Web.config @@ -94,11 +94,6 @@ - diff --git a/GIM_site/WebUserControls/mod_dettInt_default.ascx b/GIM_site/WebUserControls/mod_dettInt_default.ascx index 03ba492..0860daa 100644 --- a/GIM_site/WebUserControls/mod_dettInt_default.ascx +++ b/GIM_site/WebUserControls/mod_dettInt_default.ascx @@ -7,381 +7,384 @@ <%@ Register Src="~/WebUserControls/mod_ricercaItem.ascx" TagPrefix="uc1" TagName="mod_ricercaItem" %> <%@ Register Src="~/WebUserControls/mod_MovMag2Int.ascx" TagPrefix="uc1" TagName="mod_MovMag2Int" %> <%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %> +<%@ Register Src="~/WebUserControls/mod_nextMtzPro.ascx" TagPrefix="uc1" TagName="mod_nextMtzPro" %> + + - -
-
-
-
-
-
- -
- -
-
- -
- -
-
- -
- -
-
- - -
- - -
-
- -
- -
-
-
-
- -
- -
-
- -
- -
-
- -
- - - -
-
-
-
- - -
- -
-
- -
- - - -
-
-
-
- -
-
- -
-
-
-
- -
- -
+ +
+
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ + +
+ + +
+
+ +
+ +
+
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+ + + +
+
+
+
+ + +
+ +
+
+ +
+ + + +
+
+
+
+ +
+
+ +
+
+
+
+ +
+ +
- -
- -
-
- -
- -
-
-
-
- <%: traduci("RicambiImpiegati") %> - - <%# traduci("AddRicambi2Int") %> -
-
-
-
-
-
-
-
- -
- -
-
- -
- -
-
- -
- -
-
-
-
- -
-
- - -
-
- -
-
-
-
-
-
- -
- - - -
-
-
- - -
-
- - -
-
-
-
-
- -
-
+ +
+ +
+
+ +
+ +
+
+
+ <%: traduci("RicambiImpiegati") %> + + <%# traduci("AddRicambi2Int") %> +
- - -
+
+
+
+
-
- -
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
-
-
-
- -
- -
-
- -
- -
-
- -
- -
-
- - -
- - -
-
- -
- -
-
-
-
-
- - -
- -
-
-
- -
- - - +
+ +
+
+ + +
+
+ +
+
+
+
+
+
+ +
+ + + +
+
+
+ + +
+
+ + +
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ + +
+ + +
+
+ +
+ +
+
+
+
+
+ + +
+ +
+
+
+ +
+ + + -
-
- -
- - - -
-
-
-
-
- - -
- -
-
-
- -
- - - <%-- +
+ +
+ + + +
+
+
+
+
+ + +
+ +
+
+
+ +
+ + + <%-- --%> - -
-
-
-
- -
-
- - - - - - - - - - -
-
-
-
- -
- -
- -
- -
-
- -
- -
-
-
-
- <%: traduci("RicambiImpiegati") %> - -
+
-
-
-
-
-
-
- -
- -
-
- -
- -
-
- -
- -
-
-
-
- -
-
- - -
-
- -
-
-
-
-
-
- -
- - - -
-
-
- - -
-
- - -
-
-
-
-
- <%----%> -
-
-
+
+
+
+
+
+ + + + + + + + + + +
+
+
+
+ +
+ +
+ +
+ +
+
+ +
+ +
+
- +
+ <%: traduci("RicambiImpiegati") %> + +
+
+
+
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+
+ +
+
+ + +
+
+ +
+
+
+
+
+
+ +
+ + + +
+
+
+ + +
+
+ + +
+
+
+
+
+
+
+
+
+
+ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/GIM_site/WebUserControls/mod_dettInt_default.ascx.cs b/GIM_site/WebUserControls/mod_dettInt_default.ascx.cs index cb49a57..c741973 100644 --- a/GIM_site/WebUserControls/mod_dettInt_default.ascx.cs +++ b/GIM_site/WebUserControls/mod_dettInt_default.ascx.cs @@ -3,58 +3,57 @@ using System.Web.UI.WebControls; namespace GIM_site.WebUserControls { - public partial class mod_dettInt_default : SteamWare.UserControl + public partial class mod_dettInt_default : SteamWare.UserControl + { + public event EventHandler eh_updated; + + private void raiseEventUpd() { - public event EventHandler eh_updated; - - private void raiseEventUpd() - { - if (eh_updated != null) - { - eh_updated(this, new EventArgs()); - } - } - - protected void Page_Load(object sender, EventArgs e) - { - - } - - public void doUpdate() - { - frmView_default.DataBind(); - } - - public FormViewMode currMode - { - get - { - return frmView_default.CurrentMode; - } - set - { - frmView_default.ChangeMode(value); - } - } - - protected void odsCausali_DataBinding(object sender, EventArgs e) - { - - } - - /// - /// impostazione visibilità modulo ricambi - /// - public bool showMR { get; set; } - /// - /// modificabilità controlli da parte dell'utente - /// - public bool userCanEditData { get; set; } - - protected void ods_default_Updated(object sender, ObjectDataSourceStatusEventArgs e) - { - raiseEventUpd(); - } - + if (eh_updated != null) + { + eh_updated(this, new EventArgs()); + } } + + protected void Page_Load(object sender, EventArgs e) + { + + } + + public void doUpdate() + { + frmView_default.DataBind(); + } + + public FormViewMode currMode + { + get + { + return frmView_default.CurrentMode; + } + set + { + frmView_default.ChangeMode(value); + } + } + + protected void odsCausali_DataBinding(object sender, EventArgs e) + { + + } + + /// + /// impostazione visibilità modulo ricambi + /// + public bool showMR { get; set; } + /// + /// modificabilità controlli da parte dell'utente + /// + public bool userCanEditData { get; set; } + + protected void ods_default_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + raiseEventUpd(); + } + } } \ No newline at end of file diff --git a/GIM_site/WebUserControls/mod_dettInt_default.ascx.designer.cs b/GIM_site/WebUserControls/mod_dettInt_default.ascx.designer.cs index 5c127ad..d73e097 100644 --- a/GIM_site/WebUserControls/mod_dettInt_default.ascx.designer.cs +++ b/GIM_site/WebUserControls/mod_dettInt_default.ascx.designer.cs @@ -1,42 +1,41 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace GIM_site.WebUserControls -{ - - +namespace GIM_site.WebUserControls { + + public partial class mod_dettInt_default { /// - /// frmView_default control. + /// Controllo frmView_default. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.FormView frmView_default; /// - /// ods_default control. + /// Controllo ods_default. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource ods_default; /// - /// odsAmbiti control. + /// Controllo odsAmbiti. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource odsAmbiti; } diff --git a/GIM_site/WebUserControls/mod_dettInt_full.ascx b/GIM_site/WebUserControls/mod_dettInt_full.ascx index 92c4d79..e61bf08 100644 --- a/GIM_site/WebUserControls/mod_dettInt_full.ascx +++ b/GIM_site/WebUserControls/mod_dettInt_full.ascx @@ -8,220 +8,220 @@ <%@ Register Src="~/WebUserControls/mod_MovMag2Int.ascx" TagPrefix="uc1" TagName="mod_MovMag2Int" %> - -
-
-
- -
-
-
-
-
-
- -
- -
-
- -
- -
-
- -
- -
-
- - -
- - -
-
- -
- -
-
-
-
-
- - -
- -
-
-
- -
- - - -
-
- -
- - - -
-
-
-
-
- - -
- -
-
-
- -
- - - -
-
-
-
- -
-
- - - - - - - - - - -
-
-
-
- -
- - -
- -
- - - -
-
- -
- - -
-
-
-
- <%: traduci("RicambiImpiegati") %> - - <%--<%# traduci("AddRicambi2Int") %>--%> -
-
-
-
-
-
-
-
- -
- -
-
- -
- -
-
- -
- -
-
-
-
- -
-
- - -
-
- -
-
-
-
-
-
- -
- - - -
-
-
- - -
-
- - -
-
-
-
-
- <%----%> -
-
-
-
+ +
+
+
+
- +
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ + +
+ + +
+
+ +
+ +
+
+
+
+
+ + +
+ +
+
+
+ +
+ + + +
+
+ +
+ + + +
+
+
+
+
+ + +
+ +
+
+
+ +
+ + + +
+
+
+
+ +
+
+ + + + + + + + + + +
+
+
+
+ +
+ + +
+ +
+ + + +
+
+ +
+ + +
+
+
+
+ <%: traduci("RicambiImpiegati") %> + + <%--<%# traduci("AddRicambi2Int") %>--%> +
+
+
+
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+
+ +
+
+ + +
+
+ +
+
+
+
+
+
+ +
+ + + +
+
+
+ + +
+
+ + +
+
+
+
+
+ <%----%> +
+
+
+
+
+
- - - - - - - - - - - - - - - - - - - - - - - + SelectMethod="getByIdx" TypeName="GIM_dataLayer.DS_applicazioneTableAdapters.v_intervExpTableAdapter" + UpdateMethod="updateInterventoFull" OnUpdated="ods_full_Updated"> + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GIM_site/WebUserControls/mod_dettInt_full.ascx.designer.cs b/GIM_site/WebUserControls/mod_dettInt_full.ascx.designer.cs index 41d9a33..246d5a2 100644 --- a/GIM_site/WebUserControls/mod_dettInt_full.ascx.designer.cs +++ b/GIM_site/WebUserControls/mod_dettInt_full.ascx.designer.cs @@ -1,42 +1,41 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace GIM_site.WebUserControls -{ - - +namespace GIM_site.WebUserControls { + + public partial class mod_dettInt_full { /// - /// frmView_full control. + /// Controllo frmView_full. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.FormView frmView_full; /// - /// ods_full control. + /// Controllo ods_full. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource ods_full; /// - /// odsAmbiti control. + /// Controllo odsAmbiti. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource odsAmbiti; } diff --git a/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx b/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx index 5027e08..7e0c041 100644 --- a/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx +++ b/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx @@ -1,5 +1,5 @@ <%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_dettaglioIntervento" - CodeBehind="mod_dettaglioIntervento.ascx.cs" %> + CodeBehind="mod_dettaglioIntervento.ascx.cs" %> <%@ Register Src="~/WebUserControls/mod_interventoOpMtz.ascx" TagName="mod_interventoOpMtz" TagPrefix="uc1" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <%@ Register Src="~/WebUserControls/mod_dataOra.ascx" TagName="mod_dataOra" TagPrefix="uc2" %> @@ -10,21 +10,21 @@ <%@ Register Src="~/WebUserControls/mod_dettInt_full.ascx" TagPrefix="uc1" TagName="mod_dettInt_full" %>
-
-
- -
-
- -
-
- -
-
- - -
+
+
+
- - +
+ +
+
+ +
+
+ + +
+
+ +
diff --git a/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.designer.cs b/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.designer.cs index 35d735d..e57b2a5 100644 --- a/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.designer.cs +++ b/GIM_site/WebUserControls/mod_dettaglioIntervento.ascx.designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ @@ -12,65 +12,65 @@ public partial class mod_dettaglioIntervento { /// - /// btnElenco control. + /// Controllo btnElenco. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.LinkButton btnElenco; /// - /// btnCompilaMtz control. + /// Controllo btnCompilaMtz. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Button btnCompilaMtz; /// - /// btnEditFull control. + /// Controllo btnEditFull. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Button btnEditFull; /// - /// btnCancel control. + /// Controllo btnCancel. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Button btnCancel; /// - /// cbeCancel control. + /// Controllo cbeCancel. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::AjaxControlToolkit.ConfirmButtonExtender cbeCancel; /// - /// mod_dettInt_default control. + /// Controllo mod_dettInt_default. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::GIM_site.WebUserControls.mod_dettInt_default mod_dettInt_default; /// - /// mod_dettInt_full control. + /// Controllo mod_dettInt_full. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::GIM_site.WebUserControls.mod_dettInt_full mod_dettInt_full; } diff --git a/GIM_site/WebUserControls/mod_nextMtzPro.ascx b/GIM_site/WebUserControls/mod_nextMtzPro.ascx new file mode 100644 index 0000000..e107142 --- /dev/null +++ b/GIM_site/WebUserControls/mod_nextMtzPro.ascx @@ -0,0 +1,30 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_nextMtzPro.ascx.cs" Inherits="GIM_site.WebUserControls.mod_nextMtzPro" %> + + + + +
+
+ <%: traduci("NextIntMtzPrg") %>:
+ +
+
+ + <%: traduci("doReschedule") %> + + <%----%> + <%--<%: "IDX: " + idxIntPro.ToString() %>--%> + <%----%> +
+
+ <%: traduci("ScadProgr") %>:
+ +
+
+
+
+ + + + + diff --git a/GIM_site/WebUserControls/mod_nextMtzPro.ascx.cs b/GIM_site/WebUserControls/mod_nextMtzPro.ascx.cs new file mode 100644 index 0000000..5618cb1 --- /dev/null +++ b/GIM_site/WebUserControls/mod_nextMtzPro.ascx.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using SteamWare; + +namespace GIM_site.WebUserControls +{ + public partial class mod_nextMtzPro : SteamWare.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + /// + /// Idx intervento programmato di riferimento + /// + public int idxIntPro + { + get + { + int answ = 0; + try + { + answ = Convert.ToInt32(hlIdxIntPro.Value); + } + catch + { } + return answ; + } + set + { + hlIdxIntPro.Value = value.ToString(); + } + } + /// + /// Verifica se le 2 date siano coerenti con programmazione (true) altrimenti indica problemi (false) + /// + /// + /// + /// + public bool checkDate(object scadProg, object scadNat) + { + bool answ = !(scadProg.Equals(scadNat)); + return answ; + } + } +} \ No newline at end of file diff --git a/GIM_site/WebUserControls/mod_nextMtzPro.ascx.designer.cs b/GIM_site/WebUserControls/mod_nextMtzPro.ascx.designer.cs new file mode 100644 index 0000000..038c8e8 --- /dev/null +++ b/GIM_site/WebUserControls/mod_nextMtzPro.ascx.designer.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace GIM_site.WebUserControls { + + + public partial class mod_nextMtzPro { + + /// + /// Controllo hlIdxIntPro. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hlIdxIntPro; + + /// + /// Controllo frmView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.FormView frmView; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } +} diff --git a/GIM_site/dettaglioIntervento.aspx.designer.cs b/GIM_site/dettaglioIntervento.aspx.designer.cs index 9b82060..07aac98 100644 --- a/GIM_site/dettaglioIntervento.aspx.designer.cs +++ b/GIM_site/dettaglioIntervento.aspx.designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ @@ -12,20 +12,20 @@ public partial class dettaglioIntervento { /// - /// mod_dettaglioIntervento1 control. + /// Controllo mod_dettaglioIntervento1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::mod_dettaglioIntervento mod_dettaglioIntervento1; /// - /// mod_fixCal1 control. + /// Controllo mod_fixCal1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::mod_fixCal mod_fixCal1; }