continuato x collaudi, ANCORA NON OK...

This commit is contained in:
Samuele E. Locatelli
2015-06-17 16:27:51 +02:00
parent 1445745b79
commit cdc295fdce
19 changed files with 772 additions and 557 deletions
+304 -432
View File
@@ -3654,6 +3654,20 @@ namespace CMS_SC_Data {
private global::System.Data.DataColumn columnCodDeroga;
private global::System.Data.DataColumn columnNomeMisura;
private global::System.Data.DataColumn columnTipoValMisura;
private global::System.Data.DataColumn columnNomePar;
private global::System.Data.DataColumn columnMinPar;
private global::System.Data.DataColumn columnMaxPar;
private global::System.Data.DataColumn columnLIVal;
private global::System.Data.DataColumn columnLSVal;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MisureDataTable() {
@@ -3783,6 +3797,62 @@ namespace CMS_SC_Data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NomeMisuraColumn {
get {
return this.columnNomeMisura;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn TipoValMisuraColumn {
get {
return this.columnTipoValMisura;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NomeParColumn {
get {
return this.columnNomePar;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MinParColumn {
get {
return this.columnMinPar;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MaxParColumn {
get {
return this.columnMaxPar;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn LIValColumn {
get {
return this.columnLIVal;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn LSValColumn {
get {
return this.columnLSVal;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -3820,7 +3890,26 @@ namespace CMS_SC_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MisureRow AddMisureRow(int IdxDossier, string CodScheda, int Vers, int NumScheda, string CodMisura, AnagFasiRow parentAnagFasiRowByFK_IstanzeMisura_AnagFasi, string Operatore, System.DateTime DataOra, double ValorePar, string ValoreMis, bool OkValMis, string CodDeroga) {
public MisureRow AddMisureRow(
int IdxDossier,
string CodScheda,
int Vers,
int NumScheda,
string CodMisura,
AnagFasiRow parentAnagFasiRowByFK_IstanzeMisura_AnagFasi,
string Operatore,
System.DateTime DataOra,
double ValorePar,
string ValoreMis,
bool OkValMis,
string CodDeroga,
string NomeMisura,
string TipoValMisura,
string NomePar,
double MinPar,
double MaxPar,
double LIVal,
double LSVal) {
MisureRow rowMisureRow = ((MisureRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxDossier,
@@ -3834,7 +3923,14 @@ namespace CMS_SC_Data {
ValorePar,
ValoreMis,
OkValMis,
CodDeroga};
CodDeroga,
NomeMisura,
TipoValMisura,
NomePar,
MinPar,
MaxPar,
LIVal,
LSVal};
if ((parentAnagFasiRowByFK_IstanzeMisura_AnagFasi != null)) {
columnValuesArray[5] = parentAnagFasiRowByFK_IstanzeMisura_AnagFasi[0];
}
@@ -3884,6 +3980,13 @@ namespace CMS_SC_Data {
this.columnValoreMis = base.Columns["ValoreMis"];
this.columnOkValMis = base.Columns["OkValMis"];
this.columnCodDeroga = base.Columns["CodDeroga"];
this.columnNomeMisura = base.Columns["NomeMisura"];
this.columnTipoValMisura = base.Columns["TipoValMisura"];
this.columnNomePar = base.Columns["NomePar"];
this.columnMinPar = base.Columns["MinPar"];
this.columnMaxPar = base.Columns["MaxPar"];
this.columnLIVal = base.Columns["LIVal"];
this.columnLSVal = base.Columns["LSVal"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3913,6 +4016,20 @@ namespace CMS_SC_Data {
base.Columns.Add(this.columnOkValMis);
this.columnCodDeroga = new global::System.Data.DataColumn("CodDeroga", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodDeroga);
this.columnNomeMisura = new global::System.Data.DataColumn("NomeMisura", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNomeMisura);
this.columnTipoValMisura = new global::System.Data.DataColumn("TipoValMisura", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTipoValMisura);
this.columnNomePar = new global::System.Data.DataColumn("NomePar", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNomePar);
this.columnMinPar = new global::System.Data.DataColumn("MinPar", typeof(double), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMinPar);
this.columnMaxPar = new global::System.Data.DataColumn("MaxPar", typeof(double), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMaxPar);
this.columnLIVal = new global::System.Data.DataColumn("LIVal", typeof(double), null, global::System.Data.MappingType.Element);
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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxDossier,
this.columnCodScheda,
@@ -3936,7 +4053,18 @@ namespace CMS_SC_Data {
this.columnValoreMis.AllowDBNull = false;
this.columnValoreMis.MaxLength = 4000;
this.columnOkValMis.AllowDBNull = false;
this.columnCodDeroga.AllowDBNull = false;
this.columnCodDeroga.MaxLength = 50;
this.columnNomeMisura.AllowDBNull = false;
this.columnNomeMisura.MaxLength = 50;
this.columnTipoValMisura.AllowDBNull = false;
this.columnTipoValMisura.MaxLength = 50;
this.columnNomePar.AllowDBNull = false;
this.columnNomePar.MaxLength = 50;
this.columnMinPar.AllowDBNull = false;
this.columnMaxPar.AllowDBNull = false;
this.columnLIVal.AllowDBNull = false;
this.columnLSVal.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5222,18 +5350,90 @@ namespace CMS_SC_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodDeroga {
get {
try {
return ((string)(this[this.tableMisure.CodDerogaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodDeroga\' in table \'Misure\' is DBNull.", e);
}
return ((string)(this[this.tableMisure.CodDerogaColumn]));
}
set {
this[this.tableMisure.CodDerogaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string NomeMisura {
get {
return ((string)(this[this.tableMisure.NomeMisuraColumn]));
}
set {
this[this.tableMisure.NomeMisuraColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string TipoValMisura {
get {
return ((string)(this[this.tableMisure.TipoValMisuraColumn]));
}
set {
this[this.tableMisure.TipoValMisuraColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string NomePar {
get {
return ((string)(this[this.tableMisure.NomeParColumn]));
}
set {
this[this.tableMisure.NomeParColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public double MinPar {
get {
return ((double)(this[this.tableMisure.MinParColumn]));
}
set {
this[this.tableMisure.MinParColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public double MaxPar {
get {
return ((double)(this[this.tableMisure.MaxParColumn]));
}
set {
this[this.tableMisure.MaxParColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public double LIVal {
get {
return ((double)(this[this.tableMisure.LIValColumn]));
}
set {
this[this.tableMisure.LIValColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public double LSVal {
get {
return ((double)(this[this.tableMisure.LSValColumn]));
}
set {
this[this.tableMisure.LSValColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagFasiRow AnagFasiRow {
@@ -5255,18 +5455,6 @@ namespace CMS_SC_Data {
this.SetParentRow(value, this.Table.ParentRelations["FK_Misure_SchemaCollMacc"]);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCodDerogaNull() {
return this.IsNull(this.tableMisure.CodDerogaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetCodDerogaNull() {
this[this.tableMisure.CodDerogaColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -10230,71 +10418,14 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
tableMapping.ColumnMappings.Add("ValoreMis", "ValoreMis");
tableMapping.ColumnMappings.Add("OkValMis", "OkValMis");
tableMapping.ColumnMappings.Add("CodDeroga", "CodDeroga");
tableMapping.ColumnMappings.Add("NomeMisura", "NomeMisura");
tableMapping.ColumnMappings.Add("TipoValMisura", "TipoValMisura");
tableMapping.ColumnMappings.Add("NomePar", "NomePar");
tableMapping.ColumnMappings.Add("MinPar", "MinPar");
tableMapping.ColumnMappings.Add("MaxPar", "MaxPar");
tableMapping.ColumnMappings.Add("LIVal", "LIVal");
tableMapping.ColumnMappings.Add("LSVal", "LSVal");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Misure] WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ([CodMisura] = @Original_CodMisura) AND ([Fase] = @Original_Fase) AND ([Operatore] = @Original_Operatore) AND ([DataOra] = @Original_DataOra) AND ([ValorePar] = @Original_ValorePar) AND ([ValoreMis] = @Original_ValoreMis) AND ([OkValMis] = @Original_OkValMis) AND ((@IsNull_CodDeroga = 1 AND [CodDeroga] IS NULL) OR ([CodDeroga] = @Original_CodDeroga)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMisura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Operatore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Operatore", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValorePar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValorePar", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValoreMis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreMis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OkValMis", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OkValMis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDeroga", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDeroga", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDeroga", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDeroga", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Misure] ([IdxDossier], [CodScheda], [Vers], [NumScheda], [CodMisura], [Fase], [Operatore], [DataOra], [ValorePar], [ValoreMis], [OkValMis], [CodDeroga]) VALUES (@IdxDossier, @CodScheda, @Vers, @NumScheda, @CodMisura, @Fase, @Operatore, @DataOra, @ValorePar, @ValoreMis, @OkValMis, @CodDeroga);
SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataOra, ValorePar, ValoreMis, OkValMis, CodDeroga FROM Misure WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Fase = @Fase) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMisura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Operatore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Operatore", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValorePar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValorePar", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreMis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreMis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OkValMis", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OkValMis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDeroga", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDeroga", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Misure] SET [IdxDossier] = @IdxDossier, [CodScheda] = @CodScheda, [Vers] = @Vers, [NumScheda] = @NumScheda, [CodMisura] = @CodMisura, [Fase] = @Fase, [Operatore] = @Operatore, [DataOra] = @DataOra, [ValorePar] = @ValorePar, [ValoreMis] = @ValoreMis, [OkValMis] = @OkValMis, [CodDeroga] = @CodDeroga WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ([CodMisura] = @Original_CodMisura) AND ([Fase] = @Original_Fase) AND ([Operatore] = @Original_Operatore) AND ([DataOra] = @Original_DataOra) AND ([ValorePar] = @Original_ValorePar) AND ([ValoreMis] = @Original_ValoreMis) AND ([OkValMis] = @Original_OkValMis) AND ((@IsNull_CodDeroga = 1 AND [CodDeroga] IS NULL) OR ([CodDeroga] = @Original_CodDeroga)));
SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataOra, ValorePar, ValoreMis, OkValMis, CodDeroga FROM Misure WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Fase = @Fase) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMisura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Operatore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Operatore", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValorePar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValorePar", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValoreMis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreMis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OkValMis", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OkValMis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDeroga", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDeroga", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxDossier", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxDossier", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodScheda", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumScheda", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumScheda", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMisura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMisura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fase", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Operatore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Operatore", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValorePar", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValorePar", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValoreMis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValoreMis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OkValMis", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OkValMis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDeroga", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDeroga", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDeroga", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDeroga", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10307,12 +10438,35 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
[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 = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataOr" +
"a, ValorePar, ValoreMis, OkValMis, CodDeroga FROM dbo.Misure";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_Misure";
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_Mis_getDataFilt";
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("@IdxDossier", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].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[1].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[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_Mis_getNum2Ins";
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_insMissing";
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, "", "", ""));
this._commandCollection[3].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[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, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10342,315 +10496,99 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
[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 Update(DS_Applicazione.MisureDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DS_Applicazione dataSet) {
return this.Adapter.Update(dataSet, "Misure");
}
[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 Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int Original_IdxDossier, string Original_CodScheda, int Original_Vers, int Original_NumScheda, string Original_CodMisura, string Original_Fase, string Original_Operatore, System.DateTime Original_DataOra, double Original_ValorePar, string Original_ValoreMis, bool Original_OkValMis, string Original_CodDeroga) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxDossier));
if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.MisureDataTable getDataFilt(global::System.Nullable<int> IdxDossier, string CodSchedaVers, string Fase) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodScheda));
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_Vers));
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumScheda));
if ((Original_CodMisura == null)) {
throw new global::System.ArgumentNullException("Original_CodMisura");
if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodMisura));
}
if ((Original_Fase == null)) {
throw new global::System.ArgumentNullException("Original_Fase");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Fase));
}
if ((Original_Operatore == null)) {
throw new global::System.ArgumentNullException("Original_Operatore");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Operatore));
}
this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_DataOra));
this.Adapter.DeleteCommand.Parameters[8].Value = ((double)(Original_ValorePar));
if ((Original_ValoreMis == null)) {
throw new global::System.ArgumentNullException("Original_ValoreMis");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_ValoreMis));
}
this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_OkValMis));
if ((Original_CodDeroga == null)) {
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_CodDeroga));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(int IdxDossier, string CodScheda, int Vers, int NumScheda, string CodMisura, string Fase, string Operatore, System.DateTime DataOra, double ValorePar, string ValoreMis, bool OkValMis, string CodDeroga) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxDossier));
if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodScheda));
}
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(Vers));
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumScheda));
if ((CodMisura == null)) {
throw new global::System.ArgumentNullException("CodMisura");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodMisura));
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSchedaVers));
}
if ((Fase == null)) {
throw new global::System.ArgumentNullException("Fase");
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Fase));
}
if ((Operatore == null)) {
throw new global::System.ArgumentNullException("Operatore");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Operatore));
}
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(DataOra));
this.Adapter.InsertCommand.Parameters[8].Value = ((double)(ValorePar));
if ((ValoreMis == null)) {
throw new global::System.ArgumentNullException("ValoreMis");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(ValoreMis));
}
this.Adapter.InsertCommand.Parameters[10].Value = ((bool)(OkValMis));
if ((CodDeroga == null)) {
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(CodDeroga));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Fase));
}
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.Update, true)]
public virtual int Update(
int IdxDossier,
string CodScheda,
int Vers,
int NumScheda,
string CodMisura,
string Fase,
string Operatore,
System.DateTime DataOra,
double ValorePar,
string ValoreMis,
bool OkValMis,
string CodDeroga,
int Original_IdxDossier,
string Original_CodScheda,
int Original_Vers,
int Original_NumScheda,
string Original_CodMisura,
string Original_Fase,
string Original_Operatore,
System.DateTime Original_DataOra,
double Original_ValorePar,
string Original_ValoreMis,
bool Original_OkValMis,
string Original_CodDeroga) {
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxDossier));
if ((CodScheda == null)) {
throw new global::System.ArgumentNullException("CodScheda");
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.MisureDataTable getNum2Ins(global::System.Nullable<int> IdxDossier, string CodSchedaVers, string Fase) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((IdxDossier.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxDossier.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodScheda));
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Vers));
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumScheda));
if ((CodMisura == null)) {
throw new global::System.ArgumentNullException("CodMisura");
if ((CodSchedaVers == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodMisura));
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSchedaVers));
}
if ((Fase == null)) {
throw new global::System.ArgumentNullException("Fase");
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Fase));
}
if ((Operatore == null)) {
throw new global::System.ArgumentNullException("Operatore");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Operatore));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(DataOra));
this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(ValorePar));
if ((ValoreMis == null)) {
throw new global::System.ArgumentNullException("ValoreMis");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(ValoreMis));
}
this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(OkValMis));
if ((CodDeroga == null)) {
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(CodDeroga));
}
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_IdxDossier));
if ((Original_CodScheda == null)) {
throw new global::System.ArgumentNullException("Original_CodScheda");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodScheda));
}
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_Vers));
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_NumScheda));
if ((Original_CodMisura == null)) {
throw new global::System.ArgumentNullException("Original_CodMisura");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodMisura));
}
if ((Original_Fase == null)) {
throw new global::System.ArgumentNullException("Original_Fase");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_Fase));
}
if ((Original_Operatore == null)) {
throw new global::System.ArgumentNullException("Original_Operatore");
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_Operatore));
}
this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(Original_DataOra));
this.Adapter.UpdateCommand.Parameters[20].Value = ((double)(Original_ValorePar));
if ((Original_ValoreMis == null)) {
throw new global::System.ArgumentNullException("Original_ValoreMis");
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_ValoreMis));
}
this.Adapter.UpdateCommand.Parameters[22].Value = ((bool)(Original_OkValMis));
if ((Original_CodDeroga == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_CodDeroga));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Fase));
}
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.Update, true)]
public virtual int Update(
string Operatore,
System.DateTime DataOra,
double ValorePar,
string ValoreMis,
bool OkValMis,
string CodDeroga,
int Original_IdxDossier,
string Original_CodScheda,
int Original_Vers,
int Original_NumScheda,
string Original_CodMisura,
string Original_Fase,
string Original_Operatore,
System.DateTime Original_DataOra,
double Original_ValorePar,
string Original_ValoreMis,
bool Original_OkValMis,
string Original_CodDeroga) {
return this.Update(Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Original_CodMisura, Original_Fase, Operatore, DataOra, ValorePar, ValoreMis, OkValMis, CodDeroga, Original_IdxDossier, Original_CodScheda, Original_Vers, Original_NumScheda, Original_CodMisura, Original_Fase, Original_Operatore, Original_DataOra, Original_ValorePar, Original_ValoreMis, Original_OkValMis, Original_CodDeroga);
public virtual int insMissing(global::System.Nullable<int> IdxDossier, string CodSchedaVers, string Fase) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((IdxDossier.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxDossier.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((CodSchedaVers == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(CodSchedaVers));
}
if ((Fase == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(Fase));
}
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;
}
}
@@ -10680,8 +10618,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
private SchemaCollMaccTableAdapter _schemaCollMaccTableAdapter;
private MisureTableAdapter _misureTableAdapter;
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -10795,20 +10731,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public MisureTableAdapter MisureTableAdapter {
get {
return this._misureTableAdapter;
}
set {
this._misureTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -10856,10 +10778,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
&& (this._schemaCollMaccTableAdapter.Connection != null))) {
return this._schemaCollMaccTableAdapter.Connection;
}
if (((this._misureTableAdapter != null)
&& (this._misureTableAdapter.Connection != null))) {
return this._misureTableAdapter.Connection;
}
return null;
}
set {
@@ -10894,9 +10812,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
if ((this._schemaCollMaccTableAdapter != null)) {
count = (count + 1);
}
if ((this._misureTableAdapter != null)) {
count = (count + 1);
}
return count;
}
}
@@ -10971,15 +10886,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
allChangedRows.AddRange(updatedRows);
}
}
if ((this._misureTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Misure.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._misureTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
return result;
}
@@ -11046,14 +10952,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
allAddedRows.AddRange(addedRows);
}
}
if ((this._misureTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Misure.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._misureTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
return result;
}
@@ -11064,14 +10962,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
int result = 0;
if ((this._misureTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Misure.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._misureTableAdapter.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)
@@ -11202,11 +11092,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._misureTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._misureTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
@@ -11302,15 +11187,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
adaptersWithAcceptChangesDuringUpdate.Add(this._schemaCollMaccTableAdapter.Adapter);
}
}
if ((this._misureTableAdapter != null)) {
revertConnections.Add(this._misureTableAdapter, this._misureTableAdapter.Connection);
this._misureTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
this._misureTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
if (this._misureTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._misureTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._misureTableAdapter.Adapter);
}
}
//
//---- Perform updates -----------
//
@@ -11397,10 +11273,6 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
this._schemaCollMaccTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._schemaCollMaccTableAdapter]));
this._schemaCollMaccTableAdapter.Transaction = null;
}
if ((this._misureTableAdapter != null)) {
this._misureTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._misureTableAdapter]));
this._misureTableAdapter.Transaction = null;
}
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
+78 -78
View File
@@ -909,86 +909,14 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione FROM SchemaCollMacc W
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MisureTableAdapter" GeneratorDataComponentClassName="MisureTableAdapter" Name="Misure" UserDataComponentName="MisureTableAdapter">
<MainSource>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.Misure" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[Misure] WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ([CodMisura] = @Original_CodMisura) AND ([Fase] = @Original_Fase) AND ([Operatore] = @Original_Operatore) AND ([DataOra] = @Original_DataOra) AND ([ValorePar] = @Original_ValorePar) AND ([ValoreMis] = @Original_ValoreMis) AND ([OkValMis] = @Original_OkValMis) AND ((@IsNull_CodDeroga = 1 AND [CodDeroga] IS NULL) OR ([CodDeroga] = @Original_CodDeroga)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMisura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Operatore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operatore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataOra" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataOra" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ValorePar" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValorePar" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValoreMis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreMis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_OkValMis" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OkValMis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodDeroga" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodDeroga" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDeroga" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDeroga" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Misure] ([IdxDossier], [CodScheda], [Vers], [NumScheda], [CodMisura], [Fase], [Operatore], [DataOra], [ValorePar], [ValoreMis], [OkValMis], [CodDeroga]) VALUES (@IdxDossier, @CodScheda, @Vers, @NumScheda, @CodMisura, @Fase, @Operatore, @DataOra, @ValorePar, @ValoreMis, @OkValMis, @CodDeroga);
SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataOra, ValorePar, ValoreMis, OkValMis, CodDeroga FROM Misure WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Fase = @Fase) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMisura" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Operatore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operatore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataOra" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataOra" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ValorePar" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValorePar" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValoreMis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreMis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@OkValMis" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OkValMis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDeroga" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDeroga" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.v_Misure" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataOra, ValorePar, ValoreMis, OkValMis, CodDeroga FROM dbo.Misure</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_Misure</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Misure] SET [IdxDossier] = @IdxDossier, [CodScheda] = @CodScheda, [Vers] = @Vers, [NumScheda] = @NumScheda, [CodMisura] = @CodMisura, [Fase] = @Fase, [Operatore] = @Operatore, [DataOra] = @DataOra, [ValorePar] = @ValorePar, [ValoreMis] = @ValoreMis, [OkValMis] = @OkValMis, [CodDeroga] = @CodDeroga WHERE (([IdxDossier] = @Original_IdxDossier) AND ([CodScheda] = @Original_CodScheda) AND ([Vers] = @Original_Vers) AND ([NumScheda] = @Original_NumScheda) AND ([CodMisura] = @Original_CodMisura) AND ([Fase] = @Original_Fase) AND ([Operatore] = @Original_Operatore) AND ([DataOra] = @Original_DataOra) AND ([ValorePar] = @Original_ValorePar) AND ([ValoreMis] = @Original_ValoreMis) AND ([OkValMis] = @Original_OkValMis) AND ((@IsNull_CodDeroga = 1 AND [CodDeroga] IS NULL) OR ([CodDeroga] = @Original_CodDeroga)));
SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataOra, ValorePar, ValoreMis, OkValMis, CodDeroga FROM Misure WHERE (CodMisura = @CodMisura) AND (CodScheda = @CodScheda) AND (Fase = @Fase) AND (IdxDossier = @IdxDossier) AND (NumScheda = @NumScheda) AND (Vers = @Vers)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMisura" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Operatore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operatore" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataOra" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataOra" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ValorePar" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValorePar" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValoreMis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreMis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@OkValMis" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OkValMis" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodDeroga" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDeroga" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxDossier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxDossier" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodScheda" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Vers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Vers" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumScheda" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumScheda" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodMisura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodMisura" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fase" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Operatore" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operatore" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataOra" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataOra" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ValorePar" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ValorePar" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValoreMis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreMis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_OkValMis" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OkValMis" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CodDeroga" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodDeroga" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodDeroga" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodDeroga" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
@@ -1004,8 +932,55 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
<Mapping SourceColumn="ValoreMis" DataSetColumn="ValoreMis" />
<Mapping SourceColumn="OkValMis" DataSetColumn="OkValMis" />
<Mapping SourceColumn="CodDeroga" DataSetColumn="CodDeroga" />
<Mapping SourceColumn="NomeMisura" DataSetColumn="NomeMisura" />
<Mapping SourceColumn="TipoValMisura" DataSetColumn="TipoValMisura" />
<Mapping SourceColumn="NomePar" DataSetColumn="NomePar" />
<Mapping SourceColumn="MinPar" DataSetColumn="MinPar" />
<Mapping SourceColumn="MaxPar" DataSetColumn="MaxPar" />
<Mapping SourceColumn="LIVal" DataSetColumn="LIVal" />
<Mapping SourceColumn="LSVal" DataSetColumn="LSVal" />
</Mappings>
<Sources />
<Sources>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_Mis_getDataFilt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getDataFilt" GetMethodModifier="Public" GetMethodName="getDataFilt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getDataFilt" UserSourceName="getDataFilt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Mis_getDataFilt</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSchedaVers" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_Mis_getNum2Ins" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNum2Ins" GeneratorSourceName="getNum2Ins" GetMethodModifier="Public" GetMethodName="getNum2Ins" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNum2Ins" UserSourceName="getNum2Ins">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Mis_getNum2Ins</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSchedaVers" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_Mis_insMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMissing" Modifier="Public" Name="insMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insMissing">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Mis_insMissing</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSchedaVers" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fase" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
@@ -1340,13 +1315,38 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, CodMisura, Fase, Operatore, DataO
</xs:simpleType>
</xs:element>
<xs:element name="OkValMis" msprop:Generator_ColumnVarNameInTable="columnOkValMis" msprop:Generator_ColumnPropNameInRow="OkValMis" msprop:Generator_ColumnPropNameInTable="OkValMisColumn" msprop:Generator_UserColumnName="OkValMis" type="xs:boolean" />
<xs:element name="CodDeroga" msprop:Generator_ColumnVarNameInTable="columnCodDeroga" msprop:Generator_ColumnPropNameInRow="CodDeroga" msprop:Generator_ColumnPropNameInTable="CodDerogaColumn" msprop:Generator_UserColumnName="CodDeroga" minOccurs="0">
<xs:element name="CodDeroga" msprop:Generator_ColumnVarNameInTable="columnCodDeroga" msprop:Generator_ColumnPropNameInRow="CodDeroga" msprop:Generator_ColumnPropNameInTable="CodDerogaColumn" msprop:Generator_UserColumnName="CodDeroga">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NomeMisura" msprop:Generator_ColumnVarNameInTable="columnNomeMisura" msprop:Generator_ColumnPropNameInRow="NomeMisura" msprop:Generator_ColumnPropNameInTable="NomeMisuraColumn" msprop:Generator_UserColumnName="NomeMisura">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TipoValMisura" msprop:Generator_ColumnVarNameInTable="columnTipoValMisura" msprop:Generator_ColumnPropNameInRow="TipoValMisura" msprop:Generator_ColumnPropNameInTable="TipoValMisuraColumn" msprop:Generator_UserColumnName="TipoValMisura">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NomePar" msprop:Generator_ColumnVarNameInTable="columnNomePar" msprop:Generator_ColumnPropNameInRow="NomePar" msprop:Generator_ColumnPropNameInTable="NomeParColumn" msprop:Generator_UserColumnName="NomePar">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MinPar" msprop:Generator_ColumnVarNameInTable="columnMinPar" msprop:Generator_ColumnPropNameInRow="MinPar" msprop:Generator_ColumnPropNameInTable="MinParColumn" msprop:Generator_UserColumnName="MinPar" type="xs:double" />
<xs:element name="MaxPar" msprop:Generator_ColumnVarNameInTable="columnMaxPar" msprop:Generator_ColumnPropNameInRow="MaxPar" msprop:Generator_ColumnPropNameInTable="MaxParColumn" msprop:Generator_UserColumnName="MaxPar" type="xs:double" />
<xs:element name="LIVal" msprop:Generator_ColumnVarNameInTable="columnLIVal" msprop:Generator_ColumnPropNameInRow="LIVal" msprop:Generator_ColumnPropNameInTable="LIValColumn" msprop:Generator_UserColumnName="LIVal" type="xs:double" />
<xs:element name="LSVal" msprop:Generator_ColumnVarNameInTable="columnLSVal" msprop:Generator_ColumnPropNameInRow="LSVal" msprop:Generator_ColumnPropNameInTable="LSValColumn" msprop:Generator_UserColumnName="LSVal" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
+9 -9
View File
@@ -15,7 +15,7 @@
<Shape ID="DesignTable:SchemaCollFamMacc" ZOrder="12" X="67" Y="-36" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:ElencoDossier" ZOrder="9" X="1068" Y="251" Height="267" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:SchemaCollMacc" ZOrder="4" X="744" Y="249" Height="248" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Misure" ZOrder="3" X="771" Y="568" Height="305" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Misure" ZOrder="1" X="748" Y="565" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_DettScheda_AnagSchede1" ZOrder="19" LineWidth="11">
@@ -114,27 +114,27 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_IstanzeMisura_AnagFasi" ZOrder="2" LineWidth="11">
<Connector ID="DesignRelation:FK_IstanzeMisura_AnagFasi" ZOrder="3" LineWidth="11">
<RoutePoints>
<Point>
<X>1100</X>
<Y>595</Y>
<Y>592</Y>
</Point>
<Point>
<X>955</X>
<Y>595</Y>
<X>1048</X>
<Y>592</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Misure_SchemaCollMacc" ZOrder="1" LineWidth="11">
<Connector ID="DesignRelation:FK_Misure_SchemaCollMacc" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>802</X>
<X>779</X>
<Y>497</Y>
</Point>
<Point>
<X>802</X>
<Y>568</Y>
<X>779</X>
<Y>565</Y>
</Point>
</RoutePoints>
</Connector>
+3
View File
@@ -29,6 +29,7 @@ namespace CMS_SC_Data
taED = new DS_ApplicazioneTableAdapters.ElencoDossierTableAdapter();
taEFM = new DS_ApplicazioneTableAdapters.ElencoFamMaccTableAdapter();
taEM = new DS_ApplicazioneTableAdapters.ElencoMacchineCNTableAdapter();
taMis = new DS_ApplicazioneTableAdapters.MisureTableAdapter();
taSCFM = new DS_ApplicazioneTableAdapters.SchemaCollFamMaccTableAdapter();
taSCM = new DS_ApplicazioneTableAdapters.SchemaCollMaccTableAdapter();
taVV = new DS_ApplicazioneTableAdapters.ValidValTableAdapter();
@@ -48,6 +49,7 @@ namespace CMS_SC_Data
taED.Connection.ConnectionString = connStr;
taEFM.Connection.ConnectionString = connStr;
taEM.Connection.ConnectionString = connStr;
taMis.Connection.ConnectionString = connStr;
taSCFM.Connection.ConnectionString = connStr;
taSCM.Connection.ConnectionString = connStr;
taVV.Connection.ConnectionString = connStr;
@@ -64,6 +66,7 @@ namespace CMS_SC_Data
public DS_ApplicazioneTableAdapters.ElencoDossierTableAdapter taED;
public DS_ApplicazioneTableAdapters.ElencoFamMaccTableAdapter taEFM;
public DS_ApplicazioneTableAdapters.ElencoMacchineCNTableAdapter taEM;
public DS_ApplicazioneTableAdapters.MisureTableAdapter taMis;
public DS_ApplicazioneTableAdapters.SchemaCollFamMaccTableAdapter taSCFM;
public DS_ApplicazioneTableAdapters.SchemaCollMaccTableAdapter taSCM;
public DS_ApplicazioneTableAdapters.ValidValTableAdapter taVV;
Binary file not shown.
Binary file not shown.
Binary file not shown.
+8
View File
@@ -343,6 +343,7 @@
<Content Include="WebUserControls\mod_anagSchedeColl.ascx" />
<Content Include="WebUserControls\mod_autocomplete.ascx" />
<Content Include="WebUserControls\mod_autocompleteShort.ascx" />
<Content Include="WebUserControls\mod_collaudi.ascx" />
<Content Include="WebUserControls\mod_DettScheda.ascx" />
<Content Include="WebUserControls\mod_elencoDossiers.ascx" />
<Content Include="WebUserControls\mod_elencoRichResetUtenti.ascx" />
@@ -633,6 +634,13 @@
<Compile Include="WebUserControls\mod_autocompleteShort.ascx.designer.cs">
<DependentUpon>mod_autocompleteShort.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_collaudi.ascx.cs">
<DependentUpon>mod_collaudi.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_collaudi.ascx.designer.cs">
<DependentUpon>mod_collaudi.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_DettScheda.ascx.cs">
<DependentUpon>mod_DettScheda.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+52 -29
View File
@@ -1,40 +1,63 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="Collaudi.aspx.cs" Inherits="CMS_SC.Collaudi" %>
<%@ Register Src="~/WebUserControls/mod_collaudi.ascx" TagPrefix="uc1" TagName="mod_collaudi" %>
<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagPrefix="uc1" TagName="mod_righePag" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<div class="container-fluid">
<div class="row" style="font-size: 0.8em;">
<div class="col-xs-1">
<asp:DropDownList runat="server" ID="ddlStato" DataSourceID="odsStato" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlStato_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="ElencoDossier" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="Stato" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
<div class="container">
<div class="row panel panel-default">
<div class="panel-heading">
<div class="row">
<div class="col-xs-10">
<h3 class="panel-title"><%: traduci("Collaudi") %></h3>
</div>
<div class="col-xs-2">
<asp:Button runat="server" ID="btnAddNewSetMis" CssClass="btn btn-success" Text='<%# traduci("btnAddNewSetMis") %>' OnClick="btnAddNewSetMis_click" Font-Size="0.9em" Width="100%" />
</div>
</div>
<div class="row" style="font-size: 0.8em;">
<div class="col-xs-1">
<asp:DropDownList runat="server" ID="ddlStato" DataSourceID="odsStato" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlStato_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="ElencoDossier" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="Stato" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-xs-3">
<asp:DropDownList runat="server" ID="ddlDossier" DataSourceID="odsDossier" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlDossier_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsDossier" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selElencoDossierTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="ddlStato" Name="conditio" PropertyName="SelectedValue" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-xs-6">
<asp:DropDownList runat="server" ID="ddlSelScheda" DataSourceID="odsScheda" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlSelScheda_SelectedIndexChanged" OnDataBound="ddlSelScheda_DataBound"></asp:DropDownList>
<asp:ObjectDataSource ID="odsScheda" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selSchedaTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="ddlDossier" Name="conditio" PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-xs-2">
<asp:DropDownList runat="server" ID="ddlFase" DataSourceID="odsFase" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlFase_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsFase" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selFasiTableAdapter"></asp:ObjectDataSource>
</div>
</div>
</div>
<div class="col-xs-3">
<asp:DropDownList runat="server" ID="ddlDossier" DataSourceID="odsDossier" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlDossier_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsDossier" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selElencoDossierTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="ddlStato" Name="conditio" PropertyName="SelectedValue" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<div class="col-xs-12">
<uc1:mod_collaudi runat="server" ID="mod_collaudi" />
</div>
<div class="col-xs-6">
<asp:DropDownList runat="server" ID="ddlSelScheda" DataSourceID="odsScheda" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlSelScheda_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsScheda" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByConditio" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selSchedaTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="ddlDossier" Name="conditio" PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-xs-2">
<asp:DropDownList runat="server" ID="ddlFase" DataSourceID="odsFase" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlStato_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsFase" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selFasiTableAdapter"></asp:ObjectDataSource>
<asp:Button runat="server" ID="btnAddNewSetMis" CssClass="btn btn-success" Text='<%# traduci("btnAddNewSetMis") %>' OnClick="btnAddNewSetMis_click" Font-Size="1.1em" />
<div class="col-xs-12 panel-footer">
<uc1:mod_righePag runat="server" ID="mod_righePag" />
</div>
</div>
</div>
+89 -6
View File
@@ -12,6 +12,22 @@ namespace CMS_SC
public partial class Collaudi : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
((Bootstrap)this.Master).showSearch = true;
mod_righePag.numRowPag = 20;
mod_collaudi.pageSize = mod_righePag.numRowPag;
fixControls();
}
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
//mod_collaudi.eh_selezioneValore += mod_collaudi_eh_selezioneValore;
}
void mod_righePag_eh_newNum(object sender, EventArgs e)
{
mod_collaudi.pageSize = mod_righePag.numRowPag;
}
void mod_collaudi_eh_selezioneValore(object sender, EventArgs e)
{
fixControls();
}
@@ -21,22 +37,70 @@ namespace CMS_SC
private void fixControls()
{
btnAddNewSetMis.DataBind();
btnAddNewSetMis.Visible = addNewVisible;
mod_collaudi.IdxDossier = IdxDossier;
mod_collaudi.CodSchedaVers = CodSchedaVers;
mod_collaudi.Fase = Fase;
mod_collaudi.doUpdate();
}
protected int IdxDossier
{
get
{
int answ = -1;
try
{
answ = Convert.ToInt32(ddlDossier.SelectedValue);
}
catch
{ }
return answ;
}
}
protected string CodSchedaVers
{
get
{
string answ = "";
try
{
answ = ddlSelScheda.SelectedValue;
}
catch
{ }
return answ;
}
}
protected string Fase
{
get
{
string answ = "";
try
{
answ = ddlFase.SelectedValue;
}
catch
{ }
return answ;
}
}
protected void ddlStato_SelectedIndexChanged(object sender, EventArgs e)
{
ddlDossier.DataBind();
ddlSelScheda.DataBind();
fixControls();
}
protected void ddlDossier_SelectedIndexChanged(object sender, EventArgs e)
{
ddlSelScheda.DataBind();
fixControls();
}
protected void ddlSelScheda_SelectedIndexChanged(object sender, EventArgs e)
{
fixControls();
}
/// <summary>
/// wrapper traduzione
@@ -54,8 +118,9 @@ namespace CMS_SC
/// <param name="e"></param>
protected void btnAddNewSetMis_click(object sender, EventArgs e)
{
//DtProxy.man.taSCM.insByFamMac(mod_elencoDossiers.idxDossier, ddlSelFamMacc.SelectedValue);
//mod_elencoSchedeDossier.doUpdate();
int idxDossier = Convert.ToInt32(ddlDossier.SelectedValue);
DtProxy.man.taMis.insMissing(idxDossier, ddlSelScheda.SelectedValue, ddlFase.SelectedValue);
mod_collaudi.doUpdate();
}
/// <summary>
/// verifico se sia possibile aggiungere records (= mancano misure x lo stato indicato...)
@@ -64,10 +129,28 @@ namespace CMS_SC
{
get
{
bool answ = true;
bool answ = false;
try
{
int idxDossier = Convert.ToInt32(ddlDossier.SelectedValue);
answ = DtProxy.man.taMis.getNum2Ins(idxDossier, ddlSelScheda.SelectedValue, ddlFase.SelectedValue).Rows.Count > 0;
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("{0}", exc));
}
return answ;
}
}
protected void ddlFase_SelectedIndexChanged(object sender, EventArgs e)
{
fixControls();
}
protected void ddlSelScheda_DataBound(object sender, EventArgs e)
{
fixControls();
}
}
}
+20 -2
View File
@@ -12,6 +12,15 @@ namespace CMS_SC {
public partial class Collaudi {
/// <summary>
/// btnAddNewSetMis control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnAddNewSetMis;
/// <summary>
/// ddlStato control.
/// </summary>
@@ -85,12 +94,21 @@ namespace CMS_SC {
protected global::System.Web.UI.WebControls.ObjectDataSource odsFase;
/// <summary>
/// btnAddNewSetMis control.
/// mod_collaudi control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnAddNewSetMis;
protected global::CMS_SC.WebUserControls.mod_collaudi mod_collaudi;
/// <summary>
/// mod_righePag control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_righePag mod_righePag;
}
}
+59
View File
@@ -0,0 +1,59 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_collaudi.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_collaudi" %>
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="IdxDossier,CodScheda,Vers,NumScheda,CodMisura,Fase" DataSourceID="ods" CssClass="table table-striped" AllowPaging="True" AllowSorting="True">
<PagerStyle CssClass="bg-primary" />
<SelectedRowStyle CssClass="info" />
<Columns>
<%--<asp:BoundField DataField="IdxDossier" HeaderText="IdxDossier" ReadOnly="True" SortExpression="IdxDossier" />--%>
<asp:BoundField DataField="CodScheda" HeaderText="CodScheda" ReadOnly="True" SortExpression="CodScheda" />
<asp:BoundField DataField="Vers" HeaderText="Vers" ReadOnly="True" SortExpression="Vers" />
<asp:BoundField DataField="NumScheda" HeaderText="NumScheda" ReadOnly="True" SortExpression="NumScheda" />
<asp:BoundField DataField="CodMisura" HeaderText="CodMisura" ReadOnly="True" SortExpression="CodMisura" />
<asp:BoundField DataField="Fase" HeaderText="Fase" ReadOnly="True" SortExpression="Fase" />
<asp:BoundField DataField="Operatore" HeaderText="Operatore" SortExpression="Operatore" />
<asp:BoundField DataField="DataOra" HeaderText="DataOra" SortExpression="DataOra" />
<asp:BoundField DataField="ValorePar" HeaderText="ValorePar" SortExpression="ValorePar" />
<asp:BoundField DataField="ValoreMis" HeaderText="ValoreMis" SortExpression="ValoreMis" />
<asp:CheckBoxField DataField="OkValMis" HeaderText="OkValMis" SortExpression="OkValMis" />
<asp:BoundField DataField="CodDeroga" HeaderText="CodDeroga" SortExpression="CodDeroga" />
<asp:BoundField DataField="NomeMisura" HeaderText="NomeMisura" SortExpression="NomeMisura" />
<asp:BoundField DataField="TipoValMisura" HeaderText="TipoValMisura" SortExpression="TipoValMisura" />
<asp:BoundField DataField="NomePar" HeaderText="NomePar" SortExpression="NomePar" />
<asp:BoundField DataField="MinPar" HeaderText="MinPar" SortExpression="MinPar" />
<asp:BoundField DataField="MaxPar" HeaderText="MaxPar" SortExpression="MaxPar" />
<asp:BoundField DataField="LIVal" HeaderText="LIVal" SortExpression="LIVal" />
<asp:BoundField DataField="LSVal" HeaderText="LSVal" SortExpression="LSVal" />
</Columns>
</asp:GridView>
<%--<asp:TemplateField ShowHeader="False">
<EditItemTemplate>
<asp:LinkButton ID="lbUpdate" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update" CssClass="fa fa-check fa-2x" />
&nbsp;<asp:LinkButton ID="lbCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel" CssClass="fa fa-undo fa-2x" />
</EditItemTemplate>
<ItemTemplate>
<asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Edit" CssClass="fa fa-edit fa-2x" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<EditItemTemplate>
<asp:LinkButton ID="lbUpdate2" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update" CssClass="fa fa-check fa-2x" />
&nbsp;<asp:LinkButton ID="lbCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel" CssClass="fa fa-undo fa-2x" />
</EditItemTemplate>
<ItemTemplate>
<asp:LinkButton ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" ToolTip="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaDel") %>' CssClass="fa fa-trash fa-2x" />
</ItemTemplate>
</asp:TemplateField>--%>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getDataFilt" TypeName="CMS_SC_Data.DS_ApplicazioneTableAdapters.MisureTableAdapter" FilterExpression=" ValoreMis LIKE '%{0}%' OR CodDeroga LIKE '%{0}%'">
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="searchVal" />
</FilterParameters>
<SelectParameters>
<asp:ControlParameter ControlID="hfIdxDossier" Name="IdxDossier" PropertyName="Value" Type="Int32" />
<asp:ControlParameter ControlID="hfCodSchedaVers" Name="CodSchedaVers" PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="hfFase" Name="Fase" PropertyName="Value" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfIdxDossier" Value="-1" />
<asp:HiddenField runat="server" ID="hfCodSchedaVers" Value="" />
<asp:HiddenField runat="server" ID="hfFase" Value="" />
@@ -0,0 +1,89 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CMS_SC.WebUserControls
{
public partial class mod_collaudi : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// dimensione pagina grid view
/// </summary>
public int pageSize
{
get
{
return grView.PageSize;
}
set
{
grView.PageSize = value;
}
}
public int IdxDossier
{
get
{
int answ = 0;
try
{
answ = Convert.ToInt32(hfIdxDossier.Value);
}
catch
{ }
return answ;
}
set
{
hfIdxDossier.Value = value.ToString();
}
}
public string CodSchedaVers
{
get
{
string answ = "";
try
{
answ = hfCodSchedaVers.Value;
}
catch
{ }
return answ;
}
set
{
hfCodSchedaVers.Value = value;
}
}
public string Fase
{
get
{
string answ = "";
try
{
answ = hfFase.Value;
}
catch
{ }
return answ;
}
set
{
hfFase.Value = value;
}
}
public void doUpdate()
{
grView.DataBind();
}
}
}
+60
View File
@@ -0,0 +1,60 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CMS_SC.WebUserControls {
public partial class mod_collaudi {
/// <summary>
/// grView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// hfIdxDossier control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfIdxDossier;
/// <summary>
/// hfCodSchedaVers control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodSchedaVers;
/// <summary>
/// hfFase control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfFase;
}
}
+1 -1
View File
@@ -31,7 +31,7 @@
<span>Home</span>
</a>
</li>
<li class='<%: "dropdown " + liClass("AnagFamMacchine AnagMatricole AnagFasi AnagMisure AnagSchedeColl")%>'>
<li class='<%: "dropdown " + liClass("AnagFamMacchine AnagMatricole AnagFasi AnagMisure AnagSchedeColl DettScheda SchemaCollFamMacc")%>'>
<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-th"></i>
<span>Anagrafiche</span>
Binary file not shown.
Binary file not shown.
Binary file not shown.