diff --git a/.vs/MP-Admin/v14/.suo b/.vs/MP-Admin/v14/.suo
index ced7cec5..68526dce 100644
Binary files a/.vs/MP-Admin/v14/.suo and b/.vs/MP-Admin/v14/.suo differ
diff --git a/MapoDb/DS_applicazione.Designer.cs b/MapoDb/DS_applicazione.Designer.cs
index 57ea668c..113fea27 100644
--- a/MapoDb/DS_applicazione.Designer.cs
+++ b/MapoDb/DS_applicazione.Designer.cs
@@ -36,8 +36,6 @@ namespace MapoDb {
private AnagraficaStatiDataTable tableAnagraficaStati;
- private KanbanDataTable tableKanban;
-
private EventListDataTable tableEventList;
private AnagraficaEventiDataTable tableAnagraficaEventi;
@@ -56,8 +54,6 @@ namespace MapoDb {
private AnagraficaOperatoriDataTable tableAnagraficaOperatori;
- private Kanban2insDataTable tableKanban2ins;
-
private AnagraficaOperatori2insDataTable tableAnagraficaOperatori2ins;
private DatiMacchineDataTable tableDatiMacchine;
@@ -72,6 +68,8 @@ namespace MapoDb {
private SignalLogDataTable tableSignalLog;
+ private AnagArticoliDataTable tableAnagArticoli;
+
private global::System.Data.DataRelation relationFK_Macchine2FamiglieMacchine_FamiglieMacchine;
private global::System.Data.DataRelation relationFK_Macchine2FamiglieMacchine_Macchine;
@@ -84,10 +82,6 @@ namespace MapoDb {
private global::System.Data.DataRelation relationFK_StatoMacchine_AnagraficaStati;
- private global::System.Data.DataRelation relationFK_StatoMacchine_Kanban;
-
- private global::System.Data.DataRelation relationFK_EventList_Kanban;
-
private global::System.Data.DataRelation relationFK_EventList_Macchine;
private global::System.Data.DataRelation relationFK_TransizioneStati_AnagraficaEventi;
@@ -96,8 +90,6 @@ namespace MapoDb {
private global::System.Data.DataRelation relationFK_DiarioDiBordo_AnagraficaStati;
- private global::System.Data.DataRelation relationFK_DiarioDiBordo_Kanban;
-
private global::System.Data.DataRelation relationFK_DiarioDiBordo_Macchine;
private global::System.Data.DataRelation relationFK_TransizioneEventi_AnagraficaEventi1;
@@ -116,6 +108,8 @@ namespace MapoDb {
private global::System.Data.DataRelation relationFK_StatoMacchine_AnagraficaOperatori;
+ private global::System.Data.DataRelation relationAnagArticoli_DiarioDiBordo;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -162,9 +156,6 @@ namespace MapoDb {
if ((ds.Tables["AnagraficaStati"] != null)) {
base.Tables.Add(new AnagraficaStatiDataTable(ds.Tables["AnagraficaStati"]));
}
- if ((ds.Tables["Kanban"] != null)) {
- base.Tables.Add(new KanbanDataTable(ds.Tables["Kanban"]));
- }
if ((ds.Tables["EventList"] != null)) {
base.Tables.Add(new EventListDataTable(ds.Tables["EventList"]));
}
@@ -192,9 +183,6 @@ namespace MapoDb {
if ((ds.Tables["AnagraficaOperatori"] != null)) {
base.Tables.Add(new AnagraficaOperatoriDataTable(ds.Tables["AnagraficaOperatori"]));
}
- if ((ds.Tables["Kanban2ins"] != null)) {
- base.Tables.Add(new Kanban2insDataTable(ds.Tables["Kanban2ins"]));
- }
if ((ds.Tables["AnagraficaOperatori2ins"] != null)) {
base.Tables.Add(new AnagraficaOperatori2insDataTable(ds.Tables["AnagraficaOperatori2ins"]));
}
@@ -216,6 +204,9 @@ namespace MapoDb {
if ((ds.Tables["SignalLog"] != null)) {
base.Tables.Add(new SignalLogDataTable(ds.Tables["SignalLog"]));
}
+ if ((ds.Tables["AnagArticoli"] != null)) {
+ base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -294,16 +285,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public KanbanDataTable Kanban {
- get {
- return this.tableKanban;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -394,16 +375,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public Kanban2insDataTable Kanban2ins {
- get {
- return this.tableKanban2ins;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -474,6 +445,16 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public AnagArticoliDataTable AnagArticoli {
+ get {
+ return this.tableAnagArticoli;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -559,9 +540,6 @@ namespace MapoDb {
if ((ds.Tables["AnagraficaStati"] != null)) {
base.Tables.Add(new AnagraficaStatiDataTable(ds.Tables["AnagraficaStati"]));
}
- if ((ds.Tables["Kanban"] != null)) {
- base.Tables.Add(new KanbanDataTable(ds.Tables["Kanban"]));
- }
if ((ds.Tables["EventList"] != null)) {
base.Tables.Add(new EventListDataTable(ds.Tables["EventList"]));
}
@@ -589,9 +567,6 @@ namespace MapoDb {
if ((ds.Tables["AnagraficaOperatori"] != null)) {
base.Tables.Add(new AnagraficaOperatoriDataTable(ds.Tables["AnagraficaOperatori"]));
}
- if ((ds.Tables["Kanban2ins"] != null)) {
- base.Tables.Add(new Kanban2insDataTable(ds.Tables["Kanban2ins"]));
- }
if ((ds.Tables["AnagraficaOperatori2ins"] != null)) {
base.Tables.Add(new AnagraficaOperatori2insDataTable(ds.Tables["AnagraficaOperatori2ins"]));
}
@@ -613,6 +588,9 @@ namespace MapoDb {
if ((ds.Tables["SignalLog"] != null)) {
base.Tables.Add(new SignalLogDataTable(ds.Tables["SignalLog"]));
}
+ if ((ds.Tables["AnagArticoli"] != null)) {
+ base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -682,12 +660,6 @@ namespace MapoDb {
this.tableAnagraficaStati.InitVars();
}
}
- this.tableKanban = ((KanbanDataTable)(base.Tables["Kanban"]));
- if ((initTable == true)) {
- if ((this.tableKanban != null)) {
- this.tableKanban.InitVars();
- }
- }
this.tableEventList = ((EventListDataTable)(base.Tables["EventList"]));
if ((initTable == true)) {
if ((this.tableEventList != null)) {
@@ -742,12 +714,6 @@ namespace MapoDb {
this.tableAnagraficaOperatori.InitVars();
}
}
- this.tableKanban2ins = ((Kanban2insDataTable)(base.Tables["Kanban2ins"]));
- if ((initTable == true)) {
- if ((this.tableKanban2ins != null)) {
- this.tableKanban2ins.InitVars();
- }
- }
this.tableAnagraficaOperatori2ins = ((AnagraficaOperatori2insDataTable)(base.Tables["AnagraficaOperatori2ins"]));
if ((initTable == true)) {
if ((this.tableAnagraficaOperatori2ins != null)) {
@@ -790,19 +756,22 @@ namespace MapoDb {
this.tableSignalLog.InitVars();
}
}
+ this.tableAnagArticoli = ((AnagArticoliDataTable)(base.Tables["AnagArticoli"]));
+ if ((initTable == true)) {
+ if ((this.tableAnagArticoli != null)) {
+ this.tableAnagArticoli.InitVars();
+ }
+ }
this.relationFK_Macchine2FamiglieMacchine_FamiglieMacchine = this.Relations["FK_Macchine2FamiglieMacchine_FamiglieMacchine"];
this.relationFK_Macchine2FamiglieMacchine_Macchine = this.Relations["FK_Macchine2FamiglieMacchine_Macchine"];
this.relationFK_TransizioneStati_FamiglieMacchine = this.Relations["FK_TransizioneStati_FamiglieMacchine"];
this.relationFK_StatoMacchine_Macchine = this.Relations["FK_StatoMacchine_Macchine"];
this.relationFK_TransizioneStati_AnagraficaStati = this.Relations["FK_TransizioneStati_AnagraficaStati"];
this.relationFK_StatoMacchine_AnagraficaStati = this.Relations["FK_StatoMacchine_AnagraficaStati"];
- this.relationFK_StatoMacchine_Kanban = this.Relations["FK_StatoMacchine_Kanban"];
- this.relationFK_EventList_Kanban = this.Relations["FK_EventList_Kanban"];
this.relationFK_EventList_Macchine = this.Relations["FK_EventList_Macchine"];
this.relationFK_TransizioneStati_AnagraficaEventi = this.Relations["FK_TransizioneStati_AnagraficaEventi"];
this.relationFK_EventList_AnagraficaEventi = this.Relations["FK_EventList_AnagraficaEventi"];
this.relationFK_DiarioDiBordo_AnagraficaStati = this.Relations["FK_DiarioDiBordo_AnagraficaStati"];
- this.relationFK_DiarioDiBordo_Kanban = this.Relations["FK_DiarioDiBordo_Kanban"];
this.relationFK_DiarioDiBordo_Macchine = this.Relations["FK_DiarioDiBordo_Macchine"];
this.relationFK_TransizioneEventi_AnagraficaEventi1 = this.Relations["FK_TransizioneEventi_AnagraficaEventi1"];
this.relationFK_Macchine2FamigliaIngressi_Macchine = this.Relations["FK_Macchine2FamigliaIngressi_Macchine"];
@@ -812,6 +781,7 @@ namespace MapoDb {
this.relationFK_DiarioDiBordo_AnagraficaOperatori = this.Relations["FK_DiarioDiBordo_AnagraficaOperatori"];
this.relationFK_EventList_AnagraficaOperatori = this.Relations["FK_EventList_AnagraficaOperatori"];
this.relationFK_StatoMacchine_AnagraficaOperatori = this.Relations["FK_StatoMacchine_AnagraficaOperatori"];
+ this.relationAnagArticoli_DiarioDiBordo = this.Relations["AnagArticoli_DiarioDiBordo"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -834,8 +804,6 @@ namespace MapoDb {
base.Tables.Add(this.tableStatoMacchine);
this.tableAnagraficaStati = new AnagraficaStatiDataTable();
base.Tables.Add(this.tableAnagraficaStati);
- this.tableKanban = new KanbanDataTable();
- base.Tables.Add(this.tableKanban);
this.tableEventList = new EventListDataTable();
base.Tables.Add(this.tableEventList);
this.tableAnagraficaEventi = new AnagraficaEventiDataTable();
@@ -854,8 +822,6 @@ namespace MapoDb {
base.Tables.Add(this.tableTransizioneIngressi);
this.tableAnagraficaOperatori = new AnagraficaOperatoriDataTable();
base.Tables.Add(this.tableAnagraficaOperatori);
- this.tableKanban2ins = new Kanban2insDataTable();
- base.Tables.Add(this.tableKanban2ins);
this.tableAnagraficaOperatori2ins = new AnagraficaOperatori2insDataTable();
base.Tables.Add(this.tableAnagraficaOperatori2ins);
this.tableDatiMacchine = new DatiMacchineDataTable();
@@ -870,6 +836,8 @@ namespace MapoDb {
base.Tables.Add(this.tableParetoDurate);
this.tableSignalLog = new SignalLogDataTable();
base.Tables.Add(this.tableSignalLog);
+ this.tableAnagArticoli = new AnagArticoliDataTable();
+ base.Tables.Add(this.tableAnagArticoli);
this.relationFK_Macchine2FamiglieMacchine_FamiglieMacchine = new global::System.Data.DataRelation("FK_Macchine2FamiglieMacchine_FamiglieMacchine", new global::System.Data.DataColumn[] {
this.tableFamiglieMacchine.IdxFamigliaColumn}, new global::System.Data.DataColumn[] {
this.tableMacchine2FamiglieMacchine.IdxFamigliaColumn}, false);
@@ -894,14 +862,6 @@ namespace MapoDb {
this.tableAnagraficaStati.IdxStatoColumn}, new global::System.Data.DataColumn[] {
this.tableStatoMacchine.IdxStatoColumn}, false);
this.Relations.Add(this.relationFK_StatoMacchine_AnagraficaStati);
- this.relationFK_StatoMacchine_Kanban = new global::System.Data.DataRelation("FK_StatoMacchine_Kanban", new global::System.Data.DataColumn[] {
- this.tableKanban.MatricolaKanbanColumn}, new global::System.Data.DataColumn[] {
- this.tableStatoMacchine.MatricolaKanbanColumn}, false);
- this.Relations.Add(this.relationFK_StatoMacchine_Kanban);
- this.relationFK_EventList_Kanban = new global::System.Data.DataRelation("FK_EventList_Kanban", new global::System.Data.DataColumn[] {
- this.tableKanban.MatricolaKanbanColumn}, new global::System.Data.DataColumn[] {
- this.tableEventList.MatricolaKanbanColumn}, false);
- this.Relations.Add(this.relationFK_EventList_Kanban);
this.relationFK_EventList_Macchine = new global::System.Data.DataRelation("FK_EventList_Macchine", new global::System.Data.DataColumn[] {
this.tableMacchine.IdxMacchinaColumn}, new global::System.Data.DataColumn[] {
this.tableEventList.IdxMacchinaColumn}, false);
@@ -918,10 +878,6 @@ namespace MapoDb {
this.tableAnagraficaStati.IdxStatoColumn}, new global::System.Data.DataColumn[] {
this.tableDiarioDiBordo.IdxStatoColumn}, false);
this.Relations.Add(this.relationFK_DiarioDiBordo_AnagraficaStati);
- this.relationFK_DiarioDiBordo_Kanban = new global::System.Data.DataRelation("FK_DiarioDiBordo_Kanban", new global::System.Data.DataColumn[] {
- this.tableKanban.MatricolaKanbanColumn}, new global::System.Data.DataColumn[] {
- this.tableDiarioDiBordo.MatricolaKanbanColumn}, false);
- this.Relations.Add(this.relationFK_DiarioDiBordo_Kanban);
this.relationFK_DiarioDiBordo_Macchine = new global::System.Data.DataRelation("FK_DiarioDiBordo_Macchine", new global::System.Data.DataColumn[] {
this.tableMacchine.IdxMacchinaColumn}, new global::System.Data.DataColumn[] {
this.tableDiarioDiBordo.IdxMacchinaColumn}, false);
@@ -958,6 +914,10 @@ namespace MapoDb {
this.tableAnagraficaOperatori.MatrOprColumn}, new global::System.Data.DataColumn[] {
this.tableStatoMacchine.MatrOprColumn}, false);
this.Relations.Add(this.relationFK_StatoMacchine_AnagraficaOperatori);
+ this.relationAnagArticoli_DiarioDiBordo = new global::System.Data.DataRelation("AnagArticoli_DiarioDiBordo", new global::System.Data.DataColumn[] {
+ this.tableAnagArticoli.CodArticoloColumn}, new global::System.Data.DataColumn[] {
+ this.tableDiarioDiBordo.CodArticoloColumn}, false);
+ this.Relations.Add(this.relationAnagArticoli_DiarioDiBordo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -996,12 +956,6 @@ namespace MapoDb {
return false;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeKanban() {
- return false;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeEventList() {
@@ -1056,12 +1010,6 @@ namespace MapoDb {
return false;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeKanban2ins() {
- return false;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeAnagraficaOperatori2ins() {
@@ -1104,6 +1052,12 @@ namespace MapoDb {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeAnagArticoli() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -1177,9 +1131,6 @@ namespace MapoDb {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagraficaStatiRowChangeEventHandler(object sender, AnagraficaStatiRowChangeEvent e);
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public delegate void KanbanRowChangeEventHandler(object sender, KanbanRowChangeEvent e);
-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void EventListRowChangeEventHandler(object sender, EventListRowChangeEvent e);
@@ -1207,9 +1158,6 @@ namespace MapoDb {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagraficaOperatoriRowChangeEventHandler(object sender, AnagraficaOperatoriRowChangeEvent e);
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public delegate void Kanban2insRowChangeEventHandler(object sender, Kanban2insRowChangeEvent e);
-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagraficaOperatori2insRowChangeEventHandler(object sender, AnagraficaOperatori2insRowChangeEvent e);
@@ -1231,6 +1179,9 @@ namespace MapoDb {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void SignalLogRowChangeEventHandler(object sender, SignalLogRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void AnagArticoliRowChangeEventHandler(object sender, AnagArticoliRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -2467,10 +2418,6 @@ namespace MapoDb {
private global::System.Data.DataColumn columnValue;
- private global::System.Data.DataColumn columnMatricolaKanban;
-
- private global::System.Data.DataColumn columnKanbanCode;
-
private global::System.Data.DataColumn columnTempoCicloBase;
private global::System.Data.DataColumn columnPzPalletProd;
@@ -2479,6 +2426,8 @@ namespace MapoDb {
private global::System.Data.DataColumn columnpallet;
+ private global::System.Data.DataColumn columnCodArticolo;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public StatoMacchineDataTable() {
@@ -2544,22 +2493,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MatricolaKanbanColumn {
- get {
- return this.columnMatricolaKanban;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn KanbanCodeColumn {
- get {
- return this.columnKanbanCode;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn TempoCicloBaseColumn {
@@ -2592,6 +2525,14 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodArticoloColumn {
+ get {
+ return this.columnCodArticolo;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2629,30 +2570,26 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public StatoMacchineRow AddStatoMacchineRow(MacchineRow parentMacchineRowByFK_StatoMacchine_Macchine, AnagraficaStatiRow parentAnagraficaStatiRowByFK_StatoMacchine_AnagraficaStati, System.DateTime InizioStato, string Value, KanbanRow parentKanbanRowByFK_StatoMacchine_Kanban, string KanbanCode, double TempoCicloBase, int PzPalletProd, AnagraficaOperatoriRow parentAnagraficaOperatoriRowByFK_StatoMacchine_AnagraficaOperatori, string pallet) {
+ public StatoMacchineRow AddStatoMacchineRow(MacchineRow parentMacchineRowByFK_StatoMacchine_Macchine, AnagraficaStatiRow parentAnagraficaStatiRowByFK_StatoMacchine_AnagraficaStati, System.DateTime InizioStato, string Value, double TempoCicloBase, int PzPalletProd, AnagraficaOperatoriRow parentAnagraficaOperatoriRowByFK_StatoMacchine_AnagraficaOperatori, string pallet, string CodArticolo) {
StatoMacchineRow rowStatoMacchineRow = ((StatoMacchineRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
null,
InizioStato,
Value,
- null,
- KanbanCode,
TempoCicloBase,
PzPalletProd,
null,
- pallet};
+ pallet,
+ CodArticolo};
if ((parentMacchineRowByFK_StatoMacchine_Macchine != null)) {
columnValuesArray[0] = parentMacchineRowByFK_StatoMacchine_Macchine[0];
}
if ((parentAnagraficaStatiRowByFK_StatoMacchine_AnagraficaStati != null)) {
columnValuesArray[1] = parentAnagraficaStatiRowByFK_StatoMacchine_AnagraficaStati[0];
}
- if ((parentKanbanRowByFK_StatoMacchine_Kanban != null)) {
- columnValuesArray[4] = parentKanbanRowByFK_StatoMacchine_Kanban[0];
- }
if ((parentAnagraficaOperatoriRowByFK_StatoMacchine_AnagraficaOperatori != null)) {
- columnValuesArray[8] = parentAnagraficaOperatoriRowByFK_StatoMacchine_AnagraficaOperatori[0];
+ columnValuesArray[6] = parentAnagraficaOperatoriRowByFK_StatoMacchine_AnagraficaOperatori[0];
}
rowStatoMacchineRow.ItemArray = columnValuesArray;
this.Rows.Add(rowStatoMacchineRow);
@@ -2687,12 +2624,11 @@ namespace MapoDb {
this.columnIdxStato = base.Columns["IdxStato"];
this.columnInizioStato = base.Columns["InizioStato"];
this.columnValue = base.Columns["Value"];
- this.columnMatricolaKanban = base.Columns["MatricolaKanban"];
- this.columnKanbanCode = base.Columns["KanbanCode"];
this.columnTempoCicloBase = base.Columns["TempoCicloBase"];
this.columnPzPalletProd = base.Columns["PzPalletProd"];
this.columnMatrOpr = base.Columns["MatrOpr"];
this.columnpallet = base.Columns["pallet"];
+ this.columnCodArticolo = base.Columns["CodArticolo"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2706,10 +2642,6 @@ namespace MapoDb {
base.Columns.Add(this.columnInizioStato);
this.columnValue = new global::System.Data.DataColumn("Value", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnValue);
- this.columnMatricolaKanban = new global::System.Data.DataColumn("MatricolaKanban", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnMatricolaKanban);
- this.columnKanbanCode = new global::System.Data.DataColumn("KanbanCode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnKanbanCode);
this.columnTempoCicloBase = new global::System.Data.DataColumn("TempoCicloBase", typeof(double), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTempoCicloBase);
this.columnPzPalletProd = new global::System.Data.DataColumn("PzPalletProd", typeof(int), null, global::System.Data.MappingType.Element);
@@ -2718,6 +2650,8 @@ namespace MapoDb {
base.Columns.Add(this.columnMatrOpr);
this.columnpallet = new global::System.Data.DataColumn("pallet", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpallet);
+ this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodArticolo);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxMacchina}, true));
this.columnIdxMacchina.AllowDBNull = false;
@@ -2725,9 +2659,8 @@ namespace MapoDb {
this.columnIdxMacchina.MaxLength = 50;
this.columnIdxStato.AllowDBNull = false;
this.columnValue.MaxLength = 50;
- this.columnMatricolaKanban.MaxLength = 50;
- this.columnKanbanCode.MaxLength = 50;
this.columnpallet.MaxLength = 20;
+ this.columnCodArticolo.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3142,323 +3075,6 @@ namespace MapoDb {
}
}
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class KanbanDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnMatricolaKanban;
-
- private global::System.Data.DataColumn columnKanbanCode;
-
- private global::System.Data.DataColumn columnTempoCicloBase;
-
- private global::System.Data.DataColumn columnPzPallet;
-
- private global::System.Data.DataColumn columnCodArticolo;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanDataTable() {
- this.TableName = "Kanban";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal KanbanDataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected KanbanDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MatricolaKanbanColumn {
- get {
- return this.columnMatricolaKanban;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn KanbanCodeColumn {
- get {
- return this.columnKanbanCode;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn TempoCicloBaseColumn {
- get {
- return this.columnTempoCicloBase;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn PzPalletColumn {
- get {
- return this.columnPzPallet;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn CodArticoloColumn {
- get {
- return this.columnCodArticolo;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow this[int index] {
- get {
- return ((KanbanRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event KanbanRowChangeEventHandler KanbanRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event KanbanRowChangeEventHandler KanbanRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event KanbanRowChangeEventHandler KanbanRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event KanbanRowChangeEventHandler KanbanRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddKanbanRow(KanbanRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow AddKanbanRow(string MatricolaKanban, string KanbanCode, double TempoCicloBase, int PzPallet, string CodArticolo) {
- KanbanRow rowKanbanRow = ((KanbanRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- MatricolaKanban,
- KanbanCode,
- TempoCicloBase,
- PzPallet,
- CodArticolo};
- rowKanbanRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowKanbanRow);
- return rowKanbanRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow FindByMatricolaKanban(string MatricolaKanban) {
- return ((KanbanRow)(this.Rows.Find(new object[] {
- MatricolaKanban})));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- KanbanDataTable cln = ((KanbanDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataTable CreateInstance() {
- return new KanbanDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars() {
- this.columnMatricolaKanban = base.Columns["MatricolaKanban"];
- this.columnKanbanCode = base.Columns["KanbanCode"];
- this.columnTempoCicloBase = base.Columns["TempoCicloBase"];
- this.columnPzPallet = base.Columns["PzPallet"];
- this.columnCodArticolo = base.Columns["CodArticolo"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass() {
- this.columnMatricolaKanban = new global::System.Data.DataColumn("MatricolaKanban", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnMatricolaKanban);
- this.columnKanbanCode = new global::System.Data.DataColumn("KanbanCode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnKanbanCode);
- this.columnTempoCicloBase = new global::System.Data.DataColumn("TempoCicloBase", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnTempoCicloBase);
- this.columnPzPallet = new global::System.Data.DataColumn("PzPallet", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnPzPallet);
- this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCodArticolo);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnMatricolaKanban}, true));
- this.columnMatricolaKanban.AllowDBNull = false;
- this.columnMatricolaKanban.Unique = true;
- this.columnMatricolaKanban.MaxLength = 50;
- this.columnKanbanCode.MaxLength = 50;
- this.columnCodArticolo.MaxLength = 50;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow NewKanbanRow() {
- return ((KanbanRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new KanbanRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType() {
- return typeof(KanbanRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.KanbanRowChanged != null)) {
- this.KanbanRowChanged(this, new KanbanRowChangeEvent(((KanbanRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.KanbanRowChanging != null)) {
- this.KanbanRowChanging(this, new KanbanRowChangeEvent(((KanbanRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.KanbanRowDeleted != null)) {
- this.KanbanRowDeleted(this, new KanbanRowChangeEvent(((KanbanRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.KanbanRowDeleting != null)) {
- this.KanbanRowDeleting(this, new KanbanRowChangeEvent(((KanbanRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveKanbanRow(KanbanRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- DS_applicazione ds = new DS_applicazione();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "KanbanDataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
-
///
///Represents the strongly named DataTable class.
///
@@ -3472,14 +3088,14 @@ namespace MapoDb {
private global::System.Data.DataColumn columnIdxTipo;
- private global::System.Data.DataColumn columnMatricolaKanban;
-
private global::System.Data.DataColumn columnValue;
private global::System.Data.DataColumn columnMatrOpr;
private global::System.Data.DataColumn columnpallet;
+ private global::System.Data.DataColumn columnCodArticolo;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public EventListDataTable() {
@@ -3537,14 +3153,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MatricolaKanbanColumn {
- get {
- return this.columnMatricolaKanban;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ValueColumn {
@@ -3569,6 +3177,14 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodArticoloColumn {
+ get {
+ return this.columnCodArticolo;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -3606,27 +3222,24 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EventListRow AddEventListRow(MacchineRow parentMacchineRowByFK_EventList_Macchine, System.DateTime InizioStato, AnagraficaEventiRow parentAnagraficaEventiRowByFK_EventList_AnagraficaEventi, KanbanRow parentKanbanRowByFK_EventList_Kanban, string Value, AnagraficaOperatoriRow parentAnagraficaOperatoriRowByFK_EventList_AnagraficaOperatori, string pallet) {
+ public EventListRow AddEventListRow(MacchineRow parentMacchineRowByFK_EventList_Macchine, System.DateTime InizioStato, AnagraficaEventiRow parentAnagraficaEventiRowByFK_EventList_AnagraficaEventi, string Value, AnagraficaOperatoriRow parentAnagraficaOperatoriRowByFK_EventList_AnagraficaOperatori, string pallet, string CodArticolo) {
EventListRow rowEventListRow = ((EventListRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
InizioStato,
null,
- null,
Value,
null,
- pallet};
+ pallet,
+ CodArticolo};
if ((parentMacchineRowByFK_EventList_Macchine != null)) {
columnValuesArray[0] = parentMacchineRowByFK_EventList_Macchine[0];
}
if ((parentAnagraficaEventiRowByFK_EventList_AnagraficaEventi != null)) {
columnValuesArray[2] = parentAnagraficaEventiRowByFK_EventList_AnagraficaEventi[0];
}
- if ((parentKanbanRowByFK_EventList_Kanban != null)) {
- columnValuesArray[3] = parentKanbanRowByFK_EventList_Kanban[0];
- }
if ((parentAnagraficaOperatoriRowByFK_EventList_AnagraficaOperatori != null)) {
- columnValuesArray[5] = parentAnagraficaOperatoriRowByFK_EventList_AnagraficaOperatori[0];
+ columnValuesArray[4] = parentAnagraficaOperatoriRowByFK_EventList_AnagraficaOperatori[0];
}
rowEventListRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEventListRow);
@@ -3662,10 +3275,10 @@ namespace MapoDb {
this.columnIdxMacchina = base.Columns["IdxMacchina"];
this.columnInizioStato = base.Columns["InizioStato"];
this.columnIdxTipo = base.Columns["IdxTipo"];
- this.columnMatricolaKanban = base.Columns["MatricolaKanban"];
this.columnValue = base.Columns["Value"];
this.columnMatrOpr = base.Columns["MatrOpr"];
this.columnpallet = base.Columns["pallet"];
+ this.columnCodArticolo = base.Columns["CodArticolo"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3677,14 +3290,14 @@ namespace MapoDb {
base.Columns.Add(this.columnInizioStato);
this.columnIdxTipo = new global::System.Data.DataColumn("IdxTipo", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxTipo);
- this.columnMatricolaKanban = new global::System.Data.DataColumn("MatricolaKanban", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnMatricolaKanban);
this.columnValue = new global::System.Data.DataColumn("Value", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnValue);
this.columnMatrOpr = new global::System.Data.DataColumn("MatrOpr", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMatrOpr);
this.columnpallet = new global::System.Data.DataColumn("pallet", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpallet);
+ this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodArticolo);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxMacchina,
this.columnInizioStato,
@@ -3693,9 +3306,9 @@ namespace MapoDb {
this.columnIdxMacchina.MaxLength = 50;
this.columnInizioStato.AllowDBNull = false;
this.columnIdxTipo.AllowDBNull = false;
- this.columnMatricolaKanban.MaxLength = 50;
this.columnValue.MaxLength = 250;
this.columnpallet.MaxLength = 20;
+ this.columnCodArticolo.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4114,10 +3727,6 @@ namespace MapoDb {
private global::System.Data.DataColumn columnValue;
- private global::System.Data.DataColumn columnMatricolaKanban;
-
- private global::System.Data.DataColumn columnKanbanCode;
-
private global::System.Data.DataColumn columnTempoCicloBase;
private global::System.Data.DataColumn columnPzPalletProd;
@@ -4126,6 +3735,8 @@ namespace MapoDb {
private global::System.Data.DataColumn columnpallet;
+ private global::System.Data.DataColumn columnCodArticolo;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DiarioDiBordoDataTable() {
@@ -4207,22 +3818,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MatricolaKanbanColumn {
- get {
- return this.columnMatricolaKanban;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn KanbanCodeColumn {
- get {
- return this.columnKanbanCode;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn TempoCicloBaseColumn {
@@ -4255,6 +3850,14 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodArticoloColumn {
+ get {
+ return this.columnCodArticolo;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -4292,7 +3895,7 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DiarioDiBordoRow AddDiarioDiBordoRow(MacchineRow parentMacchineRowByFK_DiarioDiBordo_Macchine, System.DateTime InizioStato, System.DateTime FineStato, AnagraficaStatiRow parentAnagraficaStatiRowByFK_DiarioDiBordo_AnagraficaStati, double DurataMinuti, string Value, KanbanRow parentKanbanRowByFK_DiarioDiBordo_Kanban, string KanbanCode, double TempoCicloBase, int PzPalletProd, AnagraficaOperatoriRow parentAnagraficaOperatoriRowByFK_DiarioDiBordo_AnagraficaOperatori, string pallet) {
+ public DiarioDiBordoRow AddDiarioDiBordoRow(MacchineRow parentMacchineRowByFK_DiarioDiBordo_Macchine, System.DateTime InizioStato, System.DateTime FineStato, AnagraficaStatiRow parentAnagraficaStatiRowByFK_DiarioDiBordo_AnagraficaStati, double DurataMinuti, string Value, double TempoCicloBase, int PzPalletProd, AnagraficaOperatoriRow parentAnagraficaOperatoriRowByFK_DiarioDiBordo_AnagraficaOperatori, string pallet, AnagArticoliRow parentAnagArticoliRowByAnagArticoli_DiarioDiBordo) {
DiarioDiBordoRow rowDiarioDiBordoRow = ((DiarioDiBordoRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -4301,23 +3904,22 @@ namespace MapoDb {
null,
DurataMinuti,
Value,
- null,
- KanbanCode,
TempoCicloBase,
PzPalletProd,
null,
- pallet};
+ pallet,
+ null};
if ((parentMacchineRowByFK_DiarioDiBordo_Macchine != null)) {
columnValuesArray[0] = parentMacchineRowByFK_DiarioDiBordo_Macchine[0];
}
if ((parentAnagraficaStatiRowByFK_DiarioDiBordo_AnagraficaStati != null)) {
columnValuesArray[3] = parentAnagraficaStatiRowByFK_DiarioDiBordo_AnagraficaStati[0];
}
- if ((parentKanbanRowByFK_DiarioDiBordo_Kanban != null)) {
- columnValuesArray[6] = parentKanbanRowByFK_DiarioDiBordo_Kanban[0];
- }
if ((parentAnagraficaOperatoriRowByFK_DiarioDiBordo_AnagraficaOperatori != null)) {
- columnValuesArray[10] = parentAnagraficaOperatoriRowByFK_DiarioDiBordo_AnagraficaOperatori[0];
+ columnValuesArray[8] = parentAnagraficaOperatoriRowByFK_DiarioDiBordo_AnagraficaOperatori[0];
+ }
+ if ((parentAnagArticoliRowByAnagArticoli_DiarioDiBordo != null)) {
+ columnValuesArray[10] = parentAnagArticoliRowByAnagArticoli_DiarioDiBordo[0];
}
rowDiarioDiBordoRow.ItemArray = columnValuesArray;
this.Rows.Add(rowDiarioDiBordoRow);
@@ -4355,12 +3957,11 @@ namespace MapoDb {
this.columnIdxStato = base.Columns["IdxStato"];
this.columnDurataMinuti = base.Columns["DurataMinuti"];
this.columnValue = base.Columns["Value"];
- this.columnMatricolaKanban = base.Columns["MatricolaKanban"];
- this.columnKanbanCode = base.Columns["KanbanCode"];
this.columnTempoCicloBase = base.Columns["TempoCicloBase"];
this.columnPzPalletProd = base.Columns["PzPalletProd"];
this.columnMatrOpr = base.Columns["MatrOpr"];
this.columnpallet = base.Columns["pallet"];
+ this.columnCodArticolo = base.Columns["CodArticolo"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4378,10 +3979,6 @@ namespace MapoDb {
base.Columns.Add(this.columnDurataMinuti);
this.columnValue = new global::System.Data.DataColumn("Value", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnValue);
- this.columnMatricolaKanban = new global::System.Data.DataColumn("MatricolaKanban", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnMatricolaKanban);
- this.columnKanbanCode = new global::System.Data.DataColumn("KanbanCode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnKanbanCode);
this.columnTempoCicloBase = new global::System.Data.DataColumn("TempoCicloBase", typeof(double), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnTempoCicloBase);
this.columnPzPalletProd = new global::System.Data.DataColumn("PzPalletProd", typeof(int), null, global::System.Data.MappingType.Element);
@@ -4390,6 +3987,8 @@ namespace MapoDb {
base.Columns.Add(this.columnMatrOpr);
this.columnpallet = new global::System.Data.DataColumn("pallet", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpallet);
+ this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodArticolo);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxMacchina,
this.columnInizioStato}, true));
@@ -4398,9 +3997,8 @@ namespace MapoDb {
this.columnInizioStato.AllowDBNull = false;
this.columnIdxStato.AllowDBNull = false;
this.columnValue.MaxLength = 50;
- this.columnMatricolaKanban.MaxLength = 50;
- this.columnKanbanCode.MaxLength = 50;
this.columnpallet.MaxLength = 20;
+ this.columnCodArticolo.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6348,308 +5946,6 @@ namespace MapoDb {
}
}
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class Kanban2insDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnMatricolaKanban;
-
- private global::System.Data.DataColumn columnKanbanCode;
-
- private global::System.Data.DataColumn columnTempoCicloBase;
-
- private global::System.Data.DataColumn columnPzPallet;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insDataTable() {
- this.TableName = "Kanban2ins";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal Kanban2insDataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected Kanban2insDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn MatricolaKanbanColumn {
- get {
- return this.columnMatricolaKanban;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn KanbanCodeColumn {
- get {
- return this.columnKanbanCode;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn TempoCicloBaseColumn {
- get {
- return this.columnTempoCicloBase;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn PzPalletColumn {
- get {
- return this.columnPzPallet;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insRow this[int index] {
- get {
- return ((Kanban2insRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event Kanban2insRowChangeEventHandler Kanban2insRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event Kanban2insRowChangeEventHandler Kanban2insRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event Kanban2insRowChangeEventHandler Kanban2insRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event Kanban2insRowChangeEventHandler Kanban2insRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddKanban2insRow(Kanban2insRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insRow AddKanban2insRow(string MatricolaKanban, string KanbanCode, double TempoCicloBase, int PzPallet) {
- Kanban2insRow rowKanban2insRow = ((Kanban2insRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- MatricolaKanban,
- KanbanCode,
- TempoCicloBase,
- PzPallet};
- rowKanban2insRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowKanban2insRow);
- return rowKanban2insRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insRow FindByMatricolaKanban(string MatricolaKanban) {
- return ((Kanban2insRow)(this.Rows.Find(new object[] {
- MatricolaKanban})));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- Kanban2insDataTable cln = ((Kanban2insDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataTable CreateInstance() {
- return new Kanban2insDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars() {
- this.columnMatricolaKanban = base.Columns["MatricolaKanban"];
- this.columnKanbanCode = base.Columns["KanbanCode"];
- this.columnTempoCicloBase = base.Columns["TempoCicloBase"];
- this.columnPzPallet = base.Columns["PzPallet"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass() {
- this.columnMatricolaKanban = new global::System.Data.DataColumn("MatricolaKanban", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnMatricolaKanban);
- this.columnKanbanCode = new global::System.Data.DataColumn("KanbanCode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnKanbanCode);
- this.columnTempoCicloBase = new global::System.Data.DataColumn("TempoCicloBase", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnTempoCicloBase);
- this.columnPzPallet = new global::System.Data.DataColumn("PzPallet", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnPzPallet);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnMatricolaKanban}, true));
- this.columnMatricolaKanban.AllowDBNull = false;
- this.columnMatricolaKanban.Unique = true;
- this.columnMatricolaKanban.MaxLength = 50;
- this.columnKanbanCode.MaxLength = 50;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insRow NewKanban2insRow() {
- return ((Kanban2insRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new Kanban2insRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType() {
- return typeof(Kanban2insRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.Kanban2insRowChanged != null)) {
- this.Kanban2insRowChanged(this, new Kanban2insRowChangeEvent(((Kanban2insRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.Kanban2insRowChanging != null)) {
- this.Kanban2insRowChanging(this, new Kanban2insRowChangeEvent(((Kanban2insRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.Kanban2insRowDeleted != null)) {
- this.Kanban2insRowDeleted(this, new Kanban2insRowChangeEvent(((Kanban2insRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.Kanban2insRowDeleting != null)) {
- this.Kanban2insRowDeleting(this, new Kanban2insRowChangeEvent(((Kanban2insRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveKanban2insRow(Kanban2insRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- DS_applicazione ds = new DS_applicazione();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "Kanban2insDataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
-
///
///Represents the strongly named DataTable class.
///
@@ -6949,10 +6245,6 @@ namespace MapoDb {
private global::System.Data.DataColumn columnpalletChange;
- private global::System.Data.DataColumn columnkanban_A;
-
- private global::System.Data.DataColumn columnkanban_B;
-
private global::System.Data.DataColumn columnserialPort;
private global::System.Data.DataColumn columnrefreshPeriod;
@@ -6965,6 +6257,10 @@ namespace MapoDb {
private global::System.Data.DataColumn columnsLogEnabled;
+ private global::System.Data.DataColumn columnCodArticolo_A;
+
+ private global::System.Data.DataColumn columnCodArticolo_B;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DatiMacchineDataTable() {
@@ -7014,22 +6310,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn kanban_AColumn {
- get {
- return this.columnkanban_A;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn kanban_BColumn {
- get {
- return this.columnkanban_B;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn serialPortColumn {
@@ -7078,6 +6358,22 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodArticolo_AColumn {
+ get {
+ return this.columnCodArticolo_A;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodArticolo_BColumn {
+ get {
+ return this.columnCodArticolo_B;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -7115,19 +6411,19 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DatiMacchineRow AddDatiMacchineRow(int idxMacchina, bool palletChange, string kanban_A, string kanban_B, string serialPort, int refreshPeriod, bool simulazione, bool simplePallet, bool insEnabled, bool sLogEnabled) {
+ public DatiMacchineRow AddDatiMacchineRow(int idxMacchina, bool palletChange, string serialPort, int refreshPeriod, bool simulazione, bool simplePallet, bool insEnabled, bool sLogEnabled, string CodArticolo_A, string CodArticolo_B) {
DatiMacchineRow rowDatiMacchineRow = ((DatiMacchineRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
idxMacchina,
palletChange,
- kanban_A,
- kanban_B,
serialPort,
refreshPeriod,
simulazione,
simplePallet,
insEnabled,
- sLogEnabled};
+ sLogEnabled,
+ CodArticolo_A,
+ CodArticolo_B};
rowDatiMacchineRow.ItemArray = columnValuesArray;
this.Rows.Add(rowDatiMacchineRow);
return rowDatiMacchineRow;
@@ -7159,14 +6455,14 @@ namespace MapoDb {
internal void InitVars() {
this.columnidxMacchina = base.Columns["idxMacchina"];
this.columnpalletChange = base.Columns["palletChange"];
- this.columnkanban_A = base.Columns["kanban_A"];
- this.columnkanban_B = base.Columns["kanban_B"];
this.columnserialPort = base.Columns["serialPort"];
this.columnrefreshPeriod = base.Columns["refreshPeriod"];
this.columnsimulazione = base.Columns["simulazione"];
this.columnsimplePallet = base.Columns["simplePallet"];
this.columninsEnabled = base.Columns["insEnabled"];
this.columnsLogEnabled = base.Columns["sLogEnabled"];
+ this.columnCodArticolo_A = base.Columns["CodArticolo_A"];
+ this.columnCodArticolo_B = base.Columns["CodArticolo_B"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -7176,10 +6472,6 @@ namespace MapoDb {
base.Columns.Add(this.columnidxMacchina);
this.columnpalletChange = new global::System.Data.DataColumn("palletChange", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpalletChange);
- this.columnkanban_A = new global::System.Data.DataColumn("kanban_A", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnkanban_A);
- this.columnkanban_B = new global::System.Data.DataColumn("kanban_B", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnkanban_B);
this.columnserialPort = new global::System.Data.DataColumn("serialPort", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnserialPort);
this.columnrefreshPeriod = new global::System.Data.DataColumn("refreshPeriod", typeof(int), null, global::System.Data.MappingType.Element);
@@ -7192,14 +6484,18 @@ namespace MapoDb {
base.Columns.Add(this.columninsEnabled);
this.columnsLogEnabled = new global::System.Data.DataColumn("sLogEnabled", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsLogEnabled);
+ this.columnCodArticolo_A = new global::System.Data.DataColumn("CodArticolo_A", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodArticolo_A);
+ this.columnCodArticolo_B = new global::System.Data.DataColumn("CodArticolo_B", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodArticolo_B);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidxMacchina}, true));
this.columnidxMacchina.AllowDBNull = false;
this.columnidxMacchina.Unique = true;
- this.columnkanban_A.MaxLength = 50;
- this.columnkanban_B.MaxLength = 50;
this.columnserialPort.MaxLength = 50;
this.columnsLogEnabled.AllowDBNull = false;
+ this.columnCodArticolo_A.MaxLength = 50;
+ this.columnCodArticolo_B.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -8955,6 +8251,328 @@ namespace MapoDb {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class AnagArticoliDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodArticolo;
+
+ private global::System.Data.DataColumn columnDescArticolo;
+
+ private global::System.Data.DataColumn columnCurrRev;
+
+ private global::System.Data.DataColumn columnProdRev;
+
+ private global::System.Data.DataColumn columnFlagIsNew;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliDataTable() {
+ this.TableName = "AnagArticoli";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagArticoliDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected AnagArticoliDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodArticoloColumn {
+ get {
+ return this.columnCodArticolo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescArticoloColumn {
+ get {
+ return this.columnDescArticolo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CurrRevColumn {
+ get {
+ return this.columnCurrRev;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ProdRevColumn {
+ get {
+ return this.columnProdRev;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FlagIsNewColumn {
+ get {
+ return this.columnFlagIsNew;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliRow this[int index] {
+ get {
+ return ((AnagArticoliRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagArticoliRowChangeEventHandler AnagArticoliRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagArticoliRowChangeEventHandler AnagArticoliRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagArticoliRowChangeEventHandler AnagArticoliRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagArticoliRowChangeEventHandler AnagArticoliRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddAnagArticoliRow(AnagArticoliRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliRow AddAnagArticoliRow(string CodArticolo, string DescArticolo, string CurrRev, string ProdRev, bool FlagIsNew) {
+ AnagArticoliRow rowAnagArticoliRow = ((AnagArticoliRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodArticolo,
+ DescArticolo,
+ CurrRev,
+ ProdRev,
+ FlagIsNew};
+ rowAnagArticoliRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAnagArticoliRow);
+ return rowAnagArticoliRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliRow FindByCodArticolo(string CodArticolo) {
+ return ((AnagArticoliRow)(this.Rows.Find(new object[] {
+ CodArticolo})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AnagArticoliDataTable cln = ((AnagArticoliDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new AnagArticoliDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnCodArticolo = base.Columns["CodArticolo"];
+ this.columnDescArticolo = base.Columns["DescArticolo"];
+ this.columnCurrRev = base.Columns["CurrRev"];
+ this.columnProdRev = base.Columns["ProdRev"];
+ this.columnFlagIsNew = base.Columns["FlagIsNew"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodArticolo);
+ this.columnDescArticolo = new global::System.Data.DataColumn("DescArticolo", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescArticolo);
+ this.columnCurrRev = new global::System.Data.DataColumn("CurrRev", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCurrRev);
+ this.columnProdRev = new global::System.Data.DataColumn("ProdRev", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnProdRev);
+ this.columnFlagIsNew = new global::System.Data.DataColumn("FlagIsNew", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFlagIsNew);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodArticolo}, true));
+ this.columnCodArticolo.AllowDBNull = false;
+ this.columnCodArticolo.Unique = true;
+ this.columnCodArticolo.MaxLength = 50;
+ this.columnDescArticolo.AllowDBNull = false;
+ this.columnDescArticolo.MaxLength = 250;
+ this.columnCurrRev.AllowDBNull = false;
+ this.columnCurrRev.MaxLength = 50;
+ this.columnProdRev.AllowDBNull = false;
+ this.columnProdRev.MaxLength = 50;
+ this.columnFlagIsNew.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliRow NewAnagArticoliRow() {
+ return ((AnagArticoliRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new AnagArticoliRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(AnagArticoliRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.AnagArticoliRowChanged != null)) {
+ this.AnagArticoliRowChanged(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.AnagArticoliRowChanging != null)) {
+ this.AnagArticoliRowChanging(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.AnagArticoliRowDeleted != null)) {
+ this.AnagArticoliRowDeleted(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.AnagArticoliRowDeleting != null)) {
+ this.AnagArticoliRowDeleting(this, new AnagArticoliRowChangeEvent(((AnagArticoliRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveAnagArticoliRow(AnagArticoliRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_applicazione ds = new DS_applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "AnagArticoliDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -9482,38 +9100,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string MatricolaKanban {
- get {
- try {
- return ((string)(this[this.tableStatoMacchine.MatricolaKanbanColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'MatricolaKanban\' in table \'StatoMacchine\' is DBNull.", e);
- }
- }
- set {
- this[this.tableStatoMacchine.MatricolaKanbanColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string KanbanCode {
- get {
- try {
- return ((string)(this[this.tableStatoMacchine.KanbanCodeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'KanbanCode\' in table \'StatoMacchine\' is DBNull.", e);
- }
- }
- set {
- this[this.tableStatoMacchine.KanbanCodeColumn] = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public double TempoCicloBase {
@@ -9578,6 +9164,22 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodArticolo {
+ get {
+ try {
+ return ((string)(this[this.tableStatoMacchine.CodArticoloColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'StatoMacchine\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableStatoMacchine.CodArticoloColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MacchineRow MacchineRow {
@@ -9600,17 +9202,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow KanbanRow {
- get {
- return ((KanbanRow)(this.GetParentRow(this.Table.ParentRelations["FK_StatoMacchine_Kanban"])));
- }
- set {
- this.SetParentRow(value, this.Table.ParentRelations["FK_StatoMacchine_Kanban"]);
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagraficaOperatoriRow AnagraficaOperatoriRow {
@@ -9646,30 +9237,6 @@ namespace MapoDb {
this[this.tableStatoMacchine.ValueColumn] = global::System.Convert.DBNull;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsMatricolaKanbanNull() {
- return this.IsNull(this.tableStatoMacchine.MatricolaKanbanColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetMatricolaKanbanNull() {
- this[this.tableStatoMacchine.MatricolaKanbanColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsKanbanCodeNull() {
- return this.IsNull(this.tableStatoMacchine.KanbanCodeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetKanbanCodeNull() {
- this[this.tableStatoMacchine.KanbanCodeColumn] = global::System.Convert.DBNull;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsTempoCicloBaseNull() {
@@ -9717,6 +9284,18 @@ namespace MapoDb {
public void SetpalletNull() {
this[this.tableStatoMacchine.palletColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodArticoloNull() {
+ return this.IsNull(this.tableStatoMacchine.CodArticoloColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodArticoloNull() {
+ this[this.tableStatoMacchine.CodArticoloColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -9834,177 +9413,6 @@ namespace MapoDb {
}
}
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class KanbanRow : global::System.Data.DataRow {
-
- private KanbanDataTable tableKanban;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal KanbanRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableKanban = ((KanbanDataTable)(this.Table));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string MatricolaKanban {
- get {
- return ((string)(this[this.tableKanban.MatricolaKanbanColumn]));
- }
- set {
- this[this.tableKanban.MatricolaKanbanColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string KanbanCode {
- get {
- try {
- return ((string)(this[this.tableKanban.KanbanCodeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'KanbanCode\' in table \'Kanban\' is DBNull.", e);
- }
- }
- set {
- this[this.tableKanban.KanbanCodeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double TempoCicloBase {
- get {
- try {
- return ((double)(this[this.tableKanban.TempoCicloBaseColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'TempoCicloBase\' in table \'Kanban\' is DBNull.", e);
- }
- }
- set {
- this[this.tableKanban.TempoCicloBaseColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int PzPallet {
- get {
- try {
- return ((int)(this[this.tableKanban.PzPalletColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'PzPallet\' in table \'Kanban\' is DBNull.", e);
- }
- }
- set {
- this[this.tableKanban.PzPalletColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string CodArticolo {
- get {
- try {
- return ((string)(this[this.tableKanban.CodArticoloColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'Kanban\' is DBNull.", e);
- }
- }
- set {
- this[this.tableKanban.CodArticoloColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsKanbanCodeNull() {
- return this.IsNull(this.tableKanban.KanbanCodeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetKanbanCodeNull() {
- this[this.tableKanban.KanbanCodeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsTempoCicloBaseNull() {
- return this.IsNull(this.tableKanban.TempoCicloBaseColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetTempoCicloBaseNull() {
- this[this.tableKanban.TempoCicloBaseColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsPzPalletNull() {
- return this.IsNull(this.tableKanban.PzPalletColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetPzPalletNull() {
- this[this.tableKanban.PzPalletColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodArticoloNull() {
- return this.IsNull(this.tableKanban.CodArticoloColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodArticoloNull() {
- this[this.tableKanban.CodArticoloColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public StatoMacchineRow[] GetStatoMacchineRows() {
- if ((this.Table.ChildRelations["FK_StatoMacchine_Kanban"] == null)) {
- return new StatoMacchineRow[0];
- }
- else {
- return ((StatoMacchineRow[])(base.GetChildRows(this.Table.ChildRelations["FK_StatoMacchine_Kanban"])));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public EventListRow[] GetEventListRows() {
- if ((this.Table.ChildRelations["FK_EventList_Kanban"] == null)) {
- return new EventListRow[0];
- }
- else {
- return ((EventListRow[])(base.GetChildRows(this.Table.ChildRelations["FK_EventList_Kanban"])));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DiarioDiBordoRow[] GetDiarioDiBordoRows() {
- if ((this.Table.ChildRelations["FK_DiarioDiBordo_Kanban"] == null)) {
- return new DiarioDiBordoRow[0];
- }
- else {
- return ((DiarioDiBordoRow[])(base.GetChildRows(this.Table.ChildRelations["FK_DiarioDiBordo_Kanban"])));
- }
- }
- }
-
///
///Represents strongly named DataRow class.
///
@@ -10052,22 +9460,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string MatricolaKanban {
- get {
- try {
- return ((string)(this[this.tableEventList.MatricolaKanbanColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'MatricolaKanban\' in table \'EventList\' is DBNull.", e);
- }
- }
- set {
- this[this.tableEventList.MatricolaKanbanColumn] = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Value {
@@ -10118,12 +9510,17 @@ namespace MapoDb {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow KanbanRow {
+ public string CodArticolo {
get {
- return ((KanbanRow)(this.GetParentRow(this.Table.ParentRelations["FK_EventList_Kanban"])));
+ try {
+ return ((string)(this[this.tableEventList.CodArticoloColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'EventList\' is DBNull.", e);
+ }
}
set {
- this.SetParentRow(value, this.Table.ParentRelations["FK_EventList_Kanban"]);
+ this[this.tableEventList.CodArticoloColumn] = value;
}
}
@@ -10160,18 +9557,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsMatricolaKanbanNull() {
- return this.IsNull(this.tableEventList.MatricolaKanbanColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetMatricolaKanbanNull() {
- this[this.tableEventList.MatricolaKanbanColumn] = global::System.Convert.DBNull;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsValueNull() {
@@ -10207,6 +9592,18 @@ namespace MapoDb {
public void SetpalletNull() {
this[this.tableEventList.palletColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodArticoloNull() {
+ return this.IsNull(this.tableEventList.CodArticoloColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodArticoloNull() {
+ this[this.tableEventList.CodArticoloColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -10402,38 +9799,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string MatricolaKanban {
- get {
- try {
- return ((string)(this[this.tableDiarioDiBordo.MatricolaKanbanColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'MatricolaKanban\' in table \'DiarioDiBordo\' is DBNull.", e);
- }
- }
- set {
- this[this.tableDiarioDiBordo.MatricolaKanbanColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string KanbanCode {
- get {
- try {
- return ((string)(this[this.tableDiarioDiBordo.KanbanCodeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'KanbanCode\' in table \'DiarioDiBordo\' is DBNull.", e);
- }
- }
- set {
- this[this.tableDiarioDiBordo.KanbanCodeColumn] = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public double TempoCicloBase {
@@ -10498,6 +9863,22 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodArticolo {
+ get {
+ try {
+ return ((string)(this[this.tableDiarioDiBordo.CodArticoloColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'DiarioDiBordo\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDiarioDiBordo.CodArticoloColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagraficaStatiRow AnagraficaStatiRow {
@@ -10509,17 +9890,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow KanbanRow {
- get {
- return ((KanbanRow)(this.GetParentRow(this.Table.ParentRelations["FK_DiarioDiBordo_Kanban"])));
- }
- set {
- this.SetParentRow(value, this.Table.ParentRelations["FK_DiarioDiBordo_Kanban"]);
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public MacchineRow MacchineRow {
@@ -10542,6 +9912,17 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliRow AnagArticoliRow {
+ get {
+ return ((AnagArticoliRow)(this.GetParentRow(this.Table.ParentRelations["AnagArticoli_DiarioDiBordo"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["AnagArticoli_DiarioDiBordo"]);
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFineStatoNull() {
@@ -10578,30 +9959,6 @@ namespace MapoDb {
this[this.tableDiarioDiBordo.ValueColumn] = global::System.Convert.DBNull;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsMatricolaKanbanNull() {
- return this.IsNull(this.tableDiarioDiBordo.MatricolaKanbanColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetMatricolaKanbanNull() {
- this[this.tableDiarioDiBordo.MatricolaKanbanColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsKanbanCodeNull() {
- return this.IsNull(this.tableDiarioDiBordo.KanbanCodeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetKanbanCodeNull() {
- this[this.tableDiarioDiBordo.KanbanCodeColumn] = global::System.Convert.DBNull;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsTempoCicloBaseNull() {
@@ -10649,6 +10006,18 @@ namespace MapoDb {
public void SetpalletNull() {
this[this.tableDiarioDiBordo.palletColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodArticoloNull() {
+ return this.IsNull(this.tableDiarioDiBordo.CodArticoloColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodArticoloNull() {
+ this[this.tableDiarioDiBordo.CodArticoloColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -11309,116 +10678,6 @@ namespace MapoDb {
}
}
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class Kanban2insRow : global::System.Data.DataRow {
-
- private Kanban2insDataTable tableKanban2ins;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal Kanban2insRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableKanban2ins = ((Kanban2insDataTable)(this.Table));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string MatricolaKanban {
- get {
- return ((string)(this[this.tableKanban2ins.MatricolaKanbanColumn]));
- }
- set {
- this[this.tableKanban2ins.MatricolaKanbanColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string KanbanCode {
- get {
- try {
- return ((string)(this[this.tableKanban2ins.KanbanCodeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'KanbanCode\' in table \'Kanban2ins\' is DBNull.", e);
- }
- }
- set {
- this[this.tableKanban2ins.KanbanCodeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public double TempoCicloBase {
- get {
- try {
- return ((double)(this[this.tableKanban2ins.TempoCicloBaseColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'TempoCicloBase\' in table \'Kanban2ins\' is DBNull.", e);
- }
- }
- set {
- this[this.tableKanban2ins.TempoCicloBaseColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int PzPallet {
- get {
- try {
- return ((int)(this[this.tableKanban2ins.PzPalletColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'PzPallet\' in table \'Kanban2ins\' is DBNull.", e);
- }
- }
- set {
- this[this.tableKanban2ins.PzPalletColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsKanbanCodeNull() {
- return this.IsNull(this.tableKanban2ins.KanbanCodeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetKanbanCodeNull() {
- this[this.tableKanban2ins.KanbanCodeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsTempoCicloBaseNull() {
- return this.IsNull(this.tableKanban2ins.TempoCicloBaseColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetTempoCicloBaseNull() {
- this[this.tableKanban2ins.TempoCicloBaseColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsPzPalletNull() {
- return this.IsNull(this.tableKanban2ins.PzPalletColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetPzPalletNull() {
- this[this.tableKanban2ins.PzPalletColumn] = global::System.Convert.DBNull;
- }
- }
-
///
///Represents strongly named DataRow class.
///
@@ -11542,38 +10801,6 @@ namespace MapoDb {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string kanban_A {
- get {
- try {
- return ((string)(this[this.tableDatiMacchine.kanban_AColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'kanban_A\' in table \'DatiMacchine\' is DBNull.", e);
- }
- }
- set {
- this[this.tableDatiMacchine.kanban_AColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string kanban_B {
- get {
- try {
- return ((string)(this[this.tableDatiMacchine.kanban_BColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'kanban_B\' in table \'DatiMacchine\' is DBNull.", e);
- }
- }
- set {
- this[this.tableDatiMacchine.kanban_BColumn] = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string serialPort {
@@ -11665,6 +10892,38 @@ namespace MapoDb {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodArticolo_A {
+ get {
+ try {
+ return ((string)(this[this.tableDatiMacchine.CodArticolo_AColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo_A\' in table \'DatiMacchine\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatiMacchine.CodArticolo_AColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodArticolo_B {
+ get {
+ try {
+ return ((string)(this[this.tableDatiMacchine.CodArticolo_BColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo_B\' in table \'DatiMacchine\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDatiMacchine.CodArticolo_BColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IspalletChangeNull() {
@@ -11677,30 +10936,6 @@ namespace MapoDb {
this[this.tableDatiMacchine.palletChangeColumn] = global::System.Convert.DBNull;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Iskanban_ANull() {
- return this.IsNull(this.tableDatiMacchine.kanban_AColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setkanban_ANull() {
- this[this.tableDatiMacchine.kanban_AColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Iskanban_BNull() {
- return this.IsNull(this.tableDatiMacchine.kanban_BColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setkanban_BNull() {
- this[this.tableDatiMacchine.kanban_BColumn] = global::System.Convert.DBNull;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsserialPortNull() {
@@ -11760,6 +10995,30 @@ namespace MapoDb {
public void SetinsEnabledNull() {
this[this.tableDatiMacchine.insEnabledColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodArticolo_ANull() {
+ return this.IsNull(this.tableDatiMacchine.CodArticolo_AColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodArticolo_ANull() {
+ this[this.tableDatiMacchine.CodArticolo_AColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodArticolo_BNull() {
+ return this.IsNull(this.tableDatiMacchine.CodArticolo_BColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodArticolo_BNull() {
+ this[this.tableDatiMacchine.CodArticolo_BColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -12389,6 +11648,104 @@ namespace MapoDb {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AnagArticoliRow : global::System.Data.DataRow {
+
+ private AnagArticoliDataTable tableAnagArticoli;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagArticoliRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAnagArticoli = ((AnagArticoliDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodArticolo {
+ get {
+ return ((string)(this[this.tableAnagArticoli.CodArticoloColumn]));
+ }
+ set {
+ this[this.tableAnagArticoli.CodArticoloColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescArticolo {
+ get {
+ return ((string)(this[this.tableAnagArticoli.DescArticoloColumn]));
+ }
+ set {
+ this[this.tableAnagArticoli.DescArticoloColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CurrRev {
+ get {
+ return ((string)(this[this.tableAnagArticoli.CurrRevColumn]));
+ }
+ set {
+ this[this.tableAnagArticoli.CurrRevColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string ProdRev {
+ get {
+ return ((string)(this[this.tableAnagArticoli.ProdRevColumn]));
+ }
+ set {
+ this[this.tableAnagArticoli.ProdRevColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool FlagIsNew {
+ get {
+ try {
+ return ((bool)(this[this.tableAnagArticoli.FlagIsNewColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'FlagIsNew\' in table \'AnagArticoli\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagArticoli.FlagIsNewColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFlagIsNewNull() {
+ return this.IsNull(this.tableAnagArticoli.FlagIsNewColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFlagIsNewNull() {
+ this[this.tableAnagArticoli.FlagIsNewColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DiarioDiBordoRow[] GetDiarioDiBordoRows() {
+ if ((this.Table.ChildRelations["AnagArticoli_DiarioDiBordo"] == null)) {
+ return new DiarioDiBordoRow[0];
+ }
+ else {
+ return ((DiarioDiBordoRow[])(base.GetChildRows(this.Table.ChildRelations["AnagArticoli_DiarioDiBordo"])));
+ }
+ }
+ }
+
///
///Row event argument class
///
@@ -12593,40 +11950,6 @@ namespace MapoDb {
}
}
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public class KanbanRowChangeEvent : global::System.EventArgs {
-
- private KanbanRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRowChangeEvent(KanbanRow row, global::System.Data.DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
-
///
///Row event argument class
///
@@ -12933,40 +12256,6 @@ namespace MapoDb {
}
}
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public class Kanban2insRowChangeEvent : global::System.EventArgs {
-
- private Kanban2insRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insRowChangeEvent(Kanban2insRow row, global::System.Data.DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
-
///
///Row event argument class
///
@@ -13204,6 +12493,40 @@ namespace MapoDb {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class AnagArticoliRowChangeEvent : global::System.EventArgs {
+
+ private AnagArticoliRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliRowChangeEvent(AnagArticoliRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace MapoDb.DS_applicazioneTableAdapters {
@@ -14766,16 +14089,15 @@ namespace MapoDb.DS_applicazioneTableAdapters {
tableMapping.ColumnMappings.Add("IdxStato", "IdxStato");
tableMapping.ColumnMappings.Add("InizioStato", "InizioStato");
tableMapping.ColumnMappings.Add("Value", "Value");
- tableMapping.ColumnMappings.Add("MatricolaKanban", "MatricolaKanban");
- tableMapping.ColumnMappings.Add("KanbanCode", "KanbanCode");
tableMapping.ColumnMappings.Add("TempoCicloBase", "TempoCicloBase");
tableMapping.ColumnMappings.Add("PzPalletProd", "PzPalletProd");
tableMapping.ColumnMappings.Add("MatrOpr", "MatrOpr");
tableMapping.ColumnMappings.Add("pallet", "pallet");
+ tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
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].[StatoMacchine] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [StatoMacchine] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
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, "", "", ""));
@@ -14783,10 +14105,8 @@ namespace MapoDb.DS_applicazioneTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Value", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatricolaKanban", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -14797,34 +14117,28 @@ namespace MapoDb.DS_applicazioneTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pallet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pallet", 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].[StatoMacchine] ([IdxMacchina], [IdxStato], [InizioStato], [Value], [MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @IdxStato, @InizioStato, @Value, @MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
- SELECT IdxMacchina, IdxStato, InizioStato, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
- ";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [StatoMacchine] ([IdxMacchina], [IdxStato], [InizioStato], [Value], [CodArticolo], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @IdxStato, @InizioStato, @Value, @CodArticolo, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
+SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)";
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.NVarChar, 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("@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("@InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pallet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pallet", 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].[StatoMacchine] SET [IdxMacchina] = @IdxMacchina, [IdxStato] = @IdxStato, [InizioStato] = @InizioStato, [Value] = @Value, [MatricolaKanban] = @MatricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [PzPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
- SELECT IdxMacchina, IdxStato, InizioStato, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
- ";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [StatoMacchine] SET [IdxMacchina] = @IdxMacchina, [IdxStato] = @IdxStato, [InizioStato] = @InizioStato, [Value] = @Value, [CodArticolo] = @CodArticolo, [TempoCicloBase] = @TempoCicloBase, [PzPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
+SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)";
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.NVarChar, 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("@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("@InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -14835,10 +14149,8 @@ namespace MapoDb.DS_applicazioneTableAdapters {
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Value", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatricolaKanban", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -14862,13 +14174,14 @@ namespace MapoDb.DS_applicazioneTableAdapters {
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 * FROM dbo.StatoMacchine";
+ this._commandCollection[0].CommandText = "SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, Pz" +
+ "PalletProd, MatrOpr, pallet FROM StatoMacchine";
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 IdxMacchina, IdxStato, InizioStato, KanbanCode, MatrOpr, MatricolaKanban, " +
- "PzPalletProd, TempoCicloBase, Value, pallet FROM StatoMacchine WHERE (IdxMacchin" +
- "a = @IdxMacchina)";
+ this._commandCollection[1].CommandText = "SELECT CodArticolo, IdxMacchina, IdxStato, InizioStato, MatrOpr, PzPalletProd, Te" +
+ "mpoCicloBase, Value, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina" +
+ ")";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
@@ -14961,7 +14274,7 @@ namespace MapoDb.DS_applicazioneTableAdapters {
[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(string Original_IdxMacchina, int Original_IdxStato, global::System.Nullable Original_InizioStato, string Original_Value, string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPalletProd, global::System.Nullable Original_MatrOpr, string Original_pallet) {
+ public virtual int Delete(string Original_IdxMacchina, int Original_IdxStato, global::System.Nullable Original_InizioStato, string Original_Value, string Original_CodArticolo, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPalletProd, global::System.Nullable Original_MatrOpr, string Original_pallet) {
if ((Original_IdxMacchina == null)) {
throw new global::System.ArgumentNullException("Original_IdxMacchina");
}
@@ -14985,53 +14298,45 @@ namespace MapoDb.DS_applicazioneTableAdapters {
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Value));
}
- if ((Original_MatricolaKanban == null)) {
+ if ((Original_CodArticolo == null)) {
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_MatricolaKanban));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodArticolo));
}
- if ((Original_KanbanCode == null)) {
+ if ((Original_TempoCicloBase.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((double)(Original_TempoCicloBase.Value));
+ }
+ else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
}
- else {
- this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_KanbanCode));
- }
- if ((Original_TempoCicloBase.HasValue == true)) {
+ if ((Original_PzPalletProd.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[11].Value = ((double)(Original_TempoCicloBase.Value));
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((int)(Original_PzPalletProd.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value;
}
- if ((Original_PzPalletProd.HasValue == true)) {
+ if ((Original_MatrOpr.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_PzPalletProd.Value));
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_MatrOpr.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value;
}
- if ((Original_MatrOpr.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[15].Value = ((int)(Original_MatrOpr.Value));
- }
- else {
+ if ((Original_pallet == null)) {
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
}
- if ((Original_pallet == null)) {
- this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
- }
else {
- this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_pallet));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_pallet));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -15053,7 +14358,7 @@ namespace MapoDb.DS_applicazioneTableAdapters {
[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(string IdxMacchina, int IdxStato, global::System.Nullable InizioStato, string Value, string MatricolaKanban, string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPalletProd, global::System.Nullable MatrOpr, string pallet) {
+ public virtual int Insert(string IdxMacchina, int IdxStato, global::System.Nullable InizioStato, string Value, string CodArticolo, global::System.Nullable TempoCicloBase, global::System.Nullable PzPalletProd, global::System.Nullable MatrOpr, string pallet) {
if ((IdxMacchina == null)) {
throw new global::System.ArgumentNullException("IdxMacchina");
}
@@ -15073,41 +14378,35 @@ namespace MapoDb.DS_applicazioneTableAdapters {
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Value));
}
- if ((MatricolaKanban == null)) {
+ if ((CodArticolo == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[4].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[5].Value = ((string)(KanbanCode));
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodArticolo));
}
if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[6].Value = ((double)(TempoCicloBase.Value));
+ this.Adapter.InsertCommand.Parameters[5].Value = ((double)(TempoCicloBase.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((PzPalletProd.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((int)(PzPalletProd.Value));
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((PzPalletProd.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[7].Value = ((int)(PzPalletProd.Value));
+ if ((MatrOpr.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((int)(MatrOpr.Value));
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
}
- if ((MatrOpr.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[8].Value = ((int)(MatrOpr.Value));
- }
- else {
+ if ((pallet == null)) {
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
}
- if ((pallet == null)) {
- this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
else {
- this.Adapter.InsertCommand.Parameters[9].Value = ((string)(pallet));
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(pallet));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -15134,8 +14433,7 @@ namespace MapoDb.DS_applicazioneTableAdapters {
int IdxStato,
global::System.Nullable InizioStato,
string Value,
- string MatricolaKanban,
- string KanbanCode,
+ string CodArticolo,
global::System.Nullable TempoCicloBase,
global::System.Nullable PzPalletProd,
global::System.Nullable MatrOpr,
@@ -15144,8 +14442,7 @@ namespace MapoDb.DS_applicazioneTableAdapters {
int Original_IdxStato,
global::System.Nullable Original_InizioStato,
string Original_Value,
- string Original_MatricolaKanban,
- string Original_KanbanCode,
+ string Original_CodArticolo,
global::System.Nullable Original_TempoCicloBase,
global::System.Nullable Original_PzPalletProd,
global::System.Nullable Original_MatrOpr,
@@ -15169,112 +14466,98 @@ namespace MapoDb.DS_applicazioneTableAdapters {
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Value));
}
- if ((MatricolaKanban == null)) {
+ if ((CodArticolo == null)) {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(KanbanCode));
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodArticolo));
}
if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(TempoCicloBase.Value));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(TempoCicloBase.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((PzPalletProd.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(PzPalletProd.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
}
- if ((PzPalletProd.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(PzPalletProd.Value));
+ if ((MatrOpr.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(MatrOpr.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
}
- if ((MatrOpr.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(MatrOpr.Value));
- }
- else {
+ if ((pallet == null)) {
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
- if ((pallet == null)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(pallet));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(pallet));
}
if ((Original_IdxMacchina == null)) {
throw new global::System.ArgumentNullException("Original_IdxMacchina");
}
else {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_IdxMacchina));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_IdxMacchina));
}
- this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_IdxStato));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_IdxStato));
if ((Original_InizioStato.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_InizioStato.Value));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(Original_InizioStato.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
if ((Original_Value == null)) {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_Value));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_Value));
}
- if ((Original_MatricolaKanban == null)) {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ if ((Original_CodArticolo == null)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_MatricolaKanban));
- }
- if ((Original_KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_KanbanCode));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodArticolo));
}
if ((Original_TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[21].Value = ((double)(Original_TempoCicloBase.Value));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(Original_TempoCicloBase.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
if ((Original_PzPalletProd.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_PzPalletProd.Value));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_PzPalletProd.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
}
if ((Original_MatrOpr.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_MatrOpr.Value));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_MatrOpr.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
if ((Original_pallet == null)) {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_pallet));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_pallet));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -15300,8 +14583,7 @@ namespace MapoDb.DS_applicazioneTableAdapters {
int IdxStato,
global::System.Nullable InizioStato,
string Value,
- string MatricolaKanban,
- string KanbanCode,
+ string CodArticolo,
global::System.Nullable TempoCicloBase,
global::System.Nullable PzPalletProd,
global::System.Nullable MatrOpr,
@@ -15310,13 +14592,12 @@ namespace MapoDb.DS_applicazioneTableAdapters {
int Original_IdxStato,
global::System.Nullable Original_InizioStato,
string Original_Value,
- string Original_MatricolaKanban,
- string Original_KanbanCode,
+ string Original_CodArticolo,
global::System.Nullable Original_TempoCicloBase,
global::System.Nullable Original_PzPalletProd,
global::System.Nullable Original_MatrOpr,
string Original_pallet) {
- return this.Update(Original_IdxMacchina, IdxStato, InizioStato, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet, Original_IdxMacchina, Original_IdxStato, Original_InizioStato, Original_Value, Original_MatricolaKanban, Original_KanbanCode, Original_TempoCicloBase, Original_PzPalletProd, Original_MatrOpr, Original_pallet);
+ return this.Update(Original_IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet, Original_IdxMacchina, Original_IdxStato, Original_InizioStato, Original_Value, Original_CodArticolo, Original_TempoCicloBase, Original_PzPalletProd, Original_MatrOpr, Original_pallet);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -15741,508 +15022,6 @@ namespace MapoDb.DS_applicazioneTableAdapters {
}
}
- ///
- ///Represents the connection and commands used to retrieve and save data.
- ///
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.ComponentModel.DataObjectAttribute(true)]
- [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
- ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public partial class KanbanTableAdapter : global::System.ComponentModel.Component {
-
- private global::System.Data.SqlClient.SqlDataAdapter _adapter;
-
- private global::System.Data.SqlClient.SqlConnection _connection;
-
- private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
-
- private bool _clearBeforeFill;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public KanbanTableAdapter() {
- this.ClearBeforeFill = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private global::System.Data.SqlClient.SqlDataAdapter Adapter {
- get {
- if ((this._adapter == null)) {
- this.InitAdapter();
- }
- return this._adapter;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal global::System.Data.SqlClient.SqlConnection Connection {
- get {
- if ((this._connection == null)) {
- this.InitConnection();
- }
- return this._connection;
- }
- set {
- this._connection = value;
- if ((this.Adapter.InsertCommand != null)) {
- this.Adapter.InsertCommand.Connection = value;
- }
- if ((this.Adapter.DeleteCommand != null)) {
- this.Adapter.DeleteCommand.Connection = value;
- }
- if ((this.Adapter.UpdateCommand != null)) {
- this.Adapter.UpdateCommand.Connection = value;
- }
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- if ((this.CommandCollection[i] != null)) {
- ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
- }
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
- get {
- if ((this._commandCollection == null)) {
- this.InitCommandCollection();
- }
- return this._commandCollection;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool ClearBeforeFill {
- get {
- return this._clearBeforeFill;
- }
- set {
- this._clearBeforeFill = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter() {
- this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
- global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
- tableMapping.SourceTable = "Table";
- tableMapping.DataSetTable = "Kanban";
- tableMapping.ColumnMappings.Add("MatricolaKanban", "MatricolaKanban");
- tableMapping.ColumnMappings.Add("KanbanCode", "KanbanCode");
- tableMapping.ColumnMappings.Add("TempoCicloBase", "TempoCicloBase");
- tableMapping.ColumnMappings.Add("PzPallet", "PzPallet");
- tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
- 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].[Kanban] WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)))";
- this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", 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].[Kanban] ([MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPallet], [CodArticolo]) VALUES (@MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPallet, @CodArticolo);
-SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM Kanban WHERE (MatricolaKanban = @MatricolaKanban)";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", 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].[Kanban] SET [MatricolaKanban] = @MatricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [PzPallet] = @PzPallet, [CodArticolo] = @CodArticolo WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)));
-SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM Kanban WHERE (MatricolaKanban = @MatricolaKanban)";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitConnection() {
- this._connection = new global::System.Data.SqlClient.SqlConnection();
- this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString;
- }
-
- [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[4];
- this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT *\r\n FROM dbo.Kanban";
- 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 *\r\n FROM dbo.Kanban\r\nwhere CodArticolo = @CodArticolo ";
- this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", 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 MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo\r" +
- "\nFROM Kanban\r\nWHERE (MatricolaKanban = @codice)";
- this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codice", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[3].Connection = this.Connection;
- this._commandCollection[3].CommandText = "INSERT INTO Kanban\r\n (MatricolaKanban, KanbanCode, TempoC" +
- "icloBase, PzPallet, CodArticolo)\r\nVALUES (@nuovoCodice,@nuovoCodice, 1, 1" +
- ",@nuovoCodice)";
- this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nuovoCodice", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- }
-
- [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.Fill, true)]
- public virtual int Fill(DS_applicazione.KanbanDataTable dataTable) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual DS_applicazione.KanbanDataTable GetData() {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- DS_applicazione.KanbanDataTable dataTable = new DS_applicazione.KanbanDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_applicazione.KanbanDataTable getByCodArt(string CodArticolo) {
- this.Adapter.SelectCommand = this.CommandCollection[1];
- if ((CodArticolo == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(CodArticolo));
- }
- DS_applicazione.KanbanDataTable dataTable = new DS_applicazione.KanbanDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_applicazione.KanbanDataTable GetDataByKanbanMatrCode(string codice) {
- this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((codice == null)) {
- throw new global::System.ArgumentNullException("codice");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(codice));
- }
- DS_applicazione.KanbanDataTable dataTable = new DS_applicazione.KanbanDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DS_applicazione.KanbanDataTable 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, "Kanban");
- }
-
- [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(string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPallet, string Original_CodArticolo) {
- if ((Original_MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("Original_MatricolaKanban");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_MatricolaKanban));
- }
- if ((Original_KanbanCode == null)) {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_KanbanCode));
- }
- if ((Original_TempoCicloBase.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_TempoCicloBase.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- if ((Original_PzPallet.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_PzPallet.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- if ((Original_CodArticolo == 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_CodArticolo));
- }
- 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(string MatricolaKanban, string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPallet, string CodArticolo) {
- if ((MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("MatricolaKanban");
- }
- else {
- this.Adapter.InsertCommand.Parameters[0].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[1].Value = ((string)(KanbanCode));
- }
- if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[2].Value = ((double)(TempoCicloBase.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- if ((PzPallet.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[3].Value = ((int)(PzPallet.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- if ((CodArticolo == null)) {
- this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodArticolo));
- }
- global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
- if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- this.Adapter.InsertCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.InsertCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string MatricolaKanban, string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPallet, string CodArticolo, string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPallet, string Original_CodArticolo) {
- if ((MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("MatricolaKanban");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(KanbanCode));
- }
- if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(TempoCicloBase.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- if ((PzPallet.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(PzPallet.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- if ((CodArticolo == null)) {
- this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodArticolo));
- }
- if ((Original_MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("Original_MatricolaKanban");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_MatricolaKanban));
- }
- if ((Original_KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_KanbanCode));
- }
- if ((Original_TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[9].Value = ((double)(Original_TempoCicloBase.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
- if ((Original_PzPallet.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_PzPallet.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
- if ((Original_CodArticolo == null)) {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodArticolo));
- }
- 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();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPallet, string CodArticolo, string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPallet, string Original_CodArticolo) {
- return this.Update(Original_MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo, Original_MatricolaKanban, Original_KanbanCode, Original_TempoCicloBase, Original_PzPallet, Original_CodArticolo);
- }
-
- [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, false)]
- public virtual int InsertUndefinedKanban(string nuovoCodice) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((nuovoCodice == null)) {
- command.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- command.Parameters[0].Value = ((string)(nuovoCodice));
- }
- global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- command.Connection.Open();
- }
- int returnValue;
- try {
- returnValue = command.ExecuteNonQuery();
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- command.Connection.Close();
- }
- }
- return returnValue;
- }
- }
-
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -16339,20 +15118,20 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
tableMapping.ColumnMappings.Add("InizioStato", "InizioStato");
tableMapping.ColumnMappings.Add("IdxTipo", "IdxTipo");
- tableMapping.ColumnMappings.Add("MatricolaKanban", "MatricolaKanban");
tableMapping.ColumnMappings.Add("Value", "Value");
tableMapping.ColumnMappings.Add("MatrOpr", "MatrOpr");
tableMapping.ColumnMappings.Add("pallet", "pallet");
+ tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
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].[EventList] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EventList] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatricolaKanban", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Value", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -16361,37 +15140,33 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pallet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pallet", 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].[EventList] ([IdxMacchina], [InizioStato], [IdxTipo], [MatricolaKanban], [Value], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @IdxTipo, @MatricolaKanban, @Value, @MatrOpr, @pallet);
- SELECT IdxMacchina, InizioStato, IdxTipo, MatricolaKanban, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)
- ";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [EventList] ([IdxMacchina], [InizioStato], [IdxTipo], [CodArticolo], [Value], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @IdxTipo, @CodArticolo, @Value, @MatrOpr, @pallet);
+SELECT IdxMacchina, InizioStato, IdxTipo, CodArticolo, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)";
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.NVarChar, 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("@InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", 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.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pallet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pallet", 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].[EventList] SET [IdxMacchina] = @IdxMacchina, [InizioStato] = @InizioStato, [IdxTipo] = @IdxTipo, [MatricolaKanban] = @MatricolaKanban, [Value] = @Value, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
- SELECT IdxMacchina, InizioStato, IdxTipo, MatricolaKanban, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)
- ";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [EventList] SET [IdxMacchina] = @IdxMacchina, [InizioStato] = @InizioStato, [IdxTipo] = @IdxTipo, [CodArticolo] = @CodArticolo, [Value] = @Value, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
+SELECT IdxMacchina, InizioStato, IdxTipo, CodArticolo, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)";
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.NVarChar, 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("@InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", 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("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pallet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pallet", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxTipo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxTipo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatricolaKanban", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Value", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -16413,7 +15188,8 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT * FROM dbo.EventList";
+ this._commandCollection[0].CommandText = "SELECT IdxMacchina, InizioStato, IdxTipo, CodArticolo, Value, MatrOpr, pallet FRO" +
+ "M EventList";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -16659,7 +15435,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
[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(string Original_IdxMacchina, System.DateTime Original_InizioStato, int Original_IdxTipo, string Original_MatricolaKanban, string Original_Value, global::System.Nullable Original_MatrOpr, string Original_pallet) {
+ public virtual int Delete(string Original_IdxMacchina, System.DateTime Original_InizioStato, int Original_IdxTipo, string Original_CodArticolo, string Original_Value, global::System.Nullable Original_MatrOpr, string Original_pallet) {
if ((Original_IdxMacchina == null)) {
throw new global::System.ArgumentNullException("Original_IdxMacchina");
}
@@ -16668,13 +15444,13 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
}
this.Adapter.DeleteCommand.Parameters[1].Value = ((System.DateTime)(Original_InizioStato));
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_IdxTipo));
- if ((Original_MatricolaKanban == null)) {
+ if ((Original_CodArticolo == null)) {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_MatricolaKanban));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodArticolo));
}
if ((Original_Value == null)) {
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
@@ -16720,7 +15496,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
[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(string IdxMacchina, System.DateTime InizioStato, int IdxTipo, string MatricolaKanban, string Value, global::System.Nullable MatrOpr, string pallet) {
+ public virtual int Insert(string IdxMacchina, System.DateTime InizioStato, int IdxTipo, string CodArticolo, string Value, global::System.Nullable MatrOpr, string pallet) {
if ((IdxMacchina == null)) {
throw new global::System.ArgumentNullException("IdxMacchina");
}
@@ -16729,11 +15505,11 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
}
this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(InizioStato));
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IdxTipo));
- if ((MatricolaKanban == null)) {
+ if ((CodArticolo == null)) {
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[3].Value = ((string)(MatricolaKanban));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodArticolo));
}
if ((Value == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
@@ -16773,7 +15549,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string IdxMacchina, System.DateTime InizioStato, int IdxTipo, string MatricolaKanban, string Value, global::System.Nullable MatrOpr, string pallet, string Original_IdxMacchina, System.DateTime Original_InizioStato, int Original_IdxTipo, string Original_MatricolaKanban, string Original_Value, global::System.Nullable Original_MatrOpr, string Original_pallet) {
+ public virtual int Update(string IdxMacchina, System.DateTime InizioStato, int IdxTipo, string CodArticolo, string Value, global::System.Nullable MatrOpr, string pallet, string Original_IdxMacchina, System.DateTime Original_InizioStato, int Original_IdxTipo, string Original_CodArticolo, string Original_Value, global::System.Nullable Original_MatrOpr, string Original_pallet) {
if ((IdxMacchina == null)) {
throw new global::System.ArgumentNullException("IdxMacchina");
}
@@ -16782,11 +15558,11 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(InizioStato));
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IdxTipo));
- if ((MatricolaKanban == null)) {
+ if ((CodArticolo == null)) {
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(MatricolaKanban));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodArticolo));
}
if ((Value == null)) {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
@@ -16814,13 +15590,13 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(Original_InizioStato));
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_IdxTipo));
- if ((Original_MatricolaKanban == null)) {
+ if ((Original_CodArticolo == null)) {
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_MatricolaKanban));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_CodArticolo));
}
if ((Original_Value == null)) {
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
@@ -16866,8 +15642,8 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string MatricolaKanban, string Value, global::System.Nullable MatrOpr, string pallet, string Original_IdxMacchina, System.DateTime Original_InizioStato, int Original_IdxTipo, string Original_MatricolaKanban, string Original_Value, global::System.Nullable Original_MatrOpr, string Original_pallet) {
- return this.Update(Original_IdxMacchina, Original_InizioStato, Original_IdxTipo, MatricolaKanban, Value, MatrOpr, pallet, Original_IdxMacchina, Original_InizioStato, Original_IdxTipo, Original_MatricolaKanban, Original_Value, Original_MatrOpr, Original_pallet);
+ public virtual int Update(string CodArticolo, string Value, global::System.Nullable MatrOpr, string pallet, string Original_IdxMacchina, System.DateTime Original_InizioStato, int Original_IdxTipo, string Original_CodArticolo, string Original_Value, global::System.Nullable Original_MatrOpr, string Original_pallet) {
+ return this.Update(Original_IdxMacchina, Original_InizioStato, Original_IdxTipo, CodArticolo, Value, MatrOpr, pallet, Original_IdxMacchina, Original_InizioStato, Original_IdxTipo, Original_CodArticolo, Original_Value, Original_MatrOpr, Original_pallet);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -17505,16 +16281,15 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
tableMapping.ColumnMappings.Add("IdxStato", "IdxStato");
tableMapping.ColumnMappings.Add("DurataMinuti", "DurataMinuti");
tableMapping.ColumnMappings.Add("Value", "Value");
- tableMapping.ColumnMappings.Add("MatricolaKanban", "MatricolaKanban");
- tableMapping.ColumnMappings.Add("KanbanCode", "KanbanCode");
tableMapping.ColumnMappings.Add("TempoCicloBase", "TempoCicloBase");
tableMapping.ColumnMappings.Add("PzPalletProd", "PzPalletProd");
tableMapping.ColumnMappings.Add("MatrOpr", "MatrOpr");
tableMapping.ColumnMappings.Add("pallet", "pallet");
+ tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
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].[DiarioDiBordo] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Original_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti = 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [DiarioDiBordo] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Original_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti = 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -17525,10 +16300,8 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DurataMinuti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DurataMinuti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Value", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatricolaKanban", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -17539,10 +16312,8 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pallet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pallet", 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].[DiarioDiBordo] ([IdxMacchina], [InizioStato], [FineStato], [IdxStato], [DurataMinuti], [Value], [MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @FineStato, @IdxStato, @DurataMinuti, @Value, @MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
- SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMacchina = @IdxMacchina) AND (InizioStato = @InizioStato)
- ";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [DiarioDiBordo] ([IdxMacchina], [InizioStato], [FineStato], [IdxStato], [DurataMinuti], [Value], [CodArticolo], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @FineStato, @IdxStato, @DurataMinuti, @Value, @CodArticolo, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
+SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMacchina = @IdxMacchina) AND (InizioStato = @InizioStato)";
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.NVarChar, 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("@InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17550,35 +16321,15 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
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("@DurataMinuti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DurataMinuti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pallet", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pallet", 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 = "\r\n UPDATE [dbo].[DiarioDiBordo] SET [IdxMacchina] = @IdxMacc" +
- "hina, [InizioStato] = @InizioStato, [FineStato] = @FineStato, [IdxStato] = @IdxS" +
- "tato, [DurataMinuti] = @DurataMinuti, [Value] = @Value, [MatricolaKanban] = @Mat" +
- "ricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [P" +
- "zPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([" +
- "IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato" +
- ") AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Origin" +
- "al_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti " +
- "= 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AN" +
- "D ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND (" +
- "(@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban" +
- "] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS" +
- " NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = " +
- "1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)" +
- ") AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] " +
- "= @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR (" +
- "[MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) O" +
- "R ([pallet] = @Original_pallet)));\r\n SELECT IdxMacchina, In" +
- "izioStato, FineStato, IdxStato, DurataMinuti, Value, MatricolaKanban, KanbanCode" +
- ", TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMac" +
- "china = @IdxMacchina) AND (InizioStato = @InizioStato)\r\n ";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [DiarioDiBordo] SET [IdxMacchina] = @IdxMacchina, [InizioStato] = @InizioStato, [FineStato] = @FineStato, [IdxStato] = @IdxStato, [DurataMinuti] = @DurataMinuti, [Value] = @Value, [CodArticolo] = @CodArticolo, [TempoCicloBase] = @TempoCicloBase, [PzPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Original_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti = 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
+SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMacchina = @IdxMacchina) AND (InizioStato = @InizioStato)";
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.NVarChar, 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("@InizioStato", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InizioStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17586,8 +16337,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
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("@DurataMinuti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DurataMinuti", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17601,10 +16351,8 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DurataMinuti", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DurataMinuti", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Value", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Value", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Value", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MatricolaKanban", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPalletProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPalletProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -17628,7 +16376,8 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[21];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT * FROM dbo.DiarioDiBordo";
+ this._commandCollection[0].CommandText = "SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, CodArt" +
+ "icolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -18117,7 +16866,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
[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(string Original_IdxMacchina, System.DateTime Original_InizioStato, global::System.Nullable Original_FineStato, int Original_IdxStato, global::System.Nullable Original_DurataMinuti, string Original_Value, string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPalletProd, global::System.Nullable Original_MatrOpr, string Original_pallet) {
+ public virtual int Delete(string Original_IdxMacchina, System.DateTime Original_InizioStato, global::System.Nullable Original_FineStato, int Original_IdxStato, global::System.Nullable Original_DurataMinuti, string Original_Value, string Original_CodArticolo, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPalletProd, global::System.Nullable Original_MatrOpr, string Original_pallet) {
if ((Original_IdxMacchina == null)) {
throw new global::System.ArgumentNullException("Original_IdxMacchina");
}
@@ -18150,53 +16899,45 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Value));
}
- if ((Original_MatricolaKanban == null)) {
+ if ((Original_CodArticolo == null)) {
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_MatricolaKanban));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_CodArticolo));
}
- if ((Original_KanbanCode == null)) {
+ if ((Original_TempoCicloBase.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((double)(Original_TempoCicloBase.Value));
+ }
+ else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
}
- else {
- this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_KanbanCode));
- }
- if ((Original_TempoCicloBase.HasValue == true)) {
+ if ((Original_PzPalletProd.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[14].Value = ((double)(Original_TempoCicloBase.Value));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_PzPalletProd.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
}
- if ((Original_PzPalletProd.HasValue == true)) {
+ if ((Original_MatrOpr.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[16].Value = ((int)(Original_PzPalletProd.Value));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((int)(Original_MatrOpr.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
}
- if ((Original_MatrOpr.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_MatrOpr.Value));
- }
- else {
+ if ((Original_pallet == null)) {
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
}
- if ((Original_pallet == null)) {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
- }
else {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_pallet));
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_pallet));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -18218,7 +16959,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
[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(string IdxMacchina, System.DateTime InizioStato, global::System.Nullable FineStato, int IdxStato, global::System.Nullable DurataMinuti, string Value, string MatricolaKanban, string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPalletProd, global::System.Nullable MatrOpr, string pallet) {
+ public virtual int Insert(string IdxMacchina, System.DateTime InizioStato, global::System.Nullable FineStato, int IdxStato, global::System.Nullable DurataMinuti, string Value, string CodArticolo, global::System.Nullable TempoCicloBase, global::System.Nullable PzPalletProd, global::System.Nullable MatrOpr, string pallet) {
if ((IdxMacchina == null)) {
throw new global::System.ArgumentNullException("IdxMacchina");
}
@@ -18245,41 +16986,35 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Value));
}
- if ((MatricolaKanban == null)) {
+ if ((CodArticolo == null)) {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[6].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[7].Value = ((string)(KanbanCode));
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodArticolo));
}
if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[8].Value = ((double)(TempoCicloBase.Value));
+ this.Adapter.InsertCommand.Parameters[7].Value = ((double)(TempoCicloBase.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((PzPalletProd.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((int)(PzPalletProd.Value));
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
}
- if ((PzPalletProd.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[9].Value = ((int)(PzPalletProd.Value));
+ if ((MatrOpr.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((int)(MatrOpr.Value));
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
}
- if ((MatrOpr.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[10].Value = ((int)(MatrOpr.Value));
- }
- else {
+ if ((pallet == null)) {
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
}
- if ((pallet == null)) {
- this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
else {
- this.Adapter.InsertCommand.Parameters[11].Value = ((string)(pallet));
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(pallet));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -18308,8 +17043,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
int IdxStato,
global::System.Nullable DurataMinuti,
string Value,
- string MatricolaKanban,
- string KanbanCode,
+ string CodArticolo,
global::System.Nullable TempoCicloBase,
global::System.Nullable PzPalletProd,
global::System.Nullable MatrOpr,
@@ -18320,8 +17054,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
int Original_IdxStato,
global::System.Nullable Original_DurataMinuti,
string Original_Value,
- string Original_MatricolaKanban,
- string Original_KanbanCode,
+ string Original_CodArticolo,
global::System.Nullable Original_TempoCicloBase,
global::System.Nullable Original_PzPalletProd,
global::System.Nullable Original_MatrOpr,
@@ -18352,121 +17085,107 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Value));
}
- if ((MatricolaKanban == null)) {
+ if ((CodArticolo == null)) {
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(KanbanCode));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodArticolo));
}
if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(TempoCicloBase.Value));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(TempoCicloBase.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((PzPalletProd.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(PzPalletProd.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
- if ((PzPalletProd.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(PzPalletProd.Value));
+ if ((MatrOpr.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(MatrOpr.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
}
- if ((MatrOpr.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(MatrOpr.Value));
- }
- else {
+ if ((pallet == null)) {
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
}
- if ((pallet == null)) {
- this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
else {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(pallet));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(pallet));
}
if ((Original_IdxMacchina == null)) {
throw new global::System.ArgumentNullException("Original_IdxMacchina");
}
else {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_IdxMacchina));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_IdxMacchina));
}
- this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_InizioStato));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(Original_InizioStato));
if ((Original_FineStato.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_FineStato.Value));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((System.DateTime)(Original_FineStato.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
}
- this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_IdxStato));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_IdxStato));
if ((Original_DurataMinuti.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(Original_DurataMinuti.Value));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(Original_DurataMinuti.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
}
if ((Original_Value == null)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_Value));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Value));
}
- if ((Original_MatricolaKanban == null)) {
- this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
+ if ((Original_CodArticolo == null)) {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_MatricolaKanban));
- }
- if ((Original_KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_KanbanCode));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodArticolo));
}
if ((Original_TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[26].Value = ((double)(Original_TempoCicloBase.Value));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((double)(Original_TempoCicloBase.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
}
if ((Original_PzPalletProd.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(Original_PzPalletProd.Value));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_PzPalletProd.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
}
if ((Original_MatrOpr.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_MatrOpr.Value));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_MatrOpr.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
}
if ((Original_pallet == null)) {
- this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_pallet));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_pallet));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -18493,8 +17212,7 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
int IdxStato,
global::System.Nullable DurataMinuti,
string Value,
- string MatricolaKanban,
- string KanbanCode,
+ string CodArticolo,
global::System.Nullable TempoCicloBase,
global::System.Nullable PzPalletProd,
global::System.Nullable MatrOpr,
@@ -18505,13 +17223,12 @@ SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM K
int Original_IdxStato,
global::System.Nullable Original_DurataMinuti,
string Original_Value,
- string Original_MatricolaKanban,
- string Original_KanbanCode,
+ string Original_CodArticolo,
global::System.Nullable Original_TempoCicloBase,
global::System.Nullable Original_PzPalletProd,
global::System.Nullable Original_MatrOpr,
string Original_pallet) {
- return this.Update(Original_IdxMacchina, Original_InizioStato, FineStato, IdxStato, DurataMinuti, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet, Original_IdxMacchina, Original_InizioStato, Original_FineStato, Original_IdxStato, Original_DurataMinuti, Original_Value, Original_MatricolaKanban, Original_KanbanCode, Original_TempoCicloBase, Original_PzPalletProd, Original_MatrOpr, Original_pallet);
+ return this.Update(Original_IdxMacchina, Original_InizioStato, FineStato, IdxStato, DurataMinuti, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet, Original_IdxMacchina, Original_InizioStato, Original_FineStato, Original_IdxStato, Original_DurataMinuti, Original_Value, Original_CodArticolo, Original_TempoCicloBase, Original_PzPalletProd, Original_MatrOpr, Original_pallet);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -21342,450 +20059,6 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
}
}
- ///
- ///Represents the connection and commands used to retrieve and save data.
- ///
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.ComponentModel.DataObjectAttribute(true)]
- [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
- ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public partial class Kanban2insTableAdapter : global::System.ComponentModel.Component {
-
- private global::System.Data.SqlClient.SqlDataAdapter _adapter;
-
- private global::System.Data.SqlClient.SqlConnection _connection;
-
- private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
-
- private bool _clearBeforeFill;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public Kanban2insTableAdapter() {
- this.ClearBeforeFill = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private global::System.Data.SqlClient.SqlDataAdapter Adapter {
- get {
- if ((this._adapter == null)) {
- this.InitAdapter();
- }
- return this._adapter;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal global::System.Data.SqlClient.SqlConnection Connection {
- get {
- if ((this._connection == null)) {
- this.InitConnection();
- }
- return this._connection;
- }
- set {
- this._connection = value;
- if ((this.Adapter.InsertCommand != null)) {
- this.Adapter.InsertCommand.Connection = value;
- }
- if ((this.Adapter.DeleteCommand != null)) {
- this.Adapter.DeleteCommand.Connection = value;
- }
- if ((this.Adapter.UpdateCommand != null)) {
- this.Adapter.UpdateCommand.Connection = value;
- }
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- if ((this.CommandCollection[i] != null)) {
- ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
- }
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
- get {
- if ((this._commandCollection == null)) {
- this.InitCommandCollection();
- }
- return this._commandCollection;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool ClearBeforeFill {
- get {
- return this._clearBeforeFill;
- }
- set {
- this._clearBeforeFill = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitAdapter() {
- this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
- global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
- tableMapping.SourceTable = "Table";
- tableMapping.DataSetTable = "Kanban2ins";
- tableMapping.ColumnMappings.Add("MatricolaKanban", "MatricolaKanban");
- tableMapping.ColumnMappings.Add("KanbanCode", "KanbanCode");
- tableMapping.ColumnMappings.Add("TempoCicloBase", "TempoCicloBase");
- tableMapping.ColumnMappings.Add("PzPallet", "PzPallet");
- 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].[Kanban2ins] WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)))";
- this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", 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].[Kanban2ins] ([MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPallet]) VALUES (@MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPallet);
- SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet FROM Kanban2ins WHERE (MatricolaKanban = @MatricolaKanban)
- ";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", 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].[Kanban2ins] SET [MatricolaKanban] = @MatricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [PzPallet] = @PzPallet WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)));
- SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet FROM Kanban2ins WHERE (MatricolaKanban = @MatricolaKanban)
- ";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatricolaKanban", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatricolaKanban", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KanbanCode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KanbanCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KanbanCode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCicloBase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCicloBase", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCicloBase", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PzPallet", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzPallet", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitConnection() {
- this._connection = new global::System.Data.SqlClient.SqlConnection();
- this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString;
- }
-
- [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[3];
- this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet FROM dbo.Kanban2ins";
- 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_K2I_deleteAll";
- 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[2] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[2].Connection = this.Connection;
- this._commandCollection[2].CommandText = "dbo.stp_K2I_updateKanban";
- this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- }
-
- [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.Fill, true)]
- public virtual int Fill(DS_applicazione.Kanban2insDataTable dataTable) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual DS_applicazione.Kanban2insDataTable GetData() {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- DS_applicazione.Kanban2insDataTable dataTable = new DS_applicazione.Kanban2insDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DS_applicazione.Kanban2insDataTable 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, "Kanban2ins");
- }
-
- [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(string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPallet) {
- if ((Original_MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("Original_MatricolaKanban");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_MatricolaKanban));
- }
- if ((Original_KanbanCode == null)) {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_KanbanCode));
- }
- if ((Original_TempoCicloBase.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_TempoCicloBase.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- if ((Original_PzPallet.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_PzPallet.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[6].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)) {
- 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(string MatricolaKanban, string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPallet) {
- if ((MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("MatricolaKanban");
- }
- else {
- this.Adapter.InsertCommand.Parameters[0].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[1].Value = ((string)(KanbanCode));
- }
- if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[2].Value = ((double)(TempoCicloBase.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- if ((PzPallet.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[3].Value = ((int)(PzPallet.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[3].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)) {
- this.Adapter.InsertCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.InsertCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string MatricolaKanban, string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPallet, string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPallet) {
- if ((MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("MatricolaKanban");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(MatricolaKanban));
- }
- if ((KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(KanbanCode));
- }
- if ((TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(TempoCicloBase.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- if ((PzPallet.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(PzPallet.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- if ((Original_MatricolaKanban == null)) {
- throw new global::System.ArgumentNullException("Original_MatricolaKanban");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_MatricolaKanban));
- }
- if ((Original_KanbanCode == null)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_KanbanCode));
- }
- if ((Original_TempoCicloBase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(Original_TempoCicloBase.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- if ((Original_PzPallet.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_PzPallet.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[10].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)
- != 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();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(string KanbanCode, global::System.Nullable TempoCicloBase, global::System.Nullable PzPallet, string Original_MatricolaKanban, string Original_KanbanCode, global::System.Nullable Original_TempoCicloBase, global::System.Nullable Original_PzPallet) {
- return this.Update(Original_MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, Original_MatricolaKanban, Original_KanbanCode, Original_TempoCicloBase, Original_PzPallet);
- }
-
- [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 DeleteAll() {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- command.Connection.Open();
- }
- int returnValue;
- try {
- returnValue = command.ExecuteNonQuery();
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- command.Connection.Close();
- }
- }
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int UpdateKanban() {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
- global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- command.Connection.Open();
- }
- int returnValue;
- try {
- returnValue = command.ExecuteNonQuery();
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- command.Connection.Close();
- }
- }
- return returnValue;
- }
- }
-
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -22273,26 +20546,26 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
tableMapping.DataSetTable = "DatiMacchine";
tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina");
tableMapping.ColumnMappings.Add("palletChange", "palletChange");
- tableMapping.ColumnMappings.Add("kanban_A", "kanban_A");
- tableMapping.ColumnMappings.Add("kanban_B", "kanban_B");
tableMapping.ColumnMappings.Add("serialPort", "serialPort");
tableMapping.ColumnMappings.Add("refreshPeriod", "refreshPeriod");
tableMapping.ColumnMappings.Add("simulazione", "simulazione");
tableMapping.ColumnMappings.Add("simplePallet", "simplePallet");
tableMapping.ColumnMappings.Add("insEnabled", "insEnabled");
tableMapping.ColumnMappings.Add("sLogEnabled", "sLogEnabled");
+ tableMapping.ColumnMappings.Add("CodArticolo_A", "CodArticolo_A");
+ tableMapping.ColumnMappings.Add("CodArticolo_B", "CodArticolo_B");
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].[DatiMacchine] WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_kanban_A = 1 AND [kanban_A] IS NULL) OR ([kanban_A] = @Original_kanban_A)) AND ((@IsNull_kanban_B = 1 AND [kanban_B] IS NULL) OR ([kanban_B] = @Original_kanban_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [DatiMacchine] WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_CodArticolo_A = 1 AND [CodArticolo_A] IS NULL) OR ([CodArticolo_A] = @Original_CodArticolo_A)) AND ((@IsNull_CodArticolo_B = 1 AND [CodArticolo_B] IS NULL) OR ([CodArticolo_B] = @Original_CodArticolo_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_palletChange", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "palletChange", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_palletChange", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "palletChange", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kanban_A", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_A", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kanban_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_A", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kanban_B", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_B", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kanban_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_B", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo_A", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_A", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_A", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo_B", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_B", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_B", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serialPort", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serialPort", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serialPort", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serialPort", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_refreshPeriod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refreshPeriod", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -22306,12 +20579,12 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sLogEnabled", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sLogEnabled", 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].[DatiMacchine] ([idxMacchina], [palletChange], [kanban_A], [kanban_B], [serialPort], [refreshPeriod], [simulazione], [simplePallet], [insEnabled], [sLogEnabled]) VALUES (@idxMacchina, @palletChange, @kanban_A, @kanban_B, @serialPort, @refreshPeriod, @simulazione, @simplePallet, @insEnabled, @sLogEnabled)";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [DatiMacchine] ([idxMacchina], [palletChange], [CodArticolo_A], [CodArticolo_B], [serialPort], [refreshPeriod], [simulazione], [simplePallet], [insEnabled], [sLogEnabled]) VALUES (@idxMacchina, @palletChange, @CodArticolo_A, @CodArticolo_B, @serialPort, @refreshPeriod, @simulazione, @simplePallet, @insEnabled, @sLogEnabled)";
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("@palletChange", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "palletChange", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kanban_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_A", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kanban_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_B", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_A", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_B", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serialPort", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serialPort", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@refreshPeriod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refreshPeriod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@simulazione", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "simulazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -22320,12 +20593,12 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sLogEnabled", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sLogEnabled", 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].[DatiMacchine] SET [idxMacchina] = @idxMacchina, [palletChange] = @palletChange, [kanban_A] = @kanban_A, [kanban_B] = @kanban_B, [serialPort] = @serialPort, [refreshPeriod] = @refreshPeriod, [simulazione] = @simulazione, [simplePallet] = @simplePallet, [insEnabled] = @insEnabled, [sLogEnabled] = @sLogEnabled WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_kanban_A = 1 AND [kanban_A] IS NULL) OR ([kanban_A] = @Original_kanban_A)) AND ((@IsNull_kanban_B = 1 AND [kanban_B] IS NULL) OR ([kanban_B] = @Original_kanban_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))";
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [DatiMacchine] SET [idxMacchina] = @idxMacchina, [palletChange] = @palletChange, [CodArticolo_A] = @CodArticolo_A, [CodArticolo_B] = @CodArticolo_B, [serialPort] = @serialPort, [refreshPeriod] = @refreshPeriod, [simulazione] = @simulazione, [simplePallet] = @simplePallet, [insEnabled] = @insEnabled, [sLogEnabled] = @sLogEnabled WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_CodArticolo_A = 1 AND [CodArticolo_A] IS NULL) OR ([CodArticolo_A] = @Original_CodArticolo_A)) AND ((@IsNull_CodArticolo_B = 1 AND [CodArticolo_B] IS NULL) OR ([CodArticolo_B] = @Original_CodArticolo_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))";
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("@palletChange", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "palletChange", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kanban_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_A", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kanban_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_B", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_A", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_B", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serialPort", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serialPort", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@refreshPeriod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refreshPeriod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@simulazione", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "simulazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -22335,10 +20608,10 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_palletChange", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "palletChange", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_palletChange", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "palletChange", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kanban_A", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_A", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kanban_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_A", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kanban_B", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_B", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kanban_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kanban_B", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo_A", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_A", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo_A", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_A", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodArticolo_B", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_B", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo_B", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo_B", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serialPort", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serialPort", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serialPort", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serialPort", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_refreshPeriod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refreshPeriod", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -22365,13 +20638,14 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
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 *\r\nFROM dbo.DatiMacchine";
+ this._commandCollection[0].CommandText = "SELECT idxMacchina, palletChange, CodArticolo_A, CodArticolo_B, serialPort, refre" +
+ "shPeriod, simulazione, simplePallet, insEnabled, sLogEnabled FROM DatiMacchine";
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 idxMacchina, insEnabled, kanban_A, kanban_B, palletChange, refreshPeriod, " +
- "sLogEnabled, serialPort, simplePallet, simulazione FROM DatiMacchine WHERE (idxM" +
- "acchina = @idxMacchina)";
+ this._commandCollection[1].CommandText = "SELECT CodArticolo_A, CodArticolo_B, idxMacchina, insEnabled, palletChange, refre" +
+ "shPeriod, sLogEnabled, serialPort, simplePallet, simulazione FROM DatiMacchine W" +
+ "HERE (idxMacchina = @idxMacchina)";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -22445,7 +20719,7 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
[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_idxMacchina, global::System.Nullable Original_palletChange, string Original_kanban_A, string Original_kanban_B, string Original_serialPort, global::System.Nullable Original_refreshPeriod, global::System.Nullable Original_simulazione, global::System.Nullable Original_simplePallet, global::System.Nullable Original_insEnabled, bool Original_sLogEnabled) {
+ public virtual int Delete(int Original_idxMacchina, global::System.Nullable Original_palletChange, string Original_CodArticolo_A, string Original_CodArticolo_B, string Original_serialPort, global::System.Nullable Original_refreshPeriod, global::System.Nullable Original_simulazione, global::System.Nullable Original_simplePallet, global::System.Nullable Original_insEnabled, bool Original_sLogEnabled) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxMacchina));
if ((Original_palletChange.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
@@ -22455,21 +20729,21 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
}
- if ((Original_kanban_A == null)) {
+ if ((Original_CodArticolo_A == null)) {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_kanban_A));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodArticolo_A));
}
- if ((Original_kanban_B == null)) {
+ if ((Original_CodArticolo_B == null)) {
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_kanban_B));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodArticolo_B));
}
if ((Original_serialPort == null)) {
this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
@@ -22532,7 +20806,7 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
- public virtual int Insert(int idxMacchina, global::System.Nullable palletChange, string kanban_A, string kanban_B, string serialPort, global::System.Nullable refreshPeriod, global::System.Nullable simulazione, global::System.Nullable simplePallet, global::System.Nullable insEnabled, bool sLogEnabled) {
+ public virtual int Insert(int idxMacchina, global::System.Nullable palletChange, string CodArticolo_A, string CodArticolo_B, string serialPort, global::System.Nullable refreshPeriod, global::System.Nullable simulazione, global::System.Nullable simplePallet, global::System.Nullable insEnabled, bool sLogEnabled) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxMacchina));
if ((palletChange.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(palletChange.Value));
@@ -22540,17 +20814,17 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
else {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((kanban_A == null)) {
+ if ((CodArticolo_A == null)) {
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[2].Value = ((string)(kanban_A));
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodArticolo_A));
}
- if ((kanban_B == null)) {
+ if ((CodArticolo_B == null)) {
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.InsertCommand.Parameters[3].Value = ((string)(kanban_B));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodArticolo_B));
}
if ((serialPort == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
@@ -22606,8 +20880,8 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
public virtual int Update(
int idxMacchina,
global::System.Nullable palletChange,
- string kanban_A,
- string kanban_B,
+ string CodArticolo_A,
+ string CodArticolo_B,
string serialPort,
global::System.Nullable refreshPeriod,
global::System.Nullable simulazione,
@@ -22616,8 +20890,8 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
bool sLogEnabled,
int Original_idxMacchina,
global::System.Nullable Original_palletChange,
- string Original_kanban_A,
- string Original_kanban_B,
+ string Original_CodArticolo_A,
+ string Original_CodArticolo_B,
string Original_serialPort,
global::System.Nullable Original_refreshPeriod,
global::System.Nullable Original_simulazione,
@@ -22631,17 +20905,17 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
else {
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
}
- if ((kanban_A == null)) {
+ if ((CodArticolo_A == null)) {
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(kanban_A));
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodArticolo_A));
}
- if ((kanban_B == null)) {
+ if ((CodArticolo_B == null)) {
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(kanban_B));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodArticolo_B));
}
if ((serialPort == null)) {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
@@ -22683,21 +20957,21 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
- if ((Original_kanban_A == null)) {
+ if ((Original_CodArticolo_A == 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_kanban_A));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_CodArticolo_A));
}
- if ((Original_kanban_B == null)) {
+ if ((Original_CodArticolo_B == null)) {
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_kanban_B));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodArticolo_B));
}
if ((Original_serialPort == null)) {
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
@@ -22762,8 +21036,8 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
global::System.Nullable palletChange,
- string kanban_A,
- string kanban_B,
+ string CodArticolo_A,
+ string CodArticolo_B,
string serialPort,
global::System.Nullable refreshPeriod,
global::System.Nullable simulazione,
@@ -22772,15 +21046,15 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
bool sLogEnabled,
int Original_idxMacchina,
global::System.Nullable Original_palletChange,
- string Original_kanban_A,
- string Original_kanban_B,
+ string Original_CodArticolo_A,
+ string Original_CodArticolo_B,
string Original_serialPort,
global::System.Nullable Original_refreshPeriod,
global::System.Nullable Original_simulazione,
global::System.Nullable Original_simplePallet,
global::System.Nullable Original_insEnabled,
bool Original_sLogEnabled) {
- return this.Update(Original_idxMacchina, palletChange, kanban_A, kanban_B, serialPort, refreshPeriod, simulazione, simplePallet, insEnabled, sLogEnabled, Original_idxMacchina, Original_palletChange, Original_kanban_A, Original_kanban_B, Original_serialPort, Original_refreshPeriod, Original_simulazione, Original_simplePallet, Original_insEnabled, Original_sLogEnabled);
+ return this.Update(Original_idxMacchina, palletChange, CodArticolo_A, CodArticolo_B, serialPort, refreshPeriod, simulazione, simplePallet, insEnabled, sLogEnabled, Original_idxMacchina, Original_palletChange, Original_CodArticolo_A, Original_CodArticolo_B, Original_serialPort, Original_refreshPeriod, Original_simulazione, Original_simplePallet, Original_insEnabled, Original_sLogEnabled);
}
}
@@ -24721,6 +22995,396 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
return this.Update(dtCurr, IdxMacchina, valore, dtEve, contatore, Original_idxMsg, Original_dtCurr, Original_IdxMacchina, Original_valore, Original_dtEve, Original_contatore, Original_idxMsg);
}
}
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class AnagArticoliTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagArticoliTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "AnagArticoli";
+ tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
+ tableMapping.ColumnMappings.Add("DescArticolo", "DescArticolo");
+ tableMapping.ColumnMappings.Add("CurrRev", "CurrRev");
+ tableMapping.ColumnMappings.Add("ProdRev", "ProdRev");
+ tableMapping.ColumnMappings.Add("FlagIsNew", "FlagIsNew");
+ 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].[AnagArticoli] WHERE (([CodArticolo] = @Original_CodArticolo) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FlagIsNew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FlagIsNew", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", 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].[AnagArticoli] ([CodArticolo], [DescArticolo], [CurrRev], [ProdRev]) VALUES (@CodArticolo, @DescArticolo, @CurrRev, @ProdRev);
+SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", 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].[AnagArticoli] SET [CodArticolo] = @CodArticolo, [DescArticolo] = @DescArticolo, [CurrRev] = @CurrRev, [ProdRev] = @ProdRev WHERE (([CodArticolo] = @Original_CodArticolo) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)));
+SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CurrRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProdRev", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProdRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FlagIsNew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FlagIsNew", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FlagIsNew", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString;
+ }
+
+ [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[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM dbo.AnagArtico" +
+ "li";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [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.Fill, true)]
+ public virtual int Fill(DS_applicazione.AnagArticoliDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_applicazione.AnagArticoliDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_applicazione.AnagArticoliDataTable dataTable = new DS_applicazione.AnagArticoliDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_applicazione.AnagArticoliDataTable 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, "AnagArticoli");
+ }
+
+ [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(string Original_CodArticolo, string Original_DescArticolo, string Original_CurrRev, string Original_ProdRev, global::System.Nullable Original_FlagIsNew) {
+ if ((Original_CodArticolo == null)) {
+ throw new global::System.ArgumentNullException("Original_CodArticolo");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodArticolo));
+ }
+ if ((Original_DescArticolo == null)) {
+ throw new global::System.ArgumentNullException("Original_DescArticolo");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DescArticolo));
+ }
+ if ((Original_CurrRev == null)) {
+ throw new global::System.ArgumentNullException("Original_CurrRev");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CurrRev));
+ }
+ if ((Original_ProdRev == null)) {
+ throw new global::System.ArgumentNullException("Original_ProdRev");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_ProdRev));
+ }
+ if ((Original_FlagIsNew.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_FlagIsNew.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].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)) {
+ 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(string CodArticolo, string DescArticolo, string CurrRev, string ProdRev) {
+ if ((CodArticolo == null)) {
+ throw new global::System.ArgumentNullException("CodArticolo");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodArticolo));
+ }
+ if ((DescArticolo == null)) {
+ throw new global::System.ArgumentNullException("DescArticolo");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescArticolo));
+ }
+ if ((CurrRev == null)) {
+ throw new global::System.ArgumentNullException("CurrRev");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CurrRev));
+ }
+ if ((ProdRev == null)) {
+ throw new global::System.ArgumentNullException("ProdRev");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(ProdRev));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string CodArticolo, string DescArticolo, string CurrRev, string ProdRev, string Original_CodArticolo, string Original_DescArticolo, string Original_CurrRev, string Original_ProdRev, global::System.Nullable Original_FlagIsNew) {
+ if ((CodArticolo == null)) {
+ throw new global::System.ArgumentNullException("CodArticolo");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodArticolo));
+ }
+ if ((DescArticolo == null)) {
+ throw new global::System.ArgumentNullException("DescArticolo");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescArticolo));
+ }
+ if ((CurrRev == null)) {
+ throw new global::System.ArgumentNullException("CurrRev");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CurrRev));
+ }
+ if ((ProdRev == null)) {
+ throw new global::System.ArgumentNullException("ProdRev");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(ProdRev));
+ }
+ if ((Original_CodArticolo == null)) {
+ throw new global::System.ArgumentNullException("Original_CodArticolo");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodArticolo));
+ }
+ if ((Original_DescArticolo == null)) {
+ throw new global::System.ArgumentNullException("Original_DescArticolo");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_DescArticolo));
+ }
+ if ((Original_CurrRev == null)) {
+ throw new global::System.ArgumentNullException("Original_CurrRev");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CurrRev));
+ }
+ if ((Original_ProdRev == null)) {
+ throw new global::System.ArgumentNullException("Original_ProdRev");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_ProdRev));
+ }
+ if ((Original_FlagIsNew.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(Original_FlagIsNew.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[9].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)
+ != 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();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string DescArticolo, string CurrRev, string ProdRev, string Original_CodArticolo, string Original_DescArticolo, string Original_CurrRev, string Original_ProdRev, global::System.Nullable Original_FlagIsNew) {
+ return this.Update(Original_CodArticolo, DescArticolo, CurrRev, ProdRev, Original_CodArticolo, Original_DescArticolo, Original_CurrRev, Original_ProdRev, Original_FlagIsNew);
+ }
+ }
}
#pragma warning restore 1591
\ No newline at end of file
diff --git a/MapoDb/DS_applicazione.xsd b/MapoDb/DS_applicazione.xsd
index c6cf20bc..4f355cb1 100644
--- a/MapoDb/DS_applicazione.xsd
+++ b/MapoDb/DS_applicazione.xsd
@@ -304,10 +304,10 @@
-
+
- DELETE FROM [dbo].[StatoMacchine] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))
+ DELETE FROM [StatoMacchine] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))
@@ -315,10 +315,8 @@
-
-
-
-
+
+
@@ -332,17 +330,14 @@
-
- INSERT INTO [dbo].[StatoMacchine] ([IdxMacchina], [IdxStato], [InizioStato], [Value], [MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @IdxStato, @InizioStato, @Value, @MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
- SELECT IdxMacchina, IdxStato, InizioStato, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
-
+ INSERT INTO [StatoMacchine] ([IdxMacchina], [IdxStato], [InizioStato], [Value], [CodArticolo], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @IdxStato, @InizioStato, @Value, @CodArticolo, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
+SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
-
-
+
@@ -352,23 +347,20 @@
- SELECT * FROM dbo.StatoMacchine
+ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine
-
- UPDATE [dbo].[StatoMacchine] SET [IdxMacchina] = @IdxMacchina, [IdxStato] = @IdxStato, [InizioStato] = @InizioStato, [Value] = @Value, [MatricolaKanban] = @MatricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [PzPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
- SELECT IdxMacchina, IdxStato, InizioStato, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
-
+ UPDATE [StatoMacchine] SET [IdxMacchina] = @IdxMacchina, [IdxStato] = @IdxStato, [InizioStato] = @InizioStato, [Value] = @Value, [CodArticolo] = @CodArticolo, [TempoCicloBase] = @TempoCicloBase, [PzPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_InizioStato = 1 AND [InizioStato] IS NULL) OR ([InizioStato] = @Original_InizioStato)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
+SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
-
-
+
@@ -379,10 +371,8 @@
-
-
-
-
+
+
@@ -401,18 +391,17 @@
-
-
+
-
+
- SELECT IdxMacchina, IdxStato, InizioStato, KanbanCode, MatrOpr, MatricolaKanban, PzPalletProd, TempoCicloBase, Value, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
+ SELECT CodArticolo, IdxMacchina, IdxStato, InizioStato, MatrOpr, PzPalletProd, TempoCicloBase, Value, pallet FROM StatoMacchine WHERE (IdxMacchina = @IdxMacchina)
@@ -521,127 +510,18 @@
-
-
-
-
-
- DELETE FROM [dbo].[Kanban] WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)))
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO [dbo].[Kanban] ([MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPallet], [CodArticolo]) VALUES (@MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPallet, @CodArticolo);
-SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM Kanban WHERE (MatricolaKanban = @MatricolaKanban)
-
-
-
-
-
-
-
-
-
-
-
- SELECT *
- FROM dbo.Kanban
-
-
-
-
-
- UPDATE [dbo].[Kanban] SET [MatricolaKanban] = @MatricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [PzPallet] = @PzPallet, [CodArticolo] = @CodArticolo WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)));
-SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo FROM Kanban WHERE (MatricolaKanban = @MatricolaKanban)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT *
- FROM dbo.Kanban
-where CodArticolo = @CodArticolo
-
-
-
-
-
-
-
-
-
- SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo
-FROM Kanban
-WHERE (MatricolaKanban = @codice)
-
-
-
-
-
-
-
-
-
- INSERT INTO Kanban
- (MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet, CodArticolo)
-VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
-
-
-
-
-
-
-
-
+
- DELETE FROM [dbo].[EventList] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))
+ DELETE FROM [EventList] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))
-
-
+
+
@@ -653,15 +533,13 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
- INSERT INTO [dbo].[EventList] ([IdxMacchina], [InizioStato], [IdxTipo], [MatricolaKanban], [Value], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @IdxTipo, @MatricolaKanban, @Value, @MatrOpr, @pallet);
- SELECT IdxMacchina, InizioStato, IdxTipo, MatricolaKanban, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)
-
+ INSERT INTO [EventList] ([IdxMacchina], [InizioStato], [IdxTipo], [CodArticolo], [Value], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @IdxTipo, @CodArticolo, @Value, @MatrOpr, @pallet);
+SELECT IdxMacchina, InizioStato, IdxTipo, CodArticolo, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)
-
+
@@ -670,29 +548,27 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
- SELECT * FROM dbo.EventList
+ SELECT IdxMacchina, InizioStato, IdxTipo, CodArticolo, Value, MatrOpr, pallet FROM EventList
-
- UPDATE [dbo].[EventList] SET [IdxMacchina] = @IdxMacchina, [InizioStato] = @InizioStato, [IdxTipo] = @IdxTipo, [MatricolaKanban] = @MatricolaKanban, [Value] = @Value, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
- SELECT IdxMacchina, InizioStato, IdxTipo, MatricolaKanban, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)
-
+ UPDATE [EventList] SET [IdxMacchina] = @IdxMacchina, [InizioStato] = @InizioStato, [IdxTipo] = @IdxTipo, [CodArticolo] = @CodArticolo, [Value] = @Value, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ([IdxTipo] = @Original_IdxTipo) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
+SELECT IdxMacchina, InizioStato, IdxTipo, CodArticolo, Value, MatrOpr, pallet FROM EventList WHERE (IdxMacchina = @IdxMacchina) AND (IdxTipo = @IdxTipo) AND (InizioStato = @InizioStato)
-
+
-
-
+
+
@@ -708,10 +584,10 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
+
@@ -917,10 +793,10 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
+
- DELETE FROM [dbo].[DiarioDiBordo] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Original_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti = 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))
+ DELETE FROM [DiarioDiBordo] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Original_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti = 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)))
@@ -931,10 +807,8 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
-
-
-
+
+
@@ -948,10 +822,8 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
- INSERT INTO [dbo].[DiarioDiBordo] ([IdxMacchina], [InizioStato], [FineStato], [IdxStato], [DurataMinuti], [Value], [MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @FineStato, @IdxStato, @DurataMinuti, @Value, @MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
- SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMacchina = @IdxMacchina) AND (InizioStato = @InizioStato)
-
+ INSERT INTO [DiarioDiBordo] ([IdxMacchina], [InizioStato], [FineStato], [IdxStato], [DurataMinuti], [Value], [CodArticolo], [TempoCicloBase], [PzPalletProd], [MatrOpr], [pallet]) VALUES (@IdxMacchina, @InizioStato, @FineStato, @IdxStato, @DurataMinuti, @Value, @CodArticolo, @TempoCicloBase, @PzPalletProd, @MatrOpr, @pallet);
+SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMacchina = @IdxMacchina) AND (InizioStato = @InizioStato)
@@ -959,8 +831,7 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
-
+
@@ -970,16 +841,14 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
- SELECT * FROM dbo.DiarioDiBordo
+ SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo
-
- UPDATE [dbo].[DiarioDiBordo] SET [IdxMacchina] = @IdxMacchina, [InizioStato] = @InizioStato, [FineStato] = @FineStato, [IdxStato] = @IdxStato, [DurataMinuti] = @DurataMinuti, [Value] = @Value, [MatricolaKanban] = @MatricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [PzPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Original_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti = 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_MatricolaKanban = 1 AND [MatricolaKanban] IS NULL) OR ([MatricolaKanban] = @Original_MatricolaKanban)) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
- SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, MatricolaKanban, KanbanCode, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMacchina = @IdxMacchina) AND (InizioStato = @InizioStato)
-
+ UPDATE [DiarioDiBordo] SET [IdxMacchina] = @IdxMacchina, [InizioStato] = @InizioStato, [FineStato] = @FineStato, [IdxStato] = @IdxStato, [DurataMinuti] = @DurataMinuti, [Value] = @Value, [CodArticolo] = @CodArticolo, [TempoCicloBase] = @TempoCicloBase, [PzPalletProd] = @PzPalletProd, [MatrOpr] = @MatrOpr, [pallet] = @pallet WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([InizioStato] = @Original_InizioStato) AND ((@IsNull_FineStato = 1 AND [FineStato] IS NULL) OR ([FineStato] = @Original_FineStato)) AND ([IdxStato] = @Original_IdxStato) AND ((@IsNull_DurataMinuti = 1 AND [DurataMinuti] IS NULL) OR ([DurataMinuti] = @Original_DurataMinuti)) AND ((@IsNull_Value = 1 AND [Value] IS NULL) OR ([Value] = @Original_Value)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPalletProd = 1 AND [PzPalletProd] IS NULL) OR ([PzPalletProd] = @Original_PzPalletProd)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ((@IsNull_pallet = 1 AND [pallet] IS NULL) OR ([pallet] = @Original_pallet)));
+SELECT IdxMacchina, InizioStato, FineStato, IdxStato, DurataMinuti, Value, CodArticolo, TempoCicloBase, PzPalletProd, MatrOpr, pallet FROM DiarioDiBordo WHERE (IdxMacchina = @IdxMacchina) AND (InizioStato = @InizioStato)
@@ -987,8 +856,7 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
-
+
@@ -1002,10 +870,8 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
-
-
-
+
+
@@ -1026,12 +892,11 @@ VALUES (@nuovoCodice,@nuovoCodice, 1, 1,@nuovoCodice)
-
-
+
@@ -1814,95 +1679,6 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
-
-
-
-
-
- DELETE FROM [dbo].[Kanban2ins] WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)))
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO [dbo].[Kanban2ins] ([MatricolaKanban], [KanbanCode], [TempoCicloBase], [PzPallet]) VALUES (@MatricolaKanban, @KanbanCode, @TempoCicloBase, @PzPallet);
- SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet FROM Kanban2ins WHERE (MatricolaKanban = @MatricolaKanban)
-
-
-
-
-
-
-
-
-
-
-
- SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet FROM dbo.Kanban2ins
-
-
-
-
-
-
- UPDATE [dbo].[Kanban2ins] SET [MatricolaKanban] = @MatricolaKanban, [KanbanCode] = @KanbanCode, [TempoCicloBase] = @TempoCicloBase, [PzPallet] = @PzPallet WHERE (([MatricolaKanban] = @Original_MatricolaKanban) AND ((@IsNull_KanbanCode = 1 AND [KanbanCode] IS NULL) OR ([KanbanCode] = @Original_KanbanCode)) AND ((@IsNull_TempoCicloBase = 1 AND [TempoCicloBase] IS NULL) OR ([TempoCicloBase] = @Original_TempoCicloBase)) AND ((@IsNull_PzPallet = 1 AND [PzPallet] IS NULL) OR ([PzPallet] = @Original_PzPallet)));
- SELECT MatricolaKanban, KanbanCode, TempoCicloBase, PzPallet FROM Kanban2ins WHERE (MatricolaKanban = @MatricolaKanban)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- dbo.stp_K2I_deleteAll
-
-
-
-
-
-
-
-
-
- dbo.stp_K2I_updateKanban
-
-
-
-
-
-
-
-
@@ -1990,15 +1766,15 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
- DELETE FROM [dbo].[DatiMacchine] WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_kanban_A = 1 AND [kanban_A] IS NULL) OR ([kanban_A] = @Original_kanban_A)) AND ((@IsNull_kanban_B = 1 AND [kanban_B] IS NULL) OR ([kanban_B] = @Original_kanban_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))
+ DELETE FROM [DatiMacchine] WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_CodArticolo_A = 1 AND [CodArticolo_A] IS NULL) OR ([CodArticolo_A] = @Original_CodArticolo_A)) AND ((@IsNull_CodArticolo_B = 1 AND [CodArticolo_B] IS NULL) OR ([CodArticolo_B] = @Original_CodArticolo_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))
-
-
-
-
+
+
+
+
@@ -2015,12 +1791,12 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
- INSERT INTO [dbo].[DatiMacchine] ([idxMacchina], [palletChange], [kanban_A], [kanban_B], [serialPort], [refreshPeriod], [simulazione], [simplePallet], [insEnabled], [sLogEnabled]) VALUES (@idxMacchina, @palletChange, @kanban_A, @kanban_B, @serialPort, @refreshPeriod, @simulazione, @simplePallet, @insEnabled, @sLogEnabled)
+ INSERT INTO [DatiMacchine] ([idxMacchina], [palletChange], [CodArticolo_A], [CodArticolo_B], [serialPort], [refreshPeriod], [simulazione], [simplePallet], [insEnabled], [sLogEnabled]) VALUES (@idxMacchina, @palletChange, @CodArticolo_A, @CodArticolo_B, @serialPort, @refreshPeriod, @simulazione, @simplePallet, @insEnabled, @sLogEnabled)
-
-
+
+
@@ -2032,19 +1808,18 @@ SELECT MatrOpr, Cognome, Nome, isAdmin, authKey FROM AnagraficaOperatori WHERE (
- SELECT *
-FROM dbo.DatiMacchine
+ SELECT idxMacchina, palletChange, CodArticolo_A, CodArticolo_B, serialPort, refreshPeriod, simulazione, simplePallet, insEnabled, sLogEnabled FROM DatiMacchine
- UPDATE [dbo].[DatiMacchine] SET [idxMacchina] = @idxMacchina, [palletChange] = @palletChange, [kanban_A] = @kanban_A, [kanban_B] = @kanban_B, [serialPort] = @serialPort, [refreshPeriod] = @refreshPeriod, [simulazione] = @simulazione, [simplePallet] = @simplePallet, [insEnabled] = @insEnabled, [sLogEnabled] = @sLogEnabled WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_kanban_A = 1 AND [kanban_A] IS NULL) OR ([kanban_A] = @Original_kanban_A)) AND ((@IsNull_kanban_B = 1 AND [kanban_B] IS NULL) OR ([kanban_B] = @Original_kanban_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))
+ UPDATE [DatiMacchine] SET [idxMacchina] = @idxMacchina, [palletChange] = @palletChange, [CodArticolo_A] = @CodArticolo_A, [CodArticolo_B] = @CodArticolo_B, [serialPort] = @serialPort, [refreshPeriod] = @refreshPeriod, [simulazione] = @simulazione, [simplePallet] = @simplePallet, [insEnabled] = @insEnabled, [sLogEnabled] = @sLogEnabled WHERE (([idxMacchina] = @Original_idxMacchina) AND ((@IsNull_palletChange = 1 AND [palletChange] IS NULL) OR ([palletChange] = @Original_palletChange)) AND ((@IsNull_CodArticolo_A = 1 AND [CodArticolo_A] IS NULL) OR ([CodArticolo_A] = @Original_CodArticolo_A)) AND ((@IsNull_CodArticolo_B = 1 AND [CodArticolo_B] IS NULL) OR ([CodArticolo_B] = @Original_CodArticolo_B)) AND ((@IsNull_serialPort = 1 AND [serialPort] IS NULL) OR ([serialPort] = @Original_serialPort)) AND ((@IsNull_refreshPeriod = 1 AND [refreshPeriod] IS NULL) OR ([refreshPeriod] = @Original_refreshPeriod)) AND ((@IsNull_simulazione = 1 AND [simulazione] IS NULL) OR ([simulazione] = @Original_simulazione)) AND ((@IsNull_simplePallet = 1 AND [simplePallet] IS NULL) OR ([simplePallet] = @Original_simplePallet)) AND ((@IsNull_insEnabled = 1 AND [insEnabled] IS NULL) OR ([insEnabled] = @Original_insEnabled)) AND ([sLogEnabled] = @Original_sLogEnabled))
-
-
+
+
@@ -2054,10 +1829,10 @@ FROM dbo.DatiMacchine
-
-
-
-
+
+
+
+
@@ -2077,20 +1852,20 @@ FROM dbo.DatiMacchine
-
-
+
+
- SELECT idxMacchina, insEnabled, kanban_A, kanban_B, palletChange, refreshPeriod, sLogEnabled, serialPort, simplePallet, simulazione FROM DatiMacchine WHERE (idxMacchina = @idxMacchina)
+ SELECT CodArticolo_A, CodArticolo_B, idxMacchina, insEnabled, palletChange, refreshPeriod, sLogEnabled, serialPort, simplePallet, simulazione FROM DatiMacchine WHERE (idxMacchina = @idxMacchina)
@@ -2484,6 +2259,69 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
+
+
+
+
+
+ DELETE FROM [dbo].[AnagArticoli] WHERE (([CodArticolo] = @Original_CodArticolo) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)))
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[AnagArticoli] ([CodArticolo], [DescArticolo], [CurrRev], [ProdRev]) VALUES (@CodArticolo, @DescArticolo, @CurrRev, @ProdRev);
+SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)
+
+
+
+
+
+
+
+
+
+
+ SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM dbo.AnagArticoli
+
+
+
+
+
+ UPDATE [dbo].[AnagArticoli] SET [CodArticolo] = @CodArticolo, [DescArticolo] = @DescArticolo, [CurrRev] = @CurrRev, [ProdRev] = @ProdRev WHERE (([CodArticolo] = @Original_CodArticolo) AND ([DescArticolo] = @Original_DescArticolo) AND ([CurrRev] = @Original_CurrRev) AND ([ProdRev] = @Original_ProdRev) AND ((@IsNull_FlagIsNew = 1 AND [FlagIsNew] IS NULL) OR ([FlagIsNew] = @Original_FlagIsNew)));
+SELECT CodArticolo, DescArticolo, CurrRev, ProdRev, FlagIsNew FROM AnagArticoli WHERE (CodArticolo = @CodArticolo)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2604,20 +2442,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2628,6 +2452,13 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
+
+
+
+
+
+
+
@@ -2652,35 +2483,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2693,13 +2495,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
-
-
-
@@ -2715,6 +2510,13 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
+
+
+
+
+
+
+
@@ -2753,20 +2555,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2777,6 +2565,13 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
+
+
+
+
+
+
+
@@ -2899,28 +2694,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2947,20 +2720,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2973,10 +2732,24 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -2998,7 +2771,7 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
+
@@ -3034,7 +2807,7 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
+
@@ -3070,7 +2843,7 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
+
@@ -3087,7 +2860,7 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
+
@@ -3111,6 +2884,41 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3140,10 +2948,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
@@ -3187,10 +2991,6 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
-
-
-
-
@@ -3222,31 +3022,33 @@ SELECT idxMsg, dtCurr, IdxMacchina, valore, dtEve, contatore FROM SignalLog WHER
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MapoDb/DS_applicazione.xss b/MapoDb/DS_applicazione.xss
index bfe91843..d60ffffa 100644
--- a/MapoDb/DS_applicazione.xss
+++ b/MapoDb/DS_applicazione.xss
@@ -10,20 +10,19 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
-
+
+
+
@@ -32,7 +31,7 @@
-
+
667
@@ -44,7 +43,7 @@
-
+
699
@@ -56,7 +55,7 @@
-
+
754
@@ -68,7 +67,7 @@
-
+
636
@@ -84,7 +83,7 @@
-
+
386
@@ -100,7 +99,7 @@
-
+
322
@@ -112,35 +111,7 @@
-
-
-
- 659
- 249
-
-
- 659
- 698
-
-
- 463
- 698
-
-
-
-
-
-
- 872
- 193
-
-
- 920
- 193
-
-
-
-
+
814
@@ -152,7 +123,7 @@
-
+
1285
@@ -176,7 +147,7 @@
-
+
1285
@@ -188,7 +159,7 @@
-
+
298
@@ -196,35 +167,23 @@
298
- 420
+ 363
-
-
-
- 610
- 93
-
-
- 523
- 93
-
-
-
-
+
619
341
- 523
+ 530
341
-
+
1444
@@ -248,7 +207,7 @@
-
+
943
@@ -260,7 +219,7 @@
-
+
1285
@@ -280,7 +239,7 @@
-
+
943
@@ -292,7 +251,7 @@
-
+
965
@@ -304,11 +263,11 @@
513
- 420
+ 363
-
+
1108
@@ -316,11 +275,11 @@
1108
- 547
+ 450
-
+
982
diff --git a/MapoDb/DataLayer.cs b/MapoDb/DataLayer.cs
index 62b722df..965b884d 100644
--- a/MapoDb/DataLayer.cs
+++ b/MapoDb/DataLayer.cs
@@ -20,11 +20,9 @@ namespace MapoDb
public DS_applicazioneTableAdapters.StatoMacchineTableAdapter taStatoMacchine;
public DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter taAnagEventi;
public DS_applicazioneTableAdapters.AnagraficaStatiTableAdapter taAnagStati;
- public DS_applicazioneTableAdapters.KanbanTableAdapter taKanban;
public DS_applicazioneTableAdapters.KeepAliveTableAdapter taKeepAlive;
public DS_applicazioneTableAdapters.DiarioDiBordoTableAdapter taStati;
public DS_applicazioneTableAdapters.EventListTableAdapter taEventi;
- public DS_applicazioneTableAdapters.Kanban2insTableAdapter taK2ins;
public DS_applicazioneTableAdapters.AnagraficaOperatoriTableAdapter taOp;
public DS_applicazioneTableAdapters.AnagraficaOperatori2insTableAdapter taOp2ins;
public DS_applicazioneTableAdapters.TransizioneIngressiTableAdapter taTranIngr;
@@ -64,11 +62,9 @@ namespace MapoDb
taStatoMacchine = new DS_applicazioneTableAdapters.StatoMacchineTableAdapter();
taAnagEventi = new DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter();
taAnagStati = new DS_applicazioneTableAdapters.AnagraficaStatiTableAdapter();
- taKanban = new DS_applicazioneTableAdapters.KanbanTableAdapter();
taKeepAlive = new DS_applicazioneTableAdapters.KeepAliveTableAdapter();
taStati = new DS_applicazioneTableAdapters.DiarioDiBordoTableAdapter();
taEventi = new DS_applicazioneTableAdapters.EventListTableAdapter();
- taK2ins = new DS_applicazioneTableAdapters.Kanban2insTableAdapter();
taOp = new DS_applicazioneTableAdapters.AnagraficaOperatoriTableAdapter();
taOp2ins = new DS_applicazioneTableAdapters.AnagraficaOperatori2insTableAdapter();
taTranIngr = new DS_applicazioneTableAdapters.TransizioneIngressiTableAdapter();
@@ -106,11 +102,9 @@ namespace MapoDb
taStatoMacchine.Connection.ConnectionString = connectionString;
taAnagEventi.Connection.ConnectionString = connectionString;
taAnagStati.Connection.ConnectionString = connectionString;
- taKanban.Connection.ConnectionString = connectionString;
taKeepAlive.Connection.ConnectionString = connectionString;
taStati.Connection.ConnectionString = connectionString;
taEventi.Connection.ConnectionString = connectionString;
- taK2ins.Connection.ConnectionString = connectionString;
taOp.Connection.ConnectionString = connectionString;
taOp2ins.Connection.ConnectionString = connectionString;
taTranIngr.Connection.ConnectionString = connectionString;
diff --git a/VersGen/MoonPro.cs b/VersGen/MoonPro.cs
index f7fc1f3b..22b8fa4f 100644
--- a/VersGen/MoonPro.cs
+++ b/VersGen/MoonPro.cs
@@ -5,7 +5,7 @@
using System.Reflection;
-[assembly: AssemblyVersion("4.1.493.514")]
-[assembly: AssemblyFileVersion("4.1.493.514")]
-[assembly: AssemblyCopyright("Steamware © 2006-2016")]
+[assembly: AssemblyVersion("4.5.493.524")]
+[assembly: AssemblyFileVersion("4.5.493.524")]
+[assembly: AssemblyCopyright("Steamware © 2006-2017")]
[assembly: AssemblyCompany("Steamware")]
diff --git a/VersGen/MoonPro.tt b/VersGen/MoonPro.tt
index 50793aa4..4025c040 100644
--- a/VersGen/MoonPro.tt
+++ b/VersGen/MoonPro.tt
@@ -6,8 +6,8 @@
using System.Reflection;
-[assembly: AssemblyVersion("4.1.493.<#= this.RevisionNumber #>")]
-[assembly: AssemblyFileVersion("4.1.493.<#= this.RevisionNumber #>")]
+[assembly: AssemblyVersion("4.5.493.<#= this.RevisionNumber #>")]
+[assembly: AssemblyFileVersion("4.5.493.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2006-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+