diff --git a/CMS-SC-Data/DS_Applicazione.Designer.cs b/CMS-SC-Data/DS_Applicazione.Designer.cs index 5c08a8f..b680f38 100644 --- a/CMS-SC-Data/DS_Applicazione.Designer.cs +++ b/CMS-SC-Data/DS_Applicazione.Designer.cs @@ -72,10 +72,6 @@ namespace CMS_SC_Data { private global::System.Data.DataRelation relationFK_SchemaCollMacc_ElencoDossier; - private global::System.Data.DataRelation relationFK_IstanzeMisura_AnagFasi1; - - private global::System.Data.DataRelation relationFK_Misure_SchemaCollMacc1; - private global::System.Data.DataRelation relationFK_Tags2Macchine_ElencoMacchineCN; private global::System.Data.DataRelation relationFK_Tags2Macchine_AnagTags; @@ -586,8 +582,6 @@ namespace CMS_SC_Data { this.relationFK_ElencoDossier_ElencoMacchineCN = this.Relations["FK_ElencoDossier_ElencoMacchineCN"]; this.relationFK_SchemaCollMacc_AnagSchede = this.Relations["FK_SchemaCollMacc_AnagSchede"]; this.relationFK_SchemaCollMacc_ElencoDossier = this.Relations["FK_SchemaCollMacc_ElencoDossier"]; - this.relationFK_IstanzeMisura_AnagFasi1 = this.Relations["FK_IstanzeMisura_AnagFasi1"]; - this.relationFK_Misure_SchemaCollMacc1 = this.Relations["FK_Misure_SchemaCollMacc1"]; this.relationFK_Tags2Macchine_ElencoMacchineCN = this.Relations["FK_Tags2Macchine_ElencoMacchineCN"]; this.relationFK_Tags2Macchine_AnagTags = this.Relations["FK_Tags2Macchine_AnagTags"]; } @@ -674,20 +668,6 @@ namespace CMS_SC_Data { this.tableElencoDossier.IdxDossierColumn}, new global::System.Data.DataColumn[] { this.tableSchemaCollMacc.IdxDossierColumn}, false); this.Relations.Add(this.relationFK_SchemaCollMacc_ElencoDossier); - this.relationFK_IstanzeMisura_AnagFasi1 = new global::System.Data.DataRelation("FK_IstanzeMisura_AnagFasi1", new global::System.Data.DataColumn[] { - this.tableAnagFasi.FaseColumn}, new global::System.Data.DataColumn[] { - this.tableMisure.FaseColumn}, false); - this.Relations.Add(this.relationFK_IstanzeMisura_AnagFasi1); - this.relationFK_Misure_SchemaCollMacc1 = new global::System.Data.DataRelation("FK_Misure_SchemaCollMacc1", new global::System.Data.DataColumn[] { - this.tableSchemaCollMacc.IdxDossierColumn, - this.tableSchemaCollMacc.CodSchedaColumn, - this.tableSchemaCollMacc.VersColumn, - this.tableSchemaCollMacc.NumSchedaColumn}, new global::System.Data.DataColumn[] { - this.tableMisure.IdxDossierColumn, - this.tableMisure.CodSchedaColumn, - this.tableMisure.VersColumn, - this.tableMisure.NumSchedaColumn}, false); - this.Relations.Add(this.relationFK_Misure_SchemaCollMacc1); this.relationFK_Tags2Macchine_ElencoMacchineCN = new global::System.Data.DataRelation("FK_Tags2Macchine_ElencoMacchineCN", new global::System.Data.DataColumn[] { this.tableElencoMacchineCN.MatricolaColumn}, new global::System.Data.DataColumn[] { this.tableTags2Macchine.MatricolaColumn}, false); @@ -4089,6 +4069,8 @@ namespace CMS_SC_Data { private global::System.Data.DataColumn columnIdxDossier; + private global::System.Data.DataColumn columnCodSchedaVersNum; + private global::System.Data.DataColumn columnCodScheda; private global::System.Data.DataColumn columnVers; @@ -4099,6 +4081,8 @@ namespace CMS_SC_Data { private global::System.Data.DataColumn columnFase; + private global::System.Data.DataColumn columnRev; + private global::System.Data.DataColumn columnOperatore; private global::System.Data.DataColumn columnDataOra; @@ -4125,14 +4109,10 @@ namespace CMS_SC_Data { private global::System.Data.DataColumn columnLSVal; - private global::System.Data.DataColumn columnCodSchedaVersNum; - private global::System.Data.DataColumn columnCodVisib; private global::System.Data.DataColumn columnOrdinale; - private global::System.Data.DataColumn columnRev; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public MisureDataTable() { @@ -4174,6 +4154,14 @@ namespace CMS_SC_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn CodSchedaVersNumColumn { + get { + return this.columnCodSchedaVersNum; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public global::System.Data.DataColumn CodSchedaColumn { @@ -4214,6 +4202,14 @@ namespace CMS_SC_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn RevColumn { + get { + return this.columnRev; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public global::System.Data.DataColumn OperatoreColumn { @@ -4318,14 +4314,6 @@ namespace CMS_SC_Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public global::System.Data.DataColumn CodSchedaVersNumColumn { - get { - return this.columnCodSchedaVersNum; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public global::System.Data.DataColumn CodVisibColumn { @@ -4342,14 +4330,6 @@ namespace CMS_SC_Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public global::System.Data.DataColumn RevColumn { - get { - return this.columnRev; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -4389,11 +4369,13 @@ namespace CMS_SC_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public MisureRow AddMisureRow( int IdxDossier, + string CodSchedaVersNum, string CodScheda, int Vers, int NumScheda, string CodMisura, - AnagFasiRow parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1, + string Fase, + int Rev, string Operatore, System.DateTime DataOra, double ValorePar, @@ -4407,18 +4389,18 @@ namespace CMS_SC_Data { double MaxPar, double LIVal, double LSVal, - string CodSchedaVersNum, string CodVisib, - int Ordinale, - int Rev) { + int Ordinale) { MisureRow rowMisureRow = ((MisureRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxDossier, + CodSchedaVersNum, CodScheda, Vers, NumScheda, CodMisura, - null, + Fase, + Rev, Operatore, DataOra, ValorePar, @@ -4432,13 +4414,8 @@ namespace CMS_SC_Data { MaxPar, LIVal, LSVal, - CodSchedaVersNum, CodVisib, - Ordinale, - Rev}; - if ((parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1 != null)) { - columnValuesArray[5] = parentAnagFasiRowByFK_IstanzeMisura_AnagFasi1[0]; - } + Ordinale}; rowMisureRow.ItemArray = columnValuesArray; this.Rows.Add(rowMisureRow); return rowMisureRow; @@ -4446,14 +4423,13 @@ namespace CMS_SC_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public MisureRow FindByIdxDossierCodSchedaVersNumSchedaCodMisuraFase(int IdxDossier, string CodScheda, int Vers, int NumScheda, string CodMisura, string Fase) { + public MisureRow FindByIdxDossierCodSchedaVersNumCodMisuraFaseRev(int IdxDossier, string CodSchedaVersNum, string CodMisura, string Fase, int Rev) { return ((MisureRow)(this.Rows.Find(new object[] { IdxDossier, - CodScheda, - Vers, - NumScheda, + CodSchedaVersNum, CodMisura, - Fase}))); + Fase, + Rev}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -4474,11 +4450,13 @@ namespace CMS_SC_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] internal void InitVars() { this.columnIdxDossier = base.Columns["IdxDossier"]; + this.columnCodSchedaVersNum = base.Columns["CodSchedaVersNum"]; this.columnCodScheda = base.Columns["CodScheda"]; this.columnVers = base.Columns["Vers"]; this.columnNumScheda = base.Columns["NumScheda"]; this.columnCodMisura = base.Columns["CodMisura"]; this.columnFase = base.Columns["Fase"]; + this.columnRev = base.Columns["Rev"]; this.columnOperatore = base.Columns["Operatore"]; this.columnDataOra = base.Columns["DataOra"]; this.columnValorePar = base.Columns["ValorePar"]; @@ -4492,10 +4470,8 @@ namespace CMS_SC_Data { this.columnMaxPar = base.Columns["MaxPar"]; this.columnLIVal = base.Columns["LIVal"]; this.columnLSVal = base.Columns["LSVal"]; - this.columnCodSchedaVersNum = base.Columns["CodSchedaVersNum"]; this.columnCodVisib = base.Columns["CodVisib"]; this.columnOrdinale = base.Columns["Ordinale"]; - this.columnRev = base.Columns["Rev"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -4503,6 +4479,8 @@ namespace CMS_SC_Data { private void InitClass() { this.columnIdxDossier = new global::System.Data.DataColumn("IdxDossier", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxDossier); + this.columnCodSchedaVersNum = new global::System.Data.DataColumn("CodSchedaVersNum", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSchedaVersNum); this.columnCodScheda = new global::System.Data.DataColumn("CodScheda", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodScheda); this.columnVers = new global::System.Data.DataColumn("Vers", typeof(int), null, global::System.Data.MappingType.Element); @@ -4513,6 +4491,8 @@ namespace CMS_SC_Data { base.Columns.Add(this.columnCodMisura); this.columnFase = new global::System.Data.DataColumn("Fase", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnFase); + this.columnRev = new global::System.Data.DataColumn("Rev", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRev); this.columnOperatore = new global::System.Data.DataColumn("Operatore", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOperatore); this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); @@ -4539,22 +4519,20 @@ namespace CMS_SC_Data { base.Columns.Add(this.columnLIVal); this.columnLSVal = new global::System.Data.DataColumn("LSVal", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLSVal); - this.columnCodSchedaVersNum = new global::System.Data.DataColumn("CodSchedaVersNum", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnCodSchedaVersNum); this.columnCodVisib = new global::System.Data.DataColumn("CodVisib", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCodVisib); this.columnOrdinale = new global::System.Data.DataColumn("Ordinale", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOrdinale); - this.columnRev = new global::System.Data.DataColumn("Rev", typeof(int), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnRev); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIdxDossier, - this.columnCodScheda, - this.columnVers, - this.columnNumScheda, + this.columnCodSchedaVersNum, this.columnCodMisura, - this.columnFase}, true)); + this.columnFase, + this.columnRev}, true)); this.columnIdxDossier.AllowDBNull = false; + this.columnCodSchedaVersNum.AllowDBNull = false; + this.columnCodSchedaVersNum.ReadOnly = true; + this.columnCodSchedaVersNum.MaxLength = 152; this.columnCodScheda.AllowDBNull = false; this.columnCodScheda.MaxLength = 50; this.columnVers.AllowDBNull = false; @@ -4563,6 +4541,7 @@ namespace CMS_SC_Data { this.columnCodMisura.MaxLength = 50; this.columnFase.AllowDBNull = false; this.columnFase.MaxLength = 50; + this.columnRev.AllowDBNull = false; this.columnOperatore.AllowDBNull = false; this.columnOperatore.MaxLength = 250; this.columnDataOra.AllowDBNull = false; @@ -4577,13 +4556,14 @@ namespace CMS_SC_Data { this.columnTipoValMisura.AllowDBNull = false; this.columnTipoValMisura.MaxLength = 50; this.columnNomePar.AllowDBNull = false; - this.columnNomePar.MaxLength = 50; - this.columnCodSchedaVersNum.ReadOnly = true; - this.columnCodSchedaVersNum.MaxLength = 152; + this.columnNomePar.MaxLength = 100; + this.columnMinPar.ReadOnly = true; + this.columnMaxPar.ReadOnly = true; + this.columnLIVal.ReadOnly = true; + this.columnLSVal.ReadOnly = true; this.columnCodVisib.AllowDBNull = false; this.columnCodVisib.MaxLength = 50; this.columnOrdinale.AllowDBNull = false; - this.columnRev.AllowDBNull = false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -7228,17 +7208,6 @@ namespace CMS_SC_Data { public void SetDescrizioneNull() { this[this.tableAnagFasi.DescrizioneColumn] = global::System.Convert.DBNull; } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public MisureRow[] GetMisureRows() { - if ((this.Table.ChildRelations["FK_IstanzeMisura_AnagFasi1"] == null)) { - return new MisureRow[0]; - } - else { - return ((MisureRow[])(base.GetChildRows(this.Table.ChildRelations["FK_IstanzeMisura_AnagFasi1"]))); - } - } } /// @@ -8138,17 +8107,6 @@ namespace CMS_SC_Data { public void SetDescrizioneNull() { this[this.tableSchemaCollMacc.DescrizioneColumn] = global::System.Convert.DBNull; } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public MisureRow[] GetMisureRows() { - if ((this.Table.ChildRelations["FK_Misure_SchemaCollMacc1"] == null)) { - return new MisureRow[0]; - } - else { - return ((MisureRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Misure_SchemaCollMacc1"]))); - } - } } /// @@ -8176,6 +8134,17 @@ namespace CMS_SC_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string CodSchedaVersNum { + get { + return ((string)(this[this.tableMisure.CodSchedaVersNumColumn])); + } + set { + this[this.tableMisure.CodSchedaVersNumColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public string CodScheda { @@ -8231,6 +8200,17 @@ namespace CMS_SC_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int Rev { + get { + return ((int)(this[this.tableMisure.RevColumn])); + } + set { + this[this.tableMisure.RevColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public string Operatore { @@ -8394,22 +8374,6 @@ namespace CMS_SC_Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public string CodSchedaVersNum { - get { - try { - return ((string)(this[this.tableMisure.CodSchedaVersNumColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodSchedaVersNum\' nella tabella \'Misure\' รจ DBNull.", e); - } - } - set { - this[this.tableMisure.CodSchedaVersNumColumn] = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public string CodVisib { @@ -8432,39 +8396,6 @@ namespace CMS_SC_Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public int Rev { - get { - return ((int)(this[this.tableMisure.RevColumn])); - } - set { - this[this.tableMisure.RevColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public AnagFasiRow AnagFasiRow { - get { - return ((AnagFasiRow)(this.GetParentRow(this.Table.ParentRelations["FK_IstanzeMisura_AnagFasi1"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_IstanzeMisura_AnagFasi1"]); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public SchemaCollMaccRow SchemaCollMaccRowParent { - get { - return ((SchemaCollMaccRow)(this.GetParentRow(this.Table.ParentRelations["FK_Misure_SchemaCollMacc1"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_Misure_SchemaCollMacc1"]); - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public bool IsMinParNull() { @@ -8512,18 +8443,6 @@ namespace CMS_SC_Data { public void SetLSValNull() { this[this.tableMisure.LSValColumn] = global::System.Convert.DBNull; } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public bool IsCodSchedaVersNumNull() { - return this.IsNull(this.tableMisure.CodSchedaVersNumColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public void SetCodSchedaVersNumNull() { - this[this.tableMisure.CodSchedaVersNumColumn] = global::System.Convert.DBNull; - } } /// @@ -14859,11 +14778,13 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab, Ordin tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Misure"; tableMapping.ColumnMappings.Add("IdxDossier", "IdxDossier"); + tableMapping.ColumnMappings.Add("CodSchedaVersNum", "CodSchedaVersNum"); tableMapping.ColumnMappings.Add("CodScheda", "CodScheda"); tableMapping.ColumnMappings.Add("Vers", "Vers"); tableMapping.ColumnMappings.Add("NumScheda", "NumScheda"); tableMapping.ColumnMappings.Add("CodMisura", "CodMisura"); tableMapping.ColumnMappings.Add("Fase", "Fase"); + tableMapping.ColumnMappings.Add("Rev", "Rev"); tableMapping.ColumnMappings.Add("Operatore", "Operatore"); tableMapping.ColumnMappings.Add("DataOra", "DataOra"); tableMapping.ColumnMappings.Add("ValorePar", "ValorePar"); @@ -14878,10 +14799,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab, Ordin tableMapping.ColumnMappings.Add("LIVal", "LIVal"); tableMapping.ColumnMappings.Add("LSVal", "LSVal"); tableMapping.ColumnMappings.Add("CodVisib", "CodVisib"); - tableMapping.ColumnMappings.Add("Codschedaversnum", "Codschedaversnum"); tableMapping.ColumnMappings.Add("Ordinale", "Ordinale"); - tableMapping.ColumnMappings.Add("CodSchedaVersNum", "CodSchedaVersNum"); - tableMapping.ColumnMappings.Add("Rev", "Rev"); this._adapter.TableMappings.Add(tableMapping); } @@ -17553,15 +17471,6 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(updatedRows); } } - if ((this._anagFasiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagFasiTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._dettSchedaTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.DettScheda.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17571,15 +17480,6 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(updatedRows); } } - if ((this._schemaCollMaccTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._schemaCollMaccTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._anagTagsTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagTags.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17589,6 +17489,15 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(updatedRows); } } + if ((this._anagFasiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagFasiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._validValTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.ValidVal.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17598,6 +17507,15 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(updatedRows); } } + if ((this._schemaCollMaccTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._schemaCollMaccTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._tags2MacchineTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Tags2Macchine.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17634,14 +17552,6 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allAddedRows.AddRange(addedRows); } } - if ((this._anagFasiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagFasiTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._dettSchedaTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.DettScheda.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17650,14 +17560,6 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allAddedRows.AddRange(addedRows); } } - if ((this._schemaCollMaccTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._schemaCollMaccTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._anagTagsTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagTags.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17666,6 +17568,14 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allAddedRows.AddRange(addedRows); } } + if ((this._anagFasiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagFasiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._validValTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.ValidVal.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17674,6 +17584,14 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allAddedRows.AddRange(addedRows); } } + if ((this._schemaCollMaccTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._schemaCollMaccTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._tags2MacchineTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Tags2Macchine.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17716,6 +17634,14 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(deletedRows); } } + if ((this._schemaCollMaccTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._schemaCollMaccTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._validValTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.ValidVal.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -17724,6 +17650,14 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(deletedRows); } } + if ((this._anagFasiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagFasiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._anagTagsTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagTags.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -17732,14 +17666,6 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(deletedRows); } } - if ((this._schemaCollMaccTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.SchemaCollMacc.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._schemaCollMaccTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._dettSchedaTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.DettScheda.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -17748,14 +17674,6 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa allChangedRows.AddRange(deletedRows); } } - if ((this._anagFasiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagFasiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._anagSchedeTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagSchede.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) diff --git a/CMS-SC-Data/DS_Applicazione.xsd b/CMS-SC-Data/DS_Applicazione.xsd index d04871a..4a81c68 100644 --- a/CMS-SC-Data/DS_Applicazione.xsd +++ b/CMS-SC-Data/DS_Applicazione.xsd @@ -1039,11 +1039,13 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab, Ordin + + @@ -1058,10 +1060,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab, Ordin - - - @@ -1545,7 +1544,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1566,7 +1565,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1604,7 +1603,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1624,7 +1623,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1666,7 +1665,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1715,7 +1714,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1740,7 +1739,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1798,7 +1797,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1845,7 +1844,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -1883,10 +1882,17 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + + + + + + + + @@ -1910,6 +1916,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa + @@ -1951,21 +1958,14 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - - - - - - - - - - - - + + + + + @@ -1974,11 +1974,10 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - - + @@ -2092,7 +2091,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -2112,7 +2111,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -2132,7 +2131,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -2159,7 +2158,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -2216,7 +2215,7 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - + @@ -2283,11 +2282,10 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - - - + + @@ -2313,18 +2311,16 @@ SELECT Email, ParName, ParValue FROM UserParam WHERE (Email = @Email) AND (ParNa - - - - - - - - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/CMS-SC-Data/DS_Applicazione.xss b/CMS-SC-Data/DS_Applicazione.xss index 16cd632..03fa395 100644 --- a/CMS-SC-Data/DS_Applicazione.xss +++ b/CMS-SC-Data/DS_Applicazione.xss @@ -6,11 +6,11 @@ --> - + - + @@ -24,7 +24,7 @@ - + 355 @@ -36,7 +36,7 @@ - + 898 @@ -48,19 +48,19 @@ - + 420 - 905 + 878 359 - 905 + 878 - + 204 @@ -72,7 +72,7 @@ - + 598 @@ -112,7 +112,7 @@ - + 1070 @@ -124,30 +124,6 @@ - - - - 1097 - 930 - - - 1035 - 930 - - - - - - - 792 - 549 - - - 792 - 583 - - - diff --git a/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.CoreCompileInputs.cache b/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.CoreCompileInputs.cache index 9147403..81395e3 100644 --- a/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.CoreCompileInputs.cache +++ b/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -c355ee6932ff22a2f6c7d84b3449927b5b4b5506 +73bbb3de17cae454ab54595b2c5a3ff7389a549e diff --git a/CMS-SC-Data/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/CMS-SC-Data/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 44ab5d7..9a97df2 100644 Binary files a/CMS-SC-Data/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/CMS-SC-Data/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll index 1fefc26..f72c277 100644 Binary files a/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/CMS-SC-Data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/CMS_SC/WebUserControls/mod_StatoCollaudi.ascx.cs b/CMS_SC/WebUserControls/mod_StatoCollaudi.ascx.cs index 667ed45..26d95b2 100644 --- a/CMS_SC/WebUserControls/mod_StatoCollaudi.ascx.cs +++ b/CMS_SC/WebUserControls/mod_StatoCollaudi.ascx.cs @@ -12,7 +12,7 @@ namespace CMS_SC.WebUserControls { if (!Page.IsPostBack) { - grView.DataBind(); + doUpdate(); } } /// @@ -41,7 +41,7 @@ namespace CMS_SC.WebUserControls set { hfIdxDossier.Value = value; - grView.DataBind(); + //grView.DataBind(); } } /// @@ -56,7 +56,7 @@ namespace CMS_SC.WebUserControls set { hfFase.Value = value; - grView.DataBind(); + //grView.DataBind(); } } /// @@ -73,7 +73,7 @@ namespace CMS_SC.WebUserControls set { hfRev.Value = value.ToString(); - grView.DataBind(); + //grView.DataBind(); } } @@ -117,7 +117,7 @@ namespace CMS_SC.WebUserControls // salvo parametro savePar("ddlSelScheda", CodSchedaVersNum); // fix visualizzazione... - grView.DataBind(); + doUpdate(); // sollevo evento... raiseEvent(ucEvType.Selected); } @@ -138,7 +138,7 @@ namespace CMS_SC.WebUserControls protected void lbtShowAll_Click(object sender, EventArgs e) { grView.SelectedIndex = -1; - grView.DataBind(); + doUpdate(); // salvo parametro savePar("ddlSelScheda", ""); raiseEvent(ucEvType.ReqUpdateParent); @@ -153,11 +153,11 @@ namespace CMS_SC.WebUserControls public void resetSelezione() { grView.SelectedIndex = -1; - grView.DataBind(); + doUpdate(); // salvo parametro savePar("ddlSelScheda", ""); raiseEvent(ucEvType.Reset); } - + } } \ No newline at end of file diff --git a/CMS_SC/WebUserControls/mod_collaudi.ascx.cs b/CMS_SC/WebUserControls/mod_collaudi.ascx.cs index 747b68e..298469f 100644 --- a/CMS_SC/WebUserControls/mod_collaudi.ascx.cs +++ b/CMS_SC/WebUserControls/mod_collaudi.ascx.cs @@ -104,7 +104,7 @@ namespace CMS_SC.WebUserControls } catch (Exception exc) { - logger.lg.scriviLog(string.Format("Eccezione in databind, valori filtro{0}Dossier: [{1}]{0}CodScheda: [{2}]{0}Fase: [{3}]{0}Eccezione:{0}{4}", Environment.NewLine, IdxDossier, CodSchedaVers, Fase, exc)); + logger.lg.scriviLog(string.Format("Eccezione in databind, valori filtro{0}Dossier: [{1}]{0}CodScheda: [{2}]{0}Fase: [{3}]{0}Rev: [{4}]{0}Eccezione:{0}{5}", Environment.NewLine, IdxDossier, CodSchedaVers, Fase, Rev, exc)); } } /// diff --git a/CMS_SC/bin/CMS-SC-Data.dll b/CMS_SC/bin/CMS-SC-Data.dll index 9903d44..74104cf 100644 Binary files a/CMS_SC/bin/CMS-SC-Data.dll and b/CMS_SC/bin/CMS-SC-Data.dll differ diff --git a/Jenkinsfile b/Jenkinsfile index 79f43b1..b738f08 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=4220']) { + withEnv(['NEXT_BUILD_NUMBER=4221']) { // env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'CMS-SC'