diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config index 5913d4c..48057f4 100644 --- a/.vs/config/applicationhost.config +++ b/.vs/config/applicationhost.config @@ -163,7 +163,7 @@ - + diff --git a/CMS-SC-Data/DS_Applicazione.Designer.cs b/CMS-SC-Data/DS_Applicazione.Designer.cs index c887b4f..764e973 100644 --- a/CMS-SC-Data/DS_Applicazione.Designer.cs +++ b/CMS-SC-Data/DS_Applicazione.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -12044,18 +12044,24 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH [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[2]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_ElencoDossier"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; - this._commandCollection[1].CommandText = "dbo.stp_ED_InsertQuery"; + this._commandCollection[1].CommandText = "dbo.stp_ED_DeleteQuery"; this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@User", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[2].Connection = this.Connection; + this._commandCollection[2].CommandText = "dbo.stp_ED_InsertQuery"; + this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matricola", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@User", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -12085,8 +12091,36 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int insertQuery(string Matricola, string User) { + public virtual int deleteQuery(global::System.Nullable Original_IdxDossier) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_IdxDossier.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_IdxDossier.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int insertQuery(string Matricola, string User) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; if ((Matricola == null)) { command.Parameters[1].Value = global::System.DBNull.Value; } @@ -12832,7 +12866,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM [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[6]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_Misure"; @@ -12851,15 +12885,13 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDeroga", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[2].Connection = this.Connection; - this._commandCollection[2].CommandText = "dbo.stp_Mis_getDataFilt"; + this._commandCollection[2].CommandText = "dbo.stp_Mis_getByDossier"; this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[3].Connection = this.Connection; - this._commandCollection[3].CommandText = "dbo.stp_Mis_getNum2Ins"; + this._commandCollection[3].CommandText = "dbo.stp_Mis_getDataFilt"; this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -12867,7 +12899,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "dbo.stp_Mis_insMissing"; + this._commandCollection[4].CommandText = "dbo.stp_Mis_getNum2Ins"; this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -12875,19 +12907,27 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = "dbo.stp_Mis_updateMis"; + this._commandCollection[5].CommandText = "dbo.stp_Mis_insMissing"; this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumScheda", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Operatore", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValorePar", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreMis", global::System.Data.SqlDbType.NVarChar, 4000, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodVisib", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_Mis_updateMis"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumScheda", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Operatore", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValorePar", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreMis", global::System.Data.SqlDbType.NVarChar, 4000, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodVisib", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -12918,7 +12958,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM [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, false)] - public virtual DS_Applicazione.MisureDataTable getDataFilt(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase) { + public virtual DS_Applicazione.MisureDataTable getByDossier(global::System.Nullable IdxDossier) { this.Adapter.SelectCommand = this.CommandCollection[2]; if ((IdxDossier.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value)); @@ -12926,6 +12966,23 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } + DS_Applicazione.MisureDataTable dataTable = new DS_Applicazione.MisureDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.MisureDataTable getDataFilt(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((IdxDossier.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } if ((CodSchedaVers == null)) { this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; } @@ -12948,7 +13005,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_Applicazione.MisureDataTable getNum2Ins(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase) { - this.Adapter.SelectCommand = this.CommandCollection[3]; + this.Adapter.SelectCommand = this.CommandCollection[4]; if ((IdxDossier.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value)); } @@ -13040,7 +13097,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int insMissing(global::System.Nullable IdxDossier, string CodSchedaVers, string Fase) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; if ((IdxDossier.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxDossier.Value)); } @@ -13080,7 +13137,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz FROM SchemaCollM [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int updateMis(global::System.Nullable Original_IdxDossier, string Original_CodScheda, global::System.Nullable Original_Vers, global::System.Nullable Original_NumScheda, string Original_CodMisura, string Original_Fase, string Operatore, global::System.Nullable ValorePar, string ValoreMis, string CodVisib) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; if ((Original_IdxDossier.HasValue == true)) { command.Parameters[1].Value = ((int)(Original_IdxDossier.Value)); } diff --git a/CMS-SC-Data/DS_Applicazione.xsd b/CMS-SC-Data/DS_Applicazione.xsd index 4f93c92..279376a 100644 --- a/CMS-SC-Data/DS_Applicazione.xsd +++ b/CMS-SC-Data/DS_Applicazione.xsd @@ -821,6 +821,17 @@ FROM v_ElencoDossier + + + + dbo.stp_ED_DeleteQuery + + + + + + + @@ -1009,6 +1020,17 @@ FROM v_Misure + + + + dbo.stp_Mis_getByDossier + + + + + + + @@ -1222,7 +1244,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + dbo.stp_AT_DeleteQuery @@ -1244,7 +1266,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + dbo.stp_AT_InsertQuery @@ -1279,7 +1301,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1299,7 +1321,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1336,7 +1358,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1356,7 +1378,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1384,7 +1406,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1433,7 +1455,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1458,7 +1480,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1515,7 +1537,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1554,7 +1576,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1584,7 +1606,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1677,7 +1699,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1791,7 +1813,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1811,7 +1833,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - + @@ -1901,18 +1923,18 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode) - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/CMS-SC-Data/DS_Applicazione.xss b/CMS-SC-Data/DS_Applicazione.xss index 0121e2b..559ccc5 100644 --- a/CMS-SC-Data/DS_Applicazione.xss +++ b/CMS-SC-Data/DS_Applicazione.xss @@ -4,21 +4,21 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - + + - + - - - - - - - + + + + + + + @@ -81,7 +81,7 @@ - + 1188 @@ -93,7 +93,7 @@ - + 350 @@ -105,7 +105,7 @@ - + 1061 @@ -117,7 +117,7 @@ - + 1096 @@ -129,7 +129,7 @@ - + 814 @@ -141,7 +141,7 @@ - + 1306 @@ -153,7 +153,7 @@ - + 1476 diff --git a/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll b/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll index c413705..f7c2da6 100644 Binary files a/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll and b/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll differ diff --git a/CMS-SC-Data/bin/Debug/NLog.config b/CMS-SC-Data/bin/Debug/NLog.config index 13ec9f7..ede1596 100644 --- a/CMS-SC-Data/bin/Debug/NLog.config +++ b/CMS-SC-Data/bin/Debug/NLog.config @@ -1,31 +1,15 @@ - - - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - - - + + @@ -33,10 +17,9 @@ - + \ No newline at end of file diff --git a/CMS-SC-Data/bin/Debug/SteamWare.dll b/CMS-SC-Data/bin/Debug/SteamWare.dll index 2d73f0b..53d1116 100644 Binary files a/CMS-SC-Data/bin/Debug/SteamWare.dll and b/CMS-SC-Data/bin/Debug/SteamWare.dll differ diff --git a/CMS-SC-Data/bin/Debug/SteamWare.xml b/CMS-SC-Data/bin/Debug/SteamWare.xml index b1b21c5..4157f50 100644 --- a/CMS-SC-Data/bin/Debug/SteamWare.xml +++ b/CMS-SC-Data/bin/Debug/SteamWare.xml @@ -55,6 +55,11 @@ tipo id controllo con classi di base comune da cui derivare gli *.asmx + + + imposto il tipo di anagrafica del controlloS + + nome della pagina correntemente caricata @@ -424,6 +429,32 @@ + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + legge e scrive in viewState la stringa di filtraggio... + + + + + variabile salvata in viewstate x la direzione del sorting + + + + + genera la stringa filtro x i cdc autorizzati x l'user + + + esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi @@ -499,6 +530,11 @@ + + + tipo di vista del modulo + + effettua la registrazione degli eventi @@ -549,42 +585,6 @@ The tipo. - - - imposto il tipo di anagrafica del controlloS - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - legge e scrive in viewState la stringa di filtraggio... - - - - - variabile salvata in viewstate x la direzione del sorting - - - - - genera la stringa filtro x i cdc autorizzati x l'user - - - - - - tipo di vista del modulo - - classe gestione auth @@ -735,21 +735,6 @@ inizializzazione classe - - - valorizza i diff dei valori old e new - - - - - calcola solo il vettore dei valori old (x delete) - - - - - oggetto statico per il confronto valori - - stringa diff dei valori originali modificati @@ -760,6 +745,16 @@ stringa diff dei valori nuovi modificati + + + valorizza i diff dei valori old e new + + + + + calcola solo il vettore dei valori old (x delete) + + dictionary dei parametri old @@ -770,6 +765,11 @@ dictionary dei parametri new + + + oggetto statico per il confronto valori + + classe di gestione lettura @@ -1258,16 +1258,16 @@ - - - classe singleton x la gestione dei tableadapters - - elenco lingue ammesse da vocabolario... + + + classe singleton x la gestione dei tableadapters + + classe di gestione dei db x creazione/update alla versione richiesta @@ -1415,6 +1415,11 @@ + + + restituisce nome cookie di auth (o default...) + + genera la passphrase utente a partire dai parametri richiesti @@ -1436,59 +1441,6 @@ cancella da session l'utente - - - conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 - - - - - - - verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati - - - - - - - carica la riga dati utente - - - - - Carica la tabella diritti dell'utente da db e salva in session - - - - - Effettua setup dei permessi una volta salvati i diritti - - - - - verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta - - - - - - - restituisce il nome della pagina corrente - - - - - restituisce nome cookie di auth (o default...) - - restituisce la tabella diritti da session @@ -1539,6 +1491,49 @@ è un boolean che indica se in session ci siano user/email e DeviceSecret (cookie) e quindi utente autenticato in precedenza... + + + conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 + + + + + + + verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') + + + + + + + Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati + + + + + + + carica la riga dati utente + + + + + Carica la tabella diritti dell'utente da db e salva in session + + + + + Effettua setup dei permessi una volta salvati i diritti + + + + + verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta + + + + pagina correntemente visualizzata (URL in sessione) @@ -1549,6 +1544,11 @@ pagina precedentemente visualizzata (URL in sessione) + + + restituisce il nome della pagina corrente + + classe gestione parametri deviceper stampa @@ -1614,36 +1614,17 @@ helper x raccolta dati di diagnostica + + + uptime macchina (formattato) + + calcolo uptime in formato timespan - - - elenco devices USB - - - - - - registra esito ping ad un dato IP/hostname - - IPaddress / host name. - - - - restituisce contenuto di una pagina web (per testing) - - - - - - - uptime macchina (formattato) - - restituisce elenco dischi con utilizzo (formattato) @@ -1661,11 +1642,30 @@ + + + elenco devices USB + + + elenco porte seriali + + + registra esito ping ad un dato IP/hostname + + IPaddress / host name. + + + + restituisce contenuto di una pagina web (per testing) + + + + classe definizione info oggetti USB @@ -2951,6 +2951,11 @@ avvio del logger nella dir desiderata + + + livello di log applicazione (da web.config, chiave '_logLevel') + + avvio del logger nella dir desiderata @@ -3014,11 +3019,6 @@ - - - livello di log applicazione (da web.config, chiave '_logLevel') - - tipo di log ammesso @@ -3310,12 +3310,22 @@ + + + elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... + + aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update + + + elenco dictionary dei valori in session da NON aggiornare con update... + + aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...) @@ -3328,16 +3338,6 @@ forza lo svuotamento delel tabelle indicate come in cache... - - - elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... - - - - - elenco dictionary dei valori in session da NON aggiornare con update... - - Salted password hashing with PBKDF2-SHA1. @@ -3435,6 +3435,11 @@ web control che disegna un grafico a torta + + + tipo di grafico (2D/3D) + + altezza di default @@ -3460,6 +3465,41 @@ soglia minima 5% per mostrare il dato + + + ampiezza del grafico + + + + + altezza del grafico + + + + + padding grafico/container + + + + + boolean se si debba mostrale la legenda + + + + + percentuale minima da mostrare + + + + + serie di dati (tipizzata) ma mostrare + + + + + testo associato al controllo + + renderizza il contenuto @@ -3505,46 +3545,6 @@ - - - tipo di grafico (2D/3D) - - - - - ampiezza del grafico - - - - - altezza del grafico - - - - - padding grafico/container - - - - - boolean se si debba mostrale la legenda - - - - - percentuale minima da mostrare - - - - - serie di dati (tipizzata) ma mostrare - - - - - testo associato al controllo - - Classe gestione metodi di accesso ai dati embeddati @@ -3783,11 +3783,71 @@ + + + restituisce la tabella diritti da session + + + + + tabella dei permessi utente + + + + + tabella dei permessi utente di tipo "WRITE" enabled + + inizializza la gestione utente... + + + retituisce username AD + + + + + oggetto utente con metodi get/set + + + + + oggetto password con metodi get/set + + + + + oggetto dominio con metodi get/set + + + + + oggetto modulo (applicazione) con metodi get/set + + + + + oggetto lingua utente con metodi get/set + + + + + oggetto runMode corrente + + + + + restituisce true se utente forzato da forceUser.aspx + + + + + restituisce i valori della riga utente da db + + restituisce riga utente data la matricola... @@ -3795,6 +3855,31 @@ matricola + + + restituisce una stringa formattata con cognome, nome e matricola + + + + + restituisce una stringa della sigla dell'utente + + + + + restituisce una stringa formattata con cognome e nome + + + + + restituisce una stringa formattata con cognome + + + + + restituisce una stringa formattata con nome + + traduce il lemma nella lingua dell'user corrente @@ -3824,6 +3909,11 @@ + + + fornisce un file XML della mappa del sito abilitato per l'utente... + + LogOff utente con reset dati @@ -3883,6 +3973,11 @@ + + + è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... + + conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 @@ -4022,101 +4117,6 @@ versione statica della classe utente come singleton UtenTeSignletoN - - - restituisce la tabella diritti da session - - - - - tabella dei permessi utente - - - - - tabella dei permessi utente di tipo "WRITE" enabled - - - - - retituisce username AD - - - - - oggetto utente con metodi get/set - - - - - oggetto password con metodi get/set - - - - - oggetto dominio con metodi get/set - - - - - oggetto modulo (applicazione) con metodi get/set - - - - - oggetto lingua utente con metodi get/set - - - - - oggetto runMode corrente - - - - - restituisce true se utente forzato da forceUser.aspx - - - - - restituisce i valori della riga utente da db - - - - - restituisce una stringa formattata con cognome, nome e matricola - - - - - restituisce una stringa della sigla dell'utente - - - - - restituisce una stringa formattata con cognome e nome - - - - - restituisce una stringa formattata con cognome - - - - - restituisce una stringa formattata con nome - - - - - fornisce un file XML della mappa del sito abilitato per l'utente... - - - - - è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... - - pagina correntemente visualizzata (URL in sessione) diff --git a/CMS-SC-Data/bin/Release/CMS-SC-Data.dll b/CMS-SC-Data/bin/Release/CMS-SC-Data.dll index 99ca57f..b628d6b 100644 Binary files a/CMS-SC-Data/bin/Release/CMS-SC-Data.dll and b/CMS-SC-Data/bin/Release/CMS-SC-Data.dll differ diff --git a/CMS-SC-Data/bin/Release/NLog.config b/CMS-SC-Data/bin/Release/NLog.config index 13ec9f7..ede1596 100644 --- a/CMS-SC-Data/bin/Release/NLog.config +++ b/CMS-SC-Data/bin/Release/NLog.config @@ -1,31 +1,15 @@ - - - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - - - + + @@ -33,10 +17,9 @@ - + \ No newline at end of file diff --git a/CMS-SC-Data/bin/Release/SteamWare.dll b/CMS-SC-Data/bin/Release/SteamWare.dll index f6e1016..ebfe80c 100644 Binary files a/CMS-SC-Data/bin/Release/SteamWare.dll and b/CMS-SC-Data/bin/Release/SteamWare.dll differ diff --git a/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.FileListAbsolute.txt b/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.FileListAbsolute.txt index 153587a..f0cd26c 100644 --- a/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.FileListAbsolute.txt +++ b/CMS-SC-Data/obj/Debug/CMS-SC-Data.csproj.FileListAbsolute.txt @@ -10,3 +10,15 @@ C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\bin\De C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\obj\Debug\CMS-SC-Data.csprojResolveAssemblyReference.cache C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\obj\Debug\CMS-SC-Data.dll C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\obj\Debug\CMS-SC-Data.pdb +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\NLog.config +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\CMS-SC-Data.dll.config +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\CMS-SC-Data.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\CMS-SC-Data.pdb +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\SteamWare.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\Flesk.ViewState.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\ICSharpCode.SharpZipLib.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\SteamWare.pdb +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Debug\SteamWare.xml +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\obj\Debug\CMS-SC-Data.csprojResolveAssemblyReference.cache +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\obj\Debug\CMS-SC-Data.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\obj\Debug\CMS-SC-Data.pdb diff --git a/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll b/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll index c413705..f7c2da6 100644 Binary files a/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll and b/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll 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 baead68..702fd6e 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-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt b/CMS-SC-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt index 86be25b..959e3c8 100644 --- a/CMS-SC-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt +++ b/CMS-SC-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt @@ -28,3 +28,13 @@ C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-S C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.csprojResolveAssemblyReference.cache C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.dll C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.pdb +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Release\NLog.config +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Release\CMS-SC-Data.dll.config +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Release\CMS-SC-Data.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Release\CMS-SC-Data.pdb +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Release\SteamWare.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Release\Flesk.ViewState.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\bin\Release\ICSharpCode.SharpZipLib.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.csprojResolveAssemblyReference.cache +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.dll +C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.pdb diff --git a/CMS-SC-Data/obj/Release/CMS-SC-Data.dll b/CMS-SC-Data/obj/Release/CMS-SC-Data.dll index 99ca57f..b628d6b 100644 Binary files a/CMS-SC-Data/obj/Release/CMS-SC-Data.dll and b/CMS-SC-Data/obj/Release/CMS-SC-Data.dll differ diff --git a/CMS-SC-Data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll b/CMS-SC-Data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll index d6601fa..61776ca 100644 Binary files a/CMS-SC-Data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll and b/CMS-SC-Data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/CMS_SC/ToDo.txt b/CMS_SC/ToDo.txt index 72fd260..fd2bd9b 100644 --- a/CMS_SC/ToDo.txt +++ b/CMS_SC/ToDo.txt @@ -6,7 +6,7 @@ - export excel "in bianco" (da compilare) da verificare - fare schema funzioni/utenti da far compilare -- SC in dossier: cancellabile (con btn come aggiungi, x SuperUser) SE non ci sono istanze misurazioni +- SC in dossier: cancellabile (con btn come aggiungi, x SuperUser) ANCHE SE ci sono istanze misurazioni - Misurazioni in collaudi: eliminabile in blocco x intera SC SE NON CI SONO MISURAZIONI - pulsanti delete dossier: condizionare a presenza items child - FCS: mettere a livelo SC e NON dettaglio valori (modifiche in cascata) diff --git a/CMS_SC/WebUserControls/mod_elencoDossiers.ascx b/CMS_SC/WebUserControls/mod_elencoDossiers.ascx index 2e8382f..246a260 100644 --- a/CMS_SC/WebUserControls/mod_elencoDossiers.ascx +++ b/CMS_SC/WebUserControls/mod_elencoDossiers.ascx @@ -22,10 +22,10 @@ - + - + @@ -34,7 +34,10 @@ - + + + + diff --git a/CMS_SC/WebUserControls/mod_elencoDossiers.ascx.cs b/CMS_SC/WebUserControls/mod_elencoDossiers.ascx.cs index 5eb49da..1553fe8 100644 --- a/CMS_SC/WebUserControls/mod_elencoDossiers.ascx.cs +++ b/CMS_SC/WebUserControls/mod_elencoDossiers.ascx.cs @@ -92,5 +92,48 @@ namespace CMS_SC.WebUserControls { return user_std.UtSn.Traduci(lemma); } + + public bool userCanDel(object _idxDossier) + { + bool answ = false; + int idxDossier = 0; + int trovati = 0; + // se è superuser è SEMPRE true... + //answ = userIsAdmin; + if (!answ) + { + // altrimenti verifico se sia un dossier "vuoto" e quindi eliminabile... + try + { + idxDossier = Convert.ToInt32(_idxDossier); + // cerco se ci sono record misure (NON devono esserci...) + trovati = DtProxy.man.taMis.getByDossier(idxDossier).Rows.Count; + } + catch + { } + if (trovati == 0) + { + answ = true; + } + } + return answ; + } + /// + /// determina se user sia SuperAdmin + /// + public bool userIsAdmin + { + get + { + bool answ = false; + try + { + answ = devicesAuthProxy.stObj.userHasRight("SuperAdmin"); + } + catch + { } + return answ; + } + } } } \ No newline at end of file diff --git a/CMS_SC/bin/CMS-SC-Data.dll b/CMS_SC/bin/CMS-SC-Data.dll index 99ca57f..f7c2da6 100644 Binary files a/CMS_SC/bin/CMS-SC-Data.dll and b/CMS_SC/bin/CMS-SC-Data.dll differ diff --git a/CMS_SC/bin/CMS_SC.dll b/CMS_SC/bin/CMS_SC.dll index 91ba521..0fd8087 100644 Binary files a/CMS_SC/bin/CMS_SC.dll and b/CMS_SC/bin/CMS_SC.dll differ diff --git a/CMS_SC/bin/SteamWare.dll b/CMS_SC/bin/SteamWare.dll index f6e1016..53d1116 100644 Binary files a/CMS_SC/bin/SteamWare.dll and b/CMS_SC/bin/SteamWare.dll differ diff --git a/CMS_SC/bin/SteamWare.xml b/CMS_SC/bin/SteamWare.xml index b1b21c5..4157f50 100644 --- a/CMS_SC/bin/SteamWare.xml +++ b/CMS_SC/bin/SteamWare.xml @@ -55,6 +55,11 @@ tipo id controllo con classi di base comune da cui derivare gli *.asmx + + + imposto il tipo di anagrafica del controlloS + + nome della pagina correntemente caricata @@ -424,6 +429,32 @@ + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + variabile salvata in view state x la stringa di sorting - dg 2 + + + + + legge e scrive in viewState la stringa di filtraggio... + + + + + variabile salvata in viewstate x la direzione del sorting + + + + + genera la stringa filtro x i cdc autorizzati x l'user + + + esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi @@ -499,6 +530,11 @@ + + + tipo di vista del modulo + + effettua la registrazione degli eventi @@ -549,42 +585,6 @@ The tipo. - - - imposto il tipo di anagrafica del controlloS - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - variabile salvata in view state x la stringa di sorting - dg 2 - - - - - legge e scrive in viewState la stringa di filtraggio... - - - - - variabile salvata in viewstate x la direzione del sorting - - - - - genera la stringa filtro x i cdc autorizzati x l'user - - - - - - tipo di vista del modulo - - classe gestione auth @@ -735,21 +735,6 @@ inizializzazione classe - - - valorizza i diff dei valori old e new - - - - - calcola solo il vettore dei valori old (x delete) - - - - - oggetto statico per il confronto valori - - stringa diff dei valori originali modificati @@ -760,6 +745,16 @@ stringa diff dei valori nuovi modificati + + + valorizza i diff dei valori old e new + + + + + calcola solo il vettore dei valori old (x delete) + + dictionary dei parametri old @@ -770,6 +765,11 @@ dictionary dei parametri new + + + oggetto statico per il confronto valori + + classe di gestione lettura @@ -1258,16 +1258,16 @@ - - - classe singleton x la gestione dei tableadapters - - elenco lingue ammesse da vocabolario... + + + classe singleton x la gestione dei tableadapters + + classe di gestione dei db x creazione/update alla versione richiesta @@ -1415,6 +1415,11 @@ + + + restituisce nome cookie di auth (o default...) + + genera la passphrase utente a partire dai parametri richiesti @@ -1436,59 +1441,6 @@ cancella da session l'utente - - - conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 - - - - - - - verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') - - - - - - - Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati - - - - - - - carica la riga dati utente - - - - - Carica la tabella diritti dell'utente da db e salva in session - - - - - Effettua setup dei permessi una volta salvati i diritti - - - - - verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta - - - - - - - restituisce il nome della pagina corrente - - - - - restituisce nome cookie di auth (o default...) - - restituisce la tabella diritti da session @@ -1539,6 +1491,49 @@ è un boolean che indica se in session ci siano user/email e DeviceSecret (cookie) e quindi utente autenticato in precedenza... + + + conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 + + + + + + + verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S') + + + + + + + Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati + + + + + + + carica la riga dati utente + + + + + Carica la tabella diritti dell'utente da db e salva in session + + + + + Effettua setup dei permessi una volta salvati i diritti + + + + + verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta + + + + pagina correntemente visualizzata (URL in sessione) @@ -1549,6 +1544,11 @@ pagina precedentemente visualizzata (URL in sessione) + + + restituisce il nome della pagina corrente + + classe gestione parametri deviceper stampa @@ -1614,36 +1614,17 @@ helper x raccolta dati di diagnostica + + + uptime macchina (formattato) + + calcolo uptime in formato timespan - - - elenco devices USB - - - - - - registra esito ping ad un dato IP/hostname - - IPaddress / host name. - - - - restituisce contenuto di una pagina web (per testing) - - - - - - - uptime macchina (formattato) - - restituisce elenco dischi con utilizzo (formattato) @@ -1661,11 +1642,30 @@ + + + elenco devices USB + + + elenco porte seriali + + + registra esito ping ad un dato IP/hostname + + IPaddress / host name. + + + + restituisce contenuto di una pagina web (per testing) + + + + classe definizione info oggetti USB @@ -2951,6 +2951,11 @@ avvio del logger nella dir desiderata + + + livello di log applicazione (da web.config, chiave '_logLevel') + + avvio del logger nella dir desiderata @@ -3014,11 +3019,6 @@ - - - livello di log applicazione (da web.config, chiave '_logLevel') - - tipo di log ammesso @@ -3310,12 +3310,22 @@ + + + elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... + + aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update + + + elenco dictionary dei valori in session da NON aggiornare con update... + + aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...) @@ -3328,16 +3338,6 @@ forza lo svuotamento delel tabelle indicate come in cache... - - - elenco dictionary delle tab in cache da aggiornare con update svuotando da cache... - - - - - elenco dictionary dei valori in session da NON aggiornare con update... - - Salted password hashing with PBKDF2-SHA1. @@ -3435,6 +3435,11 @@ web control che disegna un grafico a torta + + + tipo di grafico (2D/3D) + + altezza di default @@ -3460,6 +3465,41 @@ soglia minima 5% per mostrare il dato + + + ampiezza del grafico + + + + + altezza del grafico + + + + + padding grafico/container + + + + + boolean se si debba mostrale la legenda + + + + + percentuale minima da mostrare + + + + + serie di dati (tipizzata) ma mostrare + + + + + testo associato al controllo + + renderizza il contenuto @@ -3505,46 +3545,6 @@ - - - tipo di grafico (2D/3D) - - - - - ampiezza del grafico - - - - - altezza del grafico - - - - - padding grafico/container - - - - - boolean se si debba mostrale la legenda - - - - - percentuale minima da mostrare - - - - - serie di dati (tipizzata) ma mostrare - - - - - testo associato al controllo - - Classe gestione metodi di accesso ai dati embeddati @@ -3783,11 +3783,71 @@ + + + restituisce la tabella diritti da session + + + + + tabella dei permessi utente + + + + + tabella dei permessi utente di tipo "WRITE" enabled + + inizializza la gestione utente... + + + retituisce username AD + + + + + oggetto utente con metodi get/set + + + + + oggetto password con metodi get/set + + + + + oggetto dominio con metodi get/set + + + + + oggetto modulo (applicazione) con metodi get/set + + + + + oggetto lingua utente con metodi get/set + + + + + oggetto runMode corrente + + + + + restituisce true se utente forzato da forceUser.aspx + + + + + restituisce i valori della riga utente da db + + restituisce riga utente data la matricola... @@ -3795,6 +3855,31 @@ matricola + + + restituisce una stringa formattata con cognome, nome e matricola + + + + + restituisce una stringa della sigla dell'utente + + + + + restituisce una stringa formattata con cognome e nome + + + + + restituisce una stringa formattata con cognome + + + + + restituisce una stringa formattata con nome + + traduce il lemma nella lingua dell'user corrente @@ -3824,6 +3909,11 @@ + + + fornisce un file XML della mappa del sito abilitato per l'utente... + + LogOff utente con reset dati @@ -3883,6 +3973,11 @@ + + + è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... + + conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1 @@ -4022,101 +4117,6 @@ versione statica della classe utente come singleton UtenTeSignletoN - - - restituisce la tabella diritti da session - - - - - tabella dei permessi utente - - - - - tabella dei permessi utente di tipo "WRITE" enabled - - - - - retituisce username AD - - - - - oggetto utente con metodi get/set - - - - - oggetto password con metodi get/set - - - - - oggetto dominio con metodi get/set - - - - - oggetto modulo (applicazione) con metodi get/set - - - - - oggetto lingua utente con metodi get/set - - - - - oggetto runMode corrente - - - - - restituisce true se utente forzato da forceUser.aspx - - - - - restituisce i valori della riga utente da db - - - - - restituisce una stringa formattata con cognome, nome e matricola - - - - - restituisce una stringa della sigla dell'utente - - - - - restituisce una stringa formattata con cognome e nome - - - - - restituisce una stringa formattata con cognome - - - - - restituisce una stringa formattata con nome - - - - - fornisce un file XML della mappa del sito abilitato per l'utente... - - - - - è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza... - - pagina correntemente visualizzata (URL in sessione) diff --git a/VersGen/CMS_SC.cs b/VersGen/CMS_SC.cs index e47be31..ff4d229 100644 --- a/VersGen/CMS_SC.cs +++ b/VersGen/CMS_SC.cs @@ -5,7 +5,7 @@ using System.Reflection; -[assembly: AssemblyVersion("1.7.059.340")] -[assembly: AssemblyFileVersion("1.7.059.340")] +[assembly: AssemblyVersion("1.8.061.349")] +[assembly: AssemblyFileVersion("1.8.061.349")] [assembly: AssemblyCopyright("Steamware © 2009-2015")] [assembly: AssemblyCompany("Steamware")] diff --git a/VersGen/CMS_SC.tt b/VersGen/CMS_SC.tt index 453af90..10810d3 100644 --- a/VersGen/CMS_SC.tt +++ b/VersGen/CMS_SC.tt @@ -6,8 +6,8 @@ using System.Reflection; -[assembly: AssemblyVersion("1.7.059.<#= this.RevisionNumber #>")] -[assembly: AssemblyFileVersion("1.7.059.<#= this.RevisionNumber #>")] +[assembly: AssemblyVersion("1.8.061.<#= this.RevisionNumber #>")] +[assembly: AssemblyFileVersion("1.8.061.<#= this.RevisionNumber #>")] [assembly: AssemblyCopyright("Steamware © 2009-<#= DateTime.Now.Year #>")] [assembly: AssemblyCompany("Steamware")] <#+ diff --git a/VersGen/bin/Debug/VersGen.dll b/VersGen/bin/Debug/VersGen.dll index 7aaa44b..dc1bd47 100644 Binary files a/VersGen/bin/Debug/VersGen.dll and b/VersGen/bin/Debug/VersGen.dll differ diff --git a/VersGen/bin/Release/VersGen.dll b/VersGen/bin/Release/VersGen.dll index a1cf7fb..09e6abf 100644 Binary files a/VersGen/bin/Release/VersGen.dll and b/VersGen/bin/Release/VersGen.dll differ