Fix bug limite descrizione int mtz prog:

- sistemata mtzProg + mtzProg Pending
- sistemato bug paginazioen int prog che perde filtraggio al cambio pagina
This commit is contained in:
samuele
2012-10-03 08:02:51 +02:00
parent 3cf517364d
commit d23436b971
33 changed files with 451 additions and 420 deletions
+64 -209
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17626
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -5154,7 +5154,7 @@ namespace GIM_data {
this.columnidxIntPro.ReadOnly = true;
this.columnidxIntPro.Unique = true;
this.columncodFrequenza.MaxLength = 2;
this.columndescrizione.MaxLength = 500;
this.columndescrizione.MaxLength = 2500;
this.columncodMacchina.MaxLength = 50;
this.columnnomeMacchina.MaxLength = 250;
this.columnfrequenza.MaxLength = 50;
@@ -5524,7 +5524,7 @@ namespace GIM_data {
this.columnidxPending.ReadOnly = true;
this.columnidxPending.Unique = true;
this.columnidxIntPro.AllowDBNull = false;
this.columndescrizione.MaxLength = 500;
this.columndescrizione.MaxLength = 2500;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5900,7 +5900,7 @@ namespace GIM_data {
this.columnidxIntPro.ReadOnly = true;
this.columnidxIntPro.Unique = true;
this.columncodFrequenza.MaxLength = 2;
this.columndescrizione.MaxLength = 500;
this.columndescrizione.MaxLength = 2500;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16308,39 +16308,6 @@ ORDER BY numIntMtz DESC";
tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita");
tableMapping.ColumnMappings.Add("descrTipo", "descrTipo");
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].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", 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].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cad" +
"enza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina," +
" @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTip" +
"o)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codFrequenza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cadenza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cadenza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", 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].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codFrequenza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cadenza", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cadenza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPriorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPriorita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isFermo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16353,13 +16320,26 @@ ORDER BY numIntMtz DESC";
[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[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idxIntPro, idxMacchina, codMacchina, nomeMacchina, inizio, codFrequenz" +
"a, frequenza, cadenza, descrizione, idxPriorita, descrPriorita, isFermo, idxTipo" +
", \r\n descrTipo\r\nFROM v_mtzProgExp";
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_MtzProg_insert";
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("@idxMacchina", 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("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 2, 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("@cadenza", 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("@descrizione", global::System.Data.SqlDbType.NVarChar, 2500, 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("@idxPriorita", 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("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].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, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16389,191 +16369,71 @@ ORDER BY numIntMtz DESC";
[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.v_mtzProgExpDataTable 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, "v_mtzProgExp");
}
[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_idxIntPro) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxIntPro));
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(global::System.Nullable<int> idxMacchina, global::System.Nullable<global::System.DateTime> inizio, string codFrequenza, global::System.Nullable<int> cadenza, string descrizione, global::System.Nullable<int> idxPriorita, global::System.Nullable<bool> isFermo, global::System.Nullable<int> idxTipo) {
public virtual int insertQuery(global::System.Nullable<int> idxMacchina, global::System.Nullable<global::System.DateTime> inizio, string codFrequenza, global::System.Nullable<int> cadenza, string descrizione, global::System.Nullable<int> idxPriorita, global::System.Nullable<bool> isFermo, global::System.Nullable<int> idxTipo) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((idxMacchina.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxMacchina.Value));
command.Parameters[1].Value = ((int)(idxMacchina.Value));
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((inizio.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
command.Parameters[2].Value = ((System.DateTime)(inizio.Value));
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
command.Parameters[2].Value = global::System.DBNull.Value;
}
if ((codFrequenza == null)) {
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(codFrequenza));
command.Parameters[3].Value = ((string)(codFrequenza));
}
if ((cadenza.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(cadenza.Value));
command.Parameters[4].Value = ((int)(cadenza.Value));
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
command.Parameters[4].Value = global::System.DBNull.Value;
}
if ((descrizione == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(descrizione));
command.Parameters[5].Value = ((string)(descrizione));
}
if ((idxPriorita.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[5].Value = ((int)(idxPriorita.Value));
command.Parameters[6].Value = ((int)(idxPriorita.Value));
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
command.Parameters[6].Value = global::System.DBNull.Value;
}
if ((isFermo.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(isFermo.Value));
command.Parameters[7].Value = ((bool)(isFermo.Value));
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
command.Parameters[7].Value = global::System.DBNull.Value;
}
if ((idxTipo.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[7].Value = ((int)(idxTipo.Value));
command.Parameters[8].Value = ((int)(idxTipo.Value));
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
command.Parameters[8].Value = global::System.DBNull.Value;
}
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 previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
command.Connection.Open();
}
int returnValue;
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.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.Update, true)]
public virtual int Update(global::System.Nullable<int> idxMacchina, global::System.Nullable<global::System.DateTime> inizio, string codFrequenza, global::System.Nullable<int> cadenza, string descrizione, global::System.Nullable<int> idxPriorita, global::System.Nullable<bool> isFermo, global::System.Nullable<int> idxTipo, int Original_idxIntPro) {
if ((idxMacchina.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxMacchina.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
}
if ((inizio.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(inizio.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((codFrequenza == null)) {
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(codFrequenza));
}
if ((cadenza.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(cadenza.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((descrizione == null)) {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(descrizione));
}
if ((idxPriorita.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(idxPriorita.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((isFermo.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(isFermo.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
}
if ((idxTipo.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(idxTipo.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_idxIntPro));
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();
command.Connection.Close();
}
}
return returnValue;
}
}
@@ -16681,14 +16541,14 @@ ORDER BY numIntMtz DESC";
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].[MtzProgPending] WHERE (([idxPending] = @Original_idxPending))";
this._adapter.DeleteCommand.CommandText = "DELETE FROM [MtzProgPending] WHERE (([idxPending] = @Original_idxPending))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPending", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPending", 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].[MtzProgPending] ([idxIntPro], [idxMacchina], [data], [descrizi" +
"one], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxIntPro, @idxMacchina, @da" +
"ta, @descrizione, @idxPriorita, @isFermo, @idxTipo)";
this._adapter.InsertCommand.CommandText = "INSERT INTO [MtzProgPending] ([idxIntPro], [idxMacchina], [data], [descrizione], " +
"[idxPriorita], [isFermo], [idxTipo]) VALUES (@idxIntPro, @idxMacchina, @data, @d" +
"escrizione, @idxPriorita, @isFermo, @idxTipo)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -16699,10 +16559,10 @@ ORDER BY numIntMtz DESC";
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", 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].[MtzProgPending] SET [idxIntPro] = @idxIntPro, [idxMacchina] = @idxM" +
"acchina, [data] = @data, [descrizione] = @descrizione, [idxPriorita] = @idxPrior" +
"ita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxPending] = @Original" +
"_idxPending))";
this._adapter.UpdateCommand.CommandText = "UPDATE [MtzProgPending] SET [idxIntPro] = @idxIntPro, [idxMacchina] = @idxMacchin" +
"a, [data] = @data, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [" +
"isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxPending] = @Original_idxPe" +
"nding))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -16727,13 +16587,13 @@ ORDER BY numIntMtz DESC";
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFerm" +
"o, idxTipo FROM dbo.MtzProgPending";
this._commandCollection[0].CommandText = "SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita," +
" isFermo, idxTipo\r\nFROM MtzProgPending";
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 idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFerm" +
"o, idxTipo FROM dbo.MtzProgPending WHERE data < @dataScadenza";
this._commandCollection[1].CommandText = "SELECT data, descrizione, idxIntPro, idxMacchina, idxPending, idxPriorita, idxTip" +
"o, isFermo FROM MtzProgPending WHERE (data < @dataScadenza)";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataScadenza", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -17053,15 +16913,14 @@ ORDER BY numIntMtz DESC";
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].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))";
this._adapter.DeleteCommand.CommandText = "DELETE FROM [MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxIntPro", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxIntPro", 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].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cad" +
"enza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina," +
" @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTip" +
"o)";
this._adapter.InsertCommand.CommandText = "INSERT INTO [MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cadenza]," +
" [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina, @iniz" +
"io, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTipo)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17073,7 +16932,7 @@ ORDER BY numIntMtz DESC";
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxTipo", 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].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))";
this._adapter.UpdateCommand.CommandText = @"UPDATE [MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "inizio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17099,8 +16958,8 @@ ORDER BY numIntMtz DESC";
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 idxIntPro, idxMacchina, inizio, codFrequenza, cadenza, descrizione, idxPri" +
"orita, isFermo, idxTipo FROM dbo.MtzProgrammata";
this._commandCollection[0].CommandText = "SELECT idxIntPro, idxMacchina, inizio, codFrequenza, cadenza, descrizione," +
" idxPriorita, isFermo, idxTipo\r\nFROM MtzProgrammata";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -17110,11 +16969,7 @@ ORDER BY numIntMtz DESC";
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxIntPro", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = @"SELECT MtzProgrammata.idxIntPro, MtzProgrammata.idxMacchina, MtzProgrammata.inizio, MtzProgrammata.codFrequenza, MtzProgrammata.cadenza,
MtzProgrammata.descrizione, MtzProgrammata.idxPriorita, MtzProgrammata.isFermo, MtzProgrammata.idxTipo
FROM MtzProgrammata LEFT OUTER JOIN
MtzProgPending ON MtzProgrammata.idxIntPro = MtzProgPending.idxIntPro
WHERE (MtzProgPending.idxPending IS NULL)";
this._commandCollection[2].CommandText = @"SELECT MtzProgrammata.cadenza, MtzProgrammata.codFrequenza, MtzProgrammata.descrizione, MtzProgrammata.idxIntPro, MtzProgrammata.idxMacchina, MtzProgrammata.idxPriorita, MtzProgrammata.idxTipo, MtzProgrammata.inizio, MtzProgrammata.isFermo FROM MtzProgrammata LEFT OUTER JOIN MtzProgPending ON MtzProgrammata.idxIntPro = MtzProgPending.idxIntPro WHERE (MtzProgPending.idxPending IS NULL)";
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
@@ -17125,7 +16980,7 @@ WHERE (MtzProgPending.idxPending IS NULL)";
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codFrequenza", global::System.Data.SqlDbType.NChar, 2, 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("@cadenza", 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("@descrizione", global::System.Data.SqlDbType.NVarChar, 500, 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("@descrizione", global::System.Data.SqlDbType.NVarChar, 2500, 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("@idxPriorita", 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("@isFermo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].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, "", "", ""));
+52 -74
View File
@@ -933,54 +933,15 @@ WHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_matrOp)</Com
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_mtzProgExpTableAdapter" GeneratorDataComponentClassName="v_mtzProgExpTableAdapter" Name="v_mtzProgExp" UserDataComponentName="v_mtzProgExpTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgExp" DbObjectType="View" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxIntPro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxIntPro" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cadenza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina, @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTipo)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="inizio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@codFrequenza" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="codFrequenza" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cadenza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cadenza" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxPriorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxPriorita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isFermo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isFermo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxTipo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxTipo" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgExp" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT idxIntPro, idxMacchina, codMacchina, nomeMacchina, inizio, codFrequenza, frequenza, cadenza, descrizione, idxPriorita, descrPriorita, isFermo, idxTipo,
descrTipo
FROM v_mtzProgExp</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="inizio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@codFrequenza" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="codFrequenza" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cadenza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cadenza" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxPriorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxPriorita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isFermo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isFermo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxTipo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxTipo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxIntPro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxIntPro" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
@@ -999,14 +960,33 @@ FROM v_mtzProgExp</CommandText>
<Mapping SourceColumn="descrPriorita" DataSetColumn="descrPriorita" />
<Mapping SourceColumn="descrTipo" DataSetColumn="descrTipo" />
</Mappings>
<Sources />
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_MtzProg_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_MtzProg_insert</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="@idxMacchina" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nchar" DbType="StringFixedLength" Direction="Input" ParameterName="@codFrequenza" Precision="0" ProviderType="NChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cadenza" Precision="10" ProviderType="Int" Scale="0" Size="4" 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="@idxPriorita" Precision="10" ProviderType="Int" Scale="0" Size="4" 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="@idxTipo" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MtzProgPendingTableAdapter" GeneratorDataComponentClassName="MtzProgPendingTableAdapter" Name="MtzProgPending" UserDataComponentName="MtzProgPendingTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.MtzProgPending" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[MtzProgPending] WHERE (([idxPending] = @Original_idxPending))</CommandText>
<CommandText>DELETE FROM [MtzProgPending] WHERE (([idxPending] = @Original_idxPending))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxPending" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxPending" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
@@ -1014,7 +994,7 @@ FROM v_mtzProgExp</CommandText>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[MtzProgPending] ([idxIntPro], [idxMacchina], [data], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxIntPro, @idxMacchina, @data, @descrizione, @idxPriorita, @isFermo, @idxTipo)</CommandText>
<CommandText>INSERT INTO [MtzProgPending] ([idxIntPro], [idxMacchina], [data], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxIntPro, @idxMacchina, @data, @descrizione, @idxPriorita, @isFermo, @idxTipo)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxIntPro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxIntPro" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1028,13 +1008,14 @@ FROM v_mtzProgExp</CommandText>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFermo, idxTipo FROM dbo.MtzProgPending</CommandText>
<CommandText>SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFermo, idxTipo
FROM MtzProgPending</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[MtzProgPending] SET [idxIntPro] = @idxIntPro, [idxMacchina] = @idxMacchina, [data] = @data, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxPending] = @Original_idxPending))</CommandText>
<CommandText>UPDATE [MtzProgPending] SET [idxIntPro] = @idxIntPro, [idxMacchina] = @idxMacchina, [data] = @data, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxPending] = @Original_idxPending))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxIntPro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxIntPro" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1063,7 +1044,7 @@ FROM v_mtzProgExp</CommandText>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.MtzProgPending" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDataScad" GetMethodModifier="Public" GetMethodName="getByDataScad" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDataScad" UserSourceName="getByDataScad">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT idxPending, idxIntPro, idxMacchina, data, descrizione, idxPriorita, isFermo, idxTipo FROM dbo.MtzProgPending WHERE data &lt; @dataScadenza</CommandText>
<CommandText>SELECT data, descrizione, idxIntPro, idxMacchina, idxPending, idxPriorita, idxTipo, isFermo FROM MtzProgPending WHERE (data &lt; @dataScadenza)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="dataScadenza" ColumnName="data" DataSourceName="GIM.dbo.MtzProgPending" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dataScadenza" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -1077,7 +1058,7 @@ FROM v_mtzProgExp</CommandText>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.MtzProgrammata" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
<CommandText>DELETE FROM [MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxIntPro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxIntPro" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
@@ -1085,7 +1066,7 @@ FROM v_mtzProgExp</CommandText>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cadenza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina, @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTipo)</CommandText>
<CommandText>INSERT INTO [MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cadenza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina, @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTipo)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="inizio" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1100,13 +1081,14 @@ FROM v_mtzProgExp</CommandText>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxIntPro, idxMacchina, inizio, codFrequenza, cadenza, descrizione, idxPriorita, isFermo, idxTipo FROM dbo.MtzProgrammata</CommandText>
<CommandText>SELECT idxIntPro, idxMacchina, inizio, codFrequenza, cadenza, descrizione, idxPriorita, isFermo, idxTipo
FROM MtzProgrammata</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
<CommandText>UPDATE [MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="inizio" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1148,11 +1130,7 @@ FROM v_mtzProgExp</CommandText>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.MtzProgrammata" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNotScheduled" GetMethodModifier="Public" GetMethodName="getNotScheduled" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNotScheduled" UserSourceName="getNotScheduled">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT MtzProgrammata.idxIntPro, MtzProgrammata.idxMacchina, MtzProgrammata.inizio, MtzProgrammata.codFrequenza, MtzProgrammata.cadenza,
MtzProgrammata.descrizione, MtzProgrammata.idxPriorita, MtzProgrammata.isFermo, MtzProgrammata.idxTipo
FROM MtzProgrammata LEFT OUTER JOIN
MtzProgPending ON MtzProgrammata.idxIntPro = MtzProgPending.idxIntPro
WHERE (MtzProgPending.idxPending IS NULL)</CommandText>
<CommandText>SELECT MtzProgrammata.cadenza, MtzProgrammata.codFrequenza, MtzProgrammata.descrizione, MtzProgrammata.idxIntPro, MtzProgrammata.idxMacchina, MtzProgrammata.idxPriorita, MtzProgrammata.idxTipo, MtzProgrammata.inizio, MtzProgrammata.isFermo FROM MtzProgrammata LEFT OUTER JOIN MtzProgPending ON MtzProgrammata.idxIntPro = MtzProgPending.idxIntPro WHERE (MtzProgPending.idxPending IS NULL)</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -1167,7 +1145,7 @@ WHERE (MtzProgPending.idxPending IS NULL)</CommandText>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nchar" DbType="StringFixedLength" Direction="Input" ParameterName="@codFrequenza" Precision="0" ProviderType="NChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@cadenza" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="NVarChar" 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="@idxPriorita" Precision="10" ProviderType="Int" Scale="0" Size="4" 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="@idxTipo" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1935,7 +1913,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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
@@ -1990,7 +1968,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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
@@ -2017,7 +1995,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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
@@ -2235,20 +2213,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_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" />
<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" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+3 -3
View File
@@ -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="-10" 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="101" 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" />
@@ -17,8 +17,8 @@
<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="82" Y="571" Height="248" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:MtzProgPending" ZOrder="20" X="821" Y="791" Height="224" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="160" />
<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: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: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" />
+2 -2
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17626
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -5708,7 +5708,7 @@ namespace GIM_data {
this.columnnomeImpianto.MaxLength = 50;
this.columncodMacchina.MaxLength = 50;
this.columnnomeMacchina.MaxLength = 250;
this.columndescrizione.MaxLength = 500;
this.columndescrizione.MaxLength = 2500;
this.columndescrPriorita.MaxLength = 50;
this.columndescrTipo.MaxLength = 50;
this.columnidxTipo.AllowDBNull = false;
+121 -121
View File
@@ -9,7 +9,7 @@
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selImpiantiTableAdapter" GeneratorDataComponentClassName="v_selImpiantiTableAdapter" Name="v_selImpianti" UserDataComponentName="v_selImpiantiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selImpianti" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selImpianti" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT value, label FROM dbo.v_selImpianti
@@ -24,7 +24,7 @@ order by label</CommandText>
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selImpianti" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getImpiantiValidi" GetMethodModifier="Public" GetMethodName="getImpiantiValidi" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getImpiantiValidi" UserSourceName="getImpiantiValidi">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selImpianti" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getImpiantiValidi" GetMethodModifier="Public" GetMethodName="getImpiantiValidi" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getImpiantiValidi" UserSourceName="getImpiantiValidi">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT label, value FROM v_selImpianti WHERE (value &gt; 1) ORDER BY label</CommandText>
@@ -36,7 +36,7 @@ order by label</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selMacchineTableAdapter" GeneratorDataComponentClassName="v_selMacchineTableAdapter" Name="v_selMacchine" UserDataComponentName="v_selMacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selMacchine" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selMacchine" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM dbo.v_selMacchine</CommandText>
@@ -51,7 +51,7 @@ order by label</CommandText>
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selMacchine" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selMacchine" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM dbo.v_selMacchine
@@ -66,7 +66,7 @@ where conditio=@conditio</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selPriorTableAdapter" GeneratorDataComponentClassName="v_selPriorTableAdapter" Name="v_selPrior" UserDataComponentName="v_selPriorTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPrior" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPrior" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selPrior</CommandText>
@@ -83,7 +83,7 @@ where conditio=@conditio</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selAmbitiTableAdapter" GeneratorDataComponentClassName="v_selAmbitiTableAdapter" Name="v_selAmbiti" UserDataComponentName="v_selAmbitiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selAmbiti" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selAmbiti" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label
@@ -102,7 +102,7 @@ ORDER BY label</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selCausaliMacchineTableAdapter" GeneratorDataComponentClassName="v_selCausaliMacchineTableAdapter" Name="v_selCausaliMacchine" UserDataComponentName="v_selCausaliMacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selCausaliMacchine" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selCausaliMacchine" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label, conditio FROM dbo.v_selCausaliMacchine</CommandText>
@@ -117,7 +117,7 @@ ORDER BY label</CommandText>
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selCausaliMacchine" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selCausaliMacchine" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT value, label, conditio
@@ -133,7 +133,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selTipoGuastoTableAdapter" GeneratorDataComponentClassName="v_selTipoGuastoTableAdapter" Name="v_selTipoGuasto" UserDataComponentName="v_selTipoGuastoTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selTipoGuasto" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selTipoGuasto" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selTipoGuasto</CommandText>
@@ -150,7 +150,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selSemaforiTableAdapter" GeneratorDataComponentClassName="v_selSemaforiTableAdapter" Name="v_selSemafori" UserDataComponentName="v_selSemaforiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selSemafori" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selSemafori" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selSemafori</CommandText>
@@ -167,7 +167,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selFreqTableAdapter" GeneratorDataComponentClassName="v_selFreqTableAdapter" Name="v_selFreq" UserDataComponentName="v_selFreqTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selFreq" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selFreq" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selFreq</CommandText>
@@ -184,7 +184,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selStatoTableAdapter" GeneratorDataComponentClassName="v_selStatoTableAdapter" Name="v_selStato" UserDataComponentName="v_selStatoTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selStato" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selStato" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selStato</CommandText>
@@ -201,7 +201,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selPeriodiTradTableAdapter" GeneratorDataComponentClassName="v_selPeriodiTradTableAdapter" Name="v_selPeriodiTrad" UserDataComponentName="v_selPeriodiTradTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPeriodiTrad" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPeriodiTrad" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT value, label, conditio FROM dbo.v_selPeriodiTrad</CommandText>
@@ -216,7 +216,7 @@ WHERE (conditio = @conditio)</CommandText>
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPeriodiTrad" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPeriodiTrad" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT conditio, label, value FROM v_selPeriodiTrad WHERE (conditio = @conditio) ORDER BY value</CommandText>
@@ -230,7 +230,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_elencoImpiantiMacchineTableAdapter" GeneratorDataComponentClassName="v_elencoImpiantiMacchineTableAdapter" Name="v_elencoImpiantiMacchine" UserDataComponentName="v_elencoImpiantiMacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoImpiantiMacchine" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoImpiantiMacchine" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT codImpianto, nomeImpianto, tipoImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo FROM dbo.v_elencoImpiantiMacchine</CommandText>
@@ -255,7 +255,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_elencoIntervFiltTableAdapter" GeneratorDataComponentClassName="v_elencoIntervFiltTableAdapter" Name="v_elencoIntervFilt" UserDataComponentName="v_elencoIntervFiltTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoIntervFilt" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoIntervFilt" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT numIntMtz, richiesta, codImpianto, nomeImpianto, codMacchina, nomeMacchina, descrizione, inizioIntervento, fineIntervento, descrizioneIntervento, descrCausale, guasto, idxStato, idxImpianto, idxMacchina, isFermo, scheduled FROM v_elencoIntervFilt</CommandText>
@@ -284,7 +284,7 @@ WHERE (conditio = @conditio)</CommandText>
<Mapping SourceColumn="scheduled" DataSetColumn="scheduled" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntByIntervDate" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDate" GetMethodModifier="Public" GetMethodName="getByIntervDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDate" UserSourceName="getByIntervDate">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntByIntervDate" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDate" GetMethodModifier="Public" GetMethodName="getByIntervDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDate" UserSourceName="getByIntervDate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_elencoIntByIntervDate</CommandText>
@@ -296,7 +296,7 @@ WHERE (conditio = @conditio)</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntByIntervDateUserFilt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDateUsernameFilt" GetMethodModifier="Public" GetMethodName="getByIntervDateUsernameFilt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDateUsernameFilt" UserSourceName="getByIntervDateUsernameFilt">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntByIntervDateUserFilt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDateUsernameFilt" GetMethodModifier="Public" GetMethodName="getByIntervDateUsernameFilt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDateUsernameFilt" UserSourceName="getByIntervDateUsernameFilt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_elencoIntByIntervDateUserFilt</CommandText>
@@ -309,7 +309,7 @@ WHERE (conditio = @conditio)</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntByIntervDateUserFilt_fermaPrev" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDateUsernameFilt_fermaPrev" GetMethodModifier="Public" GetMethodName="getByIntervDateUsernameFilt_fermaPrev" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDateUsernameFilt_fermaPrev" UserSourceName="getByIntervDateUsernameFilt_fermaPrev">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntByIntervDateUserFilt_fermaPrev" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDateUsernameFilt_fermaPrev" GetMethodModifier="Public" GetMethodName="getByIntervDateUsernameFilt_fermaPrev" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDateUsernameFilt_fermaPrev" UserSourceName="getByIntervDateUsernameFilt_fermaPrev">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_elencoIntByIntervDateUserFilt_fermaPrev</CommandText>
@@ -328,7 +328,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sp_elencoIntMTBF_MTTRTableAdapter" GeneratorDataComponentClassName="sp_elencoIntMTBF_MTTRTableAdapter" Name="sp_elencoIntMTBF_MTTR" UserDataComponentName="sp_elencoIntMTBF_MTTRTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.sp_elencoIntMTBF_MTTR" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.sp_elencoIntMTBF_MTTR" DbObjectType="StoredProcedure" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.sp_elencoIntMTBF_MTTR</CommandText>
@@ -352,7 +352,7 @@ WHERE (conditio = @conditio)</CommandText>
<Mapping SourceColumn="nomeMacchina" DataSetColumn="nomeMacchina" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntMTBF_MTTR_fermaPrev" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFermaPrev" GetMethodModifier="Public" GetMethodName="getByFermaPrev" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFermaPrev" UserSourceName="getByFermaPrev">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_elencoIntMTBF_MTTR_fermaPrev" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFermaPrev" GetMethodModifier="Public" GetMethodName="getByFermaPrev" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFermaPrev" UserSourceName="getByFermaPrev">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_elencoIntMTBF_MTTR_fermaPrev</CommandText>
@@ -371,7 +371,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selFamTableAdapter" GeneratorDataComponentClassName="v_selFamTableAdapter" Name="v_selFam" UserDataComponentName="v_selFamTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selFam" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selFam" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label FROM dbo.v_selFam</CommandText>
@@ -388,7 +388,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selOperMtzTableAdapter" GeneratorDataComponentClassName="v_selOperMtzTableAdapter" Name="v_selOperMtz" UserDataComponentName="v_selOperMtzTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selOperMtz" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selOperMtz" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_selOperMtz</CommandText>
@@ -402,7 +402,7 @@ WHERE (conditio = @conditio)</CommandText>
<Mapping SourceColumn="value" DataSetColumn="value" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selOperMtz" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByValue" GetMethodModifier="Public" GetMethodName="getByValue" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByValue" UserSourceName="getByValue">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selOperMtz" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByValue" GetMethodModifier="Public" GetMethodName="getByValue" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByValue" UserSourceName="getByValue">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_selOperMtz WHERE (value = @value)</CommandText>
@@ -416,7 +416,7 @@ WHERE (conditio = @conditio)</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_mtzProgPendingExpTableAdapter" GeneratorDataComponentClassName="v_mtzProgPendingExpTableAdapter" Name="v_mtzProgPendingExp" UserDataComponentName="v_mtzProgPendingExpTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgPendingExp" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgPendingExp" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxPending, codImpianto, nomeImpianto, codMacchina, nomeMacchina, data, descrizione, descrPriorita, isFermo, descrTipo, idxTipo, idxMacchina, idxImpianto FROM dbo.v_mtzProgPendingExp</CommandText>
@@ -441,7 +441,7 @@ WHERE (conditio = @conditio)</CommandText>
<Mapping SourceColumn="idxImpianto" DataSetColumn="idxImpianto" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgPendingExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDataMax" GetMethodModifier="Public" GetMethodName="getByDataMax" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDataMax" UserSourceName="getByDataMax">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgPendingExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDataMax" GetMethodModifier="Public" GetMethodName="getByDataMax" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDataMax" UserSourceName="getByDataMax">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT codImpianto, codMacchina, data, descrPriorita, descrTipo, descrizione, idxPending, isFermo, nomeImpianto, nomeMacchina FROM v_mtzProgPendingExp WHERE (data &lt;= @dataMax) ORDER BY data</CommandText>
@@ -458,14 +458,14 @@ WHERE (conditio = @conditio)</CommandText>
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DS_utility" msprop:Generator_DataSetName="DS_utility">
<xs:element name="DS_utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DS_utility" msprop:Generator_UserDSName="DS_utility">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="v_selImpianti" msprop:Generator_UserTableName="v_selImpianti" msprop:Generator_RowDeletedName="v_selImpiantiRowDeleted" msprop:Generator_RowChangedName="v_selImpiantiRowChanged" msprop:Generator_RowClassName="v_selImpiantiRow" msprop:Generator_RowChangingName="v_selImpiantiRowChanging" msprop:Generator_RowEvArgName="v_selImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="v_selImpiantiDataTable" msprop:Generator_TableVarName="tablev_selImpianti" msprop:Generator_RowDeletingName="v_selImpiantiRowDeleting" msprop:Generator_TablePropName="v_selImpianti">
<xs:element name="v_selImpianti" msprop:Generator_UserTableName="v_selImpianti" msprop:Generator_RowEvArgName="v_selImpiantiRowChangeEvent" msprop:Generator_TableVarName="tablev_selImpianti" msprop:Generator_TablePropName="v_selImpianti" msprop:Generator_RowDeletingName="v_selImpiantiRowDeleting" msprop:Generator_RowChangingName="v_selImpiantiRowChanging" msprop:Generator_RowDeletedName="v_selImpiantiRowDeleted" msprop:Generator_RowEvHandlerName="v_selImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="v_selImpiantiDataTable" msprop:Generator_RowChangedName="v_selImpiantiRowChanged" msprop:Generator_RowClassName="v_selImpiantiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="156" />
@@ -475,26 +475,26 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selMacchine" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_TablePropName="v_selMacchine">
<xs:element name="v_selMacchine" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowClassName="v_selMacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="213" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" minOccurs="0" />
<xs:element name="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_UserColumnName="conditio" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPrior" msprop:Generator_UserTableName="v_selPrior" msprop:Generator_RowDeletedName="v_selPriorRowDeleted" msprop:Generator_RowChangedName="v_selPriorRowChanged" msprop:Generator_RowClassName="v_selPriorRow" msprop:Generator_RowChangingName="v_selPriorRowChanging" msprop:Generator_RowEvArgName="v_selPriorRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPriorRowChangeEventHandler" msprop:Generator_TableClassName="v_selPriorDataTable" msprop:Generator_TableVarName="tablev_selPrior" msprop:Generator_RowDeletingName="v_selPriorRowDeleting" msprop:Generator_TablePropName="v_selPrior">
<xs:element name="v_selPrior" msprop:Generator_UserTableName="v_selPrior" msprop:Generator_RowEvArgName="v_selPriorRowChangeEvent" msprop:Generator_TableVarName="tablev_selPrior" msprop:Generator_TablePropName="v_selPrior" msprop:Generator_RowDeletingName="v_selPriorRowDeleting" msprop:Generator_RowChangingName="v_selPriorRowChanging" msprop:Generator_RowDeletedName="v_selPriorRowDeleted" msprop:Generator_RowEvHandlerName="v_selPriorRowChangeEventHandler" msprop:Generator_TableClassName="v_selPriorDataTable" msprop:Generator_RowChangedName="v_selPriorRowChanged" msprop:Generator_RowClassName="v_selPriorRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="57" />
@@ -504,11 +504,11 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selAmbiti" msprop:Generator_UserTableName="v_selAmbiti" msprop:Generator_RowDeletedName="v_selAmbitiRowDeleted" msprop:Generator_RowChangedName="v_selAmbitiRowChanged" msprop:Generator_RowClassName="v_selAmbitiRow" msprop:Generator_RowChangingName="v_selAmbitiRowChanging" msprop:Generator_RowEvArgName="v_selAmbitiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selAmbitiRowChangeEventHandler" msprop:Generator_TableClassName="v_selAmbitiDataTable" msprop:Generator_TableVarName="tablev_selAmbiti" msprop:Generator_RowDeletingName="v_selAmbitiRowDeleting" msprop:Generator_TablePropName="v_selAmbiti">
<xs:element name="v_selAmbiti" msprop:Generator_UserTableName="v_selAmbiti" msprop:Generator_RowEvArgName="v_selAmbitiRowChangeEvent" msprop:Generator_TableVarName="tablev_selAmbiti" msprop:Generator_TablePropName="v_selAmbiti" msprop:Generator_RowDeletingName="v_selAmbitiRowDeleting" msprop:Generator_RowChangingName="v_selAmbitiRowChanging" msprop:Generator_RowDeletedName="v_selAmbitiRowDeleted" msprop:Generator_RowEvHandlerName="v_selAmbitiRowChangeEventHandler" msprop:Generator_TableClassName="v_selAmbitiDataTable" msprop:Generator_RowChangedName="v_selAmbitiRowChanged" msprop:Generator_RowClassName="v_selAmbitiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -518,26 +518,26 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCausaliMacchine" msprop:Generator_UserTableName="v_selCausaliMacchine" msprop:Generator_RowDeletedName="v_selCausaliMacchineRowDeleted" msprop:Generator_RowChangedName="v_selCausaliMacchineRowChanged" msprop:Generator_RowClassName="v_selCausaliMacchineRow" msprop:Generator_RowChangingName="v_selCausaliMacchineRowChanging" msprop:Generator_RowEvArgName="v_selCausaliMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selCausaliMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selCausaliMacchineDataTable" msprop:Generator_TableVarName="tablev_selCausaliMacchine" msprop:Generator_RowDeletingName="v_selCausaliMacchineRowDeleting" msprop:Generator_TablePropName="v_selCausaliMacchine">
<xs:element name="v_selCausaliMacchine" msprop:Generator_UserTableName="v_selCausaliMacchine" msprop:Generator_RowEvArgName="v_selCausaliMacchineRowChangeEvent" msprop:Generator_TableVarName="tablev_selCausaliMacchine" msprop:Generator_TablePropName="v_selCausaliMacchine" msprop:Generator_RowDeletingName="v_selCausaliMacchineRowDeleting" msprop:Generator_RowChangingName="v_selCausaliMacchineRowChanging" msprop:Generator_RowDeletedName="v_selCausaliMacchineRowDeleted" msprop:Generator_RowEvHandlerName="v_selCausaliMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selCausaliMacchineDataTable" msprop:Generator_RowChangedName="v_selCausaliMacchineRowChanged" msprop:Generator_RowClassName="v_selCausaliMacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" />
<xs:element name="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_UserColumnName="conditio" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selTipoGuasto" msprop:Generator_UserTableName="v_selTipoGuasto" msprop:Generator_RowDeletedName="v_selTipoGuastoRowDeleted" msprop:Generator_RowChangedName="v_selTipoGuastoRowChanged" msprop:Generator_RowClassName="v_selTipoGuastoRow" msprop:Generator_RowChangingName="v_selTipoGuastoRowChanging" msprop:Generator_RowEvArgName="v_selTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoGuastoDataTable" msprop:Generator_TableVarName="tablev_selTipoGuasto" msprop:Generator_RowDeletingName="v_selTipoGuastoRowDeleting" msprop:Generator_TablePropName="v_selTipoGuasto">
<xs:element name="v_selTipoGuasto" msprop:Generator_UserTableName="v_selTipoGuasto" msprop:Generator_RowEvArgName="v_selTipoGuastoRowChangeEvent" msprop:Generator_TableVarName="tablev_selTipoGuasto" msprop:Generator_TablePropName="v_selTipoGuasto" msprop:Generator_RowDeletingName="v_selTipoGuastoRowDeleting" msprop:Generator_RowChangingName="v_selTipoGuastoRowChanging" msprop:Generator_RowDeletedName="v_selTipoGuastoRowDeleted" msprop:Generator_RowEvHandlerName="v_selTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoGuastoDataTable" msprop:Generator_RowChangedName="v_selTipoGuastoRowChanged" msprop:Generator_RowClassName="v_selTipoGuastoRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -547,17 +547,17 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selSemafori" msprop:Generator_UserTableName="v_selSemafori" msprop:Generator_RowDeletedName="v_selSemaforiRowDeleted" msprop:Generator_RowChangedName="v_selSemaforiRowChanged" msprop:Generator_RowClassName="v_selSemaforiRow" msprop:Generator_RowChangingName="v_selSemaforiRowChanging" msprop:Generator_RowEvArgName="v_selSemaforiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selSemaforiRowChangeEventHandler" msprop:Generator_TableClassName="v_selSemaforiDataTable" msprop:Generator_TableVarName="tablev_selSemafori" msprop:Generator_RowDeletingName="v_selSemaforiRowDeleting" msprop:Generator_TablePropName="v_selSemafori">
<xs:element name="v_selSemafori" msprop:Generator_UserTableName="v_selSemafori" msprop:Generator_RowEvArgName="v_selSemaforiRowChangeEvent" msprop:Generator_TableVarName="tablev_selSemafori" msprop:Generator_TablePropName="v_selSemafori" msprop:Generator_RowDeletingName="v_selSemaforiRowDeleting" msprop:Generator_RowChangingName="v_selSemaforiRowChanging" msprop:Generator_RowDeletedName="v_selSemaforiRowDeleted" msprop:Generator_RowEvHandlerName="v_selSemaforiRowChangeEventHandler" msprop:Generator_TableClassName="v_selSemaforiDataTable" msprop:Generator_RowChangedName="v_selSemaforiRowChanged" msprop:Generator_RowClassName="v_selSemaforiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -567,17 +567,17 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFreq" msprop:Generator_UserTableName="v_selFreq" msprop:Generator_RowDeletedName="v_selFreqRowDeleted" msprop:Generator_RowChangedName="v_selFreqRowChanged" msprop:Generator_RowClassName="v_selFreqRow" msprop:Generator_RowChangingName="v_selFreqRowChanging" msprop:Generator_RowEvArgName="v_selFreqRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFreqRowChangeEventHandler" msprop:Generator_TableClassName="v_selFreqDataTable" msprop:Generator_TableVarName="tablev_selFreq" msprop:Generator_RowDeletingName="v_selFreqRowDeleting" msprop:Generator_TablePropName="v_selFreq">
<xs:element name="v_selFreq" msprop:Generator_UserTableName="v_selFreq" msprop:Generator_RowEvArgName="v_selFreqRowChangeEvent" msprop:Generator_TableVarName="tablev_selFreq" msprop:Generator_TablePropName="v_selFreq" msprop:Generator_RowDeletingName="v_selFreqRowDeleting" msprop:Generator_RowChangingName="v_selFreqRowChanging" msprop:Generator_RowDeletedName="v_selFreqRowDeleted" msprop:Generator_RowEvHandlerName="v_selFreqRowChangeEventHandler" msprop:Generator_TableClassName="v_selFreqDataTable" msprop:Generator_RowChangedName="v_selFreqRowChanged" msprop:Generator_RowClassName="v_selFreqRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -587,11 +587,11 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selStato" msprop:Generator_UserTableName="v_selStato" msprop:Generator_RowDeletedName="v_selStatoRowDeleted" msprop:Generator_RowChangedName="v_selStatoRowChanged" msprop:Generator_RowClassName="v_selStatoRow" msprop:Generator_RowChangingName="v_selStatoRowChanging" msprop:Generator_RowEvArgName="v_selStatoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selStatoRowChangeEventHandler" msprop:Generator_TableClassName="v_selStatoDataTable" msprop:Generator_TableVarName="tablev_selStato" msprop:Generator_RowDeletingName="v_selStatoRowDeleting" msprop:Generator_TablePropName="v_selStato">
<xs:element name="v_selStato" msprop:Generator_UserTableName="v_selStato" msprop:Generator_RowEvArgName="v_selStatoRowChangeEvent" msprop:Generator_TableVarName="tablev_selStato" msprop:Generator_TablePropName="v_selStato" msprop:Generator_RowDeletingName="v_selStatoRowDeleting" msprop:Generator_RowChangingName="v_selStatoRowChanging" msprop:Generator_RowDeletedName="v_selStatoRowDeleted" msprop:Generator_RowEvHandlerName="v_selStatoRowChangeEventHandler" msprop:Generator_TableClassName="v_selStatoDataTable" msprop:Generator_RowChangedName="v_selStatoRowChanged" msprop:Generator_RowClassName="v_selStatoRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -601,24 +601,24 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPeriodiTrad" msprop:Generator_UserTableName="v_selPeriodiTrad" msprop:Generator_RowDeletedName="v_selPeriodiTradRowDeleted" msprop:Generator_RowChangedName="v_selPeriodiTradRowChanged" msprop:Generator_RowClassName="v_selPeriodiTradRow" msprop:Generator_RowChangingName="v_selPeriodiTradRowChanging" msprop:Generator_RowEvArgName="v_selPeriodiTradRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPeriodiTradRowChangeEventHandler" msprop:Generator_TableClassName="v_selPeriodiTradDataTable" msprop:Generator_TableVarName="tablev_selPeriodiTrad" msprop:Generator_RowDeletingName="v_selPeriodiTradRowDeleting" msprop:Generator_TablePropName="v_selPeriodiTrad">
<xs:element name="v_selPeriodiTrad" msprop:Generator_UserTableName="v_selPeriodiTrad" msprop:Generator_RowEvArgName="v_selPeriodiTradRowChangeEvent" msprop:Generator_TableVarName="tablev_selPeriodiTrad" msprop:Generator_TablePropName="v_selPeriodiTrad" msprop:Generator_RowDeletingName="v_selPeriodiTradRowDeleting" msprop:Generator_RowChangingName="v_selPeriodiTradRowChanging" msprop:Generator_RowDeletedName="v_selPeriodiTradRowDeleted" msprop:Generator_RowEvHandlerName="v_selPeriodiTradRowChangeEventHandler" msprop:Generator_TableClassName="v_selPeriodiTradDataTable" msprop:Generator_RowChangedName="v_selPeriodiTradRowChanged" msprop:Generator_RowClassName="v_selPeriodiTradRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn">
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:element name="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_UserColumnName="conditio">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
@@ -628,160 +628,160 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoImpiantiMacchine" msprop:Generator_UserTableName="v_elencoImpiantiMacchine" msprop:Generator_RowDeletedName="v_elencoImpiantiMacchineRowDeleted" msprop:Generator_RowChangedName="v_elencoImpiantiMacchineRowChanged" msprop:Generator_RowClassName="v_elencoImpiantiMacchineRow" msprop:Generator_RowChangingName="v_elencoImpiantiMacchineRowChanging" msprop:Generator_RowEvArgName="v_elencoImpiantiMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoImpiantiMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoImpiantiMacchineDataTable" msprop:Generator_TableVarName="tablev_elencoImpiantiMacchine" msprop:Generator_RowDeletingName="v_elencoImpiantiMacchineRowDeleting" msprop:Generator_TablePropName="v_elencoImpiantiMacchine">
<xs:element name="v_elencoImpiantiMacchine" msprop:Generator_UserTableName="v_elencoImpiantiMacchine" msprop:Generator_RowEvArgName="v_elencoImpiantiMacchineRowChangeEvent" msprop:Generator_TableVarName="tablev_elencoImpiantiMacchine" msprop:Generator_TablePropName="v_elencoImpiantiMacchine" msprop:Generator_RowDeletingName="v_elencoImpiantiMacchineRowDeleting" msprop:Generator_RowChangingName="v_elencoImpiantiMacchineRowChanging" msprop:Generator_RowDeletedName="v_elencoImpiantiMacchineRowDeleted" msprop:Generator_RowEvHandlerName="v_elencoImpiantiMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoImpiantiMacchineDataTable" msprop:Generator_RowChangedName="v_elencoImpiantiMacchineRowChanged" msprop:Generator_RowClassName="v_elencoImpiantiMacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:element name="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" msprop:Generator_UserColumnName="codImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:element name="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" msprop:Generator_UserColumnName="nomeImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:element name="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" msprop:Generator_UserColumnName="tipoImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:element name="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" msprop:Generator_UserColumnName="codMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:element name="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" msprop:Generator_UserColumnName="nomeMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:element name="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnPropNameInTable="modelloColumn" msprop:Generator_UserColumnName="modello" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msdata:ReadOnly="true" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:element name="matricola" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" msprop:Generator_UserColumnName="matricola" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" />
<xs:element name="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" msprop:Generator_UserColumnName="anno" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" msprop:Generator_UserColumnName="kgPeso" type="xs:double" />
<xs:element name="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" msprop:Generator_UserColumnName="kwConsumo" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoIntervFilt" msprop:Generator_UserTableName="v_elencoIntervFilt" msprop:Generator_RowDeletedName="v_elencoIntervFiltRowDeleted" msprop:Generator_RowChangedName="v_elencoIntervFiltRowChanged" msprop:Generator_RowClassName="v_elencoIntervFiltRow" msprop:Generator_RowChangingName="v_elencoIntervFiltRowChanging" msprop:Generator_RowEvArgName="v_elencoIntervFiltRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoIntervFiltRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoIntervFiltDataTable" msprop:Generator_TableVarName="tablev_elencoIntervFilt" msprop:Generator_RowDeletingName="v_elencoIntervFiltRowDeleting" msprop:Generator_TablePropName="v_elencoIntervFilt">
<xs:element name="v_elencoIntervFilt" msprop:Generator_UserTableName="v_elencoIntervFilt" msprop:Generator_RowEvArgName="v_elencoIntervFiltRowChangeEvent" msprop:Generator_TableVarName="tablev_elencoIntervFilt" msprop:Generator_TablePropName="v_elencoIntervFilt" msprop:Generator_RowDeletingName="v_elencoIntervFiltRowDeleting" msprop:Generator_RowChangingName="v_elencoIntervFiltRowChanging" msprop:Generator_RowDeletedName="v_elencoIntervFiltRowDeleted" msprop:Generator_RowEvHandlerName="v_elencoIntervFiltRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoIntervFiltDataTable" msprop:Generator_RowChangedName="v_elencoIntervFiltRowChanged" msprop:Generator_RowClassName="v_elencoIntervFiltRow">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:element name="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" msprop:Generator_UserColumnName="numIntMtz" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" msprop:Generator_UserColumnName="richiesta" type="xs:dateTime" />
<xs:element name="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" msprop:Generator_UserColumnName="codImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:element name="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" msprop:Generator_UserColumnName="nomeImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:element name="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" msprop:Generator_UserColumnName="codMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:element name="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" msprop:Generator_UserColumnName="nomeMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<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:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:element name="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" msprop:Generator_UserColumnName="inizioIntervento" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" msprop:Generator_UserColumnName="fineIntervento" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msdata:ReadOnly="true" 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:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:element name="descrCausale" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" msprop:Generator_UserColumnName="descrCausale" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="minErogati" msdata:ReadOnly="true" msprop:Generator_UserColumnName="minErogati" msprop:Generator_ColumnPropNameInRow="minErogati" msprop:Generator_ColumnVarNameInTable="columnminErogati" msprop:Generator_ColumnPropNameInTable="minErogatiColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="durataMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataMtz" msprop:Generator_ColumnPropNameInRow="durataMtz" msprop:Generator_ColumnVarNameInTable="columndurataMtz" msprop:Generator_ColumnPropNameInTable="durataMtzColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="durataOff" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataOff" msprop:Generator_ColumnPropNameInRow="durataOff" msprop:Generator_ColumnVarNameInTable="columndurataOff" msprop:Generator_ColumnPropNameInTable="durataOffColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" />
<xs:element name="scheduled" msprop:Generator_UserColumnName="scheduled" msprop:Generator_ColumnPropNameInRow="scheduled" msprop:Generator_ColumnVarNameInTable="columnscheduled" msprop:Generator_ColumnPropNameInTable="scheduledColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="minErogati" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnminErogati" msprop:Generator_ColumnPropNameInRow="minErogati" msprop:Generator_ColumnPropNameInTable="minErogatiColumn" msprop:Generator_UserColumnName="minErogati" type="xs:decimal" minOccurs="0" />
<xs:element name="durataMtz" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndurataMtz" msprop:Generator_ColumnPropNameInRow="durataMtz" msprop:Generator_ColumnPropNameInTable="durataMtzColumn" msprop:Generator_UserColumnName="durataMtz" type="xs:decimal" minOccurs="0" />
<xs:element name="durataOff" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndurataOff" msprop:Generator_ColumnPropNameInRow="durataOff" msprop:Generator_ColumnPropNameInTable="durataOffColumn" msprop:Generator_UserColumnName="durataOff" type="xs:decimal" minOccurs="0" />
<xs:element name="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" msprop:Generator_UserColumnName="guasto" type="xs:dateTime" />
<xs:element name="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" msprop:Generator_UserColumnName="idxStato" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" msprop:Generator_UserColumnName="idxImpianto" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" msprop:Generator_UserColumnName="idxMacchina" type="xs:int" />
<xs:element name="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" msprop:Generator_UserColumnName="isFermo" type="xs:boolean" />
<xs:element name="scheduled" msprop:Generator_ColumnVarNameInTable="columnscheduled" msprop:Generator_ColumnPropNameInRow="scheduled" msprop:Generator_ColumnPropNameInTable="scheduledColumn" msprop:Generator_UserColumnName="scheduled" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sp_elencoIntMTBF_MTTR" msprop:Generator_UserTableName="sp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletedName="sp_elencoIntMTBF_MTTRRowDeleted" msprop:Generator_RowChangedName="sp_elencoIntMTBF_MTTRRowChanged" msprop:Generator_RowClassName="sp_elencoIntMTBF_MTTRRow" msprop:Generator_RowChangingName="sp_elencoIntMTBF_MTTRRowChanging" msprop:Generator_RowEvArgName="sp_elencoIntMTBF_MTTRRowChangeEvent" msprop:Generator_RowEvHandlerName="sp_elencoIntMTBF_MTTRRowChangeEventHandler" msprop:Generator_TableClassName="sp_elencoIntMTBF_MTTRDataTable" msprop:Generator_TableVarName="tablesp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletingName="sp_elencoIntMTBF_MTTRRowDeleting" msprop:Generator_TablePropName="sp_elencoIntMTBF_MTTR">
<xs:element name="sp_elencoIntMTBF_MTTR" msprop:Generator_UserTableName="sp_elencoIntMTBF_MTTR" msprop:Generator_RowEvArgName="sp_elencoIntMTBF_MTTRRowChangeEvent" msprop:Generator_TableVarName="tablesp_elencoIntMTBF_MTTR" msprop:Generator_TablePropName="sp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletingName="sp_elencoIntMTBF_MTTRRowDeleting" msprop:Generator_RowChangingName="sp_elencoIntMTBF_MTTRRowChanging" msprop:Generator_RowDeletedName="sp_elencoIntMTBF_MTTRRowDeleted" msprop:Generator_RowEvHandlerName="sp_elencoIntMTBF_MTTRRowChangeEventHandler" msprop:Generator_TableClassName="sp_elencoIntMTBF_MTTRDataTable" msprop:Generator_RowChangedName="sp_elencoIntMTBF_MTTRRowChanged" msprop:Generator_RowClassName="sp_elencoIntMTBF_MTTRRow">
<xs:complexType>
<xs:sequence>
<xs:element name="numInterventi" msdata:ReadOnly="true" msprop:Generator_UserColumnName="numInterventi" msprop:Generator_ColumnPropNameInRow="numInterventi" msprop:Generator_ColumnVarNameInTable="columnnumInterventi" msprop:Generator_ColumnPropNameInTable="numInterventiColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreMtz" msprop:Generator_ColumnPropNameInRow="totOreMtz" msprop:Generator_ColumnVarNameInTable="columntotOreMtz" msprop:Generator_ColumnPropNameInTable="totOreMtzColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreOfficina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreOfficina" msprop:Generator_ColumnPropNameInRow="totOreOfficina" msprop:Generator_ColumnVarNameInTable="columntotOreOfficina" msprop:Generator_ColumnPropNameInTable="totOreOfficinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:element name="numInterventi" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnumInterventi" msprop:Generator_ColumnPropNameInRow="numInterventi" msprop:Generator_ColumnPropNameInTable="numInterventiColumn" msprop:Generator_UserColumnName="numInterventi" type="xs:int" minOccurs="0" />
<xs:element name="totOreMtz" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columntotOreMtz" msprop:Generator_ColumnPropNameInRow="totOreMtz" msprop:Generator_ColumnPropNameInTable="totOreMtzColumn" msprop:Generator_UserColumnName="totOreMtz" type="xs:int" minOccurs="0" />
<xs:element name="totOreOfficina" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columntotOreOfficina" msprop:Generator_ColumnPropNameInRow="totOreOfficina" msprop:Generator_ColumnPropNameInTable="totOreOfficinaColumn" msprop:Generator_UserColumnName="totOreOfficina" type="xs:int" minOccurs="0" />
<xs:element name="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" msprop:Generator_UserColumnName="codImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:element name="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" msprop:Generator_UserColumnName="codMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:element name="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" msprop:Generator_UserColumnName="nomeImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:element name="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" msprop:Generator_UserColumnName="nomeMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
@@ -791,11 +791,11 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFam" msprop:Generator_UserTableName="v_selFam" msprop:Generator_RowDeletedName="v_selFamRowDeleted" msprop:Generator_RowChangedName="v_selFamRowChanged" msprop:Generator_RowClassName="v_selFamRow" msprop:Generator_RowChangingName="v_selFamRowChanging" msprop:Generator_RowEvArgName="v_selFamRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamDataTable" msprop:Generator_TableVarName="tablev_selFam" msprop:Generator_RowDeletingName="v_selFamRowDeleting" msprop:Generator_TablePropName="v_selFam">
<xs:element name="v_selFam" msprop:Generator_UserTableName="v_selFam" msprop:Generator_RowEvArgName="v_selFamRowChangeEvent" msprop:Generator_TableVarName="tablev_selFam" msprop:Generator_TablePropName="v_selFam" msprop:Generator_RowDeletingName="v_selFamRowDeleting" msprop:Generator_RowChangingName="v_selFamRowChanging" msprop:Generator_RowDeletedName="v_selFamRowDeleted" msprop:Generator_RowEvHandlerName="v_selFamRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamDataTable" msprop:Generator_RowChangedName="v_selFamRowChanged" msprop:Generator_RowClassName="v_selFamRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -805,17 +805,17 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selOperMtz" msprop:Generator_UserTableName="v_selOperMtz" msprop:Generator_RowDeletedName="v_selOperMtzRowDeleted" msprop:Generator_RowChangedName="v_selOperMtzRowChanged" msprop:Generator_RowClassName="v_selOperMtzRow" msprop:Generator_RowChangingName="v_selOperMtzRowChanging" msprop:Generator_RowEvArgName="v_selOperMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selOperMtzRowChangeEventHandler" msprop:Generator_TableClassName="v_selOperMtzDataTable" msprop:Generator_TableVarName="tablev_selOperMtz" msprop:Generator_RowDeletingName="v_selOperMtzRowDeleting" msprop:Generator_TablePropName="v_selOperMtz">
<xs:element name="v_selOperMtz" msprop:Generator_UserTableName="v_selOperMtz" msprop:Generator_RowEvArgName="v_selOperMtzRowChangeEvent" msprop:Generator_TableVarName="tablev_selOperMtz" msprop:Generator_TablePropName="v_selOperMtz" msprop:Generator_RowDeletingName="v_selOperMtzRowDeleting" msprop:Generator_RowChangingName="v_selOperMtzRowChanging" msprop:Generator_RowDeletedName="v_selOperMtzRowDeleted" msprop:Generator_RowEvHandlerName="v_selOperMtzRowChangeEventHandler" msprop:Generator_TableClassName="v_selOperMtzDataTable" msprop:Generator_RowChangedName="v_selOperMtzRowChanged" msprop:Generator_RowClassName="v_selOperMtzRow">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
@@ -825,64 +825,64 @@ WHERE (conditio = @conditio)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgPendingExp" msprop:Generator_UserTableName="v_mtzProgPendingExp" msprop:Generator_RowDeletedName="v_mtzProgPendingExpRowDeleted" msprop:Generator_RowChangedName="v_mtzProgPendingExpRowChanged" msprop:Generator_RowClassName="v_mtzProgPendingExpRow" msprop:Generator_RowChangingName="v_mtzProgPendingExpRowChanging" msprop:Generator_RowEvArgName="v_mtzProgPendingExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_mtzProgPendingExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgPendingExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgPendingExp" msprop:Generator_RowDeletingName="v_mtzProgPendingExpRowDeleting" msprop:Generator_TablePropName="v_mtzProgPendingExp">
<xs:element name="v_mtzProgPendingExp" msprop:Generator_UserTableName="v_mtzProgPendingExp" msprop:Generator_RowEvArgName="v_mtzProgPendingExpRowChangeEvent" msprop:Generator_TableVarName="tablev_mtzProgPendingExp" msprop:Generator_TablePropName="v_mtzProgPendingExp" msprop:Generator_RowDeletingName="v_mtzProgPendingExpRowDeleting" msprop:Generator_RowChangingName="v_mtzProgPendingExpRowChanging" msprop:Generator_RowDeletedName="v_mtzProgPendingExpRowDeleted" msprop:Generator_RowEvHandlerName="v_mtzProgPendingExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgPendingExpDataTable" msprop:Generator_RowChangedName="v_mtzProgPendingExpRowChanged" msprop:Generator_RowClassName="v_mtzProgPendingExpRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPending" msprop:Generator_UserColumnName="idxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" type="xs:int" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:element name="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" msprop:Generator_UserColumnName="idxPending" type="xs:int" />
<xs:element name="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" msprop:Generator_UserColumnName="codImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:element name="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" msprop:Generator_UserColumnName="nomeImpianto" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:element name="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" msprop:Generator_UserColumnName="codMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:element name="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" msprop:Generator_UserColumnName="nomeMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:element name="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" msprop:Generator_UserColumnName="data" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" msprop:Generator_UserColumnName="descrizione" 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="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:element name="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" msprop:Generator_UserColumnName="descrPriorita" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:element name="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" msprop:Generator_UserColumnName="isFermo" type="xs:boolean" minOccurs="0" />
<xs:element name="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" msprop:Generator_UserColumnName="descrTipo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" minOccurs="0" />
<xs:element name="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" msprop:Generator_UserColumnName="idxTipo" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" msprop:Generator_UserColumnName="idxMacchina" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" msprop:Generator_UserColumnName="idxImpianto" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
+1 -1
View File
@@ -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="-10" ViewPortY="-10" 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="-10" ViewPortY="308" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selImpianti" ZOrder="16" X="70" Y="70" Height="122" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="15" X="360" Y="70" Height="139" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -103,7 +103,7 @@
<add key="welcomeApp" value="GIM_welcomeApp" />
<add key="appName" value="GIM" />
<add key="mainRev" value="1.3" />
<add key="minRev" value="208" />
<add key="minRev" value="210" />
<add key="copyRight" value="SteamWare © 2006-2012" />
<add key="defaultApp" value="GIM_Appl" />
<add key="defaultTitle" value="GIM_ShortWelcome" />
@@ -75,7 +75,7 @@ public partial class mod_dettMtzProg : System.Web.UI.UserControl
/// <param name="p"></param>
private void creaInterventoMtzPro(int idx)
{
TA_app.obj.taMtzPro.Insert(idx, Convert.ToDateTime(txtDataInizio.Text), ddlFreq.SelectedValue, Convert.ToInt32(txtCadenza.Text), txtDescrizione.Text.Trim(), Convert.ToInt32(ddlPrior.SelectedValue), chkImpFermo.Checked, Convert.ToInt32(ddlTipo.SelectedValue));
TA_app.obj.taMtzPro.insertQuery(idx, Convert.ToDateTime(txtDataInizio.Text), ddlFreq.SelectedValue, Convert.ToInt32(txtCadenza.Text), txtDescrizione.Text.Trim(), Convert.ToInt32(ddlPrior.SelectedValue), chkImpFermo.Checked, Convert.ToInt32(ddlTipo.SelectedValue));
}
/// <summary>
/// aggiorna selezione di default
@@ -102,7 +102,7 @@
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound"
DataKeyNames="idxIntPro" DataSourceID="ods" OnRowDataBound="grView_RowDataBound"
PageSize="20" OnRowUpdating="grView_RowUpdating">
PageSize="20" OnRowUpdating="grView_RowUpdating" onpageindexchanged="grView_PageIndexChanged">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
@@ -447,5 +447,14 @@ public partial class mod_elencoMtzProg : ApplicationUserControl
pnlSetFermo.Visible = false;
pnlTipoGuasto.Visible = false;
}
/// <summary>
/// update post cambio pagina
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_PageIndexChanged(object sender, EventArgs e)
{
doUpdate();
}
}
@@ -5,7 +5,7 @@
</div>
<div style="font-size: 8pt;">
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxPending" DataSourceID="ods" OnDataBound="grView_DataBound" EnableModelValidation="True">
DataKeyNames="idxPending" DataSourceID="ods" OnDataBound="grView_DataBound" EnableModelValidation="True" onpageindexchanged="grView_PageIndexChanged">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
@@ -81,4 +81,13 @@ public partial class mod_mtzPrevPending : ApplicationUserControl
}
ods.DataBind();
}
/// <summary>
/// fix filtro post cambio pagina
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_PageIndexChanged(object sender, EventArgs e)
{
doUpdate();
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -2
View File
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -33,3 +33,34 @@ C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\Repor
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\Reports\ReportInterventi.rdlc
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\Reports\Report_MTBF_MTTR.rdlc
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\Reports\RichiestaIntervento.rdlc
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Release\GIM_site.csprojResolveAssemblyReference.cache
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Release\RdlCompile.cache
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Release\RdlCompile.compiled
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Release\GIM_site.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\GIM_site.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\GIM_site.pdb
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\GIM_data.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\SanitizerProviders.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\SteamWare.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\Flesk.ViewState.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\ICSharpCode.SharpZipLib.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\GIM_data.pdb
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.pdb
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\ar\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\cs\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\de\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\es\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\fr\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\he\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\hi\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\it\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\ja\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\ko\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\nl\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\pt\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\ru\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Release\GIM_site.pdb
Binary file not shown.
@@ -103,7 +103,7 @@
<add key="welcomeApp" value="GIM_welcomeApp" />
<add key="appName" value="GIM" />
<add key="mainRev" value="1.3" />
<add key="minRev" value="208" />
<add key="minRev" value="210" />
<add key="copyRight" value="SteamWare © 2006-2012" />
<add key="defaultApp" value="GIM_Appl" />
<add key="defaultTitle" value="GIM_ShortWelcome" />
@@ -103,7 +103,7 @@
<add key="welcomeApp" value="GIM_welcomeApp" />
<add key="appName" value="GIM" />
<add key="mainRev" value="1.3" />
<add key="minRev" value="208" />
<add key="minRev" value="210" />
<add key="copyRight" value="SteamWare © 2006-2012" />
<add key="defaultApp" value="GIM_Appl" />
<add key="defaultTitle" value="GIM_ShortWelcome" />
Binary file not shown.
@@ -103,7 +103,7 @@
<add key="welcomeApp" value="GIM_welcomeApp" />
<add key="appName" value="GIM" />
<add key="mainRev" value="1.3" />
<add key="minRev" value="208" />
<add key="minRev" value="210" />
<add key="copyRight" value="SteamWare © 2006-2012" />
<add key="defaultApp" value="GIM_Appl" />
<add key="defaultTitle" value="GIM_ShortWelcome" />
@@ -103,7 +103,7 @@
<add key="welcomeApp" value="GIM_welcomeApp" />
<add key="appName" value="GIM" />
<add key="mainRev" value="1.3" />
<add key="minRev" value="208" />
<add key="minRev" value="210" />
<add key="copyRight" value="SteamWare © 2006-2012" />
<add key="defaultApp" value="GIM_Appl" />
<add key="defaultTitle" value="GIM_ShortWelcome" />
@@ -0,0 +1,150 @@
set xact_abort on;
go
begin transaction;
go
alter table MtzProgPending alter column
descrizione nvarchar(2500);
go
alter table MtzProgrammata alter column
descrizione nvarchar(2500);
go
set ANSI_NULLS on;
go
/*********************************************************************************
* STORED stp_MtzProg_insert
*
* insert riga MtzProg
*
**********************************************************************************/
create PROCEDURE stp_MtzProg_insert
(
@idxMacchina INT,
@inizio DATETIME,
@codFrequenza NCHAR(2),
@cadenza INT,
@descrizione NVARCHAR(2500),
@idxPriorita INT,
@isFermo BIT,
@idxTipo INT
)
AS
INSERT INTO MtzProgrammata
(idxMacchina, inizio, codFrequenza, cadenza, descrizione, idxPriorita, isFermo, idxTipo)
VALUES (@idxMacchina,@inizio,@codFrequenza,@cadenza,@descrizione,@idxPriorita,@isFermo,@idxTipo)
RETURN
go
/*********************************************************************************
* STORED stp_MtzProg_update
*
* aggiorna riga MtzProg
*
**********************************************************************************/
alter PROCEDURE stp_MtzProg_update
(
@idxIntPro INT,
@inizio DATETIME,
@codFrequenza NCHAR(2),
@cadenza INT,
@descrizione NVARCHAR(2500),
@idxPriorita INT,
@isFermo BIT,
@idxTipo INT
)
AS
UPDATE MtzProgrammata
SET inizio = @inizio,
codFrequenza= @codFrequenza,
cadenza = @cadenza,
descrizione = @descrizione,
idxPriorita = @idxPriorita,
isFermo = @isFermo,
idxTipo = @idxTipo
WHERE idxIntPro = @idxIntPro
RETURN
go
commit;
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***********************************************************************************
* FUNCTION f_padLeft
*
* restituisce una stringa con padding del carattere desiderato per la lunghezza totale desiderata
*
***********************************************************************************/
alter FUNCTION f_padLeft (@string VARCHAR(255), @desired_length INTEGER, @pad_character CHAR(1))
RETURNS VARCHAR(255) AS
BEGIN
-- Prefix the required number of spaces to bulk up the string and then replace the spaces with the desired character
RETURN CASE
WHEN LEN(@string) < @desired_length
THEN REPLACE(SPACE(@desired_length - LEN(@string)), ' ', @pad_character) + @string
ELSE @string
END
END
go
/***********************************************************************************
* FUNCTION rightDivision
*
* calcola la divisione altrimenti mostra errore -1 se dividendo/divisore < 0
*
***********************************************************************************/
alter FUNCTION rightDivision
(
@dividendo float,
@divisore float
)
RETURNS float
AS
BEGIN
declare @errore as int
declare @risultato as float
set @errore =0
set @errore = case when (isnull(@dividendo,0))<=0 then 1 end
set @errore = case when (isnull(@divisore,0)) <=0 then 1 end
set @risultato= case when (@errore=1) then -1 else @dividendo/@divisore end
RETURN @risultato
END
go
commit;
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(20510, GETDATE())
GO
Binary file not shown.