committata vers 1.3.210, fix anche x inserimento richeista con descrizione 2500 char (occhio report NON ok...)
This commit is contained in:
+14
-50
@@ -3837,9 +3837,10 @@ namespace GIM_data {
|
||||
this.columnidxImpianto.AllowDBNull = false;
|
||||
this.columnidxMacchina.AllowDBNull = false;
|
||||
this.columndescrizione.AllowDBNull = false;
|
||||
this.columndescrizione.MaxLength = 500;
|
||||
this.columndescrizione.MaxLength = 2500;
|
||||
this.columnidxStato.AllowDBNull = false;
|
||||
this.columndescrizioneIntervento.MaxLength = 500;
|
||||
this.columndescrizioneIntervento.MaxLength = 2500;
|
||||
this.columnisPreventivabile.AllowDBNull = false;
|
||||
this.columndescrAmbitoGuasto.MaxLength = 50;
|
||||
this.columndescrPriorita.MaxLength = 50;
|
||||
this.columndescrTipo.MaxLength = 50;
|
||||
@@ -9224,12 +9225,7 @@ namespace GIM_data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool isPreventivabile {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tablev_intervExp.isPreventivabileColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'isPreventivabile\' in table \'v_intervExp\' is DBNull.", e);
|
||||
}
|
||||
return ((bool)(this[this.tablev_intervExp.isPreventivabileColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablev_intervExp.isPreventivabileColumn] = value;
|
||||
@@ -9488,18 +9484,6 @@ namespace GIM_data {
|
||||
this[this.tablev_intervExp.descrizioneInterventoColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsisPreventivabileNull() {
|
||||
return this.IsNull(this.tablev_intervExp.isPreventivabileColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetisPreventivabileNull() {
|
||||
this[this.tablev_intervExp.isPreventivabileColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsidxCausaleNull() {
|
||||
@@ -14659,47 +14643,27 @@ ORDER BY numIntMtz DESC";
|
||||
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 = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
WHERE (numIntMtz = @numIntMtz)";
|
||||
this._commandCollection[1].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (numIntMtz = @numIntMtz)";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "numIntMtz", 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 = "SELECT *\r\nFROM v_intervExp\r\nWHERE (idxCausale = @idxCausale)";
|
||||
this._commandCollection[2].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxCausale = @idxCausale)";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxCausale", 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 = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
where idxImpianto=@idxImpianto
|
||||
ORDER BY numIntMtz DESC
|
||||
";
|
||||
this._commandCollection[3].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxImpianto = @idxImpianto) ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxImpianto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
WHERE idxMacchina=@idxMacchina
|
||||
ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[4].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxMacchina = @idxMacchina) ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = @"SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
where richiesta between @inizio and @fine
|
||||
ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[5].CommandText = @"SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (richiesta BETWEEN @inizio AND @fine) ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "richiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -14719,7 +14683,7 @@ ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.VarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scheduled", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numIntMtz", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.InputOutput, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -14740,7 +14704,7 @@ ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizioIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fineIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isPreventivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneIntervento", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneIntervento", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[9].Connection = this.Connection;
|
||||
this._commandCollection[9].CommandText = "dbo.sp_updateInterventoFull";
|
||||
@@ -14751,15 +14715,15 @@ ORDER BY numIntMtz DESC";
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizioIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fineIntervento", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isPreventivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneIntervento", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matr", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizioneIntervento", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guasto", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxImpianto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxAmbito", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCausale", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@presaInCarico", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
|
||||
@@ -589,11 +589,7 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdx" GetMethodModifier="Public" GetMethodName="getByIdx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdx" UserSourceName="getByIdx">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
WHERE (numIntMtz = @numIntMtz)</CommandText>
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (numIntMtz = @numIntMtz)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="numIntMtz" ColumnName="numIntMtz" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
@@ -603,9 +599,7 @@ WHERE (numIntMtz = @numIntMtz)</CommandText>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxCausale" GetMethodModifier="Public" GetMethodName="getByIdxCausale" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxCausale" UserSourceName="getByIdxCausale">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT *
|
||||
FROM v_intervExp
|
||||
WHERE (idxCausale = @idxCausale)</CommandText>
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxCausale = @idxCausale)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="idxCausale" ColumnName="idxCausale" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxCausale" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxCausale" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
@@ -615,13 +609,7 @@ WHERE (idxCausale = @idxCausale)</CommandText>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxImpianto" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="getByIdxImpianto" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxImpianto" UserSourceName="getByIdxImpianto">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
where idxImpianto=@idxImpianto
|
||||
ORDER BY numIntMtz DESC
|
||||
</CommandText>
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxImpianto = @idxImpianto) ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idxImpianto" ColumnName="idxImpianto" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxImpianto" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxImpianto" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
@@ -631,12 +619,7 @@ ORDER BY numIntMtz DESC
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxMacchina" GetMethodModifier="Public" GetMethodName="getByIdxMacchina" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxMacchina" UserSourceName="getByIdxMacchina">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
WHERE idxMacchina=@idxMacchina
|
||||
ORDER BY numIntMtz DESC</CommandText>
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (idxMacchina = @idxMacchina) ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idxMacchina" ColumnName="idxMacchina" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
@@ -646,12 +629,7 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_intervExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPeriodo" GetMethodModifier="Public" GetMethodName="getByPeriodo" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriodo" UserSourceName="getByPeriodo">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT numIntMtz, richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, descrAmbitoGuasto, idxPriorita, descrPriorita, isFermo, idxTipo, descrTipo, idxImpianto,
|
||||
codImpianto, nomeImpianto, idxMacchina, codMacchina, nomeMacchina, descrizione, idxStato, DescrStato, presaInCarico, inizioIntervento, fineIntervento,
|
||||
descrizioneIntervento, isPreventivabile, idxCausale, descrCausale
|
||||
FROM v_intervExp
|
||||
where richiesta between @inizio and @fine
|
||||
ORDER BY numIntMtz DESC</CommandText>
|
||||
<CommandText>SELECT DescrStato, codImpianto, codMacchina, dataLav, descrAmbitoGuasto, descrCausale, descrPriorita, descrTipo, descrizione, descrizioneIntervento, fineIntervento, guasto, idxAmbito, idxCausale, idxImpianto, idxMacchina, idxPriorita, idxStato, idxTipo, inizioIntervento, isFermo, isPreventivabile, matr, nomeImpianto, nomeMacchina, numIntMtz, presaInCarico, richiesta, turnoLav FROM v_intervExp WHERE (richiesta BETWEEN @inizio AND @fine) ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="inizio" ColumnName="richiesta" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="fine" ColumnName="richiesta" DataSourceName="GIM.dbo.v_intervExp" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fine" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -676,7 +654,7 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxTipo" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxImpianto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="VarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxCausale" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@scheduled" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="InputOutput" ParameterName="@numIntMtz" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -707,7 +685,7 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizioIntervento" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fineIntervento" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isPreventivabile" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@descrizioneIntervento" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@descrizioneIntervento" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -723,15 +701,15 @@ ORDER BY numIntMtz DESC</CommandText>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizioIntervento" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fineIntervento" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isPreventivabile" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@descrizioneIntervento" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@matr" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@descrizioneIntervento" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@matr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@guasto" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isFermo" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxImpianto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxAmbito" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxPriorita" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxTipo" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxCausale" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@presaInCarico" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -1763,7 +1741,7 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
|
||||
<xs:element name="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" msprop:Generator_UserColumnName="descrizione">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
<xs:maxLength value="2500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
@@ -1774,11 +1752,11 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
|
||||
<xs:element name="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" msprop:Generator_UserColumnName="descrizioneIntervento" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
<xs:maxLength value="2500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="isPreventivabile" msprop:Generator_ColumnVarNameInTable="columnisPreventivabile" msprop:Generator_ColumnPropNameInRow="isPreventivabile" msprop:Generator_ColumnPropNameInTable="isPreventivabileColumn" msprop:Generator_UserColumnName="isPreventivabile" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="isPreventivabile" msprop:Generator_ColumnVarNameInTable="columnisPreventivabile" msprop:Generator_ColumnPropNameInRow="isPreventivabile" msprop:Generator_ColumnPropNameInTable="isPreventivabileColumn" msprop:Generator_UserColumnName="isPreventivabile" type="xs:boolean" />
|
||||
<xs:element name="idxCausale" msprop:Generator_ColumnVarNameInTable="columnidxCausale" msprop:Generator_ColumnPropNameInRow="idxCausale" msprop:Generator_ColumnPropNameInTable="idxCausaleColumn" msprop:Generator_UserColumnName="idxCausale" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="descrAmbitoGuasto" msprop:Generator_ColumnVarNameInTable="columndescrAmbitoGuasto" msprop:Generator_ColumnPropNameInRow="descrAmbitoGuasto" msprop:Generator_ColumnPropNameInTable="descrAmbitoGuastoColumn" msprop:Generator_UserColumnName="descrAmbitoGuasto" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
@@ -2213,20 +2191,20 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
|
||||
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_ParentPropName="v_selFamMaccRow" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" />
|
||||
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" />
|
||||
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" />
|
||||
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" />
|
||||
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
|
||||
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_ParentPropName="v_macchineRow" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" />
|
||||
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" />
|
||||
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" />
|
||||
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" />
|
||||
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
|
||||
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" msprop:Generator_ParentPropName="v_selFamMaccRow" />
|
||||
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" />
|
||||
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" />
|
||||
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" msprop:Generator_ParentPropName="v_intervExpRow" />
|
||||
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" />
|
||||
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
|
||||
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" msprop:Generator_ParentPropName="v_macchineRow" />
|
||||
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" />
|
||||
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
|
||||
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="5" ViewPortY="101" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="5" ViewPortY="-54" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:LogUpdateDb" ZOrder="35" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="34" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
@@ -13,13 +13,13 @@
|
||||
<Shape ID="DesignTable:v_macchine" ZOrder="16" X="1116" Y="309" Height="343" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:v_selFamMacc" ZOrder="24" X="1102" Y="88" Height="190" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
|
||||
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="10" X="1080" Y="-44" Height="105" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="3" X="484" Y="217" Height="412" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="1" X="484" Y="217" Height="381" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="26" X="118" Y="199" Height="105" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="22" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="4" X="793" Y="582" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:v_mtzProgExp" ZOrder="2" X="84" Y="575" Height="305" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_mtzProgExp" ZOrder="3" X="84" Y="575" Height="305" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:MtzProgPending" ZOrder="20" X="821" Y="791" Height="249" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="162" />
|
||||
<Shape ID="DesignTable:MtzProgrammata" ZOrder="1" X="1141" Y="749" Height="306" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="198" />
|
||||
<Shape ID="DesignTable:MtzProgrammata" ZOrder="2" X="1141" Y="749" Height="306" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="198" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="18" X="78" Y="890" Height="134" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:OreAperturaSett" ZOrder="9" X="366" Y="836" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:FiltroImpianti" ZOrder="13" X="1399" Y="644" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
@@ -84,7 +84,7 @@
|
||||
<Y>429</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>732</X>
|
||||
<X>745</X>
|
||||
<Y>429</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
@@ -117,7 +117,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>631</X>
|
||||
<Y>629</Y>
|
||||
<Y>598</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>631</X>
|
||||
|
||||
Binary file not shown.
@@ -175,6 +175,7 @@
|
||||
<None Include="sql\Applicazione\GIM_0200.sql" />
|
||||
<None Include="sql\Voc\SomVoc_0200.sql" />
|
||||
<None Include="sql\Applicazione\GIM_0205.sql" />
|
||||
<None Include="sql\Applicazione\GIM_0210.sql" />
|
||||
<Content Include="Style.css" />
|
||||
<Content Include="test.aspx" />
|
||||
<Content Include="tipoGuasto.aspx" />
|
||||
|
||||
@@ -419,6 +419,8 @@ public partial class mod_elencoMtzProg : ApplicationUserControl
|
||||
mtzProgr.obj.processaCodaMtzPro();
|
||||
grView.DataBind();
|
||||
UpdatePanel2.Update();
|
||||
// aggiorno
|
||||
doUpdate();
|
||||
// chiamo evento
|
||||
if (eh_updateDone != null)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -141,6 +141,131 @@ commit;
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on;
|
||||
go
|
||||
|
||||
begin transaction;
|
||||
go
|
||||
|
||||
alter table InterventiMtz alter column
|
||||
descrizione nvarchar(2500) not null;
|
||||
go
|
||||
|
||||
alter table InterventiMtz alter column
|
||||
descrizioneIntervento nvarchar(2500);
|
||||
go
|
||||
|
||||
set ANSI_NULLS on;
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE sp_updateInterventoFull
|
||||
* aggiorna TUTTI i dati dell'intervento
|
||||
*
|
||||
* modif.: S.E.L. - 2009.02.20
|
||||
**************************************/
|
||||
alter PROCEDURE sp_updateInterventoFull
|
||||
(
|
||||
@Original_numIntMtz INT,
|
||||
@idxStato INT,
|
||||
@inizioIntervento DATETIME,
|
||||
@fineIntervento DATETIME,
|
||||
@isPreventivabile BIT,
|
||||
@descrizioneIntervento NVARCHAR(2500),
|
||||
@matr NVARCHAR(50),
|
||||
@guasto DATETIME,
|
||||
@isFermo BIT,
|
||||
@idxImpianto INT,
|
||||
@idxMacchina INT,
|
||||
@idxAmbito INT,
|
||||
@idxPriorita INT,
|
||||
@descrizione NVARCHAR(2500),
|
||||
@idxTipo INT,
|
||||
@idxCausale int,
|
||||
@presaInCarico DATETIME
|
||||
)
|
||||
AS
|
||||
|
||||
UPDATE InterventiMtz
|
||||
SET inizioIntervento = @inizioIntervento, fineIntervento = @fineIntervento, descrizioneIntervento = @descrizioneIntervento, isPreventivabile = @isPreventivabile,
|
||||
idxStato = @idxStato, matr = @matr, guasto = @guasto, idxAmbito = @idxAmbito, idxPriorita = @idxPriorita, isFermo = @isFermo, idxTipo = @idxTipo,
|
||||
idxImpianto = @idxImpianto, idxMacchina = @idxMacchina, descrizione = @descrizione, presaInCarico = @presaInCarico, idxCausale = @idxCausale
|
||||
WHERE (numIntMtz = @Original_numIntMtz)
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE sp_updateIntervento
|
||||
* aggiorna i dati dell'intervento compilati dalla manutenzione
|
||||
*
|
||||
* modif.: S.E.L. - 2009.01.28
|
||||
**************************************/
|
||||
alter PROCEDURE sp_updateIntervento
|
||||
(
|
||||
@Original_numIntMtz INT,
|
||||
@idxStato INT,
|
||||
@inizioIntervento DATETIME,
|
||||
@fineIntervento DATETIME,
|
||||
@isPreventivabile BIT,
|
||||
@descrizioneIntervento NVARCHAR(2500)
|
||||
)
|
||||
AS
|
||||
|
||||
UPDATE InterventiMtz
|
||||
SET inizioIntervento = @inizioIntervento, fineIntervento = @fineIntervento, descrizioneIntervento = @descrizioneIntervento, isPreventivabile = @isPreventivabile, idxStato = @idxStato
|
||||
WHERE (numIntMtz = @Original_numIntMtz)
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE sp_insRichiesta
|
||||
* Inserisce nuova richiesta di intervento
|
||||
*
|
||||
* modif.: S.E.L. - 2009.02.20
|
||||
**************************************/
|
||||
alter PROCEDURE sp_insRichiesta
|
||||
(
|
||||
@richiesta datetime,
|
||||
@dataLav datetime,
|
||||
@turnoLav int,
|
||||
@matr varchar(10),
|
||||
@guasto datetime,
|
||||
@idxAmbito int,
|
||||
@idxPriorita int,
|
||||
@isFermo bit,
|
||||
@idxTipo int,
|
||||
@idxImpianto int,
|
||||
@idxMacchina int,
|
||||
@descrizione varchar(2500),
|
||||
@idxCausale int,
|
||||
@scheduled bit,
|
||||
@numIntMtz int output
|
||||
)
|
||||
AS
|
||||
|
||||
BEGIN tran
|
||||
|
||||
INSERT INTO InterventiMtz
|
||||
(richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, idxPriorita, isFermo, idxTipo, idxImpianto, idxMacchina, descrizione, idxStato, idxCausale, scheduled)
|
||||
VALUES (@richiesta,@dataLav,@turnoLav,@matr,@guasto,@idxAmbito,@idxPriorita,@isFermo,@idxTipo,@idxImpianto,@idxMacchina,@descrizione,
|
||||
1,@idxCausale,@scheduled)
|
||||
|
||||
/*************************************
|
||||
* salvo idx del nuovo record
|
||||
**************************************/
|
||||
SET @numIntMtz = SCOPE_IDENTITY()
|
||||
|
||||
COMMIT tran
|
||||
|
||||
RETURN (@numIntMtz)
|
||||
go
|
||||
|
||||
commit;
|
||||
go
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user