diff --git a/MP-Tablet/DettaglioMacchina.aspx.cs b/MP-Tablet/DettaglioMacchina.aspx.cs
index 046cbd53..7605db11 100644
--- a/MP-Tablet/DettaglioMacchina.aspx.cs
+++ b/MP-Tablet/DettaglioMacchina.aspx.cs
@@ -26,7 +26,6 @@ namespace MoonProTablet
if (!Page.IsPostBack)
{
Session["TipoLink"] = "DetMacc";
- lbtFermate.Visible = showInsFermata;
}
mod_confProd1.eh_inserting += mod_confProd1_eh_inserting;
mod_confProd1.eh_newVal += mod_confProd1_eh_newVal;
@@ -53,19 +52,5 @@ namespace MoonProTablet
{
mod_dettMacchina1.doUpdate();
}
- ///
- /// Determina se dato lo stato dell'impianto si debba mostrare btn fermata perché
- /// - impianto fermo
- /// - fermo > xx min (da web.config, es 20')
- ///
- public bool showInsFermata
- {
- get
- {
- bool answ = true;
-
- return answ;
- }
- }
}
}
\ No newline at end of file
diff --git a/MP-Tablet/DettaglioMacchina.aspx.designer.cs b/MP-Tablet/DettaglioMacchina.aspx.designer.cs
index b5faed02..d4591224 100644
--- a/MP-Tablet/DettaglioMacchina.aspx.designer.cs
+++ b/MP-Tablet/DettaglioMacchina.aspx.designer.cs
@@ -12,15 +12,6 @@ namespace MoonProTablet {
public partial class DettaglioMacchina {
- ///
- /// Controllo lbtFermate.
- ///
- ///
- /// Campo generato automaticamente.
- /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
- ///
- protected global::System.Web.UI.WebControls.LinkButton lbtFermate;
-
///
/// Controllo mod_dettMacchina1.
///
diff --git a/MP-Tablet/Web.config b/MP-Tablet/Web.config
index ffb82cfd..1854a51b 100644
--- a/MP-Tablet/Web.config
+++ b/MP-Tablet/Web.config
@@ -52,6 +52,8 @@
+
+
diff --git a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx
index c5b52812..9e778322 100644
--- a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx
+++ b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx
@@ -5,6 +5,9 @@
+
diff --git a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs
index 4436018a..e9ef0715 100644
--- a/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs
+++ b/MP-Tablet/WebUserControls/mod_dettMacchina.ascx.cs
@@ -1,4 +1,5 @@
-using SteamWare;
+using MapoDb;
+using SteamWare;
using System;
using System.Web.UI;
@@ -41,6 +42,7 @@ namespace MoonProTablet.WebUserControls
{
Response.Redirect("~/MappaStato.aspx");
}
+ //hlFermate.Visible = showInsFermata;
}
///
/// url completo immagine
@@ -78,7 +80,7 @@ namespace MoonProTablet.WebUserControls
///
///
protected void Timer1_Tick(object sender, EventArgs e)
- {
+ {
// sollevo evento!
if (eh_reqRemoveModal != null)
{
@@ -103,5 +105,30 @@ namespace MoonProTablet.WebUserControls
dmTimer.Enabled = value;
}
}
+ ///
+ /// Determina se dato lo stato dell'impianto si debba mostrare btn fermata perché
+ /// - fermo > xx min (da web.config, es 20')
+ /// - impianto fermo (controllando idxStato: priorità > 1)
+ ///
+ public bool showInsFermata(object _idxStato, object _durata)
+ {
+ int idxStato = 0;
+ int durata = 0;
+ int durMinWarning = memLayer.ML.CRI("durMinWarning");
+ int.TryParse(_idxStato.ToString(), out idxStato);
+ int.TryParse(_durata.ToString(), out durata);
+ bool answ = false;
+ if (durata >= durMinWarning)
+ {
+ try
+ {
+ // in questo caso controllo idxStato... e recupero priorità se > 1 --> richiesta qualifica
+ answ = (DataLayer.obj.taAnagStati.GetByIdx(idxStato)[0].Priorita > 1);
+ }
+ catch
+ { }
+ }
+ return answ;
+ }
}
}
\ No newline at end of file
diff --git a/MapoDb/DS_applicazione.Designer.cs b/MapoDb/DS_applicazione.Designer.cs
index 8c910d89..40c02f75 100644
--- a/MapoDb/DS_applicazione.Designer.cs
+++ b/MapoDb/DS_applicazione.Designer.cs
@@ -2870,6 +2870,12 @@ namespace MapoDb {
private global::System.Data.DataColumn columnSemaforo;
+ private global::System.Data.DataColumn columnPriorita;
+
+ private global::System.Data.DataColumn columnClasseTempo;
+
+ private global::System.Data.DataColumn columnShowArticolo;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public AnagraficaStatiDataTable() {
@@ -2927,6 +2933,30 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public global::System.Data.DataColumn PrioritaColumn {
+ get {
+ return this.columnPriorita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public global::System.Data.DataColumn ClasseTempoColumn {
+ get {
+ return this.columnClasseTempo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public global::System.Data.DataColumn ShowArticoloColumn {
+ get {
+ return this.columnShowArticolo;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2964,12 +2994,15 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public AnagraficaStatiRow AddAnagraficaStatiRow(int IdxStato, string Descrizione, string Semaforo) {
+ public AnagraficaStatiRow AddAnagraficaStatiRow(int IdxStato, string Descrizione, string Semaforo, int Priorita, string ClasseTempo, bool ShowArticolo) {
AnagraficaStatiRow rowAnagraficaStatiRow = ((AnagraficaStatiRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxStato,
Descrizione,
- Semaforo};
+ Semaforo,
+ Priorita,
+ ClasseTempo,
+ ShowArticolo};
rowAnagraficaStatiRow.ItemArray = columnValuesArray;
this.Rows.Add(rowAnagraficaStatiRow);
return rowAnagraficaStatiRow;
@@ -3002,6 +3035,9 @@ namespace MapoDb {
this.columnIdxStato = base.Columns["IdxStato"];
this.columnDescrizione = base.Columns["Descrizione"];
this.columnSemaforo = base.Columns["Semaforo"];
+ this.columnPriorita = base.Columns["Priorita"];
+ this.columnClasseTempo = base.Columns["ClasseTempo"];
+ this.columnShowArticolo = base.Columns["ShowArticolo"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3013,12 +3049,19 @@ namespace MapoDb {
base.Columns.Add(this.columnDescrizione);
this.columnSemaforo = new global::System.Data.DataColumn("Semaforo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSemaforo);
+ this.columnPriorita = new global::System.Data.DataColumn("Priorita", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPriorita);
+ this.columnClasseTempo = new global::System.Data.DataColumn("ClasseTempo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnClasseTempo);
+ this.columnShowArticolo = new global::System.Data.DataColumn("ShowArticolo", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnShowArticolo);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxStato}, true));
this.columnIdxStato.AllowDBNull = false;
this.columnIdxStato.Unique = true;
this.columnDescrizione.MaxLength = 50;
this.columnSemaforo.MaxLength = 50;
+ this.columnClasseTempo.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10400,6 +10443,54 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public int Priorita {
+ get {
+ try {
+ return ((int)(this[this.tableAnagraficaStati.PrioritaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'Priorita\' nella tabella \'AnagraficaStati\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagraficaStati.PrioritaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public string ClasseTempo {
+ get {
+ try {
+ return ((string)(this[this.tableAnagraficaStati.ClasseTempoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'ClasseTempo\' nella tabella \'AnagraficaStati\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagraficaStati.ClasseTempoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public bool ShowArticolo {
+ get {
+ try {
+ return ((bool)(this[this.tableAnagraficaStati.ShowArticoloColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'ShowArticolo\' nella tabella \'AnagraficaStati\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagraficaStati.ShowArticoloColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public bool IsDescrizioneNull() {
@@ -10424,6 +10515,42 @@ namespace MapoDb {
this[this.tableAnagraficaStati.SemaforoColumn] = global::System.Convert.DBNull;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public bool IsPrioritaNull() {
+ return this.IsNull(this.tableAnagraficaStati.PrioritaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public void SetPrioritaNull() {
+ this[this.tableAnagraficaStati.PrioritaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public bool IsClasseTempoNull() {
+ return this.IsNull(this.tableAnagraficaStati.ClasseTempoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public void SetClasseTempoNull() {
+ this[this.tableAnagraficaStati.ClasseTempoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public bool IsShowArticoloNull() {
+ return this.IsNull(this.tableAnagraficaStati.ShowArticoloColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
+ public void SetShowArticoloNull() {
+ this[this.tableAnagraficaStati.ShowArticoloColumn] = global::System.Convert.DBNull;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public TransizioneStatiRow[] GetTransizioneStatiRows() {
@@ -16651,41 +16778,58 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
tableMapping.ColumnMappings.Add("IdxStato", "IdxStato");
tableMapping.ColumnMappings.Add("Descrizione", "Descrizione");
tableMapping.ColumnMappings.Add("Semaforo", "Semaforo");
+ tableMapping.ColumnMappings.Add("Priorita", "Priorita");
+ tableMapping.ColumnMappings.Add("ClasseTempo", "ClasseTempo");
+ tableMapping.ColumnMappings.Add("ShowArticolo", "ShowArticolo");
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].[AnagraficaStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagraficaStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)) AND ((@IsNull_Priorita = 1 AND [Priorita] IS NULL) OR ([Priorita] = @Original_Priorita)) AND ((@IsNull_ClasseTempo = 1 AND [ClasseTempo] IS NULL) OR ([ClasseTempo] = @Original_ClasseTempo)) AND ((@IsNull_ShowArticolo = 1 AND [ShowArticolo] IS NULL) OR ([ShowArticolo] = @Original_ShowArticolo)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Semaforo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseTempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ShowArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ShowArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ShowArticolo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ShowArticolo", 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].[AnagraficaStati] ([IdxStato], [Descrizione], [Semaforo]) VALUES (@IdxStato, @Descrizione, @Semaforo);
- SELECT IdxStato, Descrizione, Semaforo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)
- ";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagraficaStati] ([IdxStato], [Descrizione], [Semaforo], [Priorita], [ClasseTempo], [ShowArticolo]) VALUES (@IdxStato, @Descrizione, @Semaforo, @Priorita, @ClasseTempo, @ShowArticolo);
+SELECT IdxStato, Descrizione, Semaforo, Priorita, ClasseTempo, ShowArticolo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", 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("@Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ShowArticolo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ShowArticolo", 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].[AnagraficaStati] SET [IdxStato] = @IdxStato, [Descrizione] = @Descrizione, [Semaforo] = @Semaforo WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)));
- SELECT IdxStato, Descrizione, Semaforo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)
- ";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagraficaStati] SET [IdxStato] = @IdxStato, [Descrizione] = @Descrizione, [Semaforo] = @Semaforo, [Priorita] = @Priorita, [ClasseTempo] = @ClasseTempo, [ShowArticolo] = @ShowArticolo WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)) AND ((@IsNull_Priorita = 1 AND [Priorita] IS NULL) OR ([Priorita] = @Original_Priorita)) AND ((@IsNull_ClasseTempo = 1 AND [ClasseTempo] IS NULL) OR ([ClasseTempo] = @Original_ClasseTempo)) AND ((@IsNull_ShowArticolo = 1 AND [ShowArticolo] IS NULL) OR ([ShowArticolo] = @Original_ShowArticolo)));
+SELECT IdxStato, Descrizione, Semaforo, Priorita, ClasseTempo, ShowArticolo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", 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("@Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ShowArticolo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ShowArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Semaforo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseTempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ShowArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ShowArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ShowArticolo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ShowArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16701,7 +16845,7 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
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 IdxStato, Descrizione, Semaforo FROM dbo.AnagraficaStati";
+ this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagraficaStati";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -16780,7 +16924,7 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_IdxStato, string Original_Descrizione, string Original_Semaforo) {
+ public virtual int Delete(int Original_IdxStato, string Original_Descrizione, string Original_Semaforo, global::System.Nullable Original_Priorita, string Original_ClasseTempo, global::System.Nullable Original_ShowArticolo) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxStato));
if ((Original_Descrizione == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -16798,6 +16942,30 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Semaforo));
}
+ if ((Original_Priorita.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_Priorita.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((Original_ClasseTempo == null)) {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_ClasseTempo));
+ }
+ if ((Original_ShowArticolo.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_ShowArticolo.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
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)) {
@@ -16818,7 +16986,7 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
- public virtual int Insert(int IdxStato, string Descrizione, string Semaforo) {
+ public virtual int Insert(int IdxStato, string Descrizione, string Semaforo, global::System.Nullable Priorita, string ClasseTempo, global::System.Nullable ShowArticolo) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxStato));
if ((Descrizione == null)) {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -16832,6 +17000,24 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Semaforo));
}
+ if ((Priorita.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Priorita.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((ClasseTempo == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ClasseTempo));
+ }
+ if ((ShowArticolo.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(ShowArticolo.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].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.Open)) {
@@ -16852,7 +17038,7 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(int IdxStato, string Descrizione, string Semaforo, int Original_IdxStato, string Original_Descrizione, string Original_Semaforo) {
+ public virtual int Update(int IdxStato, string Descrizione, string Semaforo, global::System.Nullable Priorita, string ClasseTempo, global::System.Nullable ShowArticolo, int Original_IdxStato, string Original_Descrizione, string Original_Semaforo, global::System.Nullable Original_Priorita, string Original_ClasseTempo, global::System.Nullable Original_ShowArticolo) {
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxStato));
if ((Descrizione == null)) {
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -16866,22 +17052,64 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Semaforo));
}
- this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_IdxStato));
- if ((Original_Descrizione == null)) {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1));
+ if ((Priorita.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Priorita.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((ClasseTempo == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ClasseTempo));
+ }
+ if ((ShowArticolo.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(ShowArticolo.Value));
+ }
+ else {
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
}
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_IdxStato));
+ if ((Original_Descrizione == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Descrizione));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Descrizione));
}
if ((Original_Semaforo == null)) {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Semaforo));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Semaforo));
+ }
+ if ((Original_Priorita.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_Priorita.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ if ((Original_ClasseTempo == null)) {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_ClasseTempo));
+ }
+ if ((Original_ShowArticolo.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(Original_ShowArticolo.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -16903,8 +17131,8 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string Descrizione, string Semaforo, int Original_IdxStato, string Original_Descrizione, string Original_Semaforo) {
- return this.Update(Original_IdxStato, Descrizione, Semaforo, Original_IdxStato, Original_Descrizione, Original_Semaforo);
+ public virtual int Update(string Descrizione, string Semaforo, global::System.Nullable Priorita, string ClasseTempo, global::System.Nullable ShowArticolo, int Original_IdxStato, string Original_Descrizione, string Original_Semaforo, global::System.Nullable Original_Priorita, string Original_ClasseTempo, global::System.Nullable Original_ShowArticolo) {
+ return this.Update(Original_IdxStato, Descrizione, Semaforo, Priorita, ClasseTempo, ShowArticolo, Original_IdxStato, Original_Descrizione, Original_Semaforo, Original_Priorita, Original_ClasseTempo, Original_ShowArticolo);
}
}
diff --git a/MapoDb/DS_applicazione.xsd b/MapoDb/DS_applicazione.xsd
index 50852503..d32441d6 100644
--- a/MapoDb/DS_applicazione.xsd
+++ b/MapoDb/DS_applicazione.xsd
@@ -435,53 +435,67 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
-
+
- DELETE FROM [dbo].[AnagraficaStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)))
+ DELETE FROM [dbo].[AnagraficaStati] WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)) AND ((@IsNull_Priorita = 1 AND [Priorita] IS NULL) OR ([Priorita] = @Original_Priorita)) AND ((@IsNull_ClasseTempo = 1 AND [ClasseTempo] IS NULL) OR ([ClasseTempo] = @Original_ClasseTempo)) AND ((@IsNull_ShowArticolo = 1 AND [ShowArticolo] IS NULL) OR ([ShowArticolo] = @Original_ShowArticolo)))
+
+
+
+
+
+
-
- INSERT INTO [dbo].[AnagraficaStati] ([IdxStato], [Descrizione], [Semaforo]) VALUES (@IdxStato, @Descrizione, @Semaforo);
- SELECT IdxStato, Descrizione, Semaforo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)
-
+ INSERT INTO [dbo].[AnagraficaStati] ([IdxStato], [Descrizione], [Semaforo], [Priorita], [ClasseTempo], [ShowArticolo]) VALUES (@IdxStato, @Descrizione, @Semaforo, @Priorita, @ClasseTempo, @ShowArticolo);
+SELECT IdxStato, Descrizione, Semaforo, Priorita, ClasseTempo, ShowArticolo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)
+
+
+
-
- SELECT IdxStato, Descrizione, Semaforo FROM dbo.AnagraficaStati
+
+ SELECT * FROM dbo.AnagraficaStati
-
- UPDATE [dbo].[AnagraficaStati] SET [IdxStato] = @IdxStato, [Descrizione] = @Descrizione, [Semaforo] = @Semaforo WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)));
- SELECT IdxStato, Descrizione, Semaforo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)
-
+ UPDATE [dbo].[AnagraficaStati] SET [IdxStato] = @IdxStato, [Descrizione] = @Descrizione, [Semaforo] = @Semaforo, [Priorita] = @Priorita, [ClasseTempo] = @ClasseTempo, [ShowArticolo] = @ShowArticolo WHERE (([IdxStato] = @Original_IdxStato) AND ((@IsNull_Descrizione = 1 AND [Descrizione] IS NULL) OR ([Descrizione] = @Original_Descrizione)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Original_Semaforo)) AND ((@IsNull_Priorita = 1 AND [Priorita] IS NULL) OR ([Priorita] = @Original_Priorita)) AND ((@IsNull_ClasseTempo = 1 AND [ClasseTempo] IS NULL) OR ([ClasseTempo] = @Original_ClasseTempo)) AND ((@IsNull_ShowArticolo = 1 AND [ShowArticolo] IS NULL) OR ([ShowArticolo] = @Original_ShowArticolo)));
+SELECT IdxStato, Descrizione, Semaforo, Priorita, ClasseTempo, ShowArticolo FROM AnagraficaStati WHERE (IdxStato = @IdxStato)
+
+
+
+
+
+
+
+
+
@@ -491,6 +505,9 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
+
+
+
@@ -2635,6 +2652,15 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
+
+
+
+
+
+
+
+
+
@@ -2904,7 +2930,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -2926,7 +2952,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -2962,7 +2988,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -2998,7 +3024,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -3015,7 +3041,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -3039,7 +3065,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -3074,7 +3100,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -3153,7 +3179,7 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
+
@@ -3302,26 +3328,26 @@ SELECT IdxMacchina, dtEvento, CodFlux, Valore, Cnt FROM FluxLog WHERE (CodFlux =
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MapoDb/DS_applicazione.xss b/MapoDb/DS_applicazione.xss
index 8129b39e..1faa93bf 100644
--- a/MapoDb/DS_applicazione.xss
+++ b/MapoDb/DS_applicazione.xss
@@ -4,33 +4,33 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -77,22 +77,22 @@
636
- 684
+ 787
- 537
- 684
+ 304
+ 787
- 386
- 636
+ 444
+ 704
- 386
+ 444
933
@@ -104,12 +104,20 @@
- 336
- 636
+ 580
+ 658
- 336
- 667
+ 588
+ 658
+
+
+ 588
+ 795
+
+
+ 304
+ 795
@@ -125,7 +133,7 @@
-
+
1285
@@ -164,11 +172,11 @@
- 298
- 455
+ 356
+ 454
- 298
+ 356
416
@@ -197,7 +205,7 @@
-
+
716
@@ -221,7 +229,7 @@
-
+
1285
@@ -233,23 +241,27 @@
1238
- 1271
+ 1624
- 492
- 1271
+ 878
+ 1624
- 943
- 1298
+ 960
+ 1347
- 492
- 1298
+ 960
+ 1632
+
+
+ 878
+ 1632
@@ -289,15 +301,15 @@
982
- 899
+ 1002
- 537
- 899
+ 304
+ 1002
-
+
627