23263 lines
1.4 MiB
Plaintext
23263 lines
1.4 MiB
Plaintext
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
#pragma warning disable 1591
|
|
|
|
namespace MapoDb {
|
|
|
|
|
|
/// <summary>
|
|
///Represents a strongly typed in-memory cache of data.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
|
|
[global::System.Xml.Serialization.XmlRootAttribute("DS_ProdTempi")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
|
|
public partial class DS_ProdTempi : global::System.Data.DataSet {
|
|
|
|
private TempiCicloRilevatiDataTable tableTempiCicloRilevati;
|
|
|
|
private ODLDataTable tableODL;
|
|
|
|
private AnagArticoliDataTable tableAnagArticoli;
|
|
|
|
private DatiMacchineDataTable tableDatiMacchine;
|
|
|
|
private PostazioniMapoDataTable tablePostazioniMapo;
|
|
|
|
private stp_PzProd_getByMacchinaDataTable tablestp_PzProd_getByMacchina;
|
|
|
|
private DatiConfermatiDataTable tableDatiConfermati;
|
|
|
|
private CalendFesteFerieDataTable tableCalendFesteFerie;
|
|
|
|
private stp_TempoByIdxMaccPeriodClassDataTable tablestp_TempoByIdxMaccPeriodClass;
|
|
|
|
private DatiProduzioneDataTable tableDatiProduzione;
|
|
|
|
private stp_repDonati_getDatiProdMacchinaDataTable tablestp_repDonati_getDatiProdMacchina;
|
|
|
|
private stp_repDonati_getLastStatoDurataMacchinaDataTable tablestp_repDonati_getLastStatoDurataMacchina;
|
|
|
|
private stp_repDonati_getDatiProdMacchinaPeriodoDataTable tablestp_repDonati_getDatiProdMacchinaPeriodo;
|
|
|
|
private TurniMacchinaDataTable tableTurniMacchina;
|
|
|
|
private MappaStatoExplDataTable tableMappaStatoExpl;
|
|
|
|
private ProduzioneAs400DataTable tableProduzioneAs400;
|
|
|
|
private ResProdDett_splitODLDataTable tableResProdDett_splitODL;
|
|
|
|
private ResProdDett_splitGGDataTable tableResProdDett_splitGG;
|
|
|
|
private ResProdTotDataTable tableResProdTot;
|
|
|
|
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DS_ProdTempi() {
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
|
base.Relations.CollectionChanged += schemaChangedHandler;
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected DS_ProdTempi(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context, false) {
|
|
if ((this.IsBinarySerialized(info, context) == true)) {
|
|
this.InitVars(false);
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
this.Tables.CollectionChanged += schemaChangedHandler1;
|
|
this.Relations.CollectionChanged += schemaChangedHandler1;
|
|
return;
|
|
}
|
|
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
|
|
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
|
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
|
if ((ds.Tables["TempiCicloRilevati"] != null)) {
|
|
base.Tables.Add(new TempiCicloRilevatiDataTable(ds.Tables["TempiCicloRilevati"]));
|
|
}
|
|
if ((ds.Tables["ODL"] != null)) {
|
|
base.Tables.Add(new ODLDataTable(ds.Tables["ODL"]));
|
|
}
|
|
if ((ds.Tables["AnagArticoli"] != null)) {
|
|
base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"]));
|
|
}
|
|
if ((ds.Tables["DatiMacchine"] != null)) {
|
|
base.Tables.Add(new DatiMacchineDataTable(ds.Tables["DatiMacchine"]));
|
|
}
|
|
if ((ds.Tables["PostazioniMapo"] != null)) {
|
|
base.Tables.Add(new PostazioniMapoDataTable(ds.Tables["PostazioniMapo"]));
|
|
}
|
|
if ((ds.Tables["stp_PzProd_getByMacchina"] != null)) {
|
|
base.Tables.Add(new stp_PzProd_getByMacchinaDataTable(ds.Tables["stp_PzProd_getByMacchina"]));
|
|
}
|
|
if ((ds.Tables["DatiConfermati"] != null)) {
|
|
base.Tables.Add(new DatiConfermatiDataTable(ds.Tables["DatiConfermati"]));
|
|
}
|
|
if ((ds.Tables["CalendFesteFerie"] != null)) {
|
|
base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"]));
|
|
}
|
|
if ((ds.Tables["stp_TempoByIdxMaccPeriodClass"] != null)) {
|
|
base.Tables.Add(new stp_TempoByIdxMaccPeriodClassDataTable(ds.Tables["stp_TempoByIdxMaccPeriodClass"]));
|
|
}
|
|
if ((ds.Tables["DatiProduzione"] != null)) {
|
|
base.Tables.Add(new DatiProduzioneDataTable(ds.Tables["DatiProduzione"]));
|
|
}
|
|
if ((ds.Tables["stp_repDonati_getDatiProdMacchina"] != null)) {
|
|
base.Tables.Add(new stp_repDonati_getDatiProdMacchinaDataTable(ds.Tables["stp_repDonati_getDatiProdMacchina"]));
|
|
}
|
|
if ((ds.Tables["stp_repDonati_getLastStatoDurataMacchina"] != null)) {
|
|
base.Tables.Add(new stp_repDonati_getLastStatoDurataMacchinaDataTable(ds.Tables["stp_repDonati_getLastStatoDurataMacchina"]));
|
|
}
|
|
if ((ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"] != null)) {
|
|
base.Tables.Add(new stp_repDonati_getDatiProdMacchinaPeriodoDataTable(ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"]));
|
|
}
|
|
if ((ds.Tables["TurniMacchina"] != null)) {
|
|
base.Tables.Add(new TurniMacchinaDataTable(ds.Tables["TurniMacchina"]));
|
|
}
|
|
if ((ds.Tables["MappaStatoExpl"] != null)) {
|
|
base.Tables.Add(new MappaStatoExplDataTable(ds.Tables["MappaStatoExpl"]));
|
|
}
|
|
if ((ds.Tables["ProduzioneAs400"] != null)) {
|
|
base.Tables.Add(new ProduzioneAs400DataTable(ds.Tables["ProduzioneAs400"]));
|
|
}
|
|
if ((ds.Tables["ResProdDett_splitODL"] != null)) {
|
|
base.Tables.Add(new ResProdDett_splitODLDataTable(ds.Tables["ResProdDett_splitODL"]));
|
|
}
|
|
if ((ds.Tables["ResProdDett_splitGG"] != null)) {
|
|
base.Tables.Add(new ResProdDett_splitGGDataTable(ds.Tables["ResProdDett_splitGG"]));
|
|
}
|
|
if ((ds.Tables["ResProdTot"] != null)) {
|
|
base.Tables.Add(new ResProdTotDataTable(ds.Tables["ResProdTot"]));
|
|
}
|
|
this.DataSetName = ds.DataSetName;
|
|
this.Prefix = ds.Prefix;
|
|
this.Namespace = ds.Namespace;
|
|
this.Locale = ds.Locale;
|
|
this.CaseSensitive = ds.CaseSensitive;
|
|
this.EnforceConstraints = ds.EnforceConstraints;
|
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
|
this.InitVars();
|
|
}
|
|
else {
|
|
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
|
}
|
|
this.GetSerializationData(info, context);
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
|
this.Relations.CollectionChanged += schemaChangedHandler;
|
|
}
|
|
|
|
[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 TempiCicloRilevatiDataTable TempiCicloRilevati {
|
|
get {
|
|
return this.tableTempiCicloRilevati;
|
|
}
|
|
}
|
|
|
|
[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 ODLDataTable ODL {
|
|
get {
|
|
return this.tableODL;
|
|
}
|
|
}
|
|
|
|
[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.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public DatiMacchineDataTable DatiMacchine {
|
|
get {
|
|
return this.tableDatiMacchine;
|
|
}
|
|
}
|
|
|
|
[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 PostazioniMapoDataTable PostazioniMapo {
|
|
get {
|
|
return this.tablePostazioniMapo;
|
|
}
|
|
}
|
|
|
|
[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 stp_PzProd_getByMacchinaDataTable stp_PzProd_getByMacchina {
|
|
get {
|
|
return this.tablestp_PzProd_getByMacchina;
|
|
}
|
|
}
|
|
|
|
[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 DatiConfermatiDataTable DatiConfermati {
|
|
get {
|
|
return this.tableDatiConfermati;
|
|
}
|
|
}
|
|
|
|
[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 CalendFesteFerieDataTable CalendFesteFerie {
|
|
get {
|
|
return this.tableCalendFesteFerie;
|
|
}
|
|
}
|
|
|
|
[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 stp_TempoByIdxMaccPeriodClassDataTable stp_TempoByIdxMaccPeriodClass {
|
|
get {
|
|
return this.tablestp_TempoByIdxMaccPeriodClass;
|
|
}
|
|
}
|
|
|
|
[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 DatiProduzioneDataTable DatiProduzione {
|
|
get {
|
|
return this.tableDatiProduzione;
|
|
}
|
|
}
|
|
|
|
[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 stp_repDonati_getDatiProdMacchinaDataTable stp_repDonati_getDatiProdMacchina {
|
|
get {
|
|
return this.tablestp_repDonati_getDatiProdMacchina;
|
|
}
|
|
}
|
|
|
|
[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 stp_repDonati_getLastStatoDurataMacchinaDataTable stp_repDonati_getLastStatoDurataMacchina {
|
|
get {
|
|
return this.tablestp_repDonati_getLastStatoDurataMacchina;
|
|
}
|
|
}
|
|
|
|
[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 stp_repDonati_getDatiProdMacchinaPeriodoDataTable stp_repDonati_getDatiProdMacchinaPeriodo {
|
|
get {
|
|
return this.tablestp_repDonati_getDatiProdMacchinaPeriodo;
|
|
}
|
|
}
|
|
|
|
[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 TurniMacchinaDataTable TurniMacchina {
|
|
get {
|
|
return this.tableTurniMacchina;
|
|
}
|
|
}
|
|
|
|
[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 MappaStatoExplDataTable MappaStatoExpl {
|
|
get {
|
|
return this.tableMappaStatoExpl;
|
|
}
|
|
}
|
|
|
|
[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 ProduzioneAs400DataTable ProduzioneAs400 {
|
|
get {
|
|
return this.tableProduzioneAs400;
|
|
}
|
|
}
|
|
|
|
[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 ResProdDett_splitODLDataTable ResProdDett_splitODL {
|
|
get {
|
|
return this.tableResProdDett_splitODL;
|
|
}
|
|
}
|
|
|
|
[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 ResProdDett_splitGGDataTable ResProdDett_splitGG {
|
|
get {
|
|
return this.tableResProdDett_splitGG;
|
|
}
|
|
}
|
|
|
|
[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 ResProdTotDataTable ResProdTot {
|
|
get {
|
|
return this.tableResProdTot;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.BrowsableAttribute(true)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
|
|
public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
|
|
get {
|
|
return this._schemaSerializationMode;
|
|
}
|
|
set {
|
|
this._schemaSerializationMode = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
|
public new global::System.Data.DataTableCollection Tables {
|
|
get {
|
|
return base.Tables;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
|
public new global::System.Data.DataRelationCollection Relations {
|
|
get {
|
|
return base.Relations;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void InitializeDerivedDataSet() {
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataSet Clone() {
|
|
DS_ProdTempi cln = ((DS_ProdTempi)(base.Clone()));
|
|
cln.InitVars();
|
|
cln.SchemaSerializationMode = this.SchemaSerializationMode;
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override bool ShouldSerializeTables() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override bool ShouldSerializeRelations() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
|
|
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
|
this.Reset();
|
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
|
ds.ReadXml(reader);
|
|
if ((ds.Tables["TempiCicloRilevati"] != null)) {
|
|
base.Tables.Add(new TempiCicloRilevatiDataTable(ds.Tables["TempiCicloRilevati"]));
|
|
}
|
|
if ((ds.Tables["ODL"] != null)) {
|
|
base.Tables.Add(new ODLDataTable(ds.Tables["ODL"]));
|
|
}
|
|
if ((ds.Tables["AnagArticoli"] != null)) {
|
|
base.Tables.Add(new AnagArticoliDataTable(ds.Tables["AnagArticoli"]));
|
|
}
|
|
if ((ds.Tables["DatiMacchine"] != null)) {
|
|
base.Tables.Add(new DatiMacchineDataTable(ds.Tables["DatiMacchine"]));
|
|
}
|
|
if ((ds.Tables["PostazioniMapo"] != null)) {
|
|
base.Tables.Add(new PostazioniMapoDataTable(ds.Tables["PostazioniMapo"]));
|
|
}
|
|
if ((ds.Tables["stp_PzProd_getByMacchina"] != null)) {
|
|
base.Tables.Add(new stp_PzProd_getByMacchinaDataTable(ds.Tables["stp_PzProd_getByMacchina"]));
|
|
}
|
|
if ((ds.Tables["DatiConfermati"] != null)) {
|
|
base.Tables.Add(new DatiConfermatiDataTable(ds.Tables["DatiConfermati"]));
|
|
}
|
|
if ((ds.Tables["CalendFesteFerie"] != null)) {
|
|
base.Tables.Add(new CalendFesteFerieDataTable(ds.Tables["CalendFesteFerie"]));
|
|
}
|
|
if ((ds.Tables["stp_TempoByIdxMaccPeriodClass"] != null)) {
|
|
base.Tables.Add(new stp_TempoByIdxMaccPeriodClassDataTable(ds.Tables["stp_TempoByIdxMaccPeriodClass"]));
|
|
}
|
|
if ((ds.Tables["DatiProduzione"] != null)) {
|
|
base.Tables.Add(new DatiProduzioneDataTable(ds.Tables["DatiProduzione"]));
|
|
}
|
|
if ((ds.Tables["stp_repDonati_getDatiProdMacchina"] != null)) {
|
|
base.Tables.Add(new stp_repDonati_getDatiProdMacchinaDataTable(ds.Tables["stp_repDonati_getDatiProdMacchina"]));
|
|
}
|
|
if ((ds.Tables["stp_repDonati_getLastStatoDurataMacchina"] != null)) {
|
|
base.Tables.Add(new stp_repDonati_getLastStatoDurataMacchinaDataTable(ds.Tables["stp_repDonati_getLastStatoDurataMacchina"]));
|
|
}
|
|
if ((ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"] != null)) {
|
|
base.Tables.Add(new stp_repDonati_getDatiProdMacchinaPeriodoDataTable(ds.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"]));
|
|
}
|
|
if ((ds.Tables["TurniMacchina"] != null)) {
|
|
base.Tables.Add(new TurniMacchinaDataTable(ds.Tables["TurniMacchina"]));
|
|
}
|
|
if ((ds.Tables["MappaStatoExpl"] != null)) {
|
|
base.Tables.Add(new MappaStatoExplDataTable(ds.Tables["MappaStatoExpl"]));
|
|
}
|
|
if ((ds.Tables["ProduzioneAs400"] != null)) {
|
|
base.Tables.Add(new ProduzioneAs400DataTable(ds.Tables["ProduzioneAs400"]));
|
|
}
|
|
if ((ds.Tables["ResProdDett_splitODL"] != null)) {
|
|
base.Tables.Add(new ResProdDett_splitODLDataTable(ds.Tables["ResProdDett_splitODL"]));
|
|
}
|
|
if ((ds.Tables["ResProdDett_splitGG"] != null)) {
|
|
base.Tables.Add(new ResProdDett_splitGGDataTable(ds.Tables["ResProdDett_splitGG"]));
|
|
}
|
|
if ((ds.Tables["ResProdTot"] != null)) {
|
|
base.Tables.Add(new ResProdTotDataTable(ds.Tables["ResProdTot"]));
|
|
}
|
|
this.DataSetName = ds.DataSetName;
|
|
this.Prefix = ds.Prefix;
|
|
this.Namespace = ds.Namespace;
|
|
this.Locale = ds.Locale;
|
|
this.CaseSensitive = ds.CaseSensitive;
|
|
this.EnforceConstraints = ds.EnforceConstraints;
|
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
|
this.InitVars();
|
|
}
|
|
else {
|
|
this.ReadXml(reader);
|
|
this.InitVars();
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
|
|
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
|
|
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
|
|
stream.Position = 0;
|
|
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.InitVars(true);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars(bool initTable) {
|
|
this.tableTempiCicloRilevati = ((TempiCicloRilevatiDataTable)(base.Tables["TempiCicloRilevati"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableTempiCicloRilevati != null)) {
|
|
this.tableTempiCicloRilevati.InitVars();
|
|
}
|
|
}
|
|
this.tableODL = ((ODLDataTable)(base.Tables["ODL"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableODL != null)) {
|
|
this.tableODL.InitVars();
|
|
}
|
|
}
|
|
this.tableAnagArticoli = ((AnagArticoliDataTable)(base.Tables["AnagArticoli"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAnagArticoli != null)) {
|
|
this.tableAnagArticoli.InitVars();
|
|
}
|
|
}
|
|
this.tableDatiMacchine = ((DatiMacchineDataTable)(base.Tables["DatiMacchine"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableDatiMacchine != null)) {
|
|
this.tableDatiMacchine.InitVars();
|
|
}
|
|
}
|
|
this.tablePostazioniMapo = ((PostazioniMapoDataTable)(base.Tables["PostazioniMapo"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablePostazioniMapo != null)) {
|
|
this.tablePostazioniMapo.InitVars();
|
|
}
|
|
}
|
|
this.tablestp_PzProd_getByMacchina = ((stp_PzProd_getByMacchinaDataTable)(base.Tables["stp_PzProd_getByMacchina"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_PzProd_getByMacchina != null)) {
|
|
this.tablestp_PzProd_getByMacchina.InitVars();
|
|
}
|
|
}
|
|
this.tableDatiConfermati = ((DatiConfermatiDataTable)(base.Tables["DatiConfermati"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableDatiConfermati != null)) {
|
|
this.tableDatiConfermati.InitVars();
|
|
}
|
|
}
|
|
this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(base.Tables["CalendFesteFerie"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableCalendFesteFerie != null)) {
|
|
this.tableCalendFesteFerie.InitVars();
|
|
}
|
|
}
|
|
this.tablestp_TempoByIdxMaccPeriodClass = ((stp_TempoByIdxMaccPeriodClassDataTable)(base.Tables["stp_TempoByIdxMaccPeriodClass"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_TempoByIdxMaccPeriodClass != null)) {
|
|
this.tablestp_TempoByIdxMaccPeriodClass.InitVars();
|
|
}
|
|
}
|
|
this.tableDatiProduzione = ((DatiProduzioneDataTable)(base.Tables["DatiProduzione"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableDatiProduzione != null)) {
|
|
this.tableDatiProduzione.InitVars();
|
|
}
|
|
}
|
|
this.tablestp_repDonati_getDatiProdMacchina = ((stp_repDonati_getDatiProdMacchinaDataTable)(base.Tables["stp_repDonati_getDatiProdMacchina"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_repDonati_getDatiProdMacchina != null)) {
|
|
this.tablestp_repDonati_getDatiProdMacchina.InitVars();
|
|
}
|
|
}
|
|
this.tablestp_repDonati_getLastStatoDurataMacchina = ((stp_repDonati_getLastStatoDurataMacchinaDataTable)(base.Tables["stp_repDonati_getLastStatoDurataMacchina"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_repDonati_getLastStatoDurataMacchina != null)) {
|
|
this.tablestp_repDonati_getLastStatoDurataMacchina.InitVars();
|
|
}
|
|
}
|
|
this.tablestp_repDonati_getDatiProdMacchinaPeriodo = ((stp_repDonati_getDatiProdMacchinaPeriodoDataTable)(base.Tables["stp_repDonati_getDatiProdMacchinaPeriodo"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_repDonati_getDatiProdMacchinaPeriodo != null)) {
|
|
this.tablestp_repDonati_getDatiProdMacchinaPeriodo.InitVars();
|
|
}
|
|
}
|
|
this.tableTurniMacchina = ((TurniMacchinaDataTable)(base.Tables["TurniMacchina"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableTurniMacchina != null)) {
|
|
this.tableTurniMacchina.InitVars();
|
|
}
|
|
}
|
|
this.tableMappaStatoExpl = ((MappaStatoExplDataTable)(base.Tables["MappaStatoExpl"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableMappaStatoExpl != null)) {
|
|
this.tableMappaStatoExpl.InitVars();
|
|
}
|
|
}
|
|
this.tableProduzioneAs400 = ((ProduzioneAs400DataTable)(base.Tables["ProduzioneAs400"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableProduzioneAs400 != null)) {
|
|
this.tableProduzioneAs400.InitVars();
|
|
}
|
|
}
|
|
this.tableResProdDett_splitODL = ((ResProdDett_splitODLDataTable)(base.Tables["ResProdDett_splitODL"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableResProdDett_splitODL != null)) {
|
|
this.tableResProdDett_splitODL.InitVars();
|
|
}
|
|
}
|
|
this.tableResProdDett_splitGG = ((ResProdDett_splitGGDataTable)(base.Tables["ResProdDett_splitGG"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableResProdDett_splitGG != null)) {
|
|
this.tableResProdDett_splitGG.InitVars();
|
|
}
|
|
}
|
|
this.tableResProdTot = ((ResProdTotDataTable)(base.Tables["ResProdTot"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableResProdTot != null)) {
|
|
this.tableResProdTot.InitVars();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.DataSetName = "DS_ProdTempi";
|
|
this.Prefix = "";
|
|
this.Namespace = "http://tempuri.org/DS_ProdTempi.xsd";
|
|
this.EnforceConstraints = true;
|
|
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
this.tableTempiCicloRilevati = new TempiCicloRilevatiDataTable();
|
|
base.Tables.Add(this.tableTempiCicloRilevati);
|
|
this.tableODL = new ODLDataTable();
|
|
base.Tables.Add(this.tableODL);
|
|
this.tableAnagArticoli = new AnagArticoliDataTable();
|
|
base.Tables.Add(this.tableAnagArticoli);
|
|
this.tableDatiMacchine = new DatiMacchineDataTable();
|
|
base.Tables.Add(this.tableDatiMacchine);
|
|
this.tablePostazioniMapo = new PostazioniMapoDataTable();
|
|
base.Tables.Add(this.tablePostazioniMapo);
|
|
this.tablestp_PzProd_getByMacchina = new stp_PzProd_getByMacchinaDataTable();
|
|
base.Tables.Add(this.tablestp_PzProd_getByMacchina);
|
|
this.tableDatiConfermati = new DatiConfermatiDataTable();
|
|
base.Tables.Add(this.tableDatiConfermati);
|
|
this.tableCalendFesteFerie = new CalendFesteFerieDataTable();
|
|
base.Tables.Add(this.tableCalendFesteFerie);
|
|
this.tablestp_TempoByIdxMaccPeriodClass = new stp_TempoByIdxMaccPeriodClassDataTable();
|
|
base.Tables.Add(this.tablestp_TempoByIdxMaccPeriodClass);
|
|
this.tableDatiProduzione = new DatiProduzioneDataTable();
|
|
base.Tables.Add(this.tableDatiProduzione);
|
|
this.tablestp_repDonati_getDatiProdMacchina = new stp_repDonati_getDatiProdMacchinaDataTable();
|
|
base.Tables.Add(this.tablestp_repDonati_getDatiProdMacchina);
|
|
this.tablestp_repDonati_getLastStatoDurataMacchina = new stp_repDonati_getLastStatoDurataMacchinaDataTable();
|
|
base.Tables.Add(this.tablestp_repDonati_getLastStatoDurataMacchina);
|
|
this.tablestp_repDonati_getDatiProdMacchinaPeriodo = new stp_repDonati_getDatiProdMacchinaPeriodoDataTable();
|
|
base.Tables.Add(this.tablestp_repDonati_getDatiProdMacchinaPeriodo);
|
|
this.tableTurniMacchina = new TurniMacchinaDataTable();
|
|
base.Tables.Add(this.tableTurniMacchina);
|
|
this.tableMappaStatoExpl = new MappaStatoExplDataTable();
|
|
base.Tables.Add(this.tableMappaStatoExpl);
|
|
this.tableProduzioneAs400 = new ProduzioneAs400DataTable();
|
|
base.Tables.Add(this.tableProduzioneAs400);
|
|
this.tableResProdDett_splitODL = new ResProdDett_splitODLDataTable();
|
|
base.Tables.Add(this.tableResProdDett_splitODL);
|
|
this.tableResProdDett_splitGG = new ResProdDett_splitGGDataTable();
|
|
base.Tables.Add(this.tableResProdDett_splitGG);
|
|
this.tableResProdTot = new ResProdTotDataTable();
|
|
base.Tables.Add(this.tableResProdTot);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeTempiCicloRilevati() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeODL() {
|
|
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 bool ShouldSerializeDatiMacchine() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializePostazioniMapo() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializestp_PzProd_getByMacchina() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeDatiConfermati() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeCalendFesteFerie() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializestp_TempoByIdxMaccPeriodClass() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeDatiProduzione() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializestp_repDonati_getDatiProdMacchina() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializestp_repDonati_getLastStatoDurataMacchina() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializestp_repDonati_getDatiProdMacchinaPeriodo() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeTurniMacchina() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeMappaStatoExpl() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeProduzioneAs400() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeResProdDett_splitODL() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeResProdDett_splitGG() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeResProdTot() {
|
|
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) {
|
|
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
|
|
this.InitVars();
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
DS_ProdTempi ds = new DS_ProdTempi();
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any.Namespace = ds.Namespace;
|
|
sequence.Items.Add(any);
|
|
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;
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void TempiCicloRilevatiRowChangeEventHandler(object sender, TempiCicloRilevatiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void ODLRowChangeEventHandler(object sender, ODLRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AnagArticoliRowChangeEventHandler(object sender, AnagArticoliRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void DatiMacchineRowChangeEventHandler(object sender, DatiMacchineRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void PostazioniMapoRowChangeEventHandler(object sender, PostazioniMapoRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_PzProd_getByMacchinaRowChangeEventHandler(object sender, stp_PzProd_getByMacchinaRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void DatiConfermatiRowChangeEventHandler(object sender, DatiConfermatiRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void CalendFesteFerieRowChangeEventHandler(object sender, CalendFesteFerieRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_TempoByIdxMaccPeriodClassRowChangeEventHandler(object sender, stp_TempoByIdxMaccPeriodClassRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void DatiProduzioneRowChangeEventHandler(object sender, DatiProduzioneRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_repDonati_getDatiProdMacchinaRowChangeEventHandler(object sender, stp_repDonati_getDatiProdMacchinaRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler(object sender, stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler(object sender, stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void TurniMacchinaRowChangeEventHandler(object sender, TurniMacchinaRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void MappaStatoExplRowChangeEventHandler(object sender, MappaStatoExplRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void ProduzioneAs400RowChangeEventHandler(object sender, ProduzioneAs400RowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void ResProdDett_splitODLRowChangeEventHandler(object sender, ResProdDett_splitODLRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void ResProdDett_splitGGRowChangeEventHandler(object sender, ResProdDett_splitGGRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void ResProdTotRowChangeEventHandler(object sender, ResProdTotRowChangeEvent e);
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class TempiCicloRilevatiDataTable : global::System.Data.TypedTableBase<TempiCicloRilevatiRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnDataOraRif;
|
|
|
|
private global::System.Data.DataColumn columnTCMedio;
|
|
|
|
private global::System.Data.DataColumn columnPzProd;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TempiCicloRilevatiDataTable() {
|
|
this.TableName = "TempiCicloRilevati";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TempiCicloRilevatiDataTable(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 TempiCicloRilevatiDataTable(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 IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[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 DataOraRifColumn {
|
|
get {
|
|
return this.columnDataOraRif;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCMedioColumn {
|
|
get {
|
|
return this.columnTCMedio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn PzProdColumn {
|
|
get {
|
|
return this.columnPzProd;
|
|
}
|
|
}
|
|
|
|
[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 TempiCicloRilevatiRow this[int index] {
|
|
get {
|
|
return ((TempiCicloRilevatiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TempiCicloRilevatiRowChangeEventHandler TempiCicloRilevatiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddTempiCicloRilevatiRow(TempiCicloRilevatiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TempiCicloRilevatiRow AddTempiCicloRilevatiRow(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd) {
|
|
TempiCicloRilevatiRow rowTempiCicloRilevatiRow = ((TempiCicloRilevatiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
IdxMacchina,
|
|
CodArticolo,
|
|
DataOraRif,
|
|
TCMedio,
|
|
PzProd};
|
|
rowTempiCicloRilevatiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowTempiCicloRilevatiRow);
|
|
return rowTempiCicloRilevatiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TempiCicloRilevatiRow FindByIdxMacchinaCodArticoloDataOraRif(string IdxMacchina, string CodArticolo, System.DateTime DataOraRif) {
|
|
return ((TempiCicloRilevatiRow)(this.Rows.Find(new object[] {
|
|
IdxMacchina,
|
|
CodArticolo,
|
|
DataOraRif})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
TempiCicloRilevatiDataTable cln = ((TempiCicloRilevatiDataTable)(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 TempiCicloRilevatiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnCodArticolo = base.Columns["CodArticolo"];
|
|
this.columnDataOraRif = base.Columns["DataOraRif"];
|
|
this.columnTCMedio = base.Columns["TCMedio"];
|
|
this.columnPzProd = base.Columns["PzProd"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnDataOraRif = new global::System.Data.DataColumn("DataOraRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOraRif);
|
|
this.columnTCMedio = new global::System.Data.DataColumn("TCMedio", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCMedio);
|
|
this.columnPzProd = new global::System.Data.DataColumn("PzProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPzProd);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxMacchina,
|
|
this.columnCodArticolo,
|
|
this.columnDataOraRif}, true));
|
|
this.columnIdxMacchina.AllowDBNull = false;
|
|
this.columnIdxMacchina.MaxLength = 50;
|
|
this.columnCodArticolo.AllowDBNull = false;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnDataOraRif.AllowDBNull = false;
|
|
this.columnTCMedio.AllowDBNull = false;
|
|
this.columnPzProd.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TempiCicloRilevatiRow NewTempiCicloRilevatiRow() {
|
|
return ((TempiCicloRilevatiRow)(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 TempiCicloRilevatiRow(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(TempiCicloRilevatiRow);
|
|
}
|
|
|
|
[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.TempiCicloRilevatiRowChanged != null)) {
|
|
this.TempiCicloRilevatiRowChanged(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(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.TempiCicloRilevatiRowChanging != null)) {
|
|
this.TempiCicloRilevatiRowChanging(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(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.TempiCicloRilevatiRowDeleted != null)) {
|
|
this.TempiCicloRilevatiRowDeleted(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(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.TempiCicloRilevatiRowDeleting != null)) {
|
|
this.TempiCicloRilevatiRowDeleting(this, new TempiCicloRilevatiRowChangeEvent(((TempiCicloRilevatiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveTempiCicloRilevatiRow(TempiCicloRilevatiRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "TempiCicloRilevatiDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class ODLDataTable : global::System.Data.TypedTableBase<ODLRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxODL;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnNumPezzi;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnDescArticolo;
|
|
|
|
private global::System.Data.DataColumn columnCodMacchina;
|
|
|
|
private global::System.Data.DataColumn columnNome;
|
|
|
|
private global::System.Data.DataColumn columnDataInizio;
|
|
|
|
private global::System.Data.DataColumn columnDataFine;
|
|
|
|
private global::System.Data.DataColumn columnNote;
|
|
|
|
private global::System.Data.DataColumn columnNeedAppr;
|
|
|
|
private global::System.Data.DataColumn columnUserAppr;
|
|
|
|
private global::System.Data.DataColumn columnDataAppr;
|
|
|
|
private global::System.Data.DataColumn columnTCRichAttr;
|
|
|
|
private global::System.Data.DataColumn columnToAs400;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ODLDataTable() {
|
|
this.TableName = "ODL";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ODLDataTable(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 ODLDataTable(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 IdxODLColumn {
|
|
get {
|
|
return this.columnIdxODL;
|
|
}
|
|
}
|
|
|
|
[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 IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NumPezziColumn {
|
|
get {
|
|
return this.columnNumPezzi;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[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 CodMacchinaColumn {
|
|
get {
|
|
return this.columnCodMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NomeColumn {
|
|
get {
|
|
return this.columnNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataInizioColumn {
|
|
get {
|
|
return this.columnDataInizio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataFineColumn {
|
|
get {
|
|
return this.columnDataFine;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NoteColumn {
|
|
get {
|
|
return this.columnNote;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NeedApprColumn {
|
|
get {
|
|
return this.columnNeedAppr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn UserApprColumn {
|
|
get {
|
|
return this.columnUserAppr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataApprColumn {
|
|
get {
|
|
return this.columnDataAppr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCRichAttrColumn {
|
|
get {
|
|
return this.columnTCRichAttr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ToAs400Column {
|
|
get {
|
|
return this.columnToAs400;
|
|
}
|
|
}
|
|
|
|
[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 ODLRow this[int index] {
|
|
get {
|
|
return ((ODLRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ODLRowChangeEventHandler ODLRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ODLRowChangeEventHandler ODLRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ODLRowChangeEventHandler ODLRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ODLRowChangeEventHandler ODLRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddODLRow(ODLRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ODLRow AddODLRow(string CodArticolo, string IdxMacchina, int NumPezzi, decimal TCAssegnato, string DescArticolo, string CodMacchina, string Nome, System.DateTime DataInizio, System.DateTime DataFine, string Note, bool NeedAppr, string UserAppr, System.DateTime DataAppr, decimal TCRichAttr, bool ToAs400) {
|
|
ODLRow rowODLRow = ((ODLRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
CodArticolo,
|
|
IdxMacchina,
|
|
NumPezzi,
|
|
TCAssegnato,
|
|
DescArticolo,
|
|
CodMacchina,
|
|
Nome,
|
|
DataInizio,
|
|
DataFine,
|
|
Note,
|
|
NeedAppr,
|
|
UserAppr,
|
|
DataAppr,
|
|
TCRichAttr,
|
|
ToAs400};
|
|
rowODLRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowODLRow);
|
|
return rowODLRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ODLRow FindByIdxODL(int IdxODL) {
|
|
return ((ODLRow)(this.Rows.Find(new object[] {
|
|
IdxODL})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
ODLDataTable cln = ((ODLDataTable)(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 ODLDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxODL = base.Columns["IdxODL"];
|
|
this.columnCodArticolo = base.Columns["CodArticolo"];
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnNumPezzi = base.Columns["NumPezzi"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnDescArticolo = base.Columns["DescArticolo"];
|
|
this.columnCodMacchina = base.Columns["CodMacchina"];
|
|
this.columnNome = base.Columns["Nome"];
|
|
this.columnDataInizio = base.Columns["DataInizio"];
|
|
this.columnDataFine = base.Columns["DataFine"];
|
|
this.columnNote = base.Columns["Note"];
|
|
this.columnNeedAppr = base.Columns["NeedAppr"];
|
|
this.columnUserAppr = base.Columns["UserAppr"];
|
|
this.columnDataAppr = base.Columns["DataAppr"];
|
|
this.columnTCRichAttr = base.Columns["TCRichAttr"];
|
|
this.columnToAs400 = base.Columns["ToAs400"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxODL);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnNumPezzi = new global::System.Data.DataColumn("NumPezzi", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNumPezzi);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnDescArticolo = new global::System.Data.DataColumn("DescArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescArticolo);
|
|
this.columnCodMacchina = new global::System.Data.DataColumn("CodMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodMacchina);
|
|
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNome);
|
|
this.columnDataInizio = new global::System.Data.DataColumn("DataInizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataInizio);
|
|
this.columnDataFine = new global::System.Data.DataColumn("DataFine", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataFine);
|
|
this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNote);
|
|
this.columnNeedAppr = new global::System.Data.DataColumn("NeedAppr", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNeedAppr);
|
|
this.columnUserAppr = new global::System.Data.DataColumn("UserAppr", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnUserAppr);
|
|
this.columnDataAppr = new global::System.Data.DataColumn("DataAppr", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataAppr);
|
|
this.columnTCRichAttr = new global::System.Data.DataColumn("TCRichAttr", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCRichAttr);
|
|
this.columnToAs400 = new global::System.Data.DataColumn("ToAs400", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnToAs400);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxODL}, true));
|
|
this.columnIdxODL.AutoIncrement = true;
|
|
this.columnIdxODL.AutoIncrementSeed = -1;
|
|
this.columnIdxODL.AutoIncrementStep = -1;
|
|
this.columnIdxODL.AllowDBNull = false;
|
|
this.columnIdxODL.ReadOnly = true;
|
|
this.columnIdxODL.Unique = true;
|
|
this.columnCodArticolo.AllowDBNull = false;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnIdxMacchina.MaxLength = 50;
|
|
this.columnNumPezzi.AllowDBNull = false;
|
|
this.columnTCAssegnato.AllowDBNull = false;
|
|
this.columnDescArticolo.MaxLength = 250;
|
|
this.columnCodMacchina.MaxLength = 50;
|
|
this.columnNome.MaxLength = 50;
|
|
this.columnNote.MaxLength = 2500;
|
|
this.columnNeedAppr.AllowDBNull = false;
|
|
this.columnUserAppr.MaxLength = 50;
|
|
this.columnToAs400.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ODLRow NewODLRow() {
|
|
return ((ODLRow)(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 ODLRow(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(ODLRow);
|
|
}
|
|
|
|
[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.ODLRowChanged != null)) {
|
|
this.ODLRowChanged(this, new ODLRowChangeEvent(((ODLRow)(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.ODLRowChanging != null)) {
|
|
this.ODLRowChanging(this, new ODLRowChangeEvent(((ODLRow)(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.ODLRowDeleted != null)) {
|
|
this.ODLRowDeleted(this, new ODLRowChangeEvent(((ODLRow)(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.ODLRowDeleting != null)) {
|
|
this.ODLRowDeleting(this, new ODLRowChangeEvent(((ODLRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveODLRow(ODLRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "ODLDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class AnagArticoliDataTable : global::System.Data.TypedTableBase<AnagArticoliRow> {
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnDescArticolo;
|
|
|
|
[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")]
|
|
[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) {
|
|
AnagArticoliRow rowAnagArticoliRow = ((AnagArticoliRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
CodArticolo,
|
|
DescArticolo};
|
|
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"];
|
|
}
|
|
|
|
[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.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.MaxLength = 250;
|
|
}
|
|
|
|
[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_ProdTempi ds = new DS_ProdTempi();
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class DatiMacchineDataTable : global::System.Data.TypedTableBase<DatiMacchineRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxMacchina;
|
|
|
|
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;
|
|
|
|
private global::System.Data.DataColumn columnsimulazione;
|
|
|
|
private global::System.Data.DataColumn columnDescFull;
|
|
|
|
private global::System.Data.DataColumn columnArticolo_A;
|
|
|
|
private global::System.Data.DataColumn columnArticolo_B;
|
|
|
|
private global::System.Data.DataColumn columnsimplePallet;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiMacchineDataTable() {
|
|
this.TableName = "DatiMacchine";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DatiMacchineDataTable(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 DatiMacchineDataTable(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 idxMacchinaColumn {
|
|
get {
|
|
return this.columnidxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn palletChangeColumn {
|
|
get {
|
|
return this.columnpalletChange;
|
|
}
|
|
}
|
|
|
|
[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 {
|
|
get {
|
|
return this.columnserialPort;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn refreshPeriodColumn {
|
|
get {
|
|
return this.columnrefreshPeriod;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn simulazioneColumn {
|
|
get {
|
|
return this.columnsimulazione;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DescFullColumn {
|
|
get {
|
|
return this.columnDescFull;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Articolo_AColumn {
|
|
get {
|
|
return this.columnArticolo_A;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Articolo_BColumn {
|
|
get {
|
|
return this.columnArticolo_B;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn simplePalletColumn {
|
|
get {
|
|
return this.columnsimplePallet;
|
|
}
|
|
}
|
|
|
|
[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 DatiMacchineRow this[int index] {
|
|
get {
|
|
return ((DatiMacchineRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiMacchineRowChangeEventHandler DatiMacchineRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiMacchineRowChangeEventHandler DatiMacchineRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiMacchineRowChangeEventHandler DatiMacchineRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiMacchineRowChangeEventHandler DatiMacchineRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddDatiMacchineRow(DatiMacchineRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[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, string DescFull, string Articolo_A, string Articolo_B, bool simplePallet) {
|
|
DatiMacchineRow rowDatiMacchineRow = ((DatiMacchineRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxMacchina,
|
|
palletChange,
|
|
kanban_A,
|
|
kanban_B,
|
|
serialPort,
|
|
refreshPeriod,
|
|
simulazione,
|
|
DescFull,
|
|
Articolo_A,
|
|
Articolo_B,
|
|
simplePallet};
|
|
rowDatiMacchineRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowDatiMacchineRow);
|
|
return rowDatiMacchineRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
DatiMacchineDataTable cln = ((DatiMacchineDataTable)(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 DatiMacchineDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
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.columnDescFull = base.Columns["DescFull"];
|
|
this.columnArticolo_A = base.Columns["Articolo_A"];
|
|
this.columnArticolo_B = base.Columns["Articolo_B"];
|
|
this.columnsimplePallet = base.Columns["simplePallet"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element);
|
|
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);
|
|
base.Columns.Add(this.columnrefreshPeriod);
|
|
this.columnsimulazione = new global::System.Data.DataColumn("simulazione", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnsimulazione);
|
|
this.columnDescFull = new global::System.Data.DataColumn("DescFull", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescFull);
|
|
this.columnArticolo_A = new global::System.Data.DataColumn("Articolo_A", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnArticolo_A);
|
|
this.columnArticolo_B = new global::System.Data.DataColumn("Articolo_B", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnArticolo_B);
|
|
this.columnsimplePallet = new global::System.Data.DataColumn("simplePallet", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnsimplePallet);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("DatiMacchineKey1", new global::System.Data.DataColumn[] {
|
|
this.columnidxMacchina}, false));
|
|
this.columnidxMacchina.AllowDBNull = false;
|
|
this.columnidxMacchina.Unique = true;
|
|
this.columnkanban_A.MaxLength = 50;
|
|
this.columnkanban_B.MaxLength = 50;
|
|
this.columnserialPort.MaxLength = 50;
|
|
this.columnDescFull.ReadOnly = true;
|
|
this.columnDescFull.MaxLength = 159;
|
|
this.columnArticolo_A.ReadOnly = true;
|
|
this.columnArticolo_A.MaxLength = 50;
|
|
this.columnArticolo_B.ReadOnly = true;
|
|
this.columnArticolo_B.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiMacchineRow NewDatiMacchineRow() {
|
|
return ((DatiMacchineRow)(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 DatiMacchineRow(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(DatiMacchineRow);
|
|
}
|
|
|
|
[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.DatiMacchineRowChanged != null)) {
|
|
this.DatiMacchineRowChanged(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(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.DatiMacchineRowChanging != null)) {
|
|
this.DatiMacchineRowChanging(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(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.DatiMacchineRowDeleted != null)) {
|
|
this.DatiMacchineRowDeleted(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(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.DatiMacchineRowDeleting != null)) {
|
|
this.DatiMacchineRowDeleting(this, new DatiMacchineRowChangeEvent(((DatiMacchineRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveDatiMacchineRow(DatiMacchineRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "DatiMacchineDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class PostazioniMapoDataTable : global::System.Data.TypedTableBase<PostazioniMapoRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxPostazione;
|
|
|
|
private global::System.Data.DataColumn columnDescPostazione;
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnMatrOperatore;
|
|
|
|
private global::System.Data.DataColumn columnInputUntil;
|
|
|
|
private global::System.Data.DataColumn columnLastBarcode;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PostazioniMapoDataTable() {
|
|
this.TableName = "PostazioniMapo";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal PostazioniMapoDataTable(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 PostazioniMapoDataTable(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 IdxPostazioneColumn {
|
|
get {
|
|
return this.columnIdxPostazione;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DescPostazioneColumn {
|
|
get {
|
|
return this.columnDescPostazione;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MatrOperatoreColumn {
|
|
get {
|
|
return this.columnMatrOperatore;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn InputUntilColumn {
|
|
get {
|
|
return this.columnInputUntil;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn LastBarcodeColumn {
|
|
get {
|
|
return this.columnLastBarcode;
|
|
}
|
|
}
|
|
|
|
[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 PostazioniMapoRow this[int index] {
|
|
get {
|
|
return ((PostazioniMapoRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PostazioniMapoRowChangeEventHandler PostazioniMapoRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddPostazioniMapoRow(PostazioniMapoRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PostazioniMapoRow AddPostazioniMapoRow(string IdxPostazione, string DescPostazione, string IdxMacchina, int MatrOperatore, System.DateTime InputUntil, string LastBarcode) {
|
|
PostazioniMapoRow rowPostazioniMapoRow = ((PostazioniMapoRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
IdxPostazione,
|
|
DescPostazione,
|
|
IdxMacchina,
|
|
MatrOperatore,
|
|
InputUntil,
|
|
LastBarcode};
|
|
rowPostazioniMapoRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowPostazioniMapoRow);
|
|
return rowPostazioniMapoRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PostazioniMapoRow FindByIdxPostazione(string IdxPostazione) {
|
|
return ((PostazioniMapoRow)(this.Rows.Find(new object[] {
|
|
IdxPostazione})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
PostazioniMapoDataTable cln = ((PostazioniMapoDataTable)(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 PostazioniMapoDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxPostazione = base.Columns["IdxPostazione"];
|
|
this.columnDescPostazione = base.Columns["DescPostazione"];
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnMatrOperatore = base.Columns["MatrOperatore"];
|
|
this.columnInputUntil = base.Columns["InputUntil"];
|
|
this.columnLastBarcode = base.Columns["LastBarcode"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxPostazione = new global::System.Data.DataColumn("IdxPostazione", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxPostazione);
|
|
this.columnDescPostazione = new global::System.Data.DataColumn("DescPostazione", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescPostazione);
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnMatrOperatore = new global::System.Data.DataColumn("MatrOperatore", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMatrOperatore);
|
|
this.columnInputUntil = new global::System.Data.DataColumn("InputUntil", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnInputUntil);
|
|
this.columnLastBarcode = new global::System.Data.DataColumn("LastBarcode", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnLastBarcode);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxPostazione}, true));
|
|
this.columnIdxPostazione.AllowDBNull = false;
|
|
this.columnIdxPostazione.Unique = true;
|
|
this.columnIdxPostazione.MaxLength = 50;
|
|
this.columnDescPostazione.MaxLength = 50;
|
|
this.columnIdxMacchina.AllowDBNull = false;
|
|
this.columnIdxMacchina.MaxLength = 50;
|
|
this.columnLastBarcode.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PostazioniMapoRow NewPostazioniMapoRow() {
|
|
return ((PostazioniMapoRow)(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 PostazioniMapoRow(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(PostazioniMapoRow);
|
|
}
|
|
|
|
[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.PostazioniMapoRowChanged != null)) {
|
|
this.PostazioniMapoRowChanged(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(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.PostazioniMapoRowChanging != null)) {
|
|
this.PostazioniMapoRowChanging(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(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.PostazioniMapoRowDeleted != null)) {
|
|
this.PostazioniMapoRowDeleted(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(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.PostazioniMapoRowDeleting != null)) {
|
|
this.PostazioniMapoRowDeleting(this, new PostazioniMapoRowChangeEvent(((PostazioniMapoRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemovePostazioniMapoRow(PostazioniMapoRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "PostazioniMapoDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class stp_PzProd_getByMacchinaDataTable : global::System.Data.TypedTableBase<stp_PzProd_getByMacchinaRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnpezziNonConfermati;
|
|
|
|
private global::System.Data.DataColumn columnDataFrom;
|
|
|
|
private global::System.Data.DataColumn columnDataTo;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_PzProd_getByMacchinaDataTable() {
|
|
this.TableName = "stp_PzProd_getByMacchina";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_PzProd_getByMacchinaDataTable(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 stp_PzProd_getByMacchinaDataTable(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 idxMacchinaColumn {
|
|
get {
|
|
return this.columnidxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pezziNonConfermatiColumn {
|
|
get {
|
|
return this.columnpezziNonConfermati;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataFromColumn {
|
|
get {
|
|
return this.columnDataFrom;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataToColumn {
|
|
get {
|
|
return this.columnDataTo;
|
|
}
|
|
}
|
|
|
|
[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 stp_PzProd_getByMacchinaRow this[int index] {
|
|
get {
|
|
return ((stp_PzProd_getByMacchinaRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_PzProd_getByMacchinaRowChangeEventHandler stp_PzProd_getByMacchinaRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_PzProd_getByMacchinaRow(stp_PzProd_getByMacchinaRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_PzProd_getByMacchinaRow Addstp_PzProd_getByMacchinaRow(string idxMacchina, int pezziNonConfermati, System.DateTime DataFrom, System.DateTime DataTo) {
|
|
stp_PzProd_getByMacchinaRow rowstp_PzProd_getByMacchinaRow = ((stp_PzProd_getByMacchinaRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxMacchina,
|
|
pezziNonConfermati,
|
|
DataFrom,
|
|
DataTo};
|
|
rowstp_PzProd_getByMacchinaRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_PzProd_getByMacchinaRow);
|
|
return rowstp_PzProd_getByMacchinaRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_PzProd_getByMacchinaDataTable cln = ((stp_PzProd_getByMacchinaDataTable)(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 stp_PzProd_getByMacchinaDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxMacchina = base.Columns["idxMacchina"];
|
|
this.columnpezziNonConfermati = base.Columns["pezziNonConfermati"];
|
|
this.columnDataFrom = base.Columns["DataFrom"];
|
|
this.columnDataTo = base.Columns["DataTo"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxMacchina);
|
|
this.columnpezziNonConfermati = new global::System.Data.DataColumn("pezziNonConfermati", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpezziNonConfermati);
|
|
this.columnDataFrom = new global::System.Data.DataColumn("DataFrom", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataFrom);
|
|
this.columnDataTo = new global::System.Data.DataColumn("DataTo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataTo);
|
|
this.columnidxMacchina.ReadOnly = true;
|
|
this.columnidxMacchina.MaxLength = 50;
|
|
this.columnpezziNonConfermati.ReadOnly = true;
|
|
this.columnDataFrom.ReadOnly = true;
|
|
this.columnDataTo.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_PzProd_getByMacchinaRow Newstp_PzProd_getByMacchinaRow() {
|
|
return ((stp_PzProd_getByMacchinaRow)(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 stp_PzProd_getByMacchinaRow(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(stp_PzProd_getByMacchinaRow);
|
|
}
|
|
|
|
[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.stp_PzProd_getByMacchinaRowChanged != null)) {
|
|
this.stp_PzProd_getByMacchinaRowChanged(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(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.stp_PzProd_getByMacchinaRowChanging != null)) {
|
|
this.stp_PzProd_getByMacchinaRowChanging(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(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.stp_PzProd_getByMacchinaRowDeleted != null)) {
|
|
this.stp_PzProd_getByMacchinaRowDeleted(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(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.stp_PzProd_getByMacchinaRowDeleting != null)) {
|
|
this.stp_PzProd_getByMacchinaRowDeleting(this, new stp_PzProd_getByMacchinaRowChangeEvent(((stp_PzProd_getByMacchinaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_PzProd_getByMacchinaRow(stp_PzProd_getByMacchinaRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "stp_PzProd_getByMacchinaDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class DatiConfermatiDataTable : global::System.Data.TypedTableBase<DatiConfermatiRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxConferma;
|
|
|
|
private global::System.Data.DataColumn columnIdxODL;
|
|
|
|
private global::System.Data.DataColumn columnDataOraApp;
|
|
|
|
private global::System.Data.DataColumn columnDataRif;
|
|
|
|
private global::System.Data.DataColumn columnTurnoRif;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnMatrOpr;
|
|
|
|
private global::System.Data.DataColumn columnMatrApp;
|
|
|
|
private global::System.Data.DataColumn columnDataOraFrom;
|
|
|
|
private global::System.Data.DataColumn columnDataOraTo;
|
|
|
|
private global::System.Data.DataColumn columnIdxStato;
|
|
|
|
private global::System.Data.DataColumn columnTotPzProd;
|
|
|
|
private global::System.Data.DataColumn columnTempoProdotto;
|
|
|
|
private global::System.Data.DataColumn columnTempoCron;
|
|
|
|
private global::System.Data.DataColumn columnTempoND;
|
|
|
|
private global::System.Data.DataColumn columnTempoApertura;
|
|
|
|
private global::System.Data.DataColumn columnTempoOFF;
|
|
|
|
private global::System.Data.DataColumn columnTempoON;
|
|
|
|
private global::System.Data.DataColumn columnTempoFermoOn;
|
|
|
|
private global::System.Data.DataColumn columnTempoAuto;
|
|
|
|
private global::System.Data.DataColumn columnTempoFermoAuto;
|
|
|
|
private global::System.Data.DataColumn columnTempoRun;
|
|
|
|
private global::System.Data.DataColumn columnTotPzFermo;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiConfermatiDataTable() {
|
|
this.TableName = "DatiConfermati";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DatiConfermatiDataTable(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 DatiConfermatiDataTable(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 IdxConfermaColumn {
|
|
get {
|
|
return this.columnIdxConferma;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxODLColumn {
|
|
get {
|
|
return this.columnIdxODL;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataOraAppColumn {
|
|
get {
|
|
return this.columnDataOraApp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataRifColumn {
|
|
get {
|
|
return this.columnDataRif;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TurnoRifColumn {
|
|
get {
|
|
return this.columnTurnoRif;
|
|
}
|
|
}
|
|
|
|
[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 IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MatrOprColumn {
|
|
get {
|
|
return this.columnMatrOpr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MatrAppColumn {
|
|
get {
|
|
return this.columnMatrApp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataOraFromColumn {
|
|
get {
|
|
return this.columnDataOraFrom;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataOraToColumn {
|
|
get {
|
|
return this.columnDataOraTo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxStatoColumn {
|
|
get {
|
|
return this.columnIdxStato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TotPzProdColumn {
|
|
get {
|
|
return this.columnTotPzProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoProdottoColumn {
|
|
get {
|
|
return this.columnTempoProdotto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoCronColumn {
|
|
get {
|
|
return this.columnTempoCron;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoNDColumn {
|
|
get {
|
|
return this.columnTempoND;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoAperturaColumn {
|
|
get {
|
|
return this.columnTempoApertura;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoOFFColumn {
|
|
get {
|
|
return this.columnTempoOFF;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoONColumn {
|
|
get {
|
|
return this.columnTempoON;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoFermoOnColumn {
|
|
get {
|
|
return this.columnTempoFermoOn;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoAutoColumn {
|
|
get {
|
|
return this.columnTempoAuto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoFermoAutoColumn {
|
|
get {
|
|
return this.columnTempoFermoAuto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoRunColumn {
|
|
get {
|
|
return this.columnTempoRun;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TotPzFermoColumn {
|
|
get {
|
|
return this.columnTotPzFermo;
|
|
}
|
|
}
|
|
|
|
[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 DatiConfermatiRow this[int index] {
|
|
get {
|
|
return ((DatiConfermatiRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiConfermatiRowChangeEventHandler DatiConfermatiRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddDatiConfermatiRow(DatiConfermatiRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiConfermatiRow AddDatiConfermatiRow(
|
|
int IdxODL,
|
|
System.DateTime DataOraApp,
|
|
System.DateTime DataRif,
|
|
int TurnoRif,
|
|
string CodArticolo,
|
|
string IdxMacchina,
|
|
decimal TCAssegnato,
|
|
int MatrOpr,
|
|
int MatrApp,
|
|
System.DateTime DataOraFrom,
|
|
System.DateTime DataOraTo,
|
|
int IdxStato,
|
|
int TotPzProd,
|
|
decimal TempoProdotto,
|
|
decimal TempoCron,
|
|
decimal TempoND,
|
|
decimal TempoApertura,
|
|
decimal TempoOFF,
|
|
decimal TempoON,
|
|
decimal TempoFermoOn,
|
|
decimal TempoAuto,
|
|
decimal TempoFermoAuto,
|
|
decimal TempoRun,
|
|
int TotPzFermo) {
|
|
DatiConfermatiRow rowDatiConfermatiRow = ((DatiConfermatiRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
IdxODL,
|
|
DataOraApp,
|
|
DataRif,
|
|
TurnoRif,
|
|
CodArticolo,
|
|
IdxMacchina,
|
|
TCAssegnato,
|
|
MatrOpr,
|
|
MatrApp,
|
|
DataOraFrom,
|
|
DataOraTo,
|
|
IdxStato,
|
|
TotPzProd,
|
|
TempoProdotto,
|
|
TempoCron,
|
|
TempoND,
|
|
TempoApertura,
|
|
TempoOFF,
|
|
TempoON,
|
|
TempoFermoOn,
|
|
TempoAuto,
|
|
TempoFermoAuto,
|
|
TempoRun,
|
|
TotPzFermo};
|
|
rowDatiConfermatiRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowDatiConfermatiRow);
|
|
return rowDatiConfermatiRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiConfermatiRow FindByIdxConferma(int IdxConferma) {
|
|
return ((DatiConfermatiRow)(this.Rows.Find(new object[] {
|
|
IdxConferma})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
DatiConfermatiDataTable cln = ((DatiConfermatiDataTable)(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 DatiConfermatiDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxConferma = base.Columns["IdxConferma"];
|
|
this.columnIdxODL = base.Columns["IdxODL"];
|
|
this.columnDataOraApp = base.Columns["DataOraApp"];
|
|
this.columnDataRif = base.Columns["DataRif"];
|
|
this.columnTurnoRif = base.Columns["TurnoRif"];
|
|
this.columnCodArticolo = base.Columns["CodArticolo"];
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnMatrOpr = base.Columns["MatrOpr"];
|
|
this.columnMatrApp = base.Columns["MatrApp"];
|
|
this.columnDataOraFrom = base.Columns["DataOraFrom"];
|
|
this.columnDataOraTo = base.Columns["DataOraTo"];
|
|
this.columnIdxStato = base.Columns["IdxStato"];
|
|
this.columnTotPzProd = base.Columns["TotPzProd"];
|
|
this.columnTempoProdotto = base.Columns["TempoProdotto"];
|
|
this.columnTempoCron = base.Columns["TempoCron"];
|
|
this.columnTempoND = base.Columns["TempoND"];
|
|
this.columnTempoApertura = base.Columns["TempoApertura"];
|
|
this.columnTempoOFF = base.Columns["TempoOFF"];
|
|
this.columnTempoON = base.Columns["TempoON"];
|
|
this.columnTempoFermoOn = base.Columns["TempoFermoOn"];
|
|
this.columnTempoAuto = base.Columns["TempoAuto"];
|
|
this.columnTempoFermoAuto = base.Columns["TempoFermoAuto"];
|
|
this.columnTempoRun = base.Columns["TempoRun"];
|
|
this.columnTotPzFermo = base.Columns["TotPzFermo"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxConferma = new global::System.Data.DataColumn("IdxConferma", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxConferma);
|
|
this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxODL);
|
|
this.columnDataOraApp = new global::System.Data.DataColumn("DataOraApp", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOraApp);
|
|
this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataRif);
|
|
this.columnTurnoRif = new global::System.Data.DataColumn("TurnoRif", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTurnoRif);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnMatrOpr = new global::System.Data.DataColumn("MatrOpr", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMatrOpr);
|
|
this.columnMatrApp = new global::System.Data.DataColumn("MatrApp", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMatrApp);
|
|
this.columnDataOraFrom = new global::System.Data.DataColumn("DataOraFrom", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOraFrom);
|
|
this.columnDataOraTo = new global::System.Data.DataColumn("DataOraTo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOraTo);
|
|
this.columnIdxStato = new global::System.Data.DataColumn("IdxStato", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxStato);
|
|
this.columnTotPzProd = new global::System.Data.DataColumn("TotPzProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTotPzProd);
|
|
this.columnTempoProdotto = new global::System.Data.DataColumn("TempoProdotto", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoProdotto);
|
|
this.columnTempoCron = new global::System.Data.DataColumn("TempoCron", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoCron);
|
|
this.columnTempoND = new global::System.Data.DataColumn("TempoND", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoND);
|
|
this.columnTempoApertura = new global::System.Data.DataColumn("TempoApertura", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoApertura);
|
|
this.columnTempoOFF = new global::System.Data.DataColumn("TempoOFF", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoOFF);
|
|
this.columnTempoON = new global::System.Data.DataColumn("TempoON", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoON);
|
|
this.columnTempoFermoOn = new global::System.Data.DataColumn("TempoFermoOn", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoFermoOn);
|
|
this.columnTempoAuto = new global::System.Data.DataColumn("TempoAuto", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoAuto);
|
|
this.columnTempoFermoAuto = new global::System.Data.DataColumn("TempoFermoAuto", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoFermoAuto);
|
|
this.columnTempoRun = new global::System.Data.DataColumn("TempoRun", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoRun);
|
|
this.columnTotPzFermo = new global::System.Data.DataColumn("TotPzFermo", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTotPzFermo);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxConferma}, true));
|
|
this.columnIdxConferma.AutoIncrement = true;
|
|
this.columnIdxConferma.AutoIncrementSeed = -1;
|
|
this.columnIdxConferma.AutoIncrementStep = -1;
|
|
this.columnIdxConferma.AllowDBNull = false;
|
|
this.columnIdxConferma.ReadOnly = true;
|
|
this.columnIdxConferma.Unique = true;
|
|
this.columnIdxODL.AllowDBNull = false;
|
|
this.columnDataOraApp.AllowDBNull = false;
|
|
this.columnDataRif.AllowDBNull = false;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnIdxMacchina.AllowDBNull = false;
|
|
this.columnIdxMacchina.MaxLength = 50;
|
|
this.columnMatrApp.AllowDBNull = false;
|
|
this.columnIdxStato.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiConfermatiRow NewDatiConfermatiRow() {
|
|
return ((DatiConfermatiRow)(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 DatiConfermatiRow(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(DatiConfermatiRow);
|
|
}
|
|
|
|
[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.DatiConfermatiRowChanged != null)) {
|
|
this.DatiConfermatiRowChanged(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(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.DatiConfermatiRowChanging != null)) {
|
|
this.DatiConfermatiRowChanging(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(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.DatiConfermatiRowDeleted != null)) {
|
|
this.DatiConfermatiRowDeleted(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(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.DatiConfermatiRowDeleting != null)) {
|
|
this.DatiConfermatiRowDeleting(this, new DatiConfermatiRowChangeEvent(((DatiConfermatiRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveDatiConfermatiRow(DatiConfermatiRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "DatiConfermatiDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class CalendFesteFerieDataTable : global::System.Data.TypedTableBase<CalendFesteFerieRow> {
|
|
|
|
private global::System.Data.DataColumn columndata;
|
|
|
|
private global::System.Data.DataColumn columndescrizione;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieDataTable() {
|
|
this.TableName = "CalendFesteFerie";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal CalendFesteFerieDataTable(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 CalendFesteFerieDataTable(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 dataColumn {
|
|
get {
|
|
return this.columndata;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn descrizioneColumn {
|
|
get {
|
|
return this.columndescrizione;
|
|
}
|
|
}
|
|
|
|
[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 CalendFesteFerieRow this[int index] {
|
|
get {
|
|
return ((CalendFesteFerieRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event CalendFesteFerieRowChangeEventHandler CalendFesteFerieRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddCalendFesteFerieRow(CalendFesteFerieRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow AddCalendFesteFerieRow(System.DateTime data, string descrizione) {
|
|
CalendFesteFerieRow rowCalendFesteFerieRow = ((CalendFesteFerieRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
data,
|
|
descrizione};
|
|
rowCalendFesteFerieRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowCalendFesteFerieRow);
|
|
return rowCalendFesteFerieRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow FindBydata(System.DateTime data) {
|
|
return ((CalendFesteFerieRow)(this.Rows.Find(new object[] {
|
|
data})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
CalendFesteFerieDataTable cln = ((CalendFesteFerieDataTable)(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 CalendFesteFerieDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columndata = base.Columns["data"];
|
|
this.columndescrizione = base.Columns["descrizione"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndata);
|
|
this.columndescrizione = new global::System.Data.DataColumn("descrizione", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndescrizione);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columndata}, true));
|
|
this.columndata.AllowDBNull = false;
|
|
this.columndata.Unique = true;
|
|
this.columndescrizione.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public CalendFesteFerieRow NewCalendFesteFerieRow() {
|
|
return ((CalendFesteFerieRow)(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 CalendFesteFerieRow(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(CalendFesteFerieRow);
|
|
}
|
|
|
|
[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.CalendFesteFerieRowChanged != null)) {
|
|
this.CalendFesteFerieRowChanged(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(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.CalendFesteFerieRowChanging != null)) {
|
|
this.CalendFesteFerieRowChanging(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(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.CalendFesteFerieRowDeleted != null)) {
|
|
this.CalendFesteFerieRowDeleted(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(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.CalendFesteFerieRowDeleting != null)) {
|
|
this.CalendFesteFerieRowDeleting(this, new CalendFesteFerieRowChangeEvent(((CalendFesteFerieRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveCalendFesteFerieRow(CalendFesteFerieRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "CalendFesteFerieDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class stp_TempoByIdxMaccPeriodClassDataTable : global::System.Data.TypedTableBase<stp_TempoByIdxMaccPeriodClassRow> {
|
|
|
|
private global::System.Data.DataColumn columnore;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_TempoByIdxMaccPeriodClassDataTable() {
|
|
this.TableName = "stp_TempoByIdxMaccPeriodClass";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_TempoByIdxMaccPeriodClassDataTable(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 stp_TempoByIdxMaccPeriodClassDataTable(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 oreColumn {
|
|
get {
|
|
return this.columnore;
|
|
}
|
|
}
|
|
|
|
[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 stp_TempoByIdxMaccPeriodClassRow this[int index] {
|
|
get {
|
|
return ((stp_TempoByIdxMaccPeriodClassRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_TempoByIdxMaccPeriodClassRowChangeEventHandler stp_TempoByIdxMaccPeriodClassRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_TempoByIdxMaccPeriodClassRow(stp_TempoByIdxMaccPeriodClassRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_TempoByIdxMaccPeriodClassRow Addstp_TempoByIdxMaccPeriodClassRow(decimal ore) {
|
|
stp_TempoByIdxMaccPeriodClassRow rowstp_TempoByIdxMaccPeriodClassRow = ((stp_TempoByIdxMaccPeriodClassRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
ore};
|
|
rowstp_TempoByIdxMaccPeriodClassRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_TempoByIdxMaccPeriodClassRow);
|
|
return rowstp_TempoByIdxMaccPeriodClassRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_TempoByIdxMaccPeriodClassDataTable cln = ((stp_TempoByIdxMaccPeriodClassDataTable)(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 stp_TempoByIdxMaccPeriodClassDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnore = base.Columns["ore"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnore = new global::System.Data.DataColumn("ore", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnore);
|
|
this.columnore.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_TempoByIdxMaccPeriodClassRow Newstp_TempoByIdxMaccPeriodClassRow() {
|
|
return ((stp_TempoByIdxMaccPeriodClassRow)(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 stp_TempoByIdxMaccPeriodClassRow(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(stp_TempoByIdxMaccPeriodClassRow);
|
|
}
|
|
|
|
[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.stp_TempoByIdxMaccPeriodClassRowChanged != null)) {
|
|
this.stp_TempoByIdxMaccPeriodClassRowChanged(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(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.stp_TempoByIdxMaccPeriodClassRowChanging != null)) {
|
|
this.stp_TempoByIdxMaccPeriodClassRowChanging(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(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.stp_TempoByIdxMaccPeriodClassRowDeleted != null)) {
|
|
this.stp_TempoByIdxMaccPeriodClassRowDeleted(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(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.stp_TempoByIdxMaccPeriodClassRowDeleting != null)) {
|
|
this.stp_TempoByIdxMaccPeriodClassRowDeleting(this, new stp_TempoByIdxMaccPeriodClassRowChangeEvent(((stp_TempoByIdxMaccPeriodClassRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_TempoByIdxMaccPeriodClassRow(stp_TempoByIdxMaccPeriodClassRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "stp_TempoByIdxMaccPeriodClassDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class DatiProduzioneDataTable : global::System.Data.TypedTableBase<DatiProduzioneRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxConferma;
|
|
|
|
private global::System.Data.DataColumn columnIdxODL;
|
|
|
|
private global::System.Data.DataColumn columnDataOraApp;
|
|
|
|
private global::System.Data.DataColumn columnDataRif;
|
|
|
|
private global::System.Data.DataColumn columnTurnoRif;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnMatrOpr;
|
|
|
|
private global::System.Data.DataColumn columnMatrApp;
|
|
|
|
private global::System.Data.DataColumn columnDataOraFrom;
|
|
|
|
private global::System.Data.DataColumn columnDataOraTo;
|
|
|
|
private global::System.Data.DataColumn columnTotPzProd;
|
|
|
|
private global::System.Data.DataColumn columnTempo;
|
|
|
|
private global::System.Data.DataColumn columnClasseTempo;
|
|
|
|
private global::System.Data.DataColumn columnCausale;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiProduzioneDataTable() {
|
|
this.TableName = "DatiProduzione";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DatiProduzioneDataTable(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 DatiProduzioneDataTable(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 IdxConfermaColumn {
|
|
get {
|
|
return this.columnIdxConferma;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxODLColumn {
|
|
get {
|
|
return this.columnIdxODL;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataOraAppColumn {
|
|
get {
|
|
return this.columnDataOraApp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataRifColumn {
|
|
get {
|
|
return this.columnDataRif;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TurnoRifColumn {
|
|
get {
|
|
return this.columnTurnoRif;
|
|
}
|
|
}
|
|
|
|
[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 IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MatrOprColumn {
|
|
get {
|
|
return this.columnMatrOpr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MatrAppColumn {
|
|
get {
|
|
return this.columnMatrApp;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataOraFromColumn {
|
|
get {
|
|
return this.columnDataOraFrom;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataOraToColumn {
|
|
get {
|
|
return this.columnDataOraTo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TotPzProdColumn {
|
|
get {
|
|
return this.columnTotPzProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoColumn {
|
|
get {
|
|
return this.columnTempo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ClasseTempoColumn {
|
|
get {
|
|
return this.columnClasseTempo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CausaleColumn {
|
|
get {
|
|
return this.columnCausale;
|
|
}
|
|
}
|
|
|
|
[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 DatiProduzioneRow this[int index] {
|
|
get {
|
|
return ((DatiProduzioneRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event DatiProduzioneRowChangeEventHandler DatiProduzioneRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddDatiProduzioneRow(DatiProduzioneRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiProduzioneRow AddDatiProduzioneRow(
|
|
int IdxConferma,
|
|
int IdxODL,
|
|
System.DateTime DataOraApp,
|
|
System.DateTime DataRif,
|
|
int TurnoRif,
|
|
string CodArticolo,
|
|
string IdxMacchina,
|
|
decimal TCAssegnato,
|
|
int MatrOpr,
|
|
int MatrApp,
|
|
System.DateTime DataOraFrom,
|
|
System.DateTime DataOraTo,
|
|
int TotPzProd,
|
|
decimal Tempo,
|
|
string ClasseTempo,
|
|
string Causale) {
|
|
DatiProduzioneRow rowDatiProduzioneRow = ((DatiProduzioneRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
IdxConferma,
|
|
IdxODL,
|
|
DataOraApp,
|
|
DataRif,
|
|
TurnoRif,
|
|
CodArticolo,
|
|
IdxMacchina,
|
|
TCAssegnato,
|
|
MatrOpr,
|
|
MatrApp,
|
|
DataOraFrom,
|
|
DataOraTo,
|
|
TotPzProd,
|
|
Tempo,
|
|
ClasseTempo,
|
|
Causale};
|
|
rowDatiProduzioneRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowDatiProduzioneRow);
|
|
return rowDatiProduzioneRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiProduzioneRow FindByIdxConferma(int IdxConferma) {
|
|
return ((DatiProduzioneRow)(this.Rows.Find(new object[] {
|
|
IdxConferma})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
DatiProduzioneDataTable cln = ((DatiProduzioneDataTable)(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 DatiProduzioneDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxConferma = base.Columns["IdxConferma"];
|
|
this.columnIdxODL = base.Columns["IdxODL"];
|
|
this.columnDataOraApp = base.Columns["DataOraApp"];
|
|
this.columnDataRif = base.Columns["DataRif"];
|
|
this.columnTurnoRif = base.Columns["TurnoRif"];
|
|
this.columnCodArticolo = base.Columns["CodArticolo"];
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnMatrOpr = base.Columns["MatrOpr"];
|
|
this.columnMatrApp = base.Columns["MatrApp"];
|
|
this.columnDataOraFrom = base.Columns["DataOraFrom"];
|
|
this.columnDataOraTo = base.Columns["DataOraTo"];
|
|
this.columnTotPzProd = base.Columns["TotPzProd"];
|
|
this.columnTempo = base.Columns["Tempo"];
|
|
this.columnClasseTempo = base.Columns["ClasseTempo"];
|
|
this.columnCausale = base.Columns["Causale"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxConferma = new global::System.Data.DataColumn("IdxConferma", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxConferma);
|
|
this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxODL);
|
|
this.columnDataOraApp = new global::System.Data.DataColumn("DataOraApp", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOraApp);
|
|
this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataRif);
|
|
this.columnTurnoRif = new global::System.Data.DataColumn("TurnoRif", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTurnoRif);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnMatrOpr = new global::System.Data.DataColumn("MatrOpr", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMatrOpr);
|
|
this.columnMatrApp = new global::System.Data.DataColumn("MatrApp", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMatrApp);
|
|
this.columnDataOraFrom = new global::System.Data.DataColumn("DataOraFrom", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOraFrom);
|
|
this.columnDataOraTo = new global::System.Data.DataColumn("DataOraTo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataOraTo);
|
|
this.columnTotPzProd = new global::System.Data.DataColumn("TotPzProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTotPzProd);
|
|
this.columnTempo = new global::System.Data.DataColumn("Tempo", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempo);
|
|
this.columnClasseTempo = new global::System.Data.DataColumn("ClasseTempo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClasseTempo);
|
|
this.columnCausale = new global::System.Data.DataColumn("Causale", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCausale);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxConferma}, true));
|
|
this.columnIdxConferma.AllowDBNull = false;
|
|
this.columnIdxConferma.Unique = true;
|
|
this.columnIdxODL.AllowDBNull = false;
|
|
this.columnDataOraApp.AllowDBNull = false;
|
|
this.columnDataRif.AllowDBNull = false;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnIdxMacchina.AllowDBNull = false;
|
|
this.columnIdxMacchina.MaxLength = 50;
|
|
this.columnMatrApp.AllowDBNull = false;
|
|
this.columnClasseTempo.MaxLength = 50;
|
|
this.columnCausale.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DatiProduzioneRow NewDatiProduzioneRow() {
|
|
return ((DatiProduzioneRow)(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 DatiProduzioneRow(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(DatiProduzioneRow);
|
|
}
|
|
|
|
[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.DatiProduzioneRowChanged != null)) {
|
|
this.DatiProduzioneRowChanged(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(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.DatiProduzioneRowChanging != null)) {
|
|
this.DatiProduzioneRowChanging(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(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.DatiProduzioneRowDeleted != null)) {
|
|
this.DatiProduzioneRowDeleted(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(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.DatiProduzioneRowDeleting != null)) {
|
|
this.DatiProduzioneRowDeleting(this, new DatiProduzioneRowChangeEvent(((DatiProduzioneRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveDatiProduzioneRow(DatiProduzioneRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "DatiProduzioneDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class stp_repDonati_getDatiProdMacchinaDataTable : global::System.Data.TypedTableBase<stp_repDonati_getDatiProdMacchinaRow> {
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnPezziLanciati;
|
|
|
|
private global::System.Data.DataColumn columnPezziProd;
|
|
|
|
private global::System.Data.DataColumn columnPezziConf;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnCodOperatore;
|
|
|
|
private global::System.Data.DataColumn columnTempoOn;
|
|
|
|
private global::System.Data.DataColumn columnTempoAuto;
|
|
|
|
private global::System.Data.DataColumn columnTempoRun;
|
|
|
|
private global::System.Data.DataColumn columnTCMedio;
|
|
|
|
private global::System.Data.DataColumn columnTCLav;
|
|
|
|
private global::System.Data.DataColumn columnTCEff;
|
|
|
|
private global::System.Data.DataColumn columnTCMedioRT;
|
|
|
|
private global::System.Data.DataColumn columnTCLavRT;
|
|
|
|
private global::System.Data.DataColumn columnTCEffRT;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getDatiProdMacchinaDataTable() {
|
|
this.TableName = "stp_repDonati_getDatiProdMacchina";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_repDonati_getDatiProdMacchinaDataTable(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 stp_repDonati_getDatiProdMacchinaDataTable(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 PezziLanciatiColumn {
|
|
get {
|
|
return this.columnPezziLanciati;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn PezziProdColumn {
|
|
get {
|
|
return this.columnPezziProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn PezziConfColumn {
|
|
get {
|
|
return this.columnPezziConf;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CodOperatoreColumn {
|
|
get {
|
|
return this.columnCodOperatore;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoOnColumn {
|
|
get {
|
|
return this.columnTempoOn;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoAutoColumn {
|
|
get {
|
|
return this.columnTempoAuto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoRunColumn {
|
|
get {
|
|
return this.columnTempoRun;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCMedioColumn {
|
|
get {
|
|
return this.columnTCMedio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCLavColumn {
|
|
get {
|
|
return this.columnTCLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCEffColumn {
|
|
get {
|
|
return this.columnTCEff;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCMedioRTColumn {
|
|
get {
|
|
return this.columnTCMedioRT;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCLavRTColumn {
|
|
get {
|
|
return this.columnTCLavRT;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCEffRTColumn {
|
|
get {
|
|
return this.columnTCEffRT;
|
|
}
|
|
}
|
|
|
|
[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 stp_repDonati_getDatiProdMacchinaRow this[int index] {
|
|
get {
|
|
return ((stp_repDonati_getDatiProdMacchinaRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaRowChangeEventHandler stp_repDonati_getDatiProdMacchinaRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_repDonati_getDatiProdMacchinaRow(stp_repDonati_getDatiProdMacchinaRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getDatiProdMacchinaRow Addstp_repDonati_getDatiProdMacchinaRow(string CodArticolo, int PezziLanciati, int PezziProd, int PezziConf, decimal TCAssegnato, int CodOperatore, decimal TempoOn, decimal TempoAuto, decimal TempoRun, decimal TCMedio, decimal TCLav, decimal TCEff, decimal TCMedioRT, decimal TCLavRT, decimal TCEffRT) {
|
|
stp_repDonati_getDatiProdMacchinaRow rowstp_repDonati_getDatiProdMacchinaRow = ((stp_repDonati_getDatiProdMacchinaRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
CodArticolo,
|
|
PezziLanciati,
|
|
PezziProd,
|
|
PezziConf,
|
|
TCAssegnato,
|
|
CodOperatore,
|
|
TempoOn,
|
|
TempoAuto,
|
|
TempoRun,
|
|
TCMedio,
|
|
TCLav,
|
|
TCEff,
|
|
TCMedioRT,
|
|
TCLavRT,
|
|
TCEffRT};
|
|
rowstp_repDonati_getDatiProdMacchinaRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_repDonati_getDatiProdMacchinaRow);
|
|
return rowstp_repDonati_getDatiProdMacchinaRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_repDonati_getDatiProdMacchinaDataTable cln = ((stp_repDonati_getDatiProdMacchinaDataTable)(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 stp_repDonati_getDatiProdMacchinaDataTable();
|
|
}
|
|
|
|
[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.columnPezziLanciati = base.Columns["PezziLanciati"];
|
|
this.columnPezziProd = base.Columns["PezziProd"];
|
|
this.columnPezziConf = base.Columns["PezziConf"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnCodOperatore = base.Columns["CodOperatore"];
|
|
this.columnTempoOn = base.Columns["TempoOn"];
|
|
this.columnTempoAuto = base.Columns["TempoAuto"];
|
|
this.columnTempoRun = base.Columns["TempoRun"];
|
|
this.columnTCMedio = base.Columns["TCMedio"];
|
|
this.columnTCLav = base.Columns["TCLav"];
|
|
this.columnTCEff = base.Columns["TCEff"];
|
|
this.columnTCMedioRT = base.Columns["TCMedioRT"];
|
|
this.columnTCLavRT = base.Columns["TCLavRT"];
|
|
this.columnTCEffRT = base.Columns["TCEffRT"];
|
|
}
|
|
|
|
[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.columnPezziLanciati = new global::System.Data.DataColumn("PezziLanciati", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPezziLanciati);
|
|
this.columnPezziProd = new global::System.Data.DataColumn("PezziProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPezziProd);
|
|
this.columnPezziConf = new global::System.Data.DataColumn("PezziConf", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPezziConf);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnCodOperatore = new global::System.Data.DataColumn("CodOperatore", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodOperatore);
|
|
this.columnTempoOn = new global::System.Data.DataColumn("TempoOn", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoOn);
|
|
this.columnTempoAuto = new global::System.Data.DataColumn("TempoAuto", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoAuto);
|
|
this.columnTempoRun = new global::System.Data.DataColumn("TempoRun", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoRun);
|
|
this.columnTCMedio = new global::System.Data.DataColumn("TCMedio", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCMedio);
|
|
this.columnTCLav = new global::System.Data.DataColumn("TCLav", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCLav);
|
|
this.columnTCEff = new global::System.Data.DataColumn("TCEff", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCEff);
|
|
this.columnTCMedioRT = new global::System.Data.DataColumn("TCMedioRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCMedioRT);
|
|
this.columnTCLavRT = new global::System.Data.DataColumn("TCLavRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCLavRT);
|
|
this.columnTCEffRT = new global::System.Data.DataColumn("TCEffRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCEffRT);
|
|
this.columnCodArticolo.ReadOnly = true;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnPezziLanciati.ReadOnly = true;
|
|
this.columnPezziProd.ReadOnly = true;
|
|
this.columnPezziConf.ReadOnly = true;
|
|
this.columnTCAssegnato.ReadOnly = true;
|
|
this.columnCodOperatore.ReadOnly = true;
|
|
this.columnTempoOn.ReadOnly = true;
|
|
this.columnTempoAuto.ReadOnly = true;
|
|
this.columnTempoRun.ReadOnly = true;
|
|
this.columnTCMedio.ReadOnly = true;
|
|
this.columnTCLav.ReadOnly = true;
|
|
this.columnTCEff.ReadOnly = true;
|
|
this.columnTCMedioRT.ReadOnly = true;
|
|
this.columnTCLavRT.ReadOnly = true;
|
|
this.columnTCEffRT.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getDatiProdMacchinaRow Newstp_repDonati_getDatiProdMacchinaRow() {
|
|
return ((stp_repDonati_getDatiProdMacchinaRow)(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 stp_repDonati_getDatiProdMacchinaRow(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(stp_repDonati_getDatiProdMacchinaRow);
|
|
}
|
|
|
|
[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.stp_repDonati_getDatiProdMacchinaRowChanged != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaRowChanged(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(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.stp_repDonati_getDatiProdMacchinaRowChanging != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaRowChanging(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(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.stp_repDonati_getDatiProdMacchinaRowDeleted != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaRowDeleted(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(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.stp_repDonati_getDatiProdMacchinaRowDeleting != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaRowDeleting(this, new stp_repDonati_getDatiProdMacchinaRowChangeEvent(((stp_repDonati_getDatiProdMacchinaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_repDonati_getDatiProdMacchinaRow(stp_repDonati_getDatiProdMacchinaRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "stp_repDonati_getDatiProdMacchinaDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class stp_repDonati_getLastStatoDurataMacchinaDataTable : global::System.Data.TypedTableBase<stp_repDonati_getLastStatoDurataMacchinaRow> {
|
|
|
|
private global::System.Data.DataColumn columnidxStato;
|
|
|
|
private global::System.Data.DataColumn columnMinuti;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getLastStatoDurataMacchinaDataTable() {
|
|
this.TableName = "stp_repDonati_getLastStatoDurataMacchina";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_repDonati_getLastStatoDurataMacchinaDataTable(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 stp_repDonati_getLastStatoDurataMacchinaDataTable(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 idxStatoColumn {
|
|
get {
|
|
return this.columnidxStato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MinutiColumn {
|
|
get {
|
|
return this.columnMinuti;
|
|
}
|
|
}
|
|
|
|
[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 stp_repDonati_getLastStatoDurataMacchinaRow this[int index] {
|
|
get {
|
|
return ((stp_repDonati_getLastStatoDurataMacchinaRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getLastStatoDurataMacchinaRowChangeEventHandler stp_repDonati_getLastStatoDurataMacchinaRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_repDonati_getLastStatoDurataMacchinaRow(stp_repDonati_getLastStatoDurataMacchinaRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getLastStatoDurataMacchinaRow Addstp_repDonati_getLastStatoDurataMacchinaRow(int idxStato, double Minuti) {
|
|
stp_repDonati_getLastStatoDurataMacchinaRow rowstp_repDonati_getLastStatoDurataMacchinaRow = ((stp_repDonati_getLastStatoDurataMacchinaRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
idxStato,
|
|
Minuti};
|
|
rowstp_repDonati_getLastStatoDurataMacchinaRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_repDonati_getLastStatoDurataMacchinaRow);
|
|
return rowstp_repDonati_getLastStatoDurataMacchinaRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_repDonati_getLastStatoDurataMacchinaDataTable cln = ((stp_repDonati_getLastStatoDurataMacchinaDataTable)(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 stp_repDonati_getLastStatoDurataMacchinaDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnidxStato = base.Columns["idxStato"];
|
|
this.columnMinuti = base.Columns["Minuti"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxStato);
|
|
this.columnMinuti = new global::System.Data.DataColumn("Minuti", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMinuti);
|
|
this.columnidxStato.ReadOnly = true;
|
|
this.columnMinuti.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getLastStatoDurataMacchinaRow Newstp_repDonati_getLastStatoDurataMacchinaRow() {
|
|
return ((stp_repDonati_getLastStatoDurataMacchinaRow)(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 stp_repDonati_getLastStatoDurataMacchinaRow(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(stp_repDonati_getLastStatoDurataMacchinaRow);
|
|
}
|
|
|
|
[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.stp_repDonati_getLastStatoDurataMacchinaRowChanged != null)) {
|
|
this.stp_repDonati_getLastStatoDurataMacchinaRowChanged(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(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.stp_repDonati_getLastStatoDurataMacchinaRowChanging != null)) {
|
|
this.stp_repDonati_getLastStatoDurataMacchinaRowChanging(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(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.stp_repDonati_getLastStatoDurataMacchinaRowDeleted != null)) {
|
|
this.stp_repDonati_getLastStatoDurataMacchinaRowDeleted(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(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.stp_repDonati_getLastStatoDurataMacchinaRowDeleting != null)) {
|
|
this.stp_repDonati_getLastStatoDurataMacchinaRowDeleting(this, new stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(((stp_repDonati_getLastStatoDurataMacchinaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_repDonati_getLastStatoDurataMacchinaRow(stp_repDonati_getLastStatoDurataMacchinaRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "stp_repDonati_getLastStatoDurataMacchinaDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class stp_repDonati_getDatiProdMacchinaPeriodoDataTable : global::System.Data.TypedTableBase<stp_repDonati_getDatiProdMacchinaPeriodoRow> {
|
|
|
|
private global::System.Data.DataColumn columnPezziProd;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnTCMedioRT;
|
|
|
|
private global::System.Data.DataColumn columnTCLavRT;
|
|
|
|
private global::System.Data.DataColumn columnTCEffRT;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getDatiProdMacchinaPeriodoDataTable() {
|
|
this.TableName = "stp_repDonati_getDatiProdMacchinaPeriodo";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_repDonati_getDatiProdMacchinaPeriodoDataTable(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 stp_repDonati_getDatiProdMacchinaPeriodoDataTable(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 PezziProdColumn {
|
|
get {
|
|
return this.columnPezziProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCMedioRTColumn {
|
|
get {
|
|
return this.columnTCMedioRT;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCLavRTColumn {
|
|
get {
|
|
return this.columnTCLavRT;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCEffRTColumn {
|
|
get {
|
|
return this.columnTCEffRT;
|
|
}
|
|
}
|
|
|
|
[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 stp_repDonati_getDatiProdMacchinaPeriodoRow this[int index] {
|
|
get {
|
|
return ((stp_repDonati_getDatiProdMacchinaPeriodoRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEventHandler stp_repDonati_getDatiProdMacchinaPeriodoRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_repDonati_getDatiProdMacchinaPeriodoRow(stp_repDonati_getDatiProdMacchinaPeriodoRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getDatiProdMacchinaPeriodoRow Addstp_repDonati_getDatiProdMacchinaPeriodoRow(int PezziProd, decimal TCAssegnato, decimal TCMedioRT, decimal TCLavRT, decimal TCEffRT) {
|
|
stp_repDonati_getDatiProdMacchinaPeriodoRow rowstp_repDonati_getDatiProdMacchinaPeriodoRow = ((stp_repDonati_getDatiProdMacchinaPeriodoRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
PezziProd,
|
|
TCAssegnato,
|
|
TCMedioRT,
|
|
TCLavRT,
|
|
TCEffRT};
|
|
rowstp_repDonati_getDatiProdMacchinaPeriodoRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_repDonati_getDatiProdMacchinaPeriodoRow);
|
|
return rowstp_repDonati_getDatiProdMacchinaPeriodoRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_repDonati_getDatiProdMacchinaPeriodoDataTable cln = ((stp_repDonati_getDatiProdMacchinaPeriodoDataTable)(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 stp_repDonati_getDatiProdMacchinaPeriodoDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnPezziProd = base.Columns["PezziProd"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnTCMedioRT = base.Columns["TCMedioRT"];
|
|
this.columnTCLavRT = base.Columns["TCLavRT"];
|
|
this.columnTCEffRT = base.Columns["TCEffRT"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnPezziProd = new global::System.Data.DataColumn("PezziProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPezziProd);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnTCMedioRT = new global::System.Data.DataColumn("TCMedioRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCMedioRT);
|
|
this.columnTCLavRT = new global::System.Data.DataColumn("TCLavRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCLavRT);
|
|
this.columnTCEffRT = new global::System.Data.DataColumn("TCEffRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCEffRT);
|
|
this.columnPezziProd.ReadOnly = true;
|
|
this.columnTCAssegnato.ReadOnly = true;
|
|
this.columnTCMedioRT.ReadOnly = true;
|
|
this.columnTCLavRT.ReadOnly = true;
|
|
this.columnTCEffRT.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_repDonati_getDatiProdMacchinaPeriodoRow Newstp_repDonati_getDatiProdMacchinaPeriodoRow() {
|
|
return ((stp_repDonati_getDatiProdMacchinaPeriodoRow)(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 stp_repDonati_getDatiProdMacchinaPeriodoRow(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(stp_repDonati_getDatiProdMacchinaPeriodoRow);
|
|
}
|
|
|
|
[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.stp_repDonati_getDatiProdMacchinaPeriodoRowChanged != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanged(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(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.stp_repDonati_getDatiProdMacchinaPeriodoRowChanging != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaPeriodoRowChanging(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(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.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleted != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleted(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(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.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleting != null)) {
|
|
this.stp_repDonati_getDatiProdMacchinaPeriodoRowDeleting(this, new stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(((stp_repDonati_getDatiProdMacchinaPeriodoRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_repDonati_getDatiProdMacchinaPeriodoRow(stp_repDonati_getDatiProdMacchinaPeriodoRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "stp_repDonati_getDatiProdMacchinaPeriodoDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class TurniMacchinaDataTable : global::System.Data.TypedTableBase<TurniMacchinaRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnT1;
|
|
|
|
private global::System.Data.DataColumn columnT2;
|
|
|
|
private global::System.Data.DataColumn columnT3;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TurniMacchinaDataTable() {
|
|
this.TableName = "TurniMacchina";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TurniMacchinaDataTable(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 TurniMacchinaDataTable(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 IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn T1Column {
|
|
get {
|
|
return this.columnT1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn T2Column {
|
|
get {
|
|
return this.columnT2;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn T3Column {
|
|
get {
|
|
return this.columnT3;
|
|
}
|
|
}
|
|
|
|
[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 TurniMacchinaRow this[int index] {
|
|
get {
|
|
return ((TurniMacchinaRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event TurniMacchinaRowChangeEventHandler TurniMacchinaRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddTurniMacchinaRow(TurniMacchinaRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TurniMacchinaRow AddTurniMacchinaRow(string IdxMacchina, bool T1, bool T2, bool T3) {
|
|
TurniMacchinaRow rowTurniMacchinaRow = ((TurniMacchinaRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
IdxMacchina,
|
|
T1,
|
|
T2,
|
|
T3};
|
|
rowTurniMacchinaRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowTurniMacchinaRow);
|
|
return rowTurniMacchinaRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TurniMacchinaRow FindByIdxMacchina(string IdxMacchina) {
|
|
return ((TurniMacchinaRow)(this.Rows.Find(new object[] {
|
|
IdxMacchina})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
TurniMacchinaDataTable cln = ((TurniMacchinaDataTable)(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 TurniMacchinaDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnT1 = base.Columns["T1"];
|
|
this.columnT2 = base.Columns["T2"];
|
|
this.columnT3 = base.Columns["T3"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnT1 = new global::System.Data.DataColumn("T1", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnT1);
|
|
this.columnT2 = new global::System.Data.DataColumn("T2", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnT2);
|
|
this.columnT3 = new global::System.Data.DataColumn("T3", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnT3);
|
|
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.columnIdxMacchina.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public TurniMacchinaRow NewTurniMacchinaRow() {
|
|
return ((TurniMacchinaRow)(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 TurniMacchinaRow(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(TurniMacchinaRow);
|
|
}
|
|
|
|
[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.TurniMacchinaRowChanged != null)) {
|
|
this.TurniMacchinaRowChanged(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(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.TurniMacchinaRowChanging != null)) {
|
|
this.TurniMacchinaRowChanging(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(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.TurniMacchinaRowDeleted != null)) {
|
|
this.TurniMacchinaRowDeleted(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(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.TurniMacchinaRowDeleting != null)) {
|
|
this.TurniMacchinaRowDeleting(this, new TurniMacchinaRowChangeEvent(((TurniMacchinaRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveTurniMacchinaRow(TurniMacchinaRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "TurniMacchinaDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class MappaStatoExplDataTable : global::System.Data.TypedTableBase<MappaStatoExplRow> {
|
|
|
|
private global::System.Data.DataColumn columnRowNum;
|
|
|
|
private global::System.Data.DataColumn columnlastUpdate;
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnCodMacchina;
|
|
|
|
private global::System.Data.DataColumn columnNome;
|
|
|
|
private global::System.Data.DataColumn columnurl;
|
|
|
|
private global::System.Data.DataColumn columnidxODL;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnNumPezzi;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnDataInizioODL;
|
|
|
|
private global::System.Data.DataColumn columnSemaforo;
|
|
|
|
private global::System.Data.DataColumn columnidxStato;
|
|
|
|
private global::System.Data.DataColumn columnDescrizioneStato;
|
|
|
|
private global::System.Data.DataColumn columndurata;
|
|
|
|
private global::System.Data.DataColumn columnPezziProd;
|
|
|
|
private global::System.Data.DataColumn columnPezziConf;
|
|
|
|
private global::System.Data.DataColumn columnTempoOn;
|
|
|
|
private global::System.Data.DataColumn columnTempoAuto;
|
|
|
|
private global::System.Data.DataColumn columnTempoRun;
|
|
|
|
private global::System.Data.DataColumn columnTCMedio;
|
|
|
|
private global::System.Data.DataColumn columnTCLav;
|
|
|
|
private global::System.Data.DataColumn columnTCEff;
|
|
|
|
private global::System.Data.DataColumn columnTCMedioRT;
|
|
|
|
private global::System.Data.DataColumn columnTCLavRT;
|
|
|
|
private global::System.Data.DataColumn columnTCEffRT;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public MappaStatoExplDataTable() {
|
|
this.TableName = "MappaStatoExpl";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal MappaStatoExplDataTable(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 MappaStatoExplDataTable(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 RowNumColumn {
|
|
get {
|
|
return this.columnRowNum;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn lastUpdateColumn {
|
|
get {
|
|
return this.columnlastUpdate;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CodMacchinaColumn {
|
|
get {
|
|
return this.columnCodMacchina;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NomeColumn {
|
|
get {
|
|
return this.columnNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn urlColumn {
|
|
get {
|
|
return this.columnurl;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxODLColumn {
|
|
get {
|
|
return this.columnidxODL;
|
|
}
|
|
}
|
|
|
|
[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 NumPezziColumn {
|
|
get {
|
|
return this.columnNumPezzi;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataInizioODLColumn {
|
|
get {
|
|
return this.columnDataInizioODL;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn SemaforoColumn {
|
|
get {
|
|
return this.columnSemaforo;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn idxStatoColumn {
|
|
get {
|
|
return this.columnidxStato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DescrizioneStatoColumn {
|
|
get {
|
|
return this.columnDescrizioneStato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn durataColumn {
|
|
get {
|
|
return this.columndurata;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn PezziProdColumn {
|
|
get {
|
|
return this.columnPezziProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn PezziConfColumn {
|
|
get {
|
|
return this.columnPezziConf;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoOnColumn {
|
|
get {
|
|
return this.columnTempoOn;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoAutoColumn {
|
|
get {
|
|
return this.columnTempoAuto;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TempoRunColumn {
|
|
get {
|
|
return this.columnTempoRun;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCMedioColumn {
|
|
get {
|
|
return this.columnTCMedio;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCLavColumn {
|
|
get {
|
|
return this.columnTCLav;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCEffColumn {
|
|
get {
|
|
return this.columnTCEff;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCMedioRTColumn {
|
|
get {
|
|
return this.columnTCMedioRT;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCLavRTColumn {
|
|
get {
|
|
return this.columnTCLavRT;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCEffRTColumn {
|
|
get {
|
|
return this.columnTCEffRT;
|
|
}
|
|
}
|
|
|
|
[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 MappaStatoExplRow this[int index] {
|
|
get {
|
|
return ((MappaStatoExplRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event MappaStatoExplRowChangeEventHandler MappaStatoExplRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddMappaStatoExplRow(MappaStatoExplRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public MappaStatoExplRow AddMappaStatoExplRow(
|
|
System.DateTime lastUpdate,
|
|
string IdxMacchina,
|
|
string CodMacchina,
|
|
string Nome,
|
|
string url,
|
|
int idxODL,
|
|
string CodArticolo,
|
|
int NumPezzi,
|
|
decimal TCAssegnato,
|
|
System.DateTime DataInizioODL,
|
|
string Semaforo,
|
|
int idxStato,
|
|
string DescrizioneStato,
|
|
double durata,
|
|
int PezziProd,
|
|
int PezziConf,
|
|
decimal TempoOn,
|
|
decimal TempoAuto,
|
|
decimal TempoRun,
|
|
decimal TCMedio,
|
|
decimal TCLav,
|
|
decimal TCEff,
|
|
decimal TCMedioRT,
|
|
decimal TCLavRT,
|
|
decimal TCEffRT) {
|
|
MappaStatoExplRow rowMappaStatoExplRow = ((MappaStatoExplRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
lastUpdate,
|
|
IdxMacchina,
|
|
CodMacchina,
|
|
Nome,
|
|
url,
|
|
idxODL,
|
|
CodArticolo,
|
|
NumPezzi,
|
|
TCAssegnato,
|
|
DataInizioODL,
|
|
Semaforo,
|
|
idxStato,
|
|
DescrizioneStato,
|
|
durata,
|
|
PezziProd,
|
|
PezziConf,
|
|
TempoOn,
|
|
TempoAuto,
|
|
TempoRun,
|
|
TCMedio,
|
|
TCLav,
|
|
TCEff,
|
|
TCMedioRT,
|
|
TCLavRT,
|
|
TCEffRT};
|
|
rowMappaStatoExplRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowMappaStatoExplRow);
|
|
return rowMappaStatoExplRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public MappaStatoExplRow FindByIdxMacchina(string IdxMacchina) {
|
|
return ((MappaStatoExplRow)(this.Rows.Find(new object[] {
|
|
IdxMacchina})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
MappaStatoExplDataTable cln = ((MappaStatoExplDataTable)(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 MappaStatoExplDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnRowNum = base.Columns["RowNum"];
|
|
this.columnlastUpdate = base.Columns["lastUpdate"];
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnCodMacchina = base.Columns["CodMacchina"];
|
|
this.columnNome = base.Columns["Nome"];
|
|
this.columnurl = base.Columns["url"];
|
|
this.columnidxODL = base.Columns["idxODL"];
|
|
this.columnCodArticolo = base.Columns["CodArticolo"];
|
|
this.columnNumPezzi = base.Columns["NumPezzi"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnDataInizioODL = base.Columns["DataInizioODL"];
|
|
this.columnSemaforo = base.Columns["Semaforo"];
|
|
this.columnidxStato = base.Columns["idxStato"];
|
|
this.columnDescrizioneStato = base.Columns["DescrizioneStato"];
|
|
this.columndurata = base.Columns["durata"];
|
|
this.columnPezziProd = base.Columns["PezziProd"];
|
|
this.columnPezziConf = base.Columns["PezziConf"];
|
|
this.columnTempoOn = base.Columns["TempoOn"];
|
|
this.columnTempoAuto = base.Columns["TempoAuto"];
|
|
this.columnTempoRun = base.Columns["TempoRun"];
|
|
this.columnTCMedio = base.Columns["TCMedio"];
|
|
this.columnTCLav = base.Columns["TCLav"];
|
|
this.columnTCEff = base.Columns["TCEff"];
|
|
this.columnTCMedioRT = base.Columns["TCMedioRT"];
|
|
this.columnTCLavRT = base.Columns["TCLavRT"];
|
|
this.columnTCEffRT = base.Columns["TCEffRT"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnRowNum = new global::System.Data.DataColumn("RowNum", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRowNum);
|
|
this.columnlastUpdate = new global::System.Data.DataColumn("lastUpdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnlastUpdate);
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnCodMacchina = new global::System.Data.DataColumn("CodMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodMacchina);
|
|
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNome);
|
|
this.columnurl = new global::System.Data.DataColumn("url", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnurl);
|
|
this.columnidxODL = new global::System.Data.DataColumn("idxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxODL);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnNumPezzi = new global::System.Data.DataColumn("NumPezzi", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNumPezzi);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnDataInizioODL = new global::System.Data.DataColumn("DataInizioODL", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataInizioODL);
|
|
this.columnSemaforo = new global::System.Data.DataColumn("Semaforo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnSemaforo);
|
|
this.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnidxStato);
|
|
this.columnDescrizioneStato = new global::System.Data.DataColumn("DescrizioneStato", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescrizioneStato);
|
|
this.columndurata = new global::System.Data.DataColumn("durata", typeof(double), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columndurata);
|
|
this.columnPezziProd = new global::System.Data.DataColumn("PezziProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPezziProd);
|
|
this.columnPezziConf = new global::System.Data.DataColumn("PezziConf", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPezziConf);
|
|
this.columnTempoOn = new global::System.Data.DataColumn("TempoOn", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoOn);
|
|
this.columnTempoAuto = new global::System.Data.DataColumn("TempoAuto", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoAuto);
|
|
this.columnTempoRun = new global::System.Data.DataColumn("TempoRun", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTempoRun);
|
|
this.columnTCMedio = new global::System.Data.DataColumn("TCMedio", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCMedio);
|
|
this.columnTCLav = new global::System.Data.DataColumn("TCLav", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCLav);
|
|
this.columnTCEff = new global::System.Data.DataColumn("TCEff", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCEff);
|
|
this.columnTCMedioRT = new global::System.Data.DataColumn("TCMedioRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCMedioRT);
|
|
this.columnTCLavRT = new global::System.Data.DataColumn("TCLavRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCLavRT);
|
|
this.columnTCEffRT = new global::System.Data.DataColumn("TCEffRT", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCEffRT);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxMacchina}, true));
|
|
this.columnRowNum.AutoIncrement = true;
|
|
this.columnRowNum.AutoIncrementSeed = -1;
|
|
this.columnRowNum.AutoIncrementStep = -1;
|
|
this.columnRowNum.AllowDBNull = false;
|
|
this.columnRowNum.ReadOnly = true;
|
|
this.columnIdxMacchina.AllowDBNull = false;
|
|
this.columnIdxMacchina.Unique = true;
|
|
this.columnIdxMacchina.MaxLength = 50;
|
|
this.columnCodMacchina.MaxLength = 50;
|
|
this.columnNome.MaxLength = 50;
|
|
this.columnurl.MaxLength = 250;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnSemaforo.MaxLength = 50;
|
|
this.columnDescrizioneStato.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public MappaStatoExplRow NewMappaStatoExplRow() {
|
|
return ((MappaStatoExplRow)(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 MappaStatoExplRow(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(MappaStatoExplRow);
|
|
}
|
|
|
|
[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.MappaStatoExplRowChanged != null)) {
|
|
this.MappaStatoExplRowChanged(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(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.MappaStatoExplRowChanging != null)) {
|
|
this.MappaStatoExplRowChanging(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(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.MappaStatoExplRowDeleted != null)) {
|
|
this.MappaStatoExplRowDeleted(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(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.MappaStatoExplRowDeleting != null)) {
|
|
this.MappaStatoExplRowDeleting(this, new MappaStatoExplRowChangeEvent(((MappaStatoExplRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveMappaStatoExplRow(MappaStatoExplRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "MappaStatoExplDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class ProduzioneAs400DataTable : global::System.Data.TypedTableBase<ProduzioneAs400Row> {
|
|
|
|
private global::System.Data.DataColumn columnIdxODL;
|
|
|
|
private global::System.Data.DataColumn columnCommessaAs400;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnTotPzProd;
|
|
|
|
private global::System.Data.DataColumn columnDataRif;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ProduzioneAs400DataTable() {
|
|
this.TableName = "ProduzioneAs400";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ProduzioneAs400DataTable(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 ProduzioneAs400DataTable(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 IdxODLColumn {
|
|
get {
|
|
return this.columnIdxODL;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CommessaAs400Column {
|
|
get {
|
|
return this.columnCommessaAs400;
|
|
}
|
|
}
|
|
|
|
[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 TotPzProdColumn {
|
|
get {
|
|
return this.columnTotPzProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataRifColumn {
|
|
get {
|
|
return this.columnDataRif;
|
|
}
|
|
}
|
|
|
|
[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 ProduzioneAs400Row this[int index] {
|
|
get {
|
|
return ((ProduzioneAs400Row)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ProduzioneAs400RowChangeEventHandler ProduzioneAs400RowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ProduzioneAs400RowChangeEventHandler ProduzioneAs400RowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ProduzioneAs400RowChangeEventHandler ProduzioneAs400RowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ProduzioneAs400RowChangeEventHandler ProduzioneAs400RowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddProduzioneAs400Row(ProduzioneAs400Row row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ProduzioneAs400Row AddProduzioneAs400Row(int IdxODL, string CommessaAs400, string CodArticolo, int TotPzProd, string DataRif) {
|
|
ProduzioneAs400Row rowProduzioneAs400Row = ((ProduzioneAs400Row)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
IdxODL,
|
|
CommessaAs400,
|
|
CodArticolo,
|
|
TotPzProd,
|
|
DataRif};
|
|
rowProduzioneAs400Row.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowProduzioneAs400Row);
|
|
return rowProduzioneAs400Row;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
ProduzioneAs400DataTable cln = ((ProduzioneAs400DataTable)(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 ProduzioneAs400DataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxODL = base.Columns["IdxODL"];
|
|
this.columnCommessaAs400 = base.Columns["CommessaAs400"];
|
|
this.columnCodArticolo = base.Columns["CodArticolo"];
|
|
this.columnTotPzProd = base.Columns["TotPzProd"];
|
|
this.columnDataRif = base.Columns["DataRif"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxODL);
|
|
this.columnCommessaAs400 = new global::System.Data.DataColumn("CommessaAs400", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCommessaAs400);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnTotPzProd = new global::System.Data.DataColumn("TotPzProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTotPzProd);
|
|
this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataRif);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("ProduzioneAs400Key1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxODL,
|
|
this.columnDataRif}, false));
|
|
this.columnIdxODL.AllowDBNull = false;
|
|
this.columnCommessaAs400.AllowDBNull = false;
|
|
this.columnCommessaAs400.MaxLength = 50;
|
|
this.columnCodArticolo.AllowDBNull = false;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnDataRif.MaxLength = 10;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ProduzioneAs400Row NewProduzioneAs400Row() {
|
|
return ((ProduzioneAs400Row)(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 ProduzioneAs400Row(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(ProduzioneAs400Row);
|
|
}
|
|
|
|
[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.ProduzioneAs400RowChanged != null)) {
|
|
this.ProduzioneAs400RowChanged(this, new ProduzioneAs400RowChangeEvent(((ProduzioneAs400Row)(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.ProduzioneAs400RowChanging != null)) {
|
|
this.ProduzioneAs400RowChanging(this, new ProduzioneAs400RowChangeEvent(((ProduzioneAs400Row)(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.ProduzioneAs400RowDeleted != null)) {
|
|
this.ProduzioneAs400RowDeleted(this, new ProduzioneAs400RowChangeEvent(((ProduzioneAs400Row)(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.ProduzioneAs400RowDeleting != null)) {
|
|
this.ProduzioneAs400RowDeleting(this, new ProduzioneAs400RowChangeEvent(((ProduzioneAs400Row)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveProduzioneAs400Row(ProduzioneAs400Row 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "ProduzioneAs400DataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class ResProdDett_splitODLDataTable : global::System.Data.TypedTableBase<ResProdDett_splitODLRow> {
|
|
|
|
private global::System.Data.DataColumn columnIdxODL;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnpzOrd;
|
|
|
|
private global::System.Data.DataColumn columnpzProd;
|
|
|
|
private global::System.Data.DataColumn columnpzConf;
|
|
|
|
private global::System.Data.DataColumn columnpzRiman;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdDett_splitODLDataTable() {
|
|
this.TableName = "ResProdDett_splitODL";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ResProdDett_splitODLDataTable(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 ResProdDett_splitODLDataTable(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 IdxODLColumn {
|
|
get {
|
|
return this.columnIdxODL;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzOrdColumn {
|
|
get {
|
|
return this.columnpzOrd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzProdColumn {
|
|
get {
|
|
return this.columnpzProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzConfColumn {
|
|
get {
|
|
return this.columnpzConf;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzRimanColumn {
|
|
get {
|
|
return this.columnpzRiman;
|
|
}
|
|
}
|
|
|
|
[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 ResProdDett_splitODLRow this[int index] {
|
|
get {
|
|
return ((ResProdDett_splitODLRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitODLRowChangeEventHandler ResProdDett_splitODLRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddResProdDett_splitODLRow(ResProdDett_splitODLRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdDett_splitODLRow AddResProdDett_splitODLRow(int IdxODL, decimal TCAssegnato, int pzOrd, int pzProd, int pzConf, int pzRiman) {
|
|
ResProdDett_splitODLRow rowResProdDett_splitODLRow = ((ResProdDett_splitODLRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
IdxODL,
|
|
TCAssegnato,
|
|
pzOrd,
|
|
pzProd,
|
|
pzConf,
|
|
pzRiman};
|
|
rowResProdDett_splitODLRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowResProdDett_splitODLRow);
|
|
return rowResProdDett_splitODLRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
ResProdDett_splitODLDataTable cln = ((ResProdDett_splitODLDataTable)(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 ResProdDett_splitODLDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnIdxODL = base.Columns["IdxODL"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnpzOrd = base.Columns["pzOrd"];
|
|
this.columnpzProd = base.Columns["pzProd"];
|
|
this.columnpzConf = base.Columns["pzConf"];
|
|
this.columnpzRiman = base.Columns["pzRiman"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxODL);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnpzOrd = new global::System.Data.DataColumn("pzOrd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzOrd);
|
|
this.columnpzProd = new global::System.Data.DataColumn("pzProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzProd);
|
|
this.columnpzConf = new global::System.Data.DataColumn("pzConf", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzConf);
|
|
this.columnpzRiman = new global::System.Data.DataColumn("pzRiman", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzRiman);
|
|
this.columnTCAssegnato.AllowDBNull = false;
|
|
this.columnpzOrd.ReadOnly = true;
|
|
this.columnpzProd.ReadOnly = true;
|
|
this.columnpzConf.ReadOnly = true;
|
|
this.columnpzRiman.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdDett_splitODLRow NewResProdDett_splitODLRow() {
|
|
return ((ResProdDett_splitODLRow)(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 ResProdDett_splitODLRow(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(ResProdDett_splitODLRow);
|
|
}
|
|
|
|
[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.ResProdDett_splitODLRowChanged != null)) {
|
|
this.ResProdDett_splitODLRowChanged(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(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.ResProdDett_splitODLRowChanging != null)) {
|
|
this.ResProdDett_splitODLRowChanging(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(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.ResProdDett_splitODLRowDeleted != null)) {
|
|
this.ResProdDett_splitODLRowDeleted(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(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.ResProdDett_splitODLRowDeleting != null)) {
|
|
this.ResProdDett_splitODLRowDeleting(this, new ResProdDett_splitODLRowChangeEvent(((ResProdDett_splitODLRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveResProdDett_splitODLRow(ResProdDett_splitODLRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "ResProdDett_splitODLDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class ResProdDett_splitGGDataTable : global::System.Data.TypedTableBase<ResProdDett_splitGGRow> {
|
|
|
|
private global::System.Data.DataColumn columnData;
|
|
|
|
private global::System.Data.DataColumn columnIdxODL;
|
|
|
|
private global::System.Data.DataColumn columnTCAssegnato;
|
|
|
|
private global::System.Data.DataColumn columnpzProd;
|
|
|
|
private global::System.Data.DataColumn columnpzConf;
|
|
|
|
private global::System.Data.DataColumn columnNome;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdDett_splitGGDataTable() {
|
|
this.TableName = "ResProdDett_splitGG";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ResProdDett_splitGGDataTable(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 ResProdDett_splitGGDataTable(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 DataColumn {
|
|
get {
|
|
return this.columnData;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxODLColumn {
|
|
get {
|
|
return this.columnIdxODL;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TCAssegnatoColumn {
|
|
get {
|
|
return this.columnTCAssegnato;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzProdColumn {
|
|
get {
|
|
return this.columnpzProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzConfColumn {
|
|
get {
|
|
return this.columnpzConf;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NomeColumn {
|
|
get {
|
|
return this.columnNome;
|
|
}
|
|
}
|
|
|
|
[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 ResProdDett_splitGGRow this[int index] {
|
|
get {
|
|
return ((ResProdDett_splitGGRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdDett_splitGGRowChangeEventHandler ResProdDett_splitGGRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddResProdDett_splitGGRow(ResProdDett_splitGGRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdDett_splitGGRow AddResProdDett_splitGGRow(System.DateTime Data, int IdxODL, decimal TCAssegnato, int pzProd, int pzConf, string Nome, string CodArticolo) {
|
|
ResProdDett_splitGGRow rowResProdDett_splitGGRow = ((ResProdDett_splitGGRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
Data,
|
|
IdxODL,
|
|
TCAssegnato,
|
|
pzProd,
|
|
pzConf,
|
|
Nome,
|
|
CodArticolo};
|
|
rowResProdDett_splitGGRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowResProdDett_splitGGRow);
|
|
return rowResProdDett_splitGGRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
ResProdDett_splitGGDataTable cln = ((ResProdDett_splitGGDataTable)(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 ResProdDett_splitGGDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnData = base.Columns["Data"];
|
|
this.columnIdxODL = base.Columns["IdxODL"];
|
|
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
|
this.columnpzProd = base.Columns["pzProd"];
|
|
this.columnpzConf = base.Columns["pzConf"];
|
|
this.columnNome = base.Columns["Nome"];
|
|
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.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnData);
|
|
this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxODL);
|
|
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTCAssegnato);
|
|
this.columnpzProd = new global::System.Data.DataColumn("pzProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzProd);
|
|
this.columnpzConf = new global::System.Data.DataColumn("pzConf", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzConf);
|
|
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNome);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnData.ReadOnly = true;
|
|
this.columnTCAssegnato.AllowDBNull = false;
|
|
this.columnpzProd.ReadOnly = true;
|
|
this.columnpzConf.ReadOnly = true;
|
|
this.columnNome.MaxLength = 50;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdDett_splitGGRow NewResProdDett_splitGGRow() {
|
|
return ((ResProdDett_splitGGRow)(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 ResProdDett_splitGGRow(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(ResProdDett_splitGGRow);
|
|
}
|
|
|
|
[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.ResProdDett_splitGGRowChanged != null)) {
|
|
this.ResProdDett_splitGGRowChanged(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(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.ResProdDett_splitGGRowChanging != null)) {
|
|
this.ResProdDett_splitGGRowChanging(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(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.ResProdDett_splitGGRowDeleted != null)) {
|
|
this.ResProdDett_splitGGRowDeleted(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(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.ResProdDett_splitGGRowDeleting != null)) {
|
|
this.ResProdDett_splitGGRowDeleting(this, new ResProdDett_splitGGRowChangeEvent(((ResProdDett_splitGGRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveResProdDett_splitGGRow(ResProdDett_splitGGRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "ResProdDett_splitGGDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class ResProdTotDataTable : global::System.Data.TypedTableBase<ResProdTotRow> {
|
|
|
|
private global::System.Data.DataColumn columnNome;
|
|
|
|
private global::System.Data.DataColumn columnIdxMacchina;
|
|
|
|
private global::System.Data.DataColumn columnCodArticolo;
|
|
|
|
private global::System.Data.DataColumn columnpzOrd;
|
|
|
|
private global::System.Data.DataColumn columnpzProd;
|
|
|
|
private global::System.Data.DataColumn columnpzConf;
|
|
|
|
private global::System.Data.DataColumn columnpzRiman;
|
|
|
|
private global::System.Data.DataColumn columnStato;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdTotDataTable() {
|
|
this.TableName = "ResProdTot";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ResProdTotDataTable(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 ResProdTotDataTable(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 NomeColumn {
|
|
get {
|
|
return this.columnNome;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn IdxMacchinaColumn {
|
|
get {
|
|
return this.columnIdxMacchina;
|
|
}
|
|
}
|
|
|
|
[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 pzOrdColumn {
|
|
get {
|
|
return this.columnpzOrd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzProdColumn {
|
|
get {
|
|
return this.columnpzProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzConfColumn {
|
|
get {
|
|
return this.columnpzConf;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn pzRimanColumn {
|
|
get {
|
|
return this.columnpzRiman;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn StatoColumn {
|
|
get {
|
|
return this.columnStato;
|
|
}
|
|
}
|
|
|
|
[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 ResProdTotRow this[int index] {
|
|
get {
|
|
return ((ResProdTotRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdTotRowChangeEventHandler ResProdTotRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdTotRowChangeEventHandler ResProdTotRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdTotRowChangeEventHandler ResProdTotRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event ResProdTotRowChangeEventHandler ResProdTotRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddResProdTotRow(ResProdTotRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdTotRow AddResProdTotRow(string Nome, string IdxMacchina, string CodArticolo, int pzOrd, int pzProd, int pzConf, int pzRiman, string Stato) {
|
|
ResProdTotRow rowResProdTotRow = ((ResProdTotRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
Nome,
|
|
IdxMacchina,
|
|
CodArticolo,
|
|
pzOrd,
|
|
pzProd,
|
|
pzConf,
|
|
pzRiman,
|
|
Stato};
|
|
rowResProdTotRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowResProdTotRow);
|
|
return rowResProdTotRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdTotRow FindByNomeIdxMacchinaCodArticoloStato(string Nome, string IdxMacchina, string CodArticolo, string Stato) {
|
|
return ((ResProdTotRow)(this.Rows.Find(new object[] {
|
|
Nome,
|
|
IdxMacchina,
|
|
CodArticolo,
|
|
Stato})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
ResProdTotDataTable cln = ((ResProdTotDataTable)(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 ResProdTotDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnNome = base.Columns["Nome"];
|
|
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
|
this.columnCodArticolo = base.Columns["CodArticolo"];
|
|
this.columnpzOrd = base.Columns["pzOrd"];
|
|
this.columnpzProd = base.Columns["pzProd"];
|
|
this.columnpzConf = base.Columns["pzConf"];
|
|
this.columnpzRiman = base.Columns["pzRiman"];
|
|
this.columnStato = base.Columns["Stato"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNome);
|
|
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxMacchina);
|
|
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodArticolo);
|
|
this.columnpzOrd = new global::System.Data.DataColumn("pzOrd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzOrd);
|
|
this.columnpzProd = new global::System.Data.DataColumn("pzProd", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzProd);
|
|
this.columnpzConf = new global::System.Data.DataColumn("pzConf", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzConf);
|
|
this.columnpzRiman = new global::System.Data.DataColumn("pzRiman", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnpzRiman);
|
|
this.columnStato = new global::System.Data.DataColumn("Stato", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnStato);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("ResProdTotKey1", new global::System.Data.DataColumn[] {
|
|
this.columnIdxMacchina,
|
|
this.columnCodArticolo,
|
|
this.columnStato}, false));
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("ResProdTotKey", new global::System.Data.DataColumn[] {
|
|
this.columnNome,
|
|
this.columnIdxMacchina,
|
|
this.columnCodArticolo,
|
|
this.columnStato}, true));
|
|
this.columnNome.AllowDBNull = false;
|
|
this.columnNome.MaxLength = 50;
|
|
this.columnIdxMacchina.AllowDBNull = false;
|
|
this.columnIdxMacchina.MaxLength = 50;
|
|
this.columnCodArticolo.AllowDBNull = false;
|
|
this.columnCodArticolo.MaxLength = 50;
|
|
this.columnpzOrd.ReadOnly = true;
|
|
this.columnpzProd.ReadOnly = true;
|
|
this.columnpzConf.ReadOnly = true;
|
|
this.columnpzRiman.ReadOnly = true;
|
|
this.columnStato.AllowDBNull = false;
|
|
this.columnStato.ReadOnly = true;
|
|
this.columnStato.MaxLength = 6;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public ResProdTotRow NewResProdTotRow() {
|
|
return ((ResProdTotRow)(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 ResProdTotRow(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(ResProdTotRow);
|
|
}
|
|
|
|
[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.ResProdTotRowChanged != null)) {
|
|
this.ResProdTotRowChanged(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(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.ResProdTotRowChanging != null)) {
|
|
this.ResProdTotRowChanging(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(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.ResProdTotRowDeleted != null)) {
|
|
this.ResProdTotRowDeleted(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(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.ResProdTotRowDeleting != null)) {
|
|
this.ResProdTotRowDeleting(this, new ResProdTotRowChangeEvent(((ResProdTotRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveResProdTotRow(ResProdTotRow 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_ProdTempi ds = new DS_ProdTempi();
|
|
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 = "ResProdTotDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class TempiCicloRilevatiRow : global::System.Data.DataRow {
|
|
|
|
private TempiCicloRilevatiDataTable tableTempiCicloRilevati;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TempiCicloRilevatiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableTempiCicloRilevati = ((TempiCicloRilevatiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
return ((string)(this[this.tableTempiCicloRilevati.IdxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTempiCicloRilevati.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[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.tableTempiCicloRilevati.CodArticoloColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTempiCicloRilevati.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOraRif {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableTempiCicloRilevati.DataOraRifColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTempiCicloRilevati.DataOraRifColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCMedio {
|
|
get {
|
|
return ((decimal)(this[this.tableTempiCicloRilevati.TCMedioColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTempiCicloRilevati.TCMedioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int PzProd {
|
|
get {
|
|
return ((int)(this[this.tableTempiCicloRilevati.PzProdColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTempiCicloRilevati.PzProdColumn] = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class ODLRow : global::System.Data.DataRow {
|
|
|
|
private ODLDataTable tableODL;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ODLRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableODL = ((ODLDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxODL {
|
|
get {
|
|
return ((int)(this[this.tableODL.IdxODLColumn]));
|
|
}
|
|
set {
|
|
this[this.tableODL.IdxODLColumn] = value;
|
|
}
|
|
}
|
|
|
|
[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.tableODL.CodArticoloColumn]));
|
|
}
|
|
set {
|
|
this[this.tableODL.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableODL.IdxMacchinaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'IdxMacchina\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int NumPezzi {
|
|
get {
|
|
return ((int)(this[this.tableODL.NumPezziColumn]));
|
|
}
|
|
set {
|
|
this[this.tableODL.NumPezziColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
return ((decimal)(this[this.tableODL.TCAssegnatoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableODL.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DescArticolo {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableODL.DescArticoloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DescArticolo\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.DescArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodMacchina {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableODL.CodMacchinaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.CodMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Nome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableODL.NomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.NomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataInizio {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableODL.DataInizioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataInizio\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.DataInizioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataFine {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableODL.DataFineColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataFine\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.DataFineColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Note {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableODL.NoteColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.NoteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool NeedAppr {
|
|
get {
|
|
return ((bool)(this[this.tableODL.NeedApprColumn]));
|
|
}
|
|
set {
|
|
this[this.tableODL.NeedApprColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string UserAppr {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableODL.UserApprColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'UserAppr\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.UserApprColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataAppr {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableODL.DataApprColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataAppr\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.DataApprColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCRichAttr {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableODL.TCRichAttrColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCRichAttr\' in table \'ODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableODL.TCRichAttrColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool ToAs400 {
|
|
get {
|
|
return ((bool)(this[this.tableODL.ToAs400Column]));
|
|
}
|
|
set {
|
|
this[this.tableODL.ToAs400Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsIdxMacchinaNull() {
|
|
return this.IsNull(this.tableODL.IdxMacchinaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetIdxMacchinaNull() {
|
|
this[this.tableODL.IdxMacchinaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDescArticoloNull() {
|
|
return this.IsNull(this.tableODL.DescArticoloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDescArticoloNull() {
|
|
this[this.tableODL.DescArticoloColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCodMacchinaNull() {
|
|
return this.IsNull(this.tableODL.CodMacchinaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodMacchinaNull() {
|
|
this[this.tableODL.CodMacchinaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNomeNull() {
|
|
return this.IsNull(this.tableODL.NomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNomeNull() {
|
|
this[this.tableODL.NomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataInizioNull() {
|
|
return this.IsNull(this.tableODL.DataInizioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataInizioNull() {
|
|
this[this.tableODL.DataInizioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataFineNull() {
|
|
return this.IsNull(this.tableODL.DataFineColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataFineNull() {
|
|
this[this.tableODL.DataFineColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNoteNull() {
|
|
return this.IsNull(this.tableODL.NoteColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNoteNull() {
|
|
this[this.tableODL.NoteColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsUserApprNull() {
|
|
return this.IsNull(this.tableODL.UserApprColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetUserApprNull() {
|
|
this[this.tableODL.UserApprColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataApprNull() {
|
|
return this.IsNull(this.tableODL.DataApprColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataApprNull() {
|
|
this[this.tableODL.DataApprColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCRichAttrNull() {
|
|
return this.IsNull(this.tableODL.TCRichAttrColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCRichAttrNull() {
|
|
this[this.tableODL.TCRichAttrColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
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 {
|
|
try {
|
|
return ((string)(this[this.tableAnagArticoli.DescArticoloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DescArticolo\' in table \'AnagArticoli\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableAnagArticoli.DescArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDescArticoloNull() {
|
|
return this.IsNull(this.tableAnagArticoli.DescArticoloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDescArticoloNull() {
|
|
this[this.tableAnagArticoli.DescArticoloColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class DatiMacchineRow : global::System.Data.DataRow {
|
|
|
|
private DatiMacchineDataTable tableDatiMacchine;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DatiMacchineRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableDatiMacchine = ((DatiMacchineDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxMacchina {
|
|
get {
|
|
return ((int)(this[this.tableDatiMacchine.idxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.idxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool palletChange {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableDatiMacchine.palletChangeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'palletChange\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.palletChangeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[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 {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDatiMacchine.serialPortColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'serialPort\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.serialPortColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int refreshPeriod {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiMacchine.refreshPeriodColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'refreshPeriod\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.refreshPeriodColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool simulazione {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableDatiMacchine.simulazioneColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'simulazione\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.simulazioneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DescFull {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDatiMacchine.DescFullColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DescFull\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.DescFullColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Articolo_A {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDatiMacchine.Articolo_AColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Articolo_A\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.Articolo_AColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Articolo_B {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDatiMacchine.Articolo_BColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Articolo_B\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.Articolo_BColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool simplePallet {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableDatiMacchine.simplePalletColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'simplePallet\' in table \'DatiMacchine\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiMacchine.simplePalletColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspalletChangeNull() {
|
|
return this.IsNull(this.tableDatiMacchine.palletChangeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpalletChangeNull() {
|
|
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() {
|
|
return this.IsNull(this.tableDatiMacchine.serialPortColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetserialPortNull() {
|
|
this[this.tableDatiMacchine.serialPortColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsrefreshPeriodNull() {
|
|
return this.IsNull(this.tableDatiMacchine.refreshPeriodColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetrefreshPeriodNull() {
|
|
this[this.tableDatiMacchine.refreshPeriodColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IssimulazioneNull() {
|
|
return this.IsNull(this.tableDatiMacchine.simulazioneColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetsimulazioneNull() {
|
|
this[this.tableDatiMacchine.simulazioneColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDescFullNull() {
|
|
return this.IsNull(this.tableDatiMacchine.DescFullColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDescFullNull() {
|
|
this[this.tableDatiMacchine.DescFullColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsArticolo_ANull() {
|
|
return this.IsNull(this.tableDatiMacchine.Articolo_AColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetArticolo_ANull() {
|
|
this[this.tableDatiMacchine.Articolo_AColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsArticolo_BNull() {
|
|
return this.IsNull(this.tableDatiMacchine.Articolo_BColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetArticolo_BNull() {
|
|
this[this.tableDatiMacchine.Articolo_BColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IssimplePalletNull() {
|
|
return this.IsNull(this.tableDatiMacchine.simplePalletColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetsimplePalletNull() {
|
|
this[this.tableDatiMacchine.simplePalletColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class PostazioniMapoRow : global::System.Data.DataRow {
|
|
|
|
private PostazioniMapoDataTable tablePostazioniMapo;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal PostazioniMapoRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablePostazioniMapo = ((PostazioniMapoDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxPostazione {
|
|
get {
|
|
return ((string)(this[this.tablePostazioniMapo.IdxPostazioneColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePostazioniMapo.IdxPostazioneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DescPostazione {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablePostazioniMapo.DescPostazioneColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DescPostazione\' in table \'PostazioniMapo\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablePostazioniMapo.DescPostazioneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
return ((string)(this[this.tablePostazioniMapo.IdxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePostazioniMapo.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int MatrOperatore {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablePostazioniMapo.MatrOperatoreColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MatrOperatore\' in table \'PostazioniMapo\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablePostazioniMapo.MatrOperatoreColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime InputUntil {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tablePostazioniMapo.InputUntilColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'InputUntil\' in table \'PostazioniMapo\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablePostazioniMapo.InputUntilColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string LastBarcode {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablePostazioniMapo.LastBarcodeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'LastBarcode\' in table \'PostazioniMapo\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablePostazioniMapo.LastBarcodeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDescPostazioneNull() {
|
|
return this.IsNull(this.tablePostazioniMapo.DescPostazioneColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDescPostazioneNull() {
|
|
this[this.tablePostazioniMapo.DescPostazioneColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMatrOperatoreNull() {
|
|
return this.IsNull(this.tablePostazioniMapo.MatrOperatoreColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMatrOperatoreNull() {
|
|
this[this.tablePostazioniMapo.MatrOperatoreColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsInputUntilNull() {
|
|
return this.IsNull(this.tablePostazioniMapo.InputUntilColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetInputUntilNull() {
|
|
this[this.tablePostazioniMapo.InputUntilColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsLastBarcodeNull() {
|
|
return this.IsNull(this.tablePostazioniMapo.LastBarcodeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetLastBarcodeNull() {
|
|
this[this.tablePostazioniMapo.LastBarcodeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_PzProd_getByMacchinaRow : global::System.Data.DataRow {
|
|
|
|
private stp_PzProd_getByMacchinaDataTable tablestp_PzProd_getByMacchina;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_PzProd_getByMacchinaRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_PzProd_getByMacchina = ((stp_PzProd_getByMacchinaDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string idxMacchina {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tablestp_PzProd_getByMacchina.idxMacchinaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'idxMacchina\' in table \'stp_PzProd_getByMacchina\' is DBNull." +
|
|
"", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_PzProd_getByMacchina.idxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pezziNonConfermati {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pezziNonConfermati\' in table \'stp_PzProd_getByMacchina\' is " +
|
|
"DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataFrom {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tablestp_PzProd_getByMacchina.DataFromColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataFrom\' in table \'stp_PzProd_getByMacchina\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_PzProd_getByMacchina.DataFromColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataTo {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tablestp_PzProd_getByMacchina.DataToColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataTo\' in table \'stp_PzProd_getByMacchina\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_PzProd_getByMacchina.DataToColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxMacchinaNull() {
|
|
return this.IsNull(this.tablestp_PzProd_getByMacchina.idxMacchinaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxMacchinaNull() {
|
|
this[this.tablestp_PzProd_getByMacchina.idxMacchinaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspezziNonConfermatiNull() {
|
|
return this.IsNull(this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpezziNonConfermatiNull() {
|
|
this[this.tablestp_PzProd_getByMacchina.pezziNonConfermatiColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataFromNull() {
|
|
return this.IsNull(this.tablestp_PzProd_getByMacchina.DataFromColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataFromNull() {
|
|
this[this.tablestp_PzProd_getByMacchina.DataFromColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataToNull() {
|
|
return this.IsNull(this.tablestp_PzProd_getByMacchina.DataToColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataToNull() {
|
|
this[this.tablestp_PzProd_getByMacchina.DataToColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class DatiConfermatiRow : global::System.Data.DataRow {
|
|
|
|
private DatiConfermatiDataTable tableDatiConfermati;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DatiConfermatiRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableDatiConfermati = ((DatiConfermatiDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxConferma {
|
|
get {
|
|
return ((int)(this[this.tableDatiConfermati.IdxConfermaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.IdxConfermaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxODL {
|
|
get {
|
|
return ((int)(this[this.tableDatiConfermati.IdxODLColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.IdxODLColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOraApp {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraAppColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.DataOraAppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataRif {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableDatiConfermati.DataRifColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.DataRifColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int TurnoRif {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiConfermati.TurnoRifColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TurnoRif\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TurnoRifColumn] = 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.tableDatiConfermati.CodArticoloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
return ((string)(this[this.tableDatiConfermati.IdxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TCAssegnatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int MatrOpr {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiConfermati.MatrOprColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MatrOpr\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.MatrOprColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int MatrApp {
|
|
get {
|
|
return ((int)(this[this.tableDatiConfermati.MatrAppColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.MatrAppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOraFrom {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraFromColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataOraFrom\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.DataOraFromColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOraTo {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableDatiConfermati.DataOraToColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataOraTo\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.DataOraToColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxStato {
|
|
get {
|
|
return ((int)(this[this.tableDatiConfermati.IdxStatoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.IdxStatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int TotPzProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiConfermati.TotPzProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TotPzProd\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TotPzProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoProdotto {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoProdottoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoProdotto\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoProdottoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoCron {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoCronColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoCron\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoCronColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoND {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoNDColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoND\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoNDColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoApertura {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoAperturaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoApertura\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoAperturaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoOFF {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoOFFColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoOFF\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoOFFColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoON {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoONColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoON\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoONColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoFermoOn {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoFermoOnColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoFermoOn\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoFermoOnColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoAuto {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoAutoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoAutoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoFermoAuto {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoFermoAutoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoFermoAuto\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoFermoAutoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoRun {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiConfermati.TempoRunColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TempoRunColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int TotPzFermo {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiConfermati.TotPzFermoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TotPzFermo\' in table \'DatiConfermati\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiConfermati.TotPzFermoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTurnoRifNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TurnoRifColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTurnoRifNull() {
|
|
this[this.tableDatiConfermati.TurnoRifColumn] = 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.tableDatiConfermati.CodArticoloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodArticoloNull() {
|
|
this[this.tableDatiConfermati.CodArticoloColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCAssegnatoNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TCAssegnatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCAssegnatoNull() {
|
|
this[this.tableDatiConfermati.TCAssegnatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMatrOprNull() {
|
|
return this.IsNull(this.tableDatiConfermati.MatrOprColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMatrOprNull() {
|
|
this[this.tableDatiConfermati.MatrOprColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataOraFromNull() {
|
|
return this.IsNull(this.tableDatiConfermati.DataOraFromColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataOraFromNull() {
|
|
this[this.tableDatiConfermati.DataOraFromColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataOraToNull() {
|
|
return this.IsNull(this.tableDatiConfermati.DataOraToColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataOraToNull() {
|
|
this[this.tableDatiConfermati.DataOraToColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTotPzProdNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TotPzProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTotPzProdNull() {
|
|
this[this.tableDatiConfermati.TotPzProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoProdottoNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoProdottoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoProdottoNull() {
|
|
this[this.tableDatiConfermati.TempoProdottoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoCronNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoCronColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoCronNull() {
|
|
this[this.tableDatiConfermati.TempoCronColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoNDNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoNDColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoNDNull() {
|
|
this[this.tableDatiConfermati.TempoNDColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoAperturaNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoAperturaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoAperturaNull() {
|
|
this[this.tableDatiConfermati.TempoAperturaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoOFFNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoOFFColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoOFFNull() {
|
|
this[this.tableDatiConfermati.TempoOFFColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoONNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoONColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoONNull() {
|
|
this[this.tableDatiConfermati.TempoONColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoFermoOnNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoFermoOnColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoFermoOnNull() {
|
|
this[this.tableDatiConfermati.TempoFermoOnColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoAutoNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoAutoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoAutoNull() {
|
|
this[this.tableDatiConfermati.TempoAutoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoFermoAutoNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoFermoAutoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoFermoAutoNull() {
|
|
this[this.tableDatiConfermati.TempoFermoAutoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoRunNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TempoRunColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoRunNull() {
|
|
this[this.tableDatiConfermati.TempoRunColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTotPzFermoNull() {
|
|
return this.IsNull(this.tableDatiConfermati.TotPzFermoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTotPzFermoNull() {
|
|
this[this.tableDatiConfermati.TotPzFermoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class CalendFesteFerieRow : global::System.Data.DataRow {
|
|
|
|
private CalendFesteFerieDataTable tableCalendFesteFerie;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal CalendFesteFerieRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableCalendFesteFerie = ((CalendFesteFerieDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime data {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableCalendFesteFerie.dataColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCalendFesteFerie.dataColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string descrizione {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableCalendFesteFerie.descrizioneColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'descrizione\' in table \'CalendFesteFerie\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableCalendFesteFerie.descrizioneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdescrizioneNull() {
|
|
return this.IsNull(this.tableCalendFesteFerie.descrizioneColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdescrizioneNull() {
|
|
this[this.tableCalendFesteFerie.descrizioneColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_TempoByIdxMaccPeriodClassRow : global::System.Data.DataRow {
|
|
|
|
private stp_TempoByIdxMaccPeriodClassDataTable tablestp_TempoByIdxMaccPeriodClass;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_TempoByIdxMaccPeriodClassRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_TempoByIdxMaccPeriodClass = ((stp_TempoByIdxMaccPeriodClassDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal ore {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_TempoByIdxMaccPeriodClass.oreColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ore\' in table \'stp_TempoByIdxMaccPeriodClass\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_TempoByIdxMaccPeriodClass.oreColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsoreNull() {
|
|
return this.IsNull(this.tablestp_TempoByIdxMaccPeriodClass.oreColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetoreNull() {
|
|
this[this.tablestp_TempoByIdxMaccPeriodClass.oreColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class DatiProduzioneRow : global::System.Data.DataRow {
|
|
|
|
private DatiProduzioneDataTable tableDatiProduzione;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal DatiProduzioneRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableDatiProduzione = ((DatiProduzioneDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxConferma {
|
|
get {
|
|
return ((int)(this[this.tableDatiProduzione.IdxConfermaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.IdxConfermaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxODL {
|
|
get {
|
|
return ((int)(this[this.tableDatiProduzione.IdxODLColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.IdxODLColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOraApp {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraAppColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.DataOraAppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataRif {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableDatiProduzione.DataRifColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.DataRifColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int TurnoRif {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiProduzione.TurnoRifColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TurnoRif\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.TurnoRifColumn] = 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.tableDatiProduzione.CodArticoloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
return ((string)(this[this.tableDatiProduzione.IdxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiProduzione.TCAssegnatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int MatrOpr {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiProduzione.MatrOprColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MatrOpr\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.MatrOprColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int MatrApp {
|
|
get {
|
|
return ((int)(this[this.tableDatiProduzione.MatrAppColumn]));
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.MatrAppColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOraFrom {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraFromColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataOraFrom\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.DataOraFromColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataOraTo {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableDatiProduzione.DataOraToColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataOraTo\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.DataOraToColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int TotPzProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableDatiProduzione.TotPzProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TotPzProd\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.TotPzProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal Tempo {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableDatiProduzione.TempoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Tempo\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.TempoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ClasseTempo {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDatiProduzione.ClasseTempoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ClasseTempo\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.ClasseTempoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Causale {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableDatiProduzione.CausaleColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Causale\' in table \'DatiProduzione\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableDatiProduzione.CausaleColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTurnoRifNull() {
|
|
return this.IsNull(this.tableDatiProduzione.TurnoRifColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTurnoRifNull() {
|
|
this[this.tableDatiProduzione.TurnoRifColumn] = 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.tableDatiProduzione.CodArticoloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodArticoloNull() {
|
|
this[this.tableDatiProduzione.CodArticoloColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCAssegnatoNull() {
|
|
return this.IsNull(this.tableDatiProduzione.TCAssegnatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCAssegnatoNull() {
|
|
this[this.tableDatiProduzione.TCAssegnatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMatrOprNull() {
|
|
return this.IsNull(this.tableDatiProduzione.MatrOprColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMatrOprNull() {
|
|
this[this.tableDatiProduzione.MatrOprColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataOraFromNull() {
|
|
return this.IsNull(this.tableDatiProduzione.DataOraFromColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataOraFromNull() {
|
|
this[this.tableDatiProduzione.DataOraFromColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataOraToNull() {
|
|
return this.IsNull(this.tableDatiProduzione.DataOraToColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataOraToNull() {
|
|
this[this.tableDatiProduzione.DataOraToColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTotPzProdNull() {
|
|
return this.IsNull(this.tableDatiProduzione.TotPzProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTotPzProdNull() {
|
|
this[this.tableDatiProduzione.TotPzProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoNull() {
|
|
return this.IsNull(this.tableDatiProduzione.TempoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoNull() {
|
|
this[this.tableDatiProduzione.TempoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsClasseTempoNull() {
|
|
return this.IsNull(this.tableDatiProduzione.ClasseTempoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetClasseTempoNull() {
|
|
this[this.tableDatiProduzione.ClasseTempoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCausaleNull() {
|
|
return this.IsNull(this.tableDatiProduzione.CausaleColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCausaleNull() {
|
|
this[this.tableDatiProduzione.CausaleColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_repDonati_getDatiProdMacchinaRow : global::System.Data.DataRow {
|
|
|
|
private stp_repDonati_getDatiProdMacchinaDataTable tablestp_repDonati_getDatiProdMacchina;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_repDonati_getDatiProdMacchinaRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_repDonati_getDatiProdMacchina = ((stp_repDonati_getDatiProdMacchinaDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'stp_repDonati_getDatiProdMacchina\' i" +
|
|
"s DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int PezziLanciati {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PezziLanciati\' in table \'stp_repDonati_getDatiProdMacchina\'" +
|
|
" is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int PezziProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'stp_repDonati_getDatiProdMacchina\' is " +
|
|
"DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int PezziConf {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PezziConf\' in table \'stp_repDonati_getDatiProdMacchina\' is " +
|
|
"DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'stp_repDonati_getDatiProdMacchina\' i" +
|
|
"s DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int CodOperatore {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodOperatore\' in table \'stp_repDonati_getDatiProdMacchina\' " +
|
|
"is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoOn {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoOn\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" +
|
|
"Null.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoAuto {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'stp_repDonati_getDatiProdMacchina\' is " +
|
|
"DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoRun {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'stp_repDonati_getDatiProdMacchina\' is D" +
|
|
"BNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCMedio {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCMedio\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" +
|
|
"Null.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCLav {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCLav\' in table \'stp_repDonati_getDatiProdMacchina\' is DBNu" +
|
|
"ll.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCEff {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCEff\' in table \'stp_repDonati_getDatiProdMacchina\' is DBNu" +
|
|
"ll.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCMedioRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'stp_repDonati_getDatiProdMacchina\' is " +
|
|
"DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCLavRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" +
|
|
"Null.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCEffRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'stp_repDonati_getDatiProdMacchina\' is DB" +
|
|
"Null.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCodArticoloNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodArticoloNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.CodArticoloColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsPezziLanciatiNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPezziLanciatiNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.PezziLanciatiColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsPezziProdNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPezziProdNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.PezziProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsPezziConfNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPezziConfNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.PezziConfColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCAssegnatoNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCAssegnatoNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCAssegnatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCodOperatoreNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodOperatoreNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.CodOperatoreColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoOnNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoOnNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TempoOnColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoAutoNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoAutoNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TempoAutoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoRunNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoRunNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TempoRunColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCMedioNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCMedioNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCLavNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCLavNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCEffNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCEffNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCEffColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCMedioRTNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCMedioRTNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCMedioRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCLavRTNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCLavRTNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCLavRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCEffRTNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCEffRTNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchina.TCEffRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_repDonati_getLastStatoDurataMacchinaRow : global::System.Data.DataRow {
|
|
|
|
private stp_repDonati_getLastStatoDurataMacchinaDataTable tablestp_repDonati_getLastStatoDurataMacchina;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_repDonati_getLastStatoDurataMacchinaRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_repDonati_getLastStatoDurataMacchina = ((stp_repDonati_getLastStatoDurataMacchinaDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxStato {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'idxStato\' in table \'stp_repDonati_getLastStatoDurataMacchin" +
|
|
"a\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double Minuti {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Minuti\' in table \'stp_repDonati_getLastStatoDurataMacchina\'" +
|
|
" is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxStatoNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxStatoNull() {
|
|
this[this.tablestp_repDonati_getLastStatoDurataMacchina.idxStatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMinutiNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMinutiNull() {
|
|
this[this.tablestp_repDonati_getLastStatoDurataMacchina.MinutiColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_repDonati_getDatiProdMacchinaPeriodoRow : global::System.Data.DataRow {
|
|
|
|
private stp_repDonati_getDatiProdMacchinaPeriodoDataTable tablestp_repDonati_getDatiProdMacchinaPeriodo;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_repDonati_getDatiProdMacchinaPeriodoRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_repDonati_getDatiProdMacchinaPeriodo = ((stp_repDonati_getDatiProdMacchinaPeriodoDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int PezziProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'stp_repDonati_getDatiProdMacchinaPerio" +
|
|
"do\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'stp_repDonati_getDatiProdMacchinaPer" +
|
|
"iodo\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCMedioRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'stp_repDonati_getDatiProdMacchinaPerio" +
|
|
"do\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCLavRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'stp_repDonati_getDatiProdMacchinaPeriodo" +
|
|
"\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCEffRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'stp_repDonati_getDatiProdMacchinaPeriodo" +
|
|
"\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsPezziProdNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPezziProdNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.PezziProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCAssegnatoNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCAssegnatoNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCAssegnatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCMedioRTNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCMedioRTNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCMedioRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCLavRTNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCLavRTNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCLavRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCEffRTNull() {
|
|
return this.IsNull(this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCEffRTNull() {
|
|
this[this.tablestp_repDonati_getDatiProdMacchinaPeriodo.TCEffRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class TurniMacchinaRow : global::System.Data.DataRow {
|
|
|
|
private TurniMacchinaDataTable tableTurniMacchina;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal TurniMacchinaRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableTurniMacchina = ((TurniMacchinaDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
return ((string)(this[this.tableTurniMacchina.IdxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableTurniMacchina.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool T1 {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTurniMacchina.T1Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'T1\' in table \'TurniMacchina\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTurniMacchina.T1Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool T2 {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTurniMacchina.T2Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'T2\' in table \'TurniMacchina\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTurniMacchina.T2Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool T3 {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tableTurniMacchina.T3Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'T3\' in table \'TurniMacchina\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableTurniMacchina.T3Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsT1Null() {
|
|
return this.IsNull(this.tableTurniMacchina.T1Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetT1Null() {
|
|
this[this.tableTurniMacchina.T1Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsT2Null() {
|
|
return this.IsNull(this.tableTurniMacchina.T2Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetT2Null() {
|
|
this[this.tableTurniMacchina.T2Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsT3Null() {
|
|
return this.IsNull(this.tableTurniMacchina.T3Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetT3Null() {
|
|
this[this.tableTurniMacchina.T3Column] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class MappaStatoExplRow : global::System.Data.DataRow {
|
|
|
|
private MappaStatoExplDataTable tableMappaStatoExpl;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal MappaStatoExplRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableMappaStatoExpl = ((MappaStatoExplDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int RowNum {
|
|
get {
|
|
return ((int)(this[this.tableMappaStatoExpl.RowNumColumn]));
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.RowNumColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime lastUpdate {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableMappaStatoExpl.lastUpdateColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'lastUpdate\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.lastUpdateColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
return ((string)(this[this.tableMappaStatoExpl.IdxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodMacchina {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableMappaStatoExpl.CodMacchinaColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodMacchina\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.CodMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Nome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableMappaStatoExpl.NomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.NomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string url {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableMappaStatoExpl.urlColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'url\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.urlColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxODL {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableMappaStatoExpl.idxODLColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'idxODL\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.idxODLColumn] = 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.tableMappaStatoExpl.CodArticoloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int NumPezzi {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableMappaStatoExpl.NumPezziColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NumPezzi\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.NumPezziColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TCAssegnatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCAssegnato\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataInizioODL {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableMappaStatoExpl.DataInizioODLColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataInizioODL\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.DataInizioODLColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Semaforo {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableMappaStatoExpl.SemaforoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Semaforo\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.SemaforoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int idxStato {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableMappaStatoExpl.idxStatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'idxStato\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.idxStatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DescrizioneStato {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableMappaStatoExpl.DescrizioneStatoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DescrizioneStato\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.DescrizioneStatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public double durata {
|
|
get {
|
|
try {
|
|
return ((double)(this[this.tableMappaStatoExpl.durataColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'durata\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.durataColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int PezziProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableMappaStatoExpl.PezziProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PezziProd\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.PezziProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int PezziConf {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableMappaStatoExpl.PezziConfColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PezziConf\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.PezziConfColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoOn {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TempoOnColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoOn\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TempoOnColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoAuto {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TempoAutoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoAuto\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TempoAutoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TempoRun {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TempoRunColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TempoRun\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TempoRunColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCMedio {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TCMedioColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCMedio\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TCMedioColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCLav {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TCLavColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCLav\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TCLavColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCEff {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TCEffColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCEff\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TCEffColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCMedioRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TCMedioRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCMedioRT\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TCMedioRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCLavRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TCLavRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCLavRT\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TCLavRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCEffRT {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableMappaStatoExpl.TCEffRTColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TCEffRT\' in table \'MappaStatoExpl\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableMappaStatoExpl.TCEffRTColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IslastUpdateNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.lastUpdateColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetlastUpdateNull() {
|
|
this[this.tableMappaStatoExpl.lastUpdateColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCodMacchinaNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.CodMacchinaColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodMacchinaNull() {
|
|
this[this.tableMappaStatoExpl.CodMacchinaColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNomeNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.NomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNomeNull() {
|
|
this[this.tableMappaStatoExpl.NomeColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsurlNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.urlColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SeturlNull() {
|
|
this[this.tableMappaStatoExpl.urlColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxODLNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.idxODLColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxODLNull() {
|
|
this[this.tableMappaStatoExpl.idxODLColumn] = 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.tableMappaStatoExpl.CodArticoloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodArticoloNull() {
|
|
this[this.tableMappaStatoExpl.CodArticoloColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNumPezziNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.NumPezziColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNumPezziNull() {
|
|
this[this.tableMappaStatoExpl.NumPezziColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCAssegnatoNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TCAssegnatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCAssegnatoNull() {
|
|
this[this.tableMappaStatoExpl.TCAssegnatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataInizioODLNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.DataInizioODLColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataInizioODLNull() {
|
|
this[this.tableMappaStatoExpl.DataInizioODLColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsSemaforoNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.SemaforoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetSemaforoNull() {
|
|
this[this.tableMappaStatoExpl.SemaforoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsidxStatoNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.idxStatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetidxStatoNull() {
|
|
this[this.tableMappaStatoExpl.idxStatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDescrizioneStatoNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.DescrizioneStatoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDescrizioneStatoNull() {
|
|
this[this.tableMappaStatoExpl.DescrizioneStatoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsdurataNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.durataColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetdurataNull() {
|
|
this[this.tableMappaStatoExpl.durataColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsPezziProdNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.PezziProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPezziProdNull() {
|
|
this[this.tableMappaStatoExpl.PezziProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsPezziConfNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.PezziConfColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPezziConfNull() {
|
|
this[this.tableMappaStatoExpl.PezziConfColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoOnNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TempoOnColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoOnNull() {
|
|
this[this.tableMappaStatoExpl.TempoOnColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoAutoNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TempoAutoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoAutoNull() {
|
|
this[this.tableMappaStatoExpl.TempoAutoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTempoRunNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TempoRunColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTempoRunNull() {
|
|
this[this.tableMappaStatoExpl.TempoRunColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCMedioNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TCMedioColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCMedioNull() {
|
|
this[this.tableMappaStatoExpl.TCMedioColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCLavNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TCLavColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCLavNull() {
|
|
this[this.tableMappaStatoExpl.TCLavColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCEffNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TCEffColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCEffNull() {
|
|
this[this.tableMappaStatoExpl.TCEffColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCMedioRTNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TCMedioRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCMedioRTNull() {
|
|
this[this.tableMappaStatoExpl.TCMedioRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCLavRTNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TCLavRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCLavRTNull() {
|
|
this[this.tableMappaStatoExpl.TCLavRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTCEffRTNull() {
|
|
return this.IsNull(this.tableMappaStatoExpl.TCEffRTColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTCEffRTNull() {
|
|
this[this.tableMappaStatoExpl.TCEffRTColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class ProduzioneAs400Row : global::System.Data.DataRow {
|
|
|
|
private ProduzioneAs400DataTable tableProduzioneAs400;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ProduzioneAs400Row(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableProduzioneAs400 = ((ProduzioneAs400DataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxODL {
|
|
get {
|
|
return ((int)(this[this.tableProduzioneAs400.IdxODLColumn]));
|
|
}
|
|
set {
|
|
this[this.tableProduzioneAs400.IdxODLColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CommessaAs400 {
|
|
get {
|
|
return ((string)(this[this.tableProduzioneAs400.CommessaAs400Column]));
|
|
}
|
|
set {
|
|
this[this.tableProduzioneAs400.CommessaAs400Column] = value;
|
|
}
|
|
}
|
|
|
|
[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.tableProduzioneAs400.CodArticoloColumn]));
|
|
}
|
|
set {
|
|
this[this.tableProduzioneAs400.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int TotPzProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableProduzioneAs400.TotPzProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TotPzProd\' in table \'ProduzioneAs400\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableProduzioneAs400.TotPzProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DataRif {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableProduzioneAs400.DataRifColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'ProduzioneAs400\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableProduzioneAs400.DataRifColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsTotPzProdNull() {
|
|
return this.IsNull(this.tableProduzioneAs400.TotPzProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTotPzProdNull() {
|
|
this[this.tableProduzioneAs400.TotPzProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataRifNull() {
|
|
return this.IsNull(this.tableProduzioneAs400.DataRifColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataRifNull() {
|
|
this[this.tableProduzioneAs400.DataRifColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class ResProdDett_splitODLRow : global::System.Data.DataRow {
|
|
|
|
private ResProdDett_splitODLDataTable tableResProdDett_splitODL;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ResProdDett_splitODLRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableResProdDett_splitODL = ((ResProdDett_splitODLDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxODL {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitODL.IdxODLColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'IdxODL\' in table \'ResProdDett_splitODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitODL.IdxODLColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
return ((decimal)(this[this.tableResProdDett_splitODL.TCAssegnatoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitODL.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzOrd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitODL.pzOrdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzOrd\' in table \'ResProdDett_splitODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitODL.pzOrdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitODL.pzProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdDett_splitODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitODL.pzProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzConf {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitODL.pzConfColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdDett_splitODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitODL.pzConfColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzRiman {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitODL.pzRimanColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzRiman\' in table \'ResProdDett_splitODL\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitODL.pzRimanColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsIdxODLNull() {
|
|
return this.IsNull(this.tableResProdDett_splitODL.IdxODLColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetIdxODLNull() {
|
|
this[this.tableResProdDett_splitODL.IdxODLColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzOrdNull() {
|
|
return this.IsNull(this.tableResProdDett_splitODL.pzOrdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzOrdNull() {
|
|
this[this.tableResProdDett_splitODL.pzOrdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzProdNull() {
|
|
return this.IsNull(this.tableResProdDett_splitODL.pzProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzProdNull() {
|
|
this[this.tableResProdDett_splitODL.pzProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzConfNull() {
|
|
return this.IsNull(this.tableResProdDett_splitODL.pzConfColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzConfNull() {
|
|
this[this.tableResProdDett_splitODL.pzConfColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzRimanNull() {
|
|
return this.IsNull(this.tableResProdDett_splitODL.pzRimanColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzRimanNull() {
|
|
this[this.tableResProdDett_splitODL.pzRimanColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class ResProdDett_splitGGRow : global::System.Data.DataRow {
|
|
|
|
private ResProdDett_splitGGDataTable tableResProdDett_splitGG;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ResProdDett_splitGGRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableResProdDett_splitGG = ((ResProdDett_splitGGDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime Data {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableResProdDett_splitGG.DataColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'ResProdDett_splitGG\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitGG.DataColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int IdxODL {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitGG.IdxODLColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'IdxODL\' in table \'ResProdDett_splitGG\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitGG.IdxODLColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TCAssegnato {
|
|
get {
|
|
return ((decimal)(this[this.tableResProdDett_splitGG.TCAssegnatoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitGG.TCAssegnatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitGG.pzProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdDett_splitGG\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitGG.pzProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzConf {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdDett_splitGG.pzConfColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdDett_splitGG\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitGG.pzConfColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Nome {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableResProdDett_splitGG.NomeColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'Nome\' in table \'ResProdDett_splitGG\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitGG.NomeColumn] = 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.tableResProdDett_splitGG.CodArticoloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodArticolo\' in table \'ResProdDett_splitGG\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdDett_splitGG.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataNull() {
|
|
return this.IsNull(this.tableResProdDett_splitGG.DataColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataNull() {
|
|
this[this.tableResProdDett_splitGG.DataColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsIdxODLNull() {
|
|
return this.IsNull(this.tableResProdDett_splitGG.IdxODLColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetIdxODLNull() {
|
|
this[this.tableResProdDett_splitGG.IdxODLColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzProdNull() {
|
|
return this.IsNull(this.tableResProdDett_splitGG.pzProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzProdNull() {
|
|
this[this.tableResProdDett_splitGG.pzProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzConfNull() {
|
|
return this.IsNull(this.tableResProdDett_splitGG.pzConfColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzConfNull() {
|
|
this[this.tableResProdDett_splitGG.pzConfColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNomeNull() {
|
|
return this.IsNull(this.tableResProdDett_splitGG.NomeColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNomeNull() {
|
|
this[this.tableResProdDett_splitGG.NomeColumn] = 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.tableResProdDett_splitGG.CodArticoloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodArticoloNull() {
|
|
this[this.tableResProdDett_splitGG.CodArticoloColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class ResProdTotRow : global::System.Data.DataRow {
|
|
|
|
private ResProdTotDataTable tableResProdTot;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal ResProdTotRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableResProdTot = ((ResProdTotDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Nome {
|
|
get {
|
|
return ((string)(this[this.tableResProdTot.NomeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.NomeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string IdxMacchina {
|
|
get {
|
|
return ((string)(this[this.tableResProdTot.IdxMacchinaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.IdxMacchinaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[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.tableResProdTot.CodArticoloColumn]));
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.CodArticoloColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzOrd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdTot.pzOrdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzOrd\' in table \'ResProdTot\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.pzOrdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzProd {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdTot.pzProdColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzProd\' in table \'ResProdTot\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.pzProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzConf {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdTot.pzConfColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzConf\' in table \'ResProdTot\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.pzConfColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int pzRiman {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tableResProdTot.pzRimanColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'pzRiman\' in table \'ResProdTot\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.pzRimanColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Stato {
|
|
get {
|
|
return ((string)(this[this.tableResProdTot.StatoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableResProdTot.StatoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzOrdNull() {
|
|
return this.IsNull(this.tableResProdTot.pzOrdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzOrdNull() {
|
|
this[this.tableResProdTot.pzOrdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzProdNull() {
|
|
return this.IsNull(this.tableResProdTot.pzProdColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzProdNull() {
|
|
this[this.tableResProdTot.pzProdColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzConfNull() {
|
|
return this.IsNull(this.tableResProdTot.pzConfColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzConfNull() {
|
|
this[this.tableResProdTot.pzConfColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IspzRimanNull() {
|
|
return this.IsNull(this.tableResProdTot.pzRimanColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetpzRimanNull() {
|
|
this[this.tableResProdTot.pzRimanColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class TempiCicloRilevatiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private TempiCicloRilevatiRow 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 TempiCicloRilevatiRowChangeEvent(TempiCicloRilevatiRow 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 TempiCicloRilevatiRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class ODLRowChangeEvent : global::System.EventArgs {
|
|
|
|
private ODLRow 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 ODLRowChangeEvent(ODLRow 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 ODLRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class DatiMacchineRowChangeEvent : global::System.EventArgs {
|
|
|
|
private DatiMacchineRow 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 DatiMacchineRowChangeEvent(DatiMacchineRow 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 DatiMacchineRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class PostazioniMapoRowChangeEvent : global::System.EventArgs {
|
|
|
|
private PostazioniMapoRow 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 PostazioniMapoRowChangeEvent(PostazioniMapoRow 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 PostazioniMapoRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class stp_PzProd_getByMacchinaRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_PzProd_getByMacchinaRow 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 stp_PzProd_getByMacchinaRowChangeEvent(stp_PzProd_getByMacchinaRow 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 stp_PzProd_getByMacchinaRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class DatiConfermatiRowChangeEvent : global::System.EventArgs {
|
|
|
|
private DatiConfermatiRow 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 DatiConfermatiRowChangeEvent(DatiConfermatiRow 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 DatiConfermatiRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class CalendFesteFerieRowChangeEvent : global::System.EventArgs {
|
|
|
|
private CalendFesteFerieRow 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 CalendFesteFerieRowChangeEvent(CalendFesteFerieRow 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 CalendFesteFerieRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class stp_TempoByIdxMaccPeriodClassRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_TempoByIdxMaccPeriodClassRow 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 stp_TempoByIdxMaccPeriodClassRowChangeEvent(stp_TempoByIdxMaccPeriodClassRow 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 stp_TempoByIdxMaccPeriodClassRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class DatiProduzioneRowChangeEvent : global::System.EventArgs {
|
|
|
|
private DatiProduzioneRow 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 DatiProduzioneRowChangeEvent(DatiProduzioneRow 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 DatiProduzioneRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class stp_repDonati_getDatiProdMacchinaRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_repDonati_getDatiProdMacchinaRow 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 stp_repDonati_getDatiProdMacchinaRowChangeEvent(stp_repDonati_getDatiProdMacchinaRow 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 stp_repDonati_getDatiProdMacchinaRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_repDonati_getLastStatoDurataMacchinaRow 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 stp_repDonati_getLastStatoDurataMacchinaRowChangeEvent(stp_repDonati_getLastStatoDurataMacchinaRow 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 stp_repDonati_getLastStatoDurataMacchinaRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_repDonati_getDatiProdMacchinaPeriodoRow 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 stp_repDonati_getDatiProdMacchinaPeriodoRowChangeEvent(stp_repDonati_getDatiProdMacchinaPeriodoRow 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 stp_repDonati_getDatiProdMacchinaPeriodoRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class TurniMacchinaRowChangeEvent : global::System.EventArgs {
|
|
|
|
private TurniMacchinaRow 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 TurniMacchinaRowChangeEvent(TurniMacchinaRow 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 TurniMacchinaRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class MappaStatoExplRowChangeEvent : global::System.EventArgs {
|
|
|
|
private MappaStatoExplRow 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 MappaStatoExplRowChangeEvent(MappaStatoExplRow 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 MappaStatoExplRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class ProduzioneAs400RowChangeEvent : global::System.EventArgs {
|
|
|
|
private ProduzioneAs400Row 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 ProduzioneAs400RowChangeEvent(ProduzioneAs400Row 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 ProduzioneAs400Row 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class ResProdDett_splitODLRowChangeEvent : global::System.EventArgs {
|
|
|
|
private ResProdDett_splitODLRow 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 ResProdDett_splitODLRowChangeEvent(ResProdDett_splitODLRow 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 ResProdDett_splitODLRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class ResProdDett_splitGGRowChangeEvent : global::System.EventArgs {
|
|
|
|
private ResProdDett_splitGGRow 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 ResProdDett_splitGGRowChangeEvent(ResProdDett_splitGGRow 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 ResProdDett_splitGGRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class ResProdTotRowChangeEvent : global::System.EventArgs {
|
|
|
|
private ResProdTotRow 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 ResProdTotRowChangeEvent(ResProdTotRow 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 ResProdTotRow 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_ProdTempiTableAdapters {
|
|
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 TempiCicloRilevatiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 TempiCicloRilevatiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "TempiCicloRilevati";
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("DataOraRif", "DataOraRif");
|
|
tableMapping.ColumnMappings.Add("TCMedio", "TCMedio");
|
|
tableMapping.ColumnMappings.Add("PzProd", "PzProd");
|
|
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].[TempiCicloRilevati] WHERE (([IdxMacchina] = @Original_IdxMacch" +
|
|
"ina) AND ([CodArticolo] = @Original_CodArticolo) AND ([DataOraRif] = @Original_D" +
|
|
"ataOraRif) AND ([TCMedio] = @Original_TCMedio) AND ([PzProd] = @Original_PzProd)" +
|
|
")";
|
|
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_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_DataOraRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraRif", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzProd", 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].[TempiCicloRilevati] ([IdxMacchina], [CodArticolo], [DataOraRif], [TCMedio], [PzProd]) VALUES (@IdxMacchina, @CodArticolo, @DataOraRif, @TCMedio, @PzProd);
|
|
SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRilevati WHERE (CodArticolo = @CodArticolo) AND (DataOraRif = @DataOraRif) AND (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("@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("@DataOraRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraRif", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzProd", 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].[TempiCicloRilevati] SET [IdxMacchina] = @IdxMacchina, [CodArticolo] = @CodArticolo, [DataOraRif] = @DataOraRif, [TCMedio] = @TCMedio, [PzProd] = @PzProd WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ([CodArticolo] = @Original_CodArticolo) AND ([DataOraRif] = @Original_DataOraRif) AND ([TCMedio] = @Original_TCMedio) AND ([PzProd] = @Original_PzProd));
|
|
SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRilevati WHERE (CodArticolo = @CodArticolo) AND (DataOraRif = @DataOraRif) AND (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("@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("@DataOraRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraRif", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzProd", 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_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_DataOraRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraRif", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PzProd", 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[6];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM dbo.TempiCicloR" +
|
|
"ilevati";
|
|
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_TC_getByMacchinaPeriodo";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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_TC_getByMacchinaPeriodoFiltMax";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MAX", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_TC_getMaxByMacchinaPeriodo";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_TC_getMedByMacchinaPeriodo";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_TC_getMinByMacchinaPeriodo";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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_ProdTempi.TempiCicloRilevatiDataTable 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_ProdTempi.TempiCicloRilevatiDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable();
|
|
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_ProdTempi.TempiCicloRilevatiDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable<global::System.DateTime> Inizio, global::System.Nullable<global::System.DateTime> Fine) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((Inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable();
|
|
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_ProdTempi.TempiCicloRilevatiDataTable getByMacchinaPeriodoFiltMax(string IdxMacchina, global::System.Nullable<global::System.DateTime> Inizio, global::System.Nullable<global::System.DateTime> Fine, global::System.Nullable<decimal> MAX) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((Inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((MAX.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(MAX.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable();
|
|
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_ProdTempi.TempiCicloRilevatiDataTable getMaxByMacchinaPeriodo(string IdxMacchina, global::System.Nullable<global::System.DateTime> Inizio, global::System.Nullable<global::System.DateTime> Fine) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((Inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable();
|
|
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_ProdTempi.TempiCicloRilevatiDataTable getMedByMacchinaPeriodo(string IdxMacchina, global::System.Nullable<global::System.DateTime> Inizio, global::System.Nullable<global::System.DateTime> Fine) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((Inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable();
|
|
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_ProdTempi.TempiCicloRilevatiDataTable getMinByMacchinaPeriodo(string IdxMacchina, global::System.Nullable<global::System.DateTime> Inizio, global::System.Nullable<global::System.DateTime> Fine) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((Inizio.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Inizio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Fine.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(Fine.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.TempiCicloRilevatiDataTable dataTable = new DS_ProdTempi.TempiCicloRilevatiDataTable();
|
|
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_ProdTempi.TempiCicloRilevatiDataTable 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_ProdTempi dataSet) {
|
|
return this.Adapter.Update(dataSet, "TempiCicloRilevati");
|
|
}
|
|
|
|
[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_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) {
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_CodArticolo == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodArticolo");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_DataOraRif));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_TCMedio));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_PzProd));
|
|
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 IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd) {
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
throw new global::System.ArgumentNullException("CodArticolo");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodArticolo));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataOraRif));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(TCMedio));
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((int)(PzProd));
|
|
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 IdxMacchina, string CodArticolo, System.DateTime DataOraRif, decimal TCMedio, int PzProd, string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) {
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
throw new global::System.ArgumentNullException("CodArticolo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodArticolo));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataOraRif));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(TCMedio));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(PzProd));
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_CodArticolo == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodArticolo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Original_DataOraRif));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(Original_TCMedio));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_PzProd));
|
|
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(decimal TCMedio, int PzProd, string Original_IdxMacchina, string Original_CodArticolo, System.DateTime Original_DataOraRif, decimal Original_TCMedio, int Original_PzProd) {
|
|
return this.Update(Original_IdxMacchina, Original_CodArticolo, Original_DataOraRif, TCMedio, PzProd, Original_IdxMacchina, Original_CodArticolo, Original_DataOraRif, Original_TCMedio, Original_PzProd);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 ODLTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 ODLTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "ODL";
|
|
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("NumPezzi", "NumPezzi");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("DescArticolo", "DescArticolo");
|
|
tableMapping.ColumnMappings.Add("CodMacchina", "CodMacchina");
|
|
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
|
tableMapping.ColumnMappings.Add("DataInizio", "DataInizio");
|
|
tableMapping.ColumnMappings.Add("DataFine", "DataFine");
|
|
tableMapping.ColumnMappings.Add("Note", "Note");
|
|
tableMapping.ColumnMappings.Add("NeedAppr", "NeedAppr");
|
|
tableMapping.ColumnMappings.Add("UserAppr", "UserAppr");
|
|
tableMapping.ColumnMappings.Add("DataAppr", "DataAppr");
|
|
tableMapping.ColumnMappings.Add("TCRichAttr", "TCRichAttr");
|
|
tableMapping.ColumnMappings.Add("ToAs400", "ToAs400");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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[17];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT * FROM dbo.v_ODL_exp\r\nORDER BY idxODL DESC";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_ODL_approvaTC";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserAppr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Approvato", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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 = "DELETE FROM [dbo].[ODL] WHERE ([IdxODL] = @Original_IdxODL)";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_ODL_fineProd";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_ODL_getByCodArt";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_ODL_getByIdx";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@onlyUnused", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_ODL_getByMacchina";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_ODL_getByMacchinaCodArt";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[8].Connection = this.Connection;
|
|
this._commandCollection[8].CommandText = "dbo.stp_ODL_getByMacchinaPeriodo";
|
|
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[9].Connection = this.Connection;
|
|
this._commandCollection[9].CommandText = "dbo.stp_ODL_getByMacchinaPeriodoNoNull";
|
|
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[9].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[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[10].Connection = this.Connection;
|
|
this._commandCollection[10].CommandText = "dbo.stp_ODL_needAppr";
|
|
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[10].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[11] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[11].Connection = this.Connection;
|
|
this._commandCollection[11].CommandText = "dbo.stp_ODL_inizioSetup";
|
|
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[12].Connection = this.Connection;
|
|
this._commandCollection[12].CommandText = "dbo.stp_ODL_insertQuery";
|
|
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[12].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[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ToAs400", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CommessaAs400", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[13].Connection = this.Connection;
|
|
this._commandCollection[13].CommandText = "dbo.stp_ODL_split";
|
|
this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@StartNewOdl", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[14].Connection = this.Connection;
|
|
this._commandCollection[14].CommandText = "dbo.stp_ODL_updateQta";
|
|
this._commandCollection[14].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[14].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[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[15].Connection = this.Connection;
|
|
this._commandCollection[15].CommandText = "dbo.stp_ODL_update";
|
|
this._commandCollection[15].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[15].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[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataInizio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFine", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[16].Connection = this.Connection;
|
|
this._commandCollection[16].CommandText = "dbo.stp_ODL_updateSetup";
|
|
this._commandCollection[16].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[16].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[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCRichAttr", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 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_ProdTempi.ODLDataTable 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_ProdTempi.ODLDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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_ProdTempi.ODLDataTable getByCodArt(string CodArticolo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo));
|
|
}
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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_ProdTempi.ODLDataTable getByIdx(global::System.Nullable<int> IdxODL, global::System.Nullable<bool> onlyUnused) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((IdxODL.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((onlyUnused.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(onlyUnused.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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_ProdTempi.ODLDataTable getByMacchina(string IdxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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_ProdTempi.ODLDataTable getByMacchinaArticolo(string CodArticolo, string IdxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[7];
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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_ProdTempi.ODLDataTable getByMacchinaPeriodo(string IdxMacchina, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[8];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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_ProdTempi.ODLDataTable getByMacchinaPeriodoNoNull(string IdxMacchina, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[9];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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_ProdTempi.ODLDataTable getNeedAppr() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[10];
|
|
DS_ProdTempi.ODLDataTable dataTable = new DS_ProdTempi.ODLDataTable();
|
|
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 approvaTC(global::System.Nullable<int> idxODL, string Note, string UserAppr, global::System.Nullable<bool> Approvato) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((idxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Note == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(Note));
|
|
}
|
|
if ((UserAppr == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(UserAppr));
|
|
}
|
|
if ((Approvato.HasValue == true)) {
|
|
command.Parameters[4].Value = ((bool)(Approvato.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
|
|
public virtual int DeleteQuery(int Original_IdxODL) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
command.Parameters[0].Value = ((int)(Original_IdxODL));
|
|
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 fineProd(global::System.Nullable<int> idxODL, string IdxMacchina) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((idxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
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 inizioSetup(global::System.Nullable<int> idxODL, string IdxMacchina, global::System.Nullable<decimal> TCRichAttr, string Note) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
|
|
if ((idxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((TCRichAttr.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(TCRichAttr.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Note == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Note));
|
|
}
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int InsertQuery(string CodArticolo, string IdxMacchina, global::System.Nullable<int> NumPezzi, global::System.Nullable<decimal> TCAssegnato, global::System.Nullable<bool> ToAs400, string CommessaAs400) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12];
|
|
if ((CodArticolo == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((NumPezzi.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(NumPezzi.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ToAs400.HasValue == true)) {
|
|
command.Parameters[5].Value = ((bool)(ToAs400.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CommessaAs400 == null)) {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = ((string)(CommessaAs400));
|
|
}
|
|
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 splitODL(global::System.Nullable<int> idxODL, string IdxMacchina, global::System.Nullable<decimal> TCRichAttr, string Note, global::System.Nullable<bool> StartNewOdl) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[13];
|
|
if ((idxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((TCRichAttr.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(TCRichAttr.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Note == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Note));
|
|
}
|
|
if ((StartNewOdl.HasValue == true)) {
|
|
command.Parameters[5].Value = ((bool)(StartNewOdl.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
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 updateQta(global::System.Nullable<int> NumPezzi, global::System.Nullable<int> Original_IdxODL) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[14];
|
|
if ((NumPezzi.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(NumPezzi.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_IdxODL.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(Original_IdxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int UpdateQuery(string CodArticolo, string IdxMacchina, global::System.Nullable<int> NumPezzi, global::System.Nullable<decimal> TCAssegnato, global::System.Nullable<global::System.DateTime> DataInizio, global::System.Nullable<global::System.DateTime> DataFine, string Note, global::System.Nullable<int> Original_IdxODL) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[15];
|
|
if ((CodArticolo == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((NumPezzi.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(NumPezzi.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataInizio.HasValue == true)) {
|
|
command.Parameters[5].Value = ((System.DateTime)(DataInizio.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataFine.HasValue == true)) {
|
|
command.Parameters[6].Value = ((System.DateTime)(DataFine.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Note == null)) {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = ((string)(Note));
|
|
}
|
|
if ((Original_IdxODL.HasValue == true)) {
|
|
command.Parameters[8].Value = ((int)(Original_IdxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
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 updateSetup(global::System.Nullable<int> idxODL, global::System.Nullable<decimal> TCRichAttr, string Note) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[16];
|
|
if ((idxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCRichAttr.HasValue == true)) {
|
|
command.Parameters[2].Value = ((decimal)(TCRichAttr.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Note == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(Note));
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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.SqlTransaction _transaction;
|
|
|
|
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")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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");
|
|
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) A" +
|
|
"ND ((@IsNull_DescArticolo = 1 AND [DescArticolo] IS NULL) OR ([DescArticolo] = @" +
|
|
"Original_DescArticolo)))";
|
|
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("@IsNull_DescArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Original, true, 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagArticoli] ([CodArticolo], [DescArticolo]) VALUES (@CodArti" +
|
|
"colo, @DescArticolo);\r\nSELECT CodArticolo, DescArticolo 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.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 WHERE (([CodArticolo] = @Original_CodArticolo) AND ((@IsNull_DescArticolo = 1 AND [DescArticolo] IS NULL) OR ([DescArticolo] = @Original_DescArticolo)));
|
|
SELECT CodArticolo, DescArticolo 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("@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_DescArticolo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescArticolo", global::System.Data.DataRowVersion.Original, true, 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, "", "", ""));
|
|
}
|
|
|
|
[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 CodArticolo, DescArticolo FROM dbo.AnagArticoli";
|
|
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_ART_checkUsed";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isUsed", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.InputOutput, 1, 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_ART_delete";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_ART_update";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescArticolo", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 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_ProdTempi.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_ProdTempi.AnagArticoliDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.AnagArticoliDataTable dataTable = new DS_ProdTempi.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_ProdTempi.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_ProdTempi 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) {
|
|
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)) {
|
|
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_DescArticolo));
|
|
}
|
|
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) {
|
|
if ((CodArticolo == null)) {
|
|
throw new global::System.ArgumentNullException("CodArticolo");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((DescArticolo == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescArticolo));
|
|
}
|
|
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 Original_CodArticolo, string Original_DescArticolo) {
|
|
if ((CodArticolo == null)) {
|
|
throw new global::System.ArgumentNullException("CodArticolo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((DescArticolo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescArticolo));
|
|
}
|
|
if ((Original_CodArticolo == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodArticolo");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
if ((Original_DescArticolo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_DescArticolo));
|
|
}
|
|
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 Original_CodArticolo, string Original_DescArticolo) {
|
|
return this.Update(Original_CodArticolo, DescArticolo, Original_CodArticolo, Original_DescArticolo);
|
|
}
|
|
|
|
[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 object checkUsed(string CodArticolo, ref global::System.Nullable<bool> isUsed) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((CodArticolo == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((isUsed.HasValue == true)) {
|
|
command.Parameters[2].Value = ((bool)(isUsed.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
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();
|
|
}
|
|
object returnValue;
|
|
try {
|
|
returnValue = command.ExecuteScalar();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
if (((command.Parameters[2].Value == null)
|
|
|| (command.Parameters[2].Value.GetType() == typeof(global::System.DBNull)))) {
|
|
isUsed = new global::System.Nullable<bool>();
|
|
}
|
|
else {
|
|
isUsed = new global::System.Nullable<bool>(((bool)(command.Parameters[2].Value)));
|
|
}
|
|
if (((returnValue == null)
|
|
|| (returnValue.GetType() == typeof(global::System.DBNull)))) {
|
|
return null;
|
|
}
|
|
else {
|
|
return ((object)(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 deleteQry(string Original_CodArticolo) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((Original_CodArticolo == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
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 updateQry(string Original_CodArticolo, string CodArticolo, string DescArticolo) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((Original_CodArticolo == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((DescArticolo == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(DescArticolo));
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 DatiMacchineTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 DatiMacchineTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "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("DescFull", "DescFull");
|
|
tableMapping.ColumnMappings.Add("Articolo_A", "Articolo_A");
|
|
tableMapping.ColumnMappings.Add("Articolo_B", "Articolo_B");
|
|
tableMapping.ColumnMappings.Add("simplePallet", "simplePallet");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 *\r\nFROM v_DatiMacchina_exp";
|
|
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_DATM_getByIdx";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_DATM_update";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxMacchina", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@palletChange", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kanban_A", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kanban_B", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.DatiMacchineDataTable 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_ProdTempi.DatiMacchineDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.DatiMacchineDataTable dataTable = new DS_ProdTempi.DatiMacchineDataTable();
|
|
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_ProdTempi.DatiMacchineDataTable getByIdx(global::System.Nullable<int> IdxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((IdxMacchina.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxMacchina.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.DatiMacchineDataTable dataTable = new DS_ProdTempi.DatiMacchineDataTable();
|
|
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 updateQry(global::System.Nullable<int> Original_idxMacchina, global::System.Nullable<bool> palletChange, string kanban_A, string kanban_B) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((Original_idxMacchina.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(Original_idxMacchina.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((palletChange.HasValue == true)) {
|
|
command.Parameters[2].Value = ((bool)(palletChange.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((kanban_A == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(kanban_A));
|
|
}
|
|
if ((kanban_B == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(kanban_B));
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 PostazioniMapoTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 PostazioniMapoTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "PostazioniMapo";
|
|
tableMapping.ColumnMappings.Add("IdxPostazione", "IdxPostazione");
|
|
tableMapping.ColumnMappings.Add("DescPostazione", "DescPostazione");
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("MatrOperatore", "MatrOperatore");
|
|
tableMapping.ColumnMappings.Add("InputUntil", "InputUntil");
|
|
tableMapping.ColumnMappings.Add("LastBarcode", "LastBarcode");
|
|
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 [PostazioniMapo] WHERE (([IdxPostazione] = @Original_IdxPostazione) AND ((@IsNull_DescPostazione = 1 AND [DescPostazione] IS NULL) OR ([DescPostazione] = @Original_DescPostazione)) AND ([IdxMacchina] = @Original_IdxMacchina) AND ((@IsNull_MatrOperatore = 1 AND [MatrOperatore] IS NULL) OR ([MatrOperatore] = @Original_MatrOperatore)) AND ((@IsNull_InputUntil = 1 AND [InputUntil] IS NULL) OR ([InputUntil] = @Original_InputUntil)) AND ((@IsNull_LastBarcode = 1 AND [LastBarcode] IS NULL) OR ([LastBarcode] = @Original_LastBarcode)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPostazione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescPostazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPostazione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPostazione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
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("@IsNull_MatrOperatore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOperatore", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrOperatore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOperatore", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InputUntil", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InputUntil", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InputUntil", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InputUntil", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LastBarcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LastBarcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", 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 [PostazioniMapo] ([IdxPostazione], [DescPostazione], [IdxMacchina], [MatrOperatore], [InputUntil], [LastBarcode]) VALUES (@IdxPostazione, @DescPostazione, @IdxMacchina, @MatrOperatore, @InputUntil, @LastBarcode);
|
|
SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, LastBarcode FROM PostazioniMapo WHERE (IdxPostazione = @IdxPostazione)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
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("@MatrOperatore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOperatore", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InputUntil", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InputUntil", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastBarcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", 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 [PostazioniMapo] SET [IdxPostazione] = @IdxPostazione, [DescPostazione] = @DescPostazione, [IdxMacchina] = @IdxMacchina, [MatrOperatore] = @MatrOperatore, [InputUntil] = @InputUntil, [LastBarcode] = @LastBarcode WHERE (([IdxPostazione] = @Original_IdxPostazione) AND ((@IsNull_DescPostazione = 1 AND [DescPostazione] IS NULL) OR ([DescPostazione] = @Original_DescPostazione)) AND ([IdxMacchina] = @Original_IdxMacchina) AND ((@IsNull_MatrOperatore = 1 AND [MatrOperatore] IS NULL) OR ([MatrOperatore] = @Original_MatrOperatore)) AND ((@IsNull_InputUntil = 1 AND [InputUntil] IS NULL) OR ([InputUntil] = @Original_InputUntil)) AND ((@IsNull_LastBarcode = 1 AND [LastBarcode] IS NULL) OR ([LastBarcode] = @Original_LastBarcode)));
|
|
SELECT IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, LastBarcode FROM PostazioniMapo WHERE (IdxPostazione = @IdxPostazione)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
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("@MatrOperatore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOperatore", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InputUntil", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InputUntil", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastBarcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPostazione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescPostazione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPostazione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescPostazione", global::System.Data.DataRowVersion.Original, 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("@IsNull_MatrOperatore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOperatore", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrOperatore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOperatore", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_InputUntil", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InputUntil", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_InputUntil", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "InputUntil", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LastBarcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LastBarcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastBarcode", 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 IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, Las" +
|
|
"tBarcode FROM PostazioniMapo";
|
|
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_POST_getByIdPostazione";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPostazione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_POST_updateMacchina";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPostazione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_POST_updateOperatoreAdmin";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPostazione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@matrOper", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minutiModifica", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.PostazioniMapoDataTable 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_ProdTempi.PostazioniMapoDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.PostazioniMapoDataTable dataTable = new DS_ProdTempi.PostazioniMapoDataTable();
|
|
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_ProdTempi.PostazioniMapoDataTable getByIdxPostaz(string idxPostazione) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((idxPostazione == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxPostazione));
|
|
}
|
|
DS_ProdTempi.PostazioniMapoDataTable dataTable = new DS_ProdTempi.PostazioniMapoDataTable();
|
|
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_ProdTempi.PostazioniMapoDataTable 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_ProdTempi dataSet) {
|
|
return this.Adapter.Update(dataSet, "PostazioniMapo");
|
|
}
|
|
|
|
[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_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable<int> Original_MatrOperatore, global::System.Nullable<global::System.DateTime> Original_InputUntil, string Original_LastBarcode) {
|
|
if ((Original_IdxPostazione == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxPostazione");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxPostazione));
|
|
}
|
|
if ((Original_DescPostazione == 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_DescPostazione));
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_MatrOperatore.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_MatrOperatore.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_InputUntil.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_InputUntil.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_LastBarcode == null)) {
|
|
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_LastBarcode));
|
|
}
|
|
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 IdxPostazione, string DescPostazione, string IdxMacchina, global::System.Nullable<int> MatrOperatore, global::System.Nullable<global::System.DateTime> InputUntil, string LastBarcode) {
|
|
if ((IdxPostazione == null)) {
|
|
throw new global::System.ArgumentNullException("IdxPostazione");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxPostazione));
|
|
}
|
|
if ((DescPostazione == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescPostazione));
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((MatrOperatore.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(MatrOperatore.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((InputUntil.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(InputUntil.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((LastBarcode == null)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(LastBarcode));
|
|
}
|
|
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 IdxPostazione, string DescPostazione, string IdxMacchina, global::System.Nullable<int> MatrOperatore, global::System.Nullable<global::System.DateTime> InputUntil, string LastBarcode, string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable<int> Original_MatrOperatore, global::System.Nullable<global::System.DateTime> Original_InputUntil, string Original_LastBarcode) {
|
|
if ((IdxPostazione == null)) {
|
|
throw new global::System.ArgumentNullException("IdxPostazione");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxPostazione));
|
|
}
|
|
if ((DescPostazione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescPostazione));
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((MatrOperatore.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(MatrOperatore.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((InputUntil.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(InputUntil.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((LastBarcode == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(LastBarcode));
|
|
}
|
|
if ((Original_IdxPostazione == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxPostazione");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_IdxPostazione));
|
|
}
|
|
if ((Original_DescPostazione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescPostazione));
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_MatrOperatore.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_MatrOperatore.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_InputUntil.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_InputUntil.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_LastBarcode == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_LastBarcode));
|
|
}
|
|
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 DescPostazione, string IdxMacchina, global::System.Nullable<int> MatrOperatore, global::System.Nullable<global::System.DateTime> InputUntil, string LastBarcode, string Original_IdxPostazione, string Original_DescPostazione, string Original_IdxMacchina, global::System.Nullable<int> Original_MatrOperatore, global::System.Nullable<global::System.DateTime> Original_InputUntil, string Original_LastBarcode) {
|
|
return this.Update(Original_IdxPostazione, DescPostazione, IdxMacchina, MatrOperatore, InputUntil, LastBarcode, Original_IdxPostazione, Original_DescPostazione, Original_IdxMacchina, Original_MatrOperatore, Original_InputUntil, Original_LastBarcode);
|
|
}
|
|
|
|
[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 updateMacchina(string idxPostazione, string idxMacchina) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((idxPostazione == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(idxPostazione));
|
|
}
|
|
if ((idxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(idxMacchina));
|
|
}
|
|
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 updateOperatoreAdmin(string idxPostazione, global::System.Nullable<int> matrOper, global::System.Nullable<int> minutiModifica) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((idxPostazione == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(idxPostazione));
|
|
}
|
|
if ((matrOper.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(matrOper.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((minutiModifica.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(minutiModifica.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 stp_PzProd_getByMacchinaTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 stp_PzProd_getByMacchinaTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "stp_PzProd_getByMacchina";
|
|
tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina");
|
|
tableMapping.ColumnMappings.Add("pezziNonConfermati", "pezziNonConfermati");
|
|
tableMapping.ColumnMappings.Add("DataFrom", "DataFrom");
|
|
tableMapping.ColumnMappings.Add("DataTo", "DataTo");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_PzProd_getByMacchina";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_PzProd_getByMacchinaPeriodo";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@startProd", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@endProd", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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_ConfermaProduzCompleta";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrApp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pezziConf", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoConf", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraApp", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TestConferma", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_DatiConf_conferma";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrApp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@turno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pezziConf", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.stp_PzProd_getByMacchinaDataTable dataTable, string idxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
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_ProdTempi.stp_PzProd_getByMacchinaDataTable GetData(string idxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
DS_ProdTempi.stp_PzProd_getByMacchinaDataTable dataTable = new DS_ProdTempi.stp_PzProd_getByMacchinaDataTable();
|
|
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_ProdTempi.stp_PzProd_getByMacchinaDataTable getByMacchinaPeriodo(string idxMacchina, global::System.Nullable<global::System.DateTime> startProd, global::System.Nullable<global::System.DateTime> endProd) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((startProd.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(startProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((endProd.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(endProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.stp_PzProd_getByMacchinaDataTable dataTable = new DS_ProdTempi.stp_PzProd_getByMacchinaDataTable();
|
|
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 stp_ConfermaProduzCompleta(string idxMacchina, global::System.Nullable<int> MatrApp, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> pezziConf, global::System.Nullable<int> TipoConf, global::System.Nullable<global::System.DateTime> DataOraApp, global::System.Nullable<bool> TestConferma) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((idxMacchina == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((MatrApp.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(MatrApp.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((pezziConf.HasValue == true)) {
|
|
command.Parameters[5].Value = ((int)(pezziConf.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TipoConf.HasValue == true)) {
|
|
command.Parameters[6].Value = ((int)(TipoConf.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataOraApp.HasValue == true)) {
|
|
command.Parameters[7].Value = ((System.DateTime)(DataOraApp.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TestConferma.HasValue == true)) {
|
|
command.Parameters[8].Value = ((bool)(TestConferma.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
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 stp_DatiConf_conferma(global::System.Nullable<int> idxODL, string idxMacchina, global::System.Nullable<int> MatrApp, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> turno, global::System.Nullable<int> idxStato, global::System.Nullable<int> pezziConf) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((idxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((MatrApp.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(MatrApp.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
command.Parameters[5].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((turno.HasValue == true)) {
|
|
command.Parameters[6].Value = ((int)(turno.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxStato.HasValue == true)) {
|
|
command.Parameters[7].Value = ((int)(idxStato.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((pezziConf.HasValue == true)) {
|
|
command.Parameters[8].Value = ((int)(pezziConf.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 DatiConfermatiTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 DatiConfermatiTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "DatiConfermati";
|
|
tableMapping.ColumnMappings.Add("IdxConferma", "IdxConferma");
|
|
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
|
tableMapping.ColumnMappings.Add("DataOraApp", "DataOraApp");
|
|
tableMapping.ColumnMappings.Add("DataRif", "DataRif");
|
|
tableMapping.ColumnMappings.Add("TurnoRif", "TurnoRif");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("MatrOpr", "MatrOpr");
|
|
tableMapping.ColumnMappings.Add("MatrApp", "MatrApp");
|
|
tableMapping.ColumnMappings.Add("DataOraFrom", "DataOraFrom");
|
|
tableMapping.ColumnMappings.Add("DataOraTo", "DataOraTo");
|
|
tableMapping.ColumnMappings.Add("IdxStato", "IdxStato");
|
|
tableMapping.ColumnMappings.Add("TotPzProd", "TotPzProd");
|
|
tableMapping.ColumnMappings.Add("TempoProdotto", "TempoProdotto");
|
|
tableMapping.ColumnMappings.Add("TempoCron", "TempoCron");
|
|
tableMapping.ColumnMappings.Add("TempoND", "TempoND");
|
|
tableMapping.ColumnMappings.Add("TempoApertura", "TempoApertura");
|
|
tableMapping.ColumnMappings.Add("TempoOFF", "TempoOFF");
|
|
tableMapping.ColumnMappings.Add("TempoON", "TempoON");
|
|
tableMapping.ColumnMappings.Add("TempoFermoOn", "TempoFermoOn");
|
|
tableMapping.ColumnMappings.Add("TempoAuto", "TempoAuto");
|
|
tableMapping.ColumnMappings.Add("TempoFermoAuto", "TempoFermoAuto");
|
|
tableMapping.ColumnMappings.Add("TempoRun", "TempoRun");
|
|
tableMapping.ColumnMappings.Add("TotPzFermo", "TotPzFermo");
|
|
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].[DatiConfermati] WHERE (([IdxConferma] = @Original_IdxConferma)" +
|
|
" AND ([IdxODL] = @Original_IdxODL) AND ([DataOraApp] = @Original_DataOraApp) AND" +
|
|
" ([DataRif] = @Original_DataRif) AND ((@IsNull_TurnoRif = 1 AND [TurnoRif] IS NU" +
|
|
"LL) OR ([TurnoRif] = @Original_TurnoRif)) AND ((@IsNull_CodArticolo = 1 AND [Cod" +
|
|
"Articolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ([IdxMacchina" +
|
|
"] = @Original_IdxMacchina) AND ((@IsNull_TCAssegnato = 1 AND [TCAssegnato] IS NU" +
|
|
"LL) OR ([TCAssegnato] = @Original_TCAssegnato)) AND ((@IsNull_MatrOpr = 1 AND [M" +
|
|
"atrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ([MatrApp] = @Original_" +
|
|
"MatrApp) AND ((@IsNull_DataOraFrom = 1 AND [DataOraFrom] IS NULL) OR ([DataOraFr" +
|
|
"om] = @Original_DataOraFrom)) AND ((@IsNull_DataOraTo = 1 AND [DataOraTo] IS NUL" +
|
|
"L) OR ([DataOraTo] = @Original_DataOraTo)) AND ([IdxStato] = @Original_IdxStato)" +
|
|
" AND ((@IsNull_TotPzProd = 1 AND [TotPzProd] IS NULL) OR ([TotPzProd] = @Origina" +
|
|
"l_TotPzProd)) AND ((@IsNull_TempoProdotto = 1 AND [TempoProdotto] IS NULL) OR ([" +
|
|
"TempoProdotto] = @Original_TempoProdotto)) AND ((@IsNull_TempoCron = 1 AND [Temp" +
|
|
"oCron] IS NULL) OR ([TempoCron] = @Original_TempoCron)) AND ((@IsNull_TempoND = " +
|
|
"1 AND [TempoND] IS NULL) OR ([TempoND] = @Original_TempoND)) AND ((@IsNull_Tempo" +
|
|
"Apertura = 1 AND [TempoApertura] IS NULL) OR ([TempoApertura] = @Original_TempoA" +
|
|
"pertura)) AND ((@IsNull_TempoOFF = 1 AND [TempoOFF] IS NULL) OR ([TempoOFF] = @O" +
|
|
"riginal_TempoOFF)) AND ((@IsNull_TempoON = 1 AND [TempoON] IS NULL) OR ([TempoON" +
|
|
"] = @Original_TempoON)) AND ((@IsNull_TempoFermoOn = 1 AND [TempoFermoOn] IS NUL" +
|
|
"L) OR ([TempoFermoOn] = @Original_TempoFermoOn)) AND ((@IsNull_TempoAuto = 1 AND" +
|
|
" [TempoAuto] IS NULL) OR ([TempoAuto] = @Original_TempoAuto)) AND ((@IsNull_Temp" +
|
|
"oFermoAuto = 1 AND [TempoFermoAuto] IS NULL) OR ([TempoFermoAuto] = @Original_Te" +
|
|
"mpoFermoAuto)) AND ((@IsNull_TempoRun = 1 AND [TempoRun] IS NULL) OR ([TempoRun]" +
|
|
" = @Original_TempoRun)) AND ((@IsNull_TotPzFermo = 1 AND [TotPzFermo] IS NULL) O" +
|
|
"R ([TotPzFermo] = @Original_TotPzFermo)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxConferma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@IsNull_TCAssegnato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCAssegnato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraFrom", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", 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, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoProdotto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoProdotto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoProdotto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoProdotto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCron", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCron", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCron", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoCron", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoND", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoND", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoND", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoND", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoApertura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoApertura", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoApertura", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoApertura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoOFF", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoOFF", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoOFF", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOFF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoON", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoON", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoON", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoON", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoFermoOn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoFermoOn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoFermoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoOn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoAuto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoAuto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoFermoAuto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoFermoAuto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoFermoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoAuto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoRun", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoRun", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TotPzFermo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzFermo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotPzFermo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzFermo", 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].[DatiConfermati] ([IdxODL], [DataOraApp], [DataRif], [TurnoRif], [CodArticolo], [IdxMacchina], [TCAssegnato], [MatrOpr], [MatrApp], [DataOraFrom], [DataOraTo], [IdxStato], [TotPzProd], [TempoProdotto], [TempoCron], [TempoND], [TempoApertura], [TempoOFF], [TempoON], [TempoFermoOn], [TempoAuto], [TempoFermoAuto], [TempoRun], [TotPzFermo]) VALUES (@IdxODL, @DataOraApp, @DataRif, @TurnoRif, @CodArticolo, @IdxMacchina, @TCAssegnato, @MatrOpr, @MatrApp, @DataOraFrom, @DataOraTo, @IdxStato, @TotPzProd, @TempoProdotto, @TempoCron, @TempoND, @TempoApertura, @TempoOFF, @TempoON, @TempoFermoOn, @TempoAuto, @TempoFermoAuto, @TempoRun, @TotPzFermo);
|
|
SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, IdxStato, TotPzProd, TempoProdotto, TempoCron, TempoND, TempoApertura, TempoOFF, TempoON, TempoFermoOn, TempoAuto, TempoFermoAuto, TempoRun, TotPzFermo FROM DatiConfermati WHERE (IdxConferma = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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("@MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", 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("@TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoProdotto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoProdotto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCron", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoCron", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoND", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoND", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoApertura", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoApertura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoOFF", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOFF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoON", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoON", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoFermoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoOn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoFermoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoAuto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotPzFermo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzFermo", 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].[DatiConfermati] SET [IdxODL] = @IdxODL, [DataOraApp] = @DataOraApp," +
|
|
" [DataRif] = @DataRif, [TurnoRif] = @TurnoRif, [CodArticolo] = @CodArticolo, [Id" +
|
|
"xMacchina] = @IdxMacchina, [TCAssegnato] = @TCAssegnato, [MatrOpr] = @MatrOpr, [" +
|
|
"MatrApp] = @MatrApp, [DataOraFrom] = @DataOraFrom, [DataOraTo] = @DataOraTo, [Id" +
|
|
"xStato] = @IdxStato, [TotPzProd] = @TotPzProd, [TempoProdotto] = @TempoProdotto," +
|
|
" [TempoCron] = @TempoCron, [TempoND] = @TempoND, [TempoApertura] = @TempoApertur" +
|
|
"a, [TempoOFF] = @TempoOFF, [TempoON] = @TempoON, [TempoFermoOn] = @TempoFermoOn," +
|
|
" [TempoAuto] = @TempoAuto, [TempoFermoAuto] = @TempoFermoAuto, [TempoRun] = @Tem" +
|
|
"poRun, [TotPzFermo] = @TotPzFermo WHERE (([IdxConferma] = @Original_IdxConferma)" +
|
|
" AND ([IdxODL] = @Original_IdxODL) AND ([DataOraApp] = @Original_DataOraApp) AND" +
|
|
" ([DataRif] = @Original_DataRif) AND ((@IsNull_TurnoRif = 1 AND [TurnoRif] IS NU" +
|
|
"LL) OR ([TurnoRif] = @Original_TurnoRif)) AND ((@IsNull_CodArticolo = 1 AND [Cod" +
|
|
"Articolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ([IdxMacchina" +
|
|
"] = @Original_IdxMacchina) AND ((@IsNull_TCAssegnato = 1 AND [TCAssegnato] IS NU" +
|
|
"LL) OR ([TCAssegnato] = @Original_TCAssegnato)) AND ((@IsNull_MatrOpr = 1 AND [M" +
|
|
"atrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ([MatrApp] = @Original_" +
|
|
"MatrApp) AND ((@IsNull_DataOraFrom = 1 AND [DataOraFrom] IS NULL) OR ([DataOraFr" +
|
|
"om] = @Original_DataOraFrom)) AND ((@IsNull_DataOraTo = 1 AND [DataOraTo] IS NUL" +
|
|
"L) OR ([DataOraTo] = @Original_DataOraTo)) AND ([IdxStato] = @Original_IdxStato)" +
|
|
" AND ((@IsNull_TotPzProd = 1 AND [TotPzProd] IS NULL) OR ([TotPzProd] = @Origina" +
|
|
"l_TotPzProd)) AND ((@IsNull_TempoProdotto = 1 AND [TempoProdotto] IS NULL) OR ([" +
|
|
"TempoProdotto] = @Original_TempoProdotto)) AND ((@IsNull_TempoCron = 1 AND [Temp" +
|
|
"oCron] IS NULL) OR ([TempoCron] = @Original_TempoCron)) AND ((@IsNull_TempoND = " +
|
|
"1 AND [TempoND] IS NULL) OR ([TempoND] = @Original_TempoND)) AND ((@IsNull_Tempo" +
|
|
"Apertura = 1 AND [TempoApertura] IS NULL) OR ([TempoApertura] = @Original_TempoA" +
|
|
"pertura)) AND ((@IsNull_TempoOFF = 1 AND [TempoOFF] IS NULL) OR ([TempoOFF] = @O" +
|
|
"riginal_TempoOFF)) AND ((@IsNull_TempoON = 1 AND [TempoON] IS NULL) OR ([TempoON" +
|
|
"] = @Original_TempoON)) AND ((@IsNull_TempoFermoOn = 1 AND [TempoFermoOn] IS NUL" +
|
|
"L) OR ([TempoFermoOn] = @Original_TempoFermoOn)) AND ((@IsNull_TempoAuto = 1 AND" +
|
|
" [TempoAuto] IS NULL) OR ([TempoAuto] = @Original_TempoAuto)) AND ((@IsNull_Temp" +
|
|
"oFermoAuto = 1 AND [TempoFermoAuto] IS NULL) OR ([TempoFermoAuto] = @Original_Te" +
|
|
"mpoFermoAuto)) AND ((@IsNull_TempoRun = 1 AND [TempoRun] IS NULL) OR ([TempoRun]" +
|
|
" = @Original_TempoRun)) AND ((@IsNull_TotPzFermo = 1 AND [TotPzFermo] IS NULL) O" +
|
|
"R ([TotPzFermo] = @Original_TotPzFermo)));\r\nSELECT IdxConferma, IdxODL, DataOraA" +
|
|
"pp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, " +
|
|
"DataOraFrom, DataOraTo, IdxStato, TotPzProd, TempoProdotto, TempoCron, TempoND, " +
|
|
"TempoApertura, TempoOFF, TempoON, TempoFermoOn, TempoAuto, TempoFermoAuto, Tempo" +
|
|
"Run, TotPzFermo FROM DatiConfermati WHERE (IdxConferma = @IdxConferma)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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("@MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", 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("@TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoProdotto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoProdotto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoCron", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoCron", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoND", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoND", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoApertura", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoApertura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoOFF", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOFF", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoON", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoON", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoFermoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoOn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoFermoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoAuto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotPzFermo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzFermo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxConferma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@IsNull_TCAssegnato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCAssegnato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraFrom", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoProdotto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoProdotto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoProdotto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoProdotto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoCron", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoCron", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoCron", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoCron", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoND", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoND", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoND", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoND", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoApertura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoApertura", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoApertura", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoApertura", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoOFF", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoOFF", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoOFF", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOFF", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoON", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoON", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoON", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoON", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoFermoOn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoFermoOn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoFermoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoOn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoAuto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoAuto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoFermoAuto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoFermoAuto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoFermoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoFermoAuto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoRun", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoRun", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TotPzFermo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzFermo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotPzFermo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzFermo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxConferma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Current, 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 IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, IdxStato, TotPzProd, TempoProdotto, TempoCron, TempoND, TempoApertura, TempoOFF, TempoON, TempoFermoOn, TempoAuto, TempoFermoAuto, TempoRun, TotPzFermo FROM dbo.DatiConfermati";
|
|
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_DatiConf_getByMacchPeriodo";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = @"SELECT TOP (1) IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, IdxStato,
|
|
TotPzProd, TempoProdotto, TempoCron, TempoND, TempoApertura, TempoOFF, TempoON, TempoFermoOn, TempoAuto, TempoFermoAuto, TempoRun,
|
|
TotPzFermo
|
|
FROM DatiConfermati
|
|
WHERE (IdxMacchina = @IdxMacchina)";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[2].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, "", "", ""));
|
|
}
|
|
|
|
[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_ProdTempi.DatiConfermatiDataTable 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_ProdTempi.DatiConfermatiDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.DatiConfermatiDataTable dataTable = new DS_ProdTempi.DatiConfermatiDataTable();
|
|
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_ProdTempi.DatiConfermatiDataTable getByMacchPeriodo(string idxMacchina, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.DatiConfermatiDataTable dataTable = new DS_ProdTempi.DatiConfermatiDataTable();
|
|
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_ProdTempi.DatiConfermatiDataTable getTop1ByIdxMacchina(string IdxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(IdxMacchina));
|
|
}
|
|
DS_ProdTempi.DatiConfermatiDataTable dataTable = new DS_ProdTempi.DatiConfermatiDataTable();
|
|
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_ProdTempi.DatiConfermatiDataTable 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_ProdTempi dataSet) {
|
|
return this.Adapter.Update(dataSet, "DatiConfermati");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(
|
|
int Original_IdxConferma,
|
|
int Original_IdxODL,
|
|
System.DateTime Original_DataOraApp,
|
|
System.DateTime Original_DataRif,
|
|
global::System.Nullable<int> Original_TurnoRif,
|
|
string Original_CodArticolo,
|
|
string Original_IdxMacchina,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<int> Original_MatrOpr,
|
|
int Original_MatrApp,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraTo,
|
|
int Original_IdxStato,
|
|
global::System.Nullable<int> Original_TotPzProd,
|
|
global::System.Nullable<decimal> Original_TempoProdotto,
|
|
global::System.Nullable<decimal> Original_TempoCron,
|
|
global::System.Nullable<decimal> Original_TempoND,
|
|
global::System.Nullable<decimal> Original_TempoApertura,
|
|
global::System.Nullable<decimal> Original_TempoOFF,
|
|
global::System.Nullable<decimal> Original_TempoON,
|
|
global::System.Nullable<decimal> Original_TempoFermoOn,
|
|
global::System.Nullable<decimal> Original_TempoAuto,
|
|
global::System.Nullable<decimal> Original_TempoFermoAuto,
|
|
global::System.Nullable<decimal> Original_TempoRun,
|
|
global::System.Nullable<int> Original_TotPzFermo) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxConferma));
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxODL));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_DataOraApp));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_DataRif));
|
|
if ((Original_TurnoRif.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_TurnoRif.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
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_CodArticolo));
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_TCAssegnato.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_MatrOpr.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_MatrOpr.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_MatrApp));
|
|
if ((Original_DataOraFrom.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DataOraTo.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_IdxStato));
|
|
if ((Original_TotPzProd.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((int)(Original_TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoProdotto.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((decimal)(Original_TempoProdotto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoCron.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((decimal)(Original_TempoCron.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoND.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((decimal)(Original_TempoND.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoApertura.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((decimal)(Original_TempoApertura.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoOFF.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((decimal)(Original_TempoOFF.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoON.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((decimal)(Original_TempoON.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoFermoOn.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((decimal)(Original_TempoFermoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoAuto.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoFermoAuto.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = ((decimal)(Original_TempoFermoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoRun.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = ((decimal)(Original_TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TotPzFermo.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[42].Value = ((int)(Original_TotPzFermo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[42].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(
|
|
int IdxODL,
|
|
System.DateTime DataOraApp,
|
|
System.DateTime DataRif,
|
|
global::System.Nullable<int> TurnoRif,
|
|
string CodArticolo,
|
|
string IdxMacchina,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<int> MatrOpr,
|
|
int MatrApp,
|
|
global::System.Nullable<global::System.DateTime> DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> DataOraTo,
|
|
int IdxStato,
|
|
global::System.Nullable<int> TotPzProd,
|
|
global::System.Nullable<decimal> TempoProdotto,
|
|
global::System.Nullable<decimal> TempoCron,
|
|
global::System.Nullable<decimal> TempoND,
|
|
global::System.Nullable<decimal> TempoApertura,
|
|
global::System.Nullable<decimal> TempoOFF,
|
|
global::System.Nullable<decimal> TempoON,
|
|
global::System.Nullable<decimal> TempoFermoOn,
|
|
global::System.Nullable<decimal> TempoAuto,
|
|
global::System.Nullable<decimal> TempoFermoAuto,
|
|
global::System.Nullable<decimal> TempoRun,
|
|
global::System.Nullable<int> TotPzFermo) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxODL));
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataRif));
|
|
if ((TurnoRif.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(TurnoRif.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));
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.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;
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((int)(MatrApp));
|
|
if ((DataOraFrom.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataOraTo.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((int)(IdxStato));
|
|
if ((TotPzProd.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((int)(TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoProdotto.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(TempoProdotto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoCron.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(TempoCron.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoND.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(TempoND.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoApertura.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(TempoApertura.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoOFF.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(TempoOFF.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoON.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(TempoON.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoFermoOn.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = ((decimal)(TempoFermoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoAuto.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoFermoAuto.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = ((decimal)(TempoFermoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoRun.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = ((decimal)(TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TotPzFermo.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[23].Value = ((int)(TotPzFermo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[23].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(
|
|
int IdxODL,
|
|
System.DateTime DataOraApp,
|
|
System.DateTime DataRif,
|
|
global::System.Nullable<int> TurnoRif,
|
|
string CodArticolo,
|
|
string IdxMacchina,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<int> MatrOpr,
|
|
int MatrApp,
|
|
global::System.Nullable<global::System.DateTime> DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> DataOraTo,
|
|
int IdxStato,
|
|
global::System.Nullable<int> TotPzProd,
|
|
global::System.Nullable<decimal> TempoProdotto,
|
|
global::System.Nullable<decimal> TempoCron,
|
|
global::System.Nullable<decimal> TempoND,
|
|
global::System.Nullable<decimal> TempoApertura,
|
|
global::System.Nullable<decimal> TempoOFF,
|
|
global::System.Nullable<decimal> TempoON,
|
|
global::System.Nullable<decimal> TempoFermoOn,
|
|
global::System.Nullable<decimal> TempoAuto,
|
|
global::System.Nullable<decimal> TempoFermoAuto,
|
|
global::System.Nullable<decimal> TempoRun,
|
|
global::System.Nullable<int> TotPzFermo,
|
|
int Original_IdxConferma,
|
|
int Original_IdxODL,
|
|
System.DateTime Original_DataOraApp,
|
|
System.DateTime Original_DataRif,
|
|
global::System.Nullable<int> Original_TurnoRif,
|
|
string Original_CodArticolo,
|
|
string Original_IdxMacchina,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<int> Original_MatrOpr,
|
|
int Original_MatrApp,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraTo,
|
|
int Original_IdxStato,
|
|
global::System.Nullable<int> Original_TotPzProd,
|
|
global::System.Nullable<decimal> Original_TempoProdotto,
|
|
global::System.Nullable<decimal> Original_TempoCron,
|
|
global::System.Nullable<decimal> Original_TempoND,
|
|
global::System.Nullable<decimal> Original_TempoApertura,
|
|
global::System.Nullable<decimal> Original_TempoOFF,
|
|
global::System.Nullable<decimal> Original_TempoON,
|
|
global::System.Nullable<decimal> Original_TempoFermoOn,
|
|
global::System.Nullable<decimal> Original_TempoAuto,
|
|
global::System.Nullable<decimal> Original_TempoFermoAuto,
|
|
global::System.Nullable<decimal> Original_TempoRun,
|
|
global::System.Nullable<int> Original_TotPzFermo,
|
|
int IdxConferma) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxODL));
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataRif));
|
|
if ((TurnoRif.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(TurnoRif.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 ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.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;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(MatrApp));
|
|
if ((DataOraFrom.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataOraTo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(IdxStato));
|
|
if ((TotPzProd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoProdotto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(TempoProdotto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoCron.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(TempoCron.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoND.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(TempoND.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoApertura.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(TempoApertura.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoOFF.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(TempoOFF.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoON.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(TempoON.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoFermoOn.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(TempoFermoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoAuto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoFermoAuto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((decimal)(TempoFermoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoRun.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TotPzFermo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(TotPzFermo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_IdxConferma));
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_IdxODL));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((System.DateTime)(Original_DataOraApp));
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_DataRif));
|
|
if ((Original_TurnoRif.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_TurnoRif.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodArticolo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_TCAssegnato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((decimal)(Original_TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_MatrOpr.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_MatrOpr.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((int)(Original_MatrApp));
|
|
if ((Original_DataOraFrom.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((System.DateTime)(Original_DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DataOraTo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((System.DateTime)(Original_DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_IdxStato));
|
|
if ((Original_TotPzProd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((int)(Original_TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoProdotto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((decimal)(Original_TempoProdotto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoCron.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((decimal)(Original_TempoCron.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoND.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((decimal)(Original_TempoND.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoApertura.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = ((decimal)(Original_TempoApertura.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoOFF.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = ((decimal)(Original_TempoOFF.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoON.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = ((decimal)(Original_TempoON.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoFermoOn.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = ((decimal)(Original_TempoFermoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoAuto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = ((decimal)(Original_TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoFermoAuto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_TempoFermoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoRun.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TotPzFermo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = ((int)(Original_TotPzFermo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[67].Value = ((int)(IdxConferma));
|
|
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(
|
|
int IdxODL,
|
|
System.DateTime DataOraApp,
|
|
System.DateTime DataRif,
|
|
global::System.Nullable<int> TurnoRif,
|
|
string CodArticolo,
|
|
string IdxMacchina,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<int> MatrOpr,
|
|
int MatrApp,
|
|
global::System.Nullable<global::System.DateTime> DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> DataOraTo,
|
|
int IdxStato,
|
|
global::System.Nullable<int> TotPzProd,
|
|
global::System.Nullable<decimal> TempoProdotto,
|
|
global::System.Nullable<decimal> TempoCron,
|
|
global::System.Nullable<decimal> TempoND,
|
|
global::System.Nullable<decimal> TempoApertura,
|
|
global::System.Nullable<decimal> TempoOFF,
|
|
global::System.Nullable<decimal> TempoON,
|
|
global::System.Nullable<decimal> TempoFermoOn,
|
|
global::System.Nullable<decimal> TempoAuto,
|
|
global::System.Nullable<decimal> TempoFermoAuto,
|
|
global::System.Nullable<decimal> TempoRun,
|
|
global::System.Nullable<int> TotPzFermo,
|
|
int Original_IdxConferma,
|
|
int Original_IdxODL,
|
|
System.DateTime Original_DataOraApp,
|
|
System.DateTime Original_DataRif,
|
|
global::System.Nullable<int> Original_TurnoRif,
|
|
string Original_CodArticolo,
|
|
string Original_IdxMacchina,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<int> Original_MatrOpr,
|
|
int Original_MatrApp,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraTo,
|
|
int Original_IdxStato,
|
|
global::System.Nullable<int> Original_TotPzProd,
|
|
global::System.Nullable<decimal> Original_TempoProdotto,
|
|
global::System.Nullable<decimal> Original_TempoCron,
|
|
global::System.Nullable<decimal> Original_TempoND,
|
|
global::System.Nullable<decimal> Original_TempoApertura,
|
|
global::System.Nullable<decimal> Original_TempoOFF,
|
|
global::System.Nullable<decimal> Original_TempoON,
|
|
global::System.Nullable<decimal> Original_TempoFermoOn,
|
|
global::System.Nullable<decimal> Original_TempoAuto,
|
|
global::System.Nullable<decimal> Original_TempoFermoAuto,
|
|
global::System.Nullable<decimal> Original_TempoRun,
|
|
global::System.Nullable<int> Original_TotPzFermo) {
|
|
return this.Update(IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, IdxStato, TotPzProd, TempoProdotto, TempoCron, TempoND, TempoApertura, TempoOFF, TempoON, TempoFermoOn, TempoAuto, TempoFermoAuto, TempoRun, TotPzFermo, Original_IdxConferma, Original_IdxODL, Original_DataOraApp, Original_DataRif, Original_TurnoRif, Original_CodArticolo, Original_IdxMacchina, Original_TCAssegnato, Original_MatrOpr, Original_MatrApp, Original_DataOraFrom, Original_DataOraTo, Original_IdxStato, Original_TotPzProd, Original_TempoProdotto, Original_TempoCron, Original_TempoND, Original_TempoApertura, Original_TempoOFF, Original_TempoON, Original_TempoFermoOn, Original_TempoAuto, Original_TempoFermoAuto, Original_TempoRun, Original_TotPzFermo, Original_IdxConferma);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 CalendFesteFerieTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 CalendFesteFerieTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "CalendFesteFerie";
|
|
tableMapping.ColumnMappings.Add("data", "data");
|
|
tableMapping.ColumnMappings.Add("descrizione", "descrizione");
|
|
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].[CalendFesteFerie] WHERE (([data] = @Original_data) AND ((@IsNu" +
|
|
"ll_descrizione = 1 AND [descrizione] IS NULL) OR ([descrizione] = @Original_desc" +
|
|
"rizione)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[CalendFesteFerie] ([data], [descrizione]) VALUES (@data, @desc" +
|
|
"rizione);\r\nSELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[CalendFesteFerie] SET [data] = @data, [descrizione] = @descrizione WHERE (([data] = @Original_data) AND ((@IsNull_descrizione = 1 AND [descrizione] IS NULL) OR ([descrizione] = @Original_descrizione)));
|
|
SELECT data, descrizione FROM CalendFesteFerie WHERE (data = @data)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_descrizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
}
|
|
|
|
[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 data, descrizione FROM dbo.CalendFesteFerie";
|
|
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_ProdTempi.CalendFesteFerieDataTable 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_ProdTempi.CalendFesteFerieDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.CalendFesteFerieDataTable dataTable = new DS_ProdTempi.CalendFesteFerieDataTable();
|
|
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_ProdTempi.CalendFesteFerieDataTable 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_ProdTempi dataSet) {
|
|
return this.Adapter.Update(dataSet, "CalendFesteFerie");
|
|
}
|
|
|
|
[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(System.DateTime Original_data, string Original_descrizione) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_data));
|
|
if ((Original_descrizione == 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_descrizione));
|
|
}
|
|
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(System.DateTime data, string descrizione) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(data));
|
|
if ((descrizione == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(descrizione));
|
|
}
|
|
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(System.DateTime data, string descrizione, System.DateTime Original_data, string Original_descrizione) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(data));
|
|
if ((descrizione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(descrizione));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(Original_data));
|
|
if ((Original_descrizione == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_descrizione));
|
|
}
|
|
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 descrizione, System.DateTime Original_data, string Original_descrizione) {
|
|
return this.Update(Original_data, descrizione, Original_data, Original_descrizione);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 stp_TempoByIdxMaccPeriodClassTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 stp_TempoByIdxMaccPeriodClassTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "stp_TempoByIdxMaccPeriodClass";
|
|
tableMapping.ColumnMappings.Add("ore", "ore");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_TempoByIdxMaccPeriodClass";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable dataTable, string IdxMacchina, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string ClasseTempo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((DataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ClasseTempo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(ClasseTempo));
|
|
}
|
|
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_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable GetData(string IdxMacchina, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string ClasseTempo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((DataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(DataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ClasseTempo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(ClasseTempo));
|
|
}
|
|
DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable dataTable = new DS_ProdTempi.stp_TempoByIdxMaccPeriodClassDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 DatiProduzioneTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 DatiProduzioneTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "DatiProduzione";
|
|
tableMapping.ColumnMappings.Add("IdxConferma", "IdxConferma");
|
|
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
|
tableMapping.ColumnMappings.Add("DataOraApp", "DataOraApp");
|
|
tableMapping.ColumnMappings.Add("DataRif", "DataRif");
|
|
tableMapping.ColumnMappings.Add("TurnoRif", "TurnoRif");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("MatrOpr", "MatrOpr");
|
|
tableMapping.ColumnMappings.Add("MatrApp", "MatrApp");
|
|
tableMapping.ColumnMappings.Add("DataOraFrom", "DataOraFrom");
|
|
tableMapping.ColumnMappings.Add("DataOraTo", "DataOraTo");
|
|
tableMapping.ColumnMappings.Add("TotPzProd", "TotPzProd");
|
|
tableMapping.ColumnMappings.Add("Tempo", "Tempo");
|
|
tableMapping.ColumnMappings.Add("ClasseTempo", "ClasseTempo");
|
|
tableMapping.ColumnMappings.Add("Causale", "Causale");
|
|
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].[DatiProduzione] WHERE (([IdxConferma] = @Original_IdxConferma) AND ([IdxODL] = @Original_IdxODL) AND ([DataOraApp] = @Original_DataOraApp) AND ([DataRif] = @Original_DataRif) AND ((@IsNull_TurnoRif = 1 AND [TurnoRif] IS NULL) OR ([TurnoRif] = @Original_TurnoRif)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ([IdxMacchina] = @Original_IdxMacchina) AND ((@IsNull_TCAssegnato = 1 AND [TCAssegnato] IS NULL) OR ([TCAssegnato] = @Original_TCAssegnato)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([MatrOpr] = @Original_MatrOpr)) AND ([MatrApp] = @Original_MatrApp) AND ((@IsNull_DataOraFrom = 1 AND [DataOraFrom] IS NULL) OR ([DataOraFrom] = @Original_DataOraFrom)) AND ((@IsNull_DataOraTo = 1 AND [DataOraTo] IS NULL) OR ([DataOraTo] = @Original_DataOraTo)) AND ((@IsNull_TotPzProd = 1 AND [TotPzProd] IS NULL) OR ([TotPzProd] = @Original_TotPzProd)) AND ((@IsNull_Tempo = 1 AND [Tempo] IS NULL) OR ([Tempo] = @Original_Tempo)) AND ((@IsNull_ClasseTempo = 1 AND [ClasseTempo] IS NULL) OR ([ClasseTempo] = @Original_ClasseTempo)) AND ((@IsNull_Causale = 1 AND [Causale] IS NULL) OR ([Causale] = @Original_Causale)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxConferma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@IsNull_TCAssegnato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCAssegnato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraFrom", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tempo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "Tempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseTempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Causale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Causale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Causale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Causale", 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].[DatiProduzione] ([IdxODL], [DataOraApp], [DataRif], [TurnoRif], [CodArticolo], [IdxMacchina], [TCAssegnato], [MatrOpr], [MatrApp], [DataOraFrom], [DataOraTo], [TotPzProd], [Tempo], [ClasseTempo], [Causale]) VALUES (@IdxODL, @DataOraApp, @DataRif, @TurnoRif, @CodArticolo, @IdxMacchina, @TCAssegnato, @MatrOpr, @MatrApp, @DataOraFrom, @DataOraTo, @TotPzProd, @Tempo, @ClasseTempo, @Causale);
|
|
SELECT IdxConferma, IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, TotPzProd, Tempo, ClasseTempo, Causale FROM DatiProduzione WHERE (IdxConferma = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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("@MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "Tempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Causale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Causale", 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].[DatiProduzione] SET [IdxODL] = @IdxODL, [DataOraApp] = @DataOraApp," +
|
|
" [DataRif] = @DataRif, [TurnoRif] = @TurnoRif, [CodArticolo] = @CodArticolo, [Id" +
|
|
"xMacchina] = @IdxMacchina, [TCAssegnato] = @TCAssegnato, [MatrOpr] = @MatrOpr, [" +
|
|
"MatrApp] = @MatrApp, [DataOraFrom] = @DataOraFrom, [DataOraTo] = @DataOraTo, [To" +
|
|
"tPzProd] = @TotPzProd, [Tempo] = @Tempo, [ClasseTempo] = @ClasseTempo, [Causale]" +
|
|
" = @Causale WHERE (([IdxConferma] = @Original_IdxConferma) AND ([IdxODL] = @Orig" +
|
|
"inal_IdxODL) AND ([DataOraApp] = @Original_DataOraApp) AND ([DataRif] = @Origina" +
|
|
"l_DataRif) AND ((@IsNull_TurnoRif = 1 AND [TurnoRif] IS NULL) OR ([TurnoRif] = @" +
|
|
"Original_TurnoRif)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR " +
|
|
"([CodArticolo] = @Original_CodArticolo)) AND ([IdxMacchina] = @Original_IdxMacch" +
|
|
"ina) AND ((@IsNull_TCAssegnato = 1 AND [TCAssegnato] IS NULL) OR ([TCAssegnato] " +
|
|
"= @Original_TCAssegnato)) AND ((@IsNull_MatrOpr = 1 AND [MatrOpr] IS NULL) OR ([" +
|
|
"MatrOpr] = @Original_MatrOpr)) AND ([MatrApp] = @Original_MatrApp) AND ((@IsNull" +
|
|
"_DataOraFrom = 1 AND [DataOraFrom] IS NULL) OR ([DataOraFrom] = @Original_DataOr" +
|
|
"aFrom)) AND ((@IsNull_DataOraTo = 1 AND [DataOraTo] IS NULL) OR ([DataOraTo] = @" +
|
|
"Original_DataOraTo)) AND ((@IsNull_TotPzProd = 1 AND [TotPzProd] IS NULL) OR ([T" +
|
|
"otPzProd] = @Original_TotPzProd)) AND ((@IsNull_Tempo = 1 AND [Tempo] IS NULL) O" +
|
|
"R ([Tempo] = @Original_Tempo)) AND ((@IsNull_ClasseTempo = 1 AND [ClasseTempo] I" +
|
|
"S NULL) OR ([ClasseTempo] = @Original_ClasseTempo)) AND ((@IsNull_Causale = 1 AN" +
|
|
"D [Causale] IS NULL) OR ([Causale] = @Original_Causale)));\r\nSELECT IdxConferma, " +
|
|
"IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, Ma" +
|
|
"trOpr, MatrApp, DataOraFrom, DataOraTo, TotPzProd, Tempo, ClasseTempo, Causale F" +
|
|
"ROM DatiProduzione WHERE (IdxConferma = @IdxConferma)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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("@MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "Tempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Causale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Causale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxConferma", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraApp", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataRif", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataRif", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TurnoRif", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TurnoRif", 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("@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("@IsNull_TCAssegnato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCAssegnato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", 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, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrOpr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrOpr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MatrApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MatrApp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraFrom", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraFrom", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraFrom", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataOraTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOraTo", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOraTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotPzProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TotPzProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tempo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "Tempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseTempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseTempo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseTempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Causale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Causale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Causale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Causale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxConferma", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxConferma", global::System.Data.DataRowVersion.Current, 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[5];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT * FROM dbo.DatiProduzione";
|
|
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_DatiProd_getByMacchPeriodo";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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_DatiProd_getByPeriodo";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_DatiProd_insAllPeriodo";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@turnoRif", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrApp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_DatiProd_insert";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrApp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@turno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pezziConf", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseTempo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.DatiProduzioneDataTable 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_ProdTempi.DatiProduzioneDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.DatiProduzioneDataTable dataTable = new DS_ProdTempi.DatiProduzioneDataTable();
|
|
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_ProdTempi.DatiProduzioneDataTable getByMacchPeriodo(string idxMacchina, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.DatiProduzioneDataTable dataTable = new DS_ProdTempi.DatiProduzioneDataTable();
|
|
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_ProdTempi.DatiProduzioneDataTable getByPeriodo(global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.DatiProduzioneDataTable dataTable = new DS_ProdTempi.DatiProduzioneDataTable();
|
|
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_ProdTempi.DatiProduzioneDataTable 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_ProdTempi dataSet) {
|
|
return this.Adapter.Update(dataSet, "DatiProduzione");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(
|
|
int Original_IdxConferma,
|
|
int Original_IdxODL,
|
|
System.DateTime Original_DataOraApp,
|
|
System.DateTime Original_DataRif,
|
|
global::System.Nullable<int> Original_TurnoRif,
|
|
string Original_CodArticolo,
|
|
string Original_IdxMacchina,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<int> Original_MatrOpr,
|
|
int Original_MatrApp,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraTo,
|
|
global::System.Nullable<int> Original_TotPzProd,
|
|
global::System.Nullable<decimal> Original_Tempo,
|
|
string Original_ClasseTempo,
|
|
string Original_Causale) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxConferma));
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxODL));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_DataOraApp));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_DataRif));
|
|
if ((Original_TurnoRif.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_TurnoRif.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
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_CodArticolo));
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_TCAssegnato.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_MatrOpr.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_MatrOpr.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_MatrApp));
|
|
if ((Original_DataOraFrom.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DataOraTo.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TotPzProd.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((int)(Original_TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_Tempo.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((decimal)(Original_Tempo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_ClasseTempo == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_ClasseTempo));
|
|
}
|
|
if ((Original_Causale == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_Causale));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
|
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
this.Adapter.DeleteCommand.Connection.Open();
|
|
}
|
|
try {
|
|
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
|
return returnValue;
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
this.Adapter.DeleteCommand.Connection.Close();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
|
public virtual int Insert(int IdxODL, System.DateTime DataOraApp, System.DateTime DataRif, global::System.Nullable<int> TurnoRif, string CodArticolo, string IdxMacchina, global::System.Nullable<decimal> TCAssegnato, global::System.Nullable<int> MatrOpr, int MatrApp, global::System.Nullable<global::System.DateTime> DataOraFrom, global::System.Nullable<global::System.DateTime> DataOraTo, global::System.Nullable<int> TotPzProd, global::System.Nullable<decimal> Tempo, string ClasseTempo, string Causale) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxODL));
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataRif));
|
|
if ((TurnoRif.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(TurnoRif.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));
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.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;
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((int)(MatrApp));
|
|
if ((DataOraFrom.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataOraTo.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TotPzProd.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((int)(TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Tempo.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(Tempo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ClasseTempo == null)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((string)(ClasseTempo));
|
|
}
|
|
if ((Causale == null)) {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(Causale));
|
|
}
|
|
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(
|
|
int IdxODL,
|
|
System.DateTime DataOraApp,
|
|
System.DateTime DataRif,
|
|
global::System.Nullable<int> TurnoRif,
|
|
string CodArticolo,
|
|
string IdxMacchina,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<int> MatrOpr,
|
|
int MatrApp,
|
|
global::System.Nullable<global::System.DateTime> DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> DataOraTo,
|
|
global::System.Nullable<int> TotPzProd,
|
|
global::System.Nullable<decimal> Tempo,
|
|
string ClasseTempo,
|
|
string Causale,
|
|
int Original_IdxConferma,
|
|
int Original_IdxODL,
|
|
System.DateTime Original_DataOraApp,
|
|
System.DateTime Original_DataRif,
|
|
global::System.Nullable<int> Original_TurnoRif,
|
|
string Original_CodArticolo,
|
|
string Original_IdxMacchina,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<int> Original_MatrOpr,
|
|
int Original_MatrApp,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraTo,
|
|
global::System.Nullable<int> Original_TotPzProd,
|
|
global::System.Nullable<decimal> Original_Tempo,
|
|
string Original_ClasseTempo,
|
|
string Original_Causale,
|
|
int IdxConferma) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxODL));
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(DataOraApp));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataRif));
|
|
if ((TurnoRif.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(TurnoRif.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 ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.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;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(MatrApp));
|
|
if ((DataOraFrom.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataOraTo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TotPzProd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Tempo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(Tempo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ClasseTempo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(ClasseTempo));
|
|
}
|
|
if ((Causale == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Causale));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_IdxConferma));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_IdxODL));
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOraApp));
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(Original_DataRif));
|
|
if ((Original_TurnoRif.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_TurnoRif.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodArticolo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_TCAssegnato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_TCAssegnato.Value));
|
|
}
|
|
else {
|
|
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[26].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_MatrOpr.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(Original_MatrApp));
|
|
if ((Original_DataOraFrom.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((System.DateTime)(Original_DataOraFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DataOraTo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((System.DateTime)(Original_DataOraTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TotPzProd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_TotPzProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_Tempo.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(Original_Tempo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_ClasseTempo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_ClasseTempo));
|
|
}
|
|
if ((Original_Causale == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_Causale));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(IdxConferma));
|
|
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(
|
|
int IdxODL,
|
|
System.DateTime DataOraApp,
|
|
System.DateTime DataRif,
|
|
global::System.Nullable<int> TurnoRif,
|
|
string CodArticolo,
|
|
string IdxMacchina,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<int> MatrOpr,
|
|
int MatrApp,
|
|
global::System.Nullable<global::System.DateTime> DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> DataOraTo,
|
|
global::System.Nullable<int> TotPzProd,
|
|
global::System.Nullable<decimal> Tempo,
|
|
string ClasseTempo,
|
|
string Causale,
|
|
int Original_IdxConferma,
|
|
int Original_IdxODL,
|
|
System.DateTime Original_DataOraApp,
|
|
System.DateTime Original_DataRif,
|
|
global::System.Nullable<int> Original_TurnoRif,
|
|
string Original_CodArticolo,
|
|
string Original_IdxMacchina,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<int> Original_MatrOpr,
|
|
int Original_MatrApp,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraFrom,
|
|
global::System.Nullable<global::System.DateTime> Original_DataOraTo,
|
|
global::System.Nullable<int> Original_TotPzProd,
|
|
global::System.Nullable<decimal> Original_Tempo,
|
|
string Original_ClasseTempo,
|
|
string Original_Causale) {
|
|
return this.Update(IdxODL, DataOraApp, DataRif, TurnoRif, CodArticolo, IdxMacchina, TCAssegnato, MatrOpr, MatrApp, DataOraFrom, DataOraTo, TotPzProd, Tempo, ClasseTempo, Causale, Original_IdxConferma, Original_IdxODL, Original_DataOraApp, Original_DataRif, Original_TurnoRif, Original_CodArticolo, Original_IdxMacchina, Original_TCAssegnato, Original_MatrOpr, Original_MatrApp, Original_DataOraFrom, Original_DataOraTo, Original_TotPzProd, Original_Tempo, Original_ClasseTempo, Original_Causale, Original_IdxConferma);
|
|
}
|
|
|
|
[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 stp_DatiProd_insAllPeriodo(string IdxMacchina, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<global::System.DateTime> dataRif, global::System.Nullable<int> turnoRif, global::System.Nullable<int> MatrApp) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((IdxMacchina == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
command.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataRif.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(dataRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((turnoRif.HasValue == true)) {
|
|
command.Parameters[5].Value = ((int)(turnoRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((MatrApp.HasValue == true)) {
|
|
command.Parameters[6].Value = ((int)(MatrApp.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
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 stp_DatiProd_insert(global::System.Nullable<int> idxODL, string idxMacchina, global::System.Nullable<int> MatrApp, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<int> turno, global::System.Nullable<int> pezziConf, global::System.Nullable<decimal> Tempo, string ClasseTempo) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((idxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxMacchina == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((MatrApp.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(MatrApp.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
command.Parameters[5].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((turno.HasValue == true)) {
|
|
command.Parameters[6].Value = ((int)(turno.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((pezziConf.HasValue == true)) {
|
|
command.Parameters[7].Value = ((int)(pezziConf.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Tempo.HasValue == true)) {
|
|
command.Parameters[8].Value = ((decimal)(Tempo.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ClasseTempo == null)) {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = ((string)(ClasseTempo));
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 stp_repDonati_getDatiProdMacchinaTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 stp_repDonati_getDatiProdMacchinaTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "stp_repDonati_getDatiProdMacchina";
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("PezziLanciati", "PezziLanciati");
|
|
tableMapping.ColumnMappings.Add("PezziProd", "PezziProd");
|
|
tableMapping.ColumnMappings.Add("PezziConf", "PezziConf");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("CodOperatore", "CodOperatore");
|
|
tableMapping.ColumnMappings.Add("TempoOn", "TempoOn");
|
|
tableMapping.ColumnMappings.Add("TempoAuto", "TempoAuto");
|
|
tableMapping.ColumnMappings.Add("TempoRun", "TempoRun");
|
|
tableMapping.ColumnMappings.Add("TCMedio", "TCMedio");
|
|
tableMapping.ColumnMappings.Add("TCLav", "TCLav");
|
|
tableMapping.ColumnMappings.Add("TCEff", "TCEff");
|
|
tableMapping.ColumnMappings.Add("TCMedioRT", "TCMedioRT");
|
|
tableMapping.ColumnMappings.Add("TCLavRT", "TCLavRT");
|
|
tableMapping.ColumnMappings.Add("TCEffRT", "TCEffRT");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_repDonati_getDatiProdMacchina";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable dataTable, string idxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
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_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable GetData(string idxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable dataTable = new DS_ProdTempi.stp_repDonati_getDatiProdMacchinaDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 stp_repDonati_getLastStatoDurataMacchinaTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 stp_repDonati_getLastStatoDurataMacchinaTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "stp_repDonati_getLastStatoDurataMacchina";
|
|
tableMapping.ColumnMappings.Add("idxStato", "idxStato");
|
|
tableMapping.ColumnMappings.Add("Minuti", "Minuti");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_repDonati_getLastStatoDurataMacchina";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minDurata", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 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_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable dataTable, string idxMacchina, global::System.Nullable<double> minDurata) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((minDurata.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((double)(minDurata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
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_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable GetData(string idxMacchina, global::System.Nullable<double> minDurata) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((minDurata.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((double)(minDurata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable dataTable = new DS_ProdTempi.stp_repDonati_getLastStatoDurataMacchinaDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 stp_repDonati_getDatiProdMacchinaPeriodoTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 stp_repDonati_getDatiProdMacchinaPeriodoTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "stp_repDonati_getDatiProdMacchinaPeriodo";
|
|
tableMapping.ColumnMappings.Add("PezziProd", "PezziProd");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("TCMedioRT", "TCMedioRT");
|
|
tableMapping.ColumnMappings.Add("TCLavRT", "TCLavRT");
|
|
tableMapping.ColumnMappings.Add("TCEffRT", "TCEffRT");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_repDonati_getDatiProdMacchinaPeriodo";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable dataTable, string idxMacchina, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
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_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable GetData(string idxMacchina, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable dataTable = new DS_ProdTempi.stp_repDonati_getDatiProdMacchinaPeriodoDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 TurniMacchinaTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 TurniMacchinaTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "TurniMacchina";
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("T1", "T1");
|
|
tableMapping.ColumnMappings.Add("T2", "T2");
|
|
tableMapping.ColumnMappings.Add("T3", "T3");
|
|
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].[TurniMacchina] WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ((@IsNull_T1 = 1 AND [T1] IS NULL) OR ([T1] = @Original_T1)) AND ((@IsNull_T2 = 1 AND [T2] IS NULL) OR ([T2] = @Original_T2)) AND ((@IsNull_T3 = 1 AND [T3] IS NULL) OR ([T3] = @Original_T3)))";
|
|
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("@IsNull_T1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_T1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_T2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_T2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_T3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_T3", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", 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].[TurniMacchina] ([IdxMacchina], [T1], [T2], [T3]) VALUES (@IdxM" +
|
|
"acchina, @T1, @T2, @T3);\r\nSELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHER" +
|
|
"E (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("@T1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@T2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@T3", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", 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].[TurniMacchina] SET [IdxMacchina] = @IdxMacchina, [T1] = @T1, [T2] = @T2, [T3] = @T3 WHERE (([IdxMacchina] = @Original_IdxMacchina) AND ((@IsNull_T1 = 1 AND [T1] IS NULL) OR ([T1] = @Original_T1)) AND ((@IsNull_T2 = 1 AND [T2] IS NULL) OR ([T2] = @Original_T2)) AND ((@IsNull_T3 = 1 AND [T3] IS NULL) OR ([T3] = @Original_T3)));
|
|
SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina 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("@T1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@T2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@T3", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", 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("@IsNull_T1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T1", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_T1", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T1", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_T2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_T2", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_T3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_T3", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "T3", 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 IdxMacchina, T1, T2, T3 FROM dbo.TurniMacchina";
|
|
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_turniMacchineByIdxMacc";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_turniMacchineUpdateTurno";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numTurno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.TurniMacchinaDataTable 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_ProdTempi.TurniMacchinaDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.TurniMacchinaDataTable dataTable = new DS_ProdTempi.TurniMacchinaDataTable();
|
|
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_ProdTempi.TurniMacchinaDataTable getByIdxMacc(string IdxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
DS_ProdTempi.TurniMacchinaDataTable dataTable = new DS_ProdTempi.TurniMacchinaDataTable();
|
|
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_ProdTempi.TurniMacchinaDataTable 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_ProdTempi dataSet) {
|
|
return this.Adapter.Update(dataSet, "TurniMacchina");
|
|
}
|
|
|
|
[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_IdxMacchina, global::System.Nullable<bool> Original_T1, global::System.Nullable<bool> Original_T2, global::System.Nullable<bool> Original_T3) {
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_T1.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((bool)(Original_T1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_T2.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_T2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_T3.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_T3.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 IdxMacchina, global::System.Nullable<bool> T1, global::System.Nullable<bool> T2, global::System.Nullable<bool> T3) {
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((T1.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(T1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((T2.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((bool)(T2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((T3.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(T3.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 IdxMacchina, global::System.Nullable<bool> T1, global::System.Nullable<bool> T2, global::System.Nullable<bool> T3, string Original_IdxMacchina, global::System.Nullable<bool> Original_T1, global::System.Nullable<bool> Original_T2, global::System.Nullable<bool> Original_T3) {
|
|
if ((IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((T1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(T1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((T2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((bool)(T2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((T3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(T3.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_T1.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(Original_T1.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_T2.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(Original_T2.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_T3.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(Original_T3.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(global::System.Nullable<bool> T1, global::System.Nullable<bool> T2, global::System.Nullable<bool> T3, string Original_IdxMacchina, global::System.Nullable<bool> Original_T1, global::System.Nullable<bool> Original_T2, global::System.Nullable<bool> Original_T3) {
|
|
return this.Update(Original_IdxMacchina, T1, T2, T3, Original_IdxMacchina, Original_T1, Original_T2, Original_T3);
|
|
}
|
|
|
|
[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 stp_turniMacchineUpdateTurno(string IdxMacchina, global::System.Nullable<int> numTurno) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((IdxMacchina == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((numTurno.HasValue == true)) {
|
|
command.Parameters[2].Value = ((int)(numTurno.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 MappaStatoExplTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 MappaStatoExplTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "MappaStatoExpl";
|
|
tableMapping.ColumnMappings.Add("RowNum", "RowNum");
|
|
tableMapping.ColumnMappings.Add("lastUpdate", "lastUpdate");
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("CodMacchina", "CodMacchina");
|
|
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
|
tableMapping.ColumnMappings.Add("url", "url");
|
|
tableMapping.ColumnMappings.Add("idxODL", "idxODL");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("NumPezzi", "NumPezzi");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("DataInizioODL", "DataInizioODL");
|
|
tableMapping.ColumnMappings.Add("Semaforo", "Semaforo");
|
|
tableMapping.ColumnMappings.Add("idxStato", "idxStato");
|
|
tableMapping.ColumnMappings.Add("DescrizioneStato", "DescrizioneStato");
|
|
tableMapping.ColumnMappings.Add("durata", "durata");
|
|
tableMapping.ColumnMappings.Add("PezziProd", "PezziProd");
|
|
tableMapping.ColumnMappings.Add("PezziConf", "PezziConf");
|
|
tableMapping.ColumnMappings.Add("TempoOn", "TempoOn");
|
|
tableMapping.ColumnMappings.Add("TempoAuto", "TempoAuto");
|
|
tableMapping.ColumnMappings.Add("TempoRun", "TempoRun");
|
|
tableMapping.ColumnMappings.Add("TCMedio", "TCMedio");
|
|
tableMapping.ColumnMappings.Add("TCLav", "TCLav");
|
|
tableMapping.ColumnMappings.Add("TCEff", "TCEff");
|
|
tableMapping.ColumnMappings.Add("TCMedioRT", "TCMedioRT");
|
|
tableMapping.ColumnMappings.Add("TCLavRT", "TCLavRT");
|
|
tableMapping.ColumnMappings.Add("TCEffRT", "TCEffRT");
|
|
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].[MappaStatoExpl] WHERE (([RowNum] = @Original_RowNum) AND ((@Is" +
|
|
"Null_lastUpdate = 1 AND [lastUpdate] IS NULL) OR ([lastUpdate] = @Original_lastU" +
|
|
"pdate)) AND ((@IsNull_IdxMacchina = 1 AND [IdxMacchina] IS NULL) OR ([IdxMacchin" +
|
|
"a] = @Original_IdxMacchina)) AND ((@IsNull_CodMacchina = 1 AND [CodMacchina] IS " +
|
|
"NULL) OR ([CodMacchina] = @Original_CodMacchina)) AND ((@IsNull_Nome = 1 AND [No" +
|
|
"me] IS NULL) OR ([Nome] = @Original_Nome)) AND ((@IsNull_url = 1 AND [url] IS NU" +
|
|
"LL) OR ([url] = @Original_url)) AND ((@IsNull_idxODL = 1 AND [idxODL] IS NULL) O" +
|
|
"R ([idxODL] = @Original_idxODL)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo]" +
|
|
" IS NULL) OR ([CodArticolo] = @Original_CodArticolo)) AND ((@IsNull_NumPezzi = 1" +
|
|
" AND [NumPezzi] IS NULL) OR ([NumPezzi] = @Original_NumPezzi)) AND ((@IsNull_TCA" +
|
|
"ssegnato = 1 AND [TCAssegnato] IS NULL) OR ([TCAssegnato] = @Original_TCAssegnat" +
|
|
"o)) AND ((@IsNull_DataInizioODL = 1 AND [DataInizioODL] IS NULL) OR ([DataInizio" +
|
|
"ODL] = @Original_DataInizioODL)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NU" +
|
|
"LL) OR ([Semaforo] = @Original_Semaforo)) AND ((@IsNull_idxStato = 1 AND [idxSta" +
|
|
"to] IS NULL) OR ([idxStato] = @Original_idxStato)) AND ((@IsNull_DescrizioneStat" +
|
|
"o = 1 AND [DescrizioneStato] IS NULL) OR ([DescrizioneStato] = @Original_Descriz" +
|
|
"ioneStato)) AND ((@IsNull_durata = 1 AND [durata] IS NULL) OR ([durata] = @Origi" +
|
|
"nal_durata)) AND ((@IsNull_PezziProd = 1 AND [PezziProd] IS NULL) OR ([PezziProd" +
|
|
"] = @Original_PezziProd)) AND ((@IsNull_PezziConf = 1 AND [PezziConf] IS NULL) O" +
|
|
"R ([PezziConf] = @Original_PezziConf)) AND ((@IsNull_TempoOn = 1 AND [TempoOn] I" +
|
|
"S NULL) OR ([TempoOn] = @Original_TempoOn)) AND ((@IsNull_TempoAuto = 1 AND [Tem" +
|
|
"poAuto] IS NULL) OR ([TempoAuto] = @Original_TempoAuto)) AND ((@IsNull_TempoRun " +
|
|
"= 1 AND [TempoRun] IS NULL) OR ([TempoRun] = @Original_TempoRun)) AND ((@IsNull_" +
|
|
"TCMedio = 1 AND [TCMedio] IS NULL) OR ([TCMedio] = @Original_TCMedio)) AND ((@Is" +
|
|
"Null_TCLav = 1 AND [TCLav] IS NULL) OR ([TCLav] = @Original_TCLav)) AND ((@IsNul" +
|
|
"l_TCEff = 1 AND [TCEff] IS NULL) OR ([TCEff] = @Original_TCEff)) AND ((@IsNull_T" +
|
|
"CMedioRT = 1 AND [TCMedioRT] IS NULL) OR ([TCMedioRT] = @Original_TCMedioRT)) AN" +
|
|
"D ((@IsNull_TCLavRT = 1 AND [TCLavRT] IS NULL) OR ([TCLavRT] = @Original_TCLavRT" +
|
|
")) AND ((@IsNull_TCEffRT = 1 AND [TCEffRT] IS NULL) OR ([TCEffRT] = @Original_TC" +
|
|
"EffRT)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RowNum", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RowNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lastUpdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastUpdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lastUpdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastUpdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
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("@IsNull_CodMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_url", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxODL", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxODL", 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_NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCAssegnato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCAssegnato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataInizioODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizioODL", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataInizioODL", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizioODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Semaforo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Original, true, 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, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrizioneStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrizioneStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrizioneStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrizioneStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_durata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_durata", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PezziProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PezziProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PezziConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziConf", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PezziConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziConf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoOn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoOn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoAuto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoAuto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoRun", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoRun", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCMedio", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCMedio", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCLav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCLav", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCEff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCEff", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCEff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCMedioRT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCMedioRT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCMedioRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedioRT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCLavRT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCLavRT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCLavRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLavRT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCEffRT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCEffRT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCEffRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEffRT", 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].[MappaStatoExpl] ([lastUpdate], [IdxMacchina], [CodMacchina], [Nome], [url], [idxODL], [CodArticolo], [NumPezzi], [TCAssegnato], [DataInizioODL], [Semaforo], [idxStato], [DescrizioneStato], [durata], [PezziProd], [PezziConf], [TempoOn], [TempoAuto], [TempoRun], [TCMedio], [TCLav], [TCEff], [TCMedioRT], [TCLavRT], [TCEffRT]) VALUES (@lastUpdate, @IdxMacchina, @CodMacchina, @Nome, @url, @idxODL, @CodArticolo, @NumPezzi, @TCAssegnato, @DataInizioODL, @Semaforo, @idxStato, @DescrizioneStato, @durata, @PezziProd, @PezziConf, @TempoOn, @TempoAuto, @TempoRun, @TCMedio, @TCLav, @TCEff, @TCMedioRT, @TCLavRT, @TCEffRT);
|
|
SELECT RowNum, lastUpdate, IdxMacchina, CodMacchina, Nome, url, idxODL, CodArticolo, NumPezzi, TCAssegnato, DataInizioODL, Semaforo, idxStato, DescrizioneStato, durata, PezziProd, PezziConf, TempoOn, TempoAuto, TempoRun, TCMedio, TCLav, TCEff, TCMedioRT, TCLavRT, TCEffRT FROM MappaStatoExpl WHERE (RowNum = SCOPE_IDENTITY())";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lastUpdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastUpdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
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("@CodMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxODL", 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("@NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataInizioODL", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizioODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@DescrizioneStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrizioneStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@durata", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PezziProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PezziConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziConf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCLav", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCEff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCMedioRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedioRT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCLavRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLavRT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCEffRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEffRT", 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].[MappaStatoExpl] SET [lastUpdate] = @lastUpdate, [IdxMacchina] = @Id" +
|
|
"xMacchina, [CodMacchina] = @CodMacchina, [Nome] = @Nome, [url] = @url, [idxODL] " +
|
|
"= @idxODL, [CodArticolo] = @CodArticolo, [NumPezzi] = @NumPezzi, [TCAssegnato] =" +
|
|
" @TCAssegnato, [DataInizioODL] = @DataInizioODL, [Semaforo] = @Semaforo, [idxSta" +
|
|
"to] = @idxStato, [DescrizioneStato] = @DescrizioneStato, [durata] = @durata, [Pe" +
|
|
"zziProd] = @PezziProd, [PezziConf] = @PezziConf, [TempoOn] = @TempoOn, [TempoAut" +
|
|
"o] = @TempoAuto, [TempoRun] = @TempoRun, [TCMedio] = @TCMedio, [TCLav] = @TCLav," +
|
|
" [TCEff] = @TCEff, [TCMedioRT] = @TCMedioRT, [TCLavRT] = @TCLavRT, [TCEffRT] = @" +
|
|
"TCEffRT WHERE (([RowNum] = @Original_RowNum) AND ((@IsNull_lastUpdate = 1 AND [l" +
|
|
"astUpdate] IS NULL) OR ([lastUpdate] = @Original_lastUpdate)) AND ((@IsNull_IdxM" +
|
|
"acchina = 1 AND [IdxMacchina] IS NULL) OR ([IdxMacchina] = @Original_IdxMacchina" +
|
|
")) AND ((@IsNull_CodMacchina = 1 AND [CodMacchina] IS NULL) OR ([CodMacchina] = " +
|
|
"@Original_CodMacchina)) AND ((@IsNull_Nome = 1 AND [Nome] IS NULL) OR ([Nome] = " +
|
|
"@Original_Nome)) AND ((@IsNull_url = 1 AND [url] IS NULL) OR ([url] = @Original_" +
|
|
"url)) AND ((@IsNull_idxODL = 1 AND [idxODL] IS NULL) OR ([idxODL] = @Original_id" +
|
|
"xODL)) AND ((@IsNull_CodArticolo = 1 AND [CodArticolo] IS NULL) OR ([CodArticolo" +
|
|
"] = @Original_CodArticolo)) AND ((@IsNull_NumPezzi = 1 AND [NumPezzi] IS NULL) O" +
|
|
"R ([NumPezzi] = @Original_NumPezzi)) AND ((@IsNull_TCAssegnato = 1 AND [TCAssegn" +
|
|
"ato] IS NULL) OR ([TCAssegnato] = @Original_TCAssegnato)) AND ((@IsNull_DataIniz" +
|
|
"ioODL = 1 AND [DataInizioODL] IS NULL) OR ([DataInizioODL] = @Original_DataInizi" +
|
|
"oODL)) AND ((@IsNull_Semaforo = 1 AND [Semaforo] IS NULL) OR ([Semaforo] = @Orig" +
|
|
"inal_Semaforo)) AND ((@IsNull_idxStato = 1 AND [idxStato] IS NULL) OR ([idxStato" +
|
|
"] = @Original_idxStato)) AND ((@IsNull_DescrizioneStato = 1 AND [DescrizioneStat" +
|
|
"o] IS NULL) OR ([DescrizioneStato] = @Original_DescrizioneStato)) AND ((@IsNull_" +
|
|
"durata = 1 AND [durata] IS NULL) OR ([durata] = @Original_durata)) AND ((@IsNull" +
|
|
"_PezziProd = 1 AND [PezziProd] IS NULL) OR ([PezziProd] = @Original_PezziProd)) " +
|
|
"AND ((@IsNull_PezziConf = 1 AND [PezziConf] IS NULL) OR ([PezziConf] = @Original" +
|
|
"_PezziConf)) AND ((@IsNull_TempoOn = 1 AND [TempoOn] IS NULL) OR ([TempoOn] = @O" +
|
|
"riginal_TempoOn)) AND ((@IsNull_TempoAuto = 1 AND [TempoAuto] IS NULL) OR ([Temp" +
|
|
"oAuto] = @Original_TempoAuto)) AND ((@IsNull_TempoRun = 1 AND [TempoRun] IS NULL" +
|
|
") OR ([TempoRun] = @Original_TempoRun)) AND ((@IsNull_TCMedio = 1 AND [TCMedio] " +
|
|
"IS NULL) OR ([TCMedio] = @Original_TCMedio)) AND ((@IsNull_TCLav = 1 AND [TCLav]" +
|
|
" IS NULL) OR ([TCLav] = @Original_TCLav)) AND ((@IsNull_TCEff = 1 AND [TCEff] IS" +
|
|
" NULL) OR ([TCEff] = @Original_TCEff)) AND ((@IsNull_TCMedioRT = 1 AND [TCMedioR" +
|
|
"T] IS NULL) OR ([TCMedioRT] = @Original_TCMedioRT)) AND ((@IsNull_TCLavRT = 1 AN" +
|
|
"D [TCLavRT] IS NULL) OR ([TCLavRT] = @Original_TCLavRT)) AND ((@IsNull_TCEffRT =" +
|
|
" 1 AND [TCEffRT] IS NULL) OR ([TCEffRT] = @Original_TCEffRT)));\r\nSELECT RowNum, " +
|
|
"lastUpdate, IdxMacchina, CodMacchina, Nome, url, idxODL, CodArticolo, NumPezzi, " +
|
|
"TCAssegnato, DataInizioODL, Semaforo, idxStato, DescrizioneStato, durata, PezziP" +
|
|
"rod, PezziConf, TempoOn, TempoAuto, TempoRun, TCMedio, TCLav, TCEff, TCMedioRT, " +
|
|
"TCLavRT, TCEffRT FROM MappaStatoExpl WHERE (RowNum = @RowNum)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lastUpdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastUpdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
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("@CodMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxODL", 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("@NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataInizioODL", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizioODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@DescrizioneStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrizioneStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@durata", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PezziProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PezziConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziConf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOn", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCLav", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLav", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCEff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCMedioRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedioRT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCLavRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLavRT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCEffRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEffRT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RowNum", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RowNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_lastUpdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastUpdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_lastUpdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lastUpdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, true, 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("@IsNull_CodMacchina", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_url", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_url", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxODL", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxODL", 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_NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCAssegnato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCAssegnato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataInizioODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizioODL", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataInizioODL", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataInizioODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Semaforo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Semaforo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Semaforo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrizioneStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrizioneStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrizioneStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrizioneStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_durata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_durata", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "durata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PezziProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PezziProd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PezziConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziConf", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PezziConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PezziConf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoOn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoOn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoOn", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoOn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoAuto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoAuto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoAuto", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoAuto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TempoRun", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TempoRun", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TempoRun", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TempoRun", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCMedio", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCMedio", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCMedio", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedio", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCLav", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCLav", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLav", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCEff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCEff", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCEff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCMedioRT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCMedioRT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCMedioRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCMedioRT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCLavRT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCLavRT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCLavRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCLavRT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TCEffRT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TCEffRT", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCEffRT", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCEffRT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RowNum", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "RowNum", global::System.Data.DataRowVersion.Current, 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 RowNum, lastUpdate, IdxMacchina, CodMacchina, Nome, url, idxODL, CodArticolo, NumPezzi, TCAssegnato, DataInizioODL, Semaforo, idxStato, DescrizioneStato, durata, PezziProd, PezziConf, TempoOn, TempoAuto, TempoRun, TCMedio, TCLav, TCEff, TCMedioRT, TCLavRT, TCEffRT FROM dbo.MappaStatoExpl";
|
|
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_MSE_getByIdxMacchina";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_MSE_getData";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxAgeSec", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[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_ProdTempi.MappaStatoExplDataTable 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_ProdTempi.MappaStatoExplDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable();
|
|
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_ProdTempi.MappaStatoExplDataTable getByIdxMacchina(string IdxMacchina) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable();
|
|
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_ProdTempi.MappaStatoExplDataTable getByRefreshData(global::System.Nullable<int> maxAgeSec) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((maxAgeSec.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(maxAgeSec.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.MappaStatoExplDataTable dataTable = new DS_ProdTempi.MappaStatoExplDataTable();
|
|
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_ProdTempi.MappaStatoExplDataTable 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_ProdTempi dataSet) {
|
|
return this.Adapter.Update(dataSet, "MappaStatoExpl");
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow dataRow) {
|
|
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
|
dataRow});
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
|
return this.Adapter.Update(dataRows);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
|
public virtual int Delete(
|
|
int Original_RowNum,
|
|
global::System.Nullable<global::System.DateTime> Original_lastUpdate,
|
|
string Original_IdxMacchina,
|
|
string Original_CodMacchina,
|
|
string Original_Nome,
|
|
string Original_url,
|
|
global::System.Nullable<int> Original_idxODL,
|
|
string Original_CodArticolo,
|
|
global::System.Nullable<int> Original_NumPezzi,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<global::System.DateTime> Original_DataInizioODL,
|
|
string Original_Semaforo,
|
|
global::System.Nullable<int> Original_idxStato,
|
|
string Original_DescrizioneStato,
|
|
global::System.Nullable<double> Original_durata,
|
|
global::System.Nullable<int> Original_PezziProd,
|
|
global::System.Nullable<int> Original_PezziConf,
|
|
global::System.Nullable<decimal> Original_TempoOn,
|
|
global::System.Nullable<decimal> Original_TempoAuto,
|
|
global::System.Nullable<decimal> Original_TempoRun,
|
|
global::System.Nullable<decimal> Original_TCMedio,
|
|
global::System.Nullable<decimal> Original_TCLav,
|
|
global::System.Nullable<decimal> Original_TCEff,
|
|
global::System.Nullable<decimal> Original_TCMedioRT,
|
|
global::System.Nullable<decimal> Original_TCLavRT,
|
|
global::System.Nullable<decimal> Original_TCEffRT) {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_RowNum));
|
|
if ((Original_lastUpdate.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_lastUpdate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_IdxMacchina == 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_IdxMacchina));
|
|
}
|
|
if ((Original_CodMacchina == 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_CodMacchina));
|
|
}
|
|
if ((Original_Nome == 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_Nome));
|
|
}
|
|
if ((Original_url == 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_url));
|
|
}
|
|
if ((Original_idxODL.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_idxODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodArticolo == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
if ((Original_NumPezzi.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((int)(Original_NumPezzi.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCAssegnato.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((decimal)(Original_TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DataInizioODL.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((System.DateTime)(Original_DataInizioODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_Semaforo == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_Semaforo));
|
|
}
|
|
if ((Original_idxStato.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((int)(Original_idxStato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DescrizioneStato == null)) {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_DescrizioneStato));
|
|
}
|
|
if ((Original_durata.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((double)(Original_durata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_PezziProd.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((int)(Original_PezziProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_PezziConf.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = ((int)(Original_PezziConf.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoOn.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = ((decimal)(Original_TempoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoAuto.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoRun.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = ((decimal)(Original_TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCMedio.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = ((decimal)(Original_TCMedio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCLav.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[42].Value = ((decimal)(Original_TCLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCEff.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[44].Value = ((decimal)(Original_TCEff.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCMedioRT.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[46].Value = ((decimal)(Original_TCMedioRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCLavRT.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[48].Value = ((decimal)(Original_TCLavRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCEffRT.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[50].Value = ((decimal)(Original_TCEffRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[50].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(
|
|
global::System.Nullable<global::System.DateTime> lastUpdate,
|
|
string IdxMacchina,
|
|
string CodMacchina,
|
|
string Nome,
|
|
string url,
|
|
global::System.Nullable<int> idxODL,
|
|
string CodArticolo,
|
|
global::System.Nullable<int> NumPezzi,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<global::System.DateTime> DataInizioODL,
|
|
string Semaforo,
|
|
global::System.Nullable<int> idxStato,
|
|
string DescrizioneStato,
|
|
global::System.Nullable<double> durata,
|
|
global::System.Nullable<int> PezziProd,
|
|
global::System.Nullable<int> PezziConf,
|
|
global::System.Nullable<decimal> TempoOn,
|
|
global::System.Nullable<decimal> TempoAuto,
|
|
global::System.Nullable<decimal> TempoRun,
|
|
global::System.Nullable<decimal> TCMedio,
|
|
global::System.Nullable<decimal> TCLav,
|
|
global::System.Nullable<decimal> TCEff,
|
|
global::System.Nullable<decimal> TCMedioRT,
|
|
global::System.Nullable<decimal> TCLavRT,
|
|
global::System.Nullable<decimal> TCEffRT) {
|
|
if ((lastUpdate.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(lastUpdate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((CodMacchina == null)) {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodMacchina));
|
|
}
|
|
if ((Nome == null)) {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Nome));
|
|
}
|
|
if ((url == null)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(url));
|
|
}
|
|
if ((idxODL.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((NumPezzi.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((int)(NumPezzi.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataInizioODL.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(DataInizioODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Semaforo == null)) {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Semaforo));
|
|
}
|
|
if ((idxStato.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((int)(idxStato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DescrizioneStato == null)) {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((string)(DescrizioneStato));
|
|
}
|
|
if ((durata.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((double)(durata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((PezziProd.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((int)(PezziProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((PezziConf.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((int)(PezziConf.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoOn.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(TempoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoAuto.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoRun.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCMedio.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = ((decimal)(TCMedio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCLav.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(TCLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCEff.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = ((decimal)(TCEff.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCMedioRT.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = ((decimal)(TCMedioRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCLavRT.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[23].Value = ((decimal)(TCLavRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCEffRT.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(TCEffRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[24].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(
|
|
global::System.Nullable<global::System.DateTime> lastUpdate,
|
|
string IdxMacchina,
|
|
string CodMacchina,
|
|
string Nome,
|
|
string url,
|
|
global::System.Nullable<int> idxODL,
|
|
string CodArticolo,
|
|
global::System.Nullable<int> NumPezzi,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<global::System.DateTime> DataInizioODL,
|
|
string Semaforo,
|
|
global::System.Nullable<int> idxStato,
|
|
string DescrizioneStato,
|
|
global::System.Nullable<double> durata,
|
|
global::System.Nullable<int> PezziProd,
|
|
global::System.Nullable<int> PezziConf,
|
|
global::System.Nullable<decimal> TempoOn,
|
|
global::System.Nullable<decimal> TempoAuto,
|
|
global::System.Nullable<decimal> TempoRun,
|
|
global::System.Nullable<decimal> TCMedio,
|
|
global::System.Nullable<decimal> TCLav,
|
|
global::System.Nullable<decimal> TCEff,
|
|
global::System.Nullable<decimal> TCMedioRT,
|
|
global::System.Nullable<decimal> TCLavRT,
|
|
global::System.Nullable<decimal> TCEffRT,
|
|
int Original_RowNum,
|
|
global::System.Nullable<global::System.DateTime> Original_lastUpdate,
|
|
string Original_IdxMacchina,
|
|
string Original_CodMacchina,
|
|
string Original_Nome,
|
|
string Original_url,
|
|
global::System.Nullable<int> Original_idxODL,
|
|
string Original_CodArticolo,
|
|
global::System.Nullable<int> Original_NumPezzi,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<global::System.DateTime> Original_DataInizioODL,
|
|
string Original_Semaforo,
|
|
global::System.Nullable<int> Original_idxStato,
|
|
string Original_DescrizioneStato,
|
|
global::System.Nullable<double> Original_durata,
|
|
global::System.Nullable<int> Original_PezziProd,
|
|
global::System.Nullable<int> Original_PezziConf,
|
|
global::System.Nullable<decimal> Original_TempoOn,
|
|
global::System.Nullable<decimal> Original_TempoAuto,
|
|
global::System.Nullable<decimal> Original_TempoRun,
|
|
global::System.Nullable<decimal> Original_TCMedio,
|
|
global::System.Nullable<decimal> Original_TCLav,
|
|
global::System.Nullable<decimal> Original_TCEff,
|
|
global::System.Nullable<decimal> Original_TCMedioRT,
|
|
global::System.Nullable<decimal> Original_TCLavRT,
|
|
global::System.Nullable<decimal> Original_TCEffRT,
|
|
int RowNum) {
|
|
if ((lastUpdate.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(lastUpdate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IdxMacchina == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(IdxMacchina));
|
|
}
|
|
if ((CodMacchina == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodMacchina));
|
|
}
|
|
if ((Nome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Nome));
|
|
}
|
|
if ((url == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(url));
|
|
}
|
|
if ((idxODL.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(idxODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((NumPezzi.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(NumPezzi.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCAssegnato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataInizioODL.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(DataInizioODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Semaforo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Semaforo));
|
|
}
|
|
if ((idxStato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(idxStato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DescrizioneStato == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(DescrizioneStato));
|
|
}
|
|
if ((durata.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(durata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((PezziProd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(PezziProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((PezziConf.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(PezziConf.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoOn.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(TempoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoAuto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TempoRun.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCMedio.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(TCMedio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCLav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(TCLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCEff.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((decimal)(TCEff.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCMedioRT.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(TCMedioRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCLavRT.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((decimal)(TCLavRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TCEffRT.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((decimal)(TCEffRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_RowNum));
|
|
if ((Original_lastUpdate.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_lastUpdate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_IdxMacchina == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_IdxMacchina));
|
|
}
|
|
if ((Original_CodMacchina == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_CodMacchina));
|
|
}
|
|
if ((Original_Nome == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_Nome));
|
|
}
|
|
if ((Original_url == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_url));
|
|
}
|
|
if ((Original_idxODL.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((int)(Original_idxODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodArticolo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_CodArticolo));
|
|
}
|
|
if ((Original_NumPezzi.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(Original_NumPezzi.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCAssegnato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((decimal)(Original_TCAssegnato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DataInizioODL.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((System.DateTime)(Original_DataInizioODL.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_Semaforo == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_Semaforo));
|
|
}
|
|
if ((Original_idxStato.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((int)(Original_idxStato.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DescrizioneStato == null)) {
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_DescrizioneStato));
|
|
}
|
|
if ((Original_durata.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = ((double)(Original_durata.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_PezziProd.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = ((int)(Original_PezziProd.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_PezziConf.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_PezziConf.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoOn.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = ((decimal)(Original_TempoOn.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoAuto.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = ((decimal)(Original_TempoAuto.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TempoRun.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = ((decimal)(Original_TempoRun.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCMedio.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = ((decimal)(Original_TCMedio.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCLav.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[67].Value = ((decimal)(Original_TCLav.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCEff.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[69].Value = ((decimal)(Original_TCEff.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCMedioRT.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[71].Value = ((decimal)(Original_TCMedioRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCLavRT.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[73].Value = ((decimal)(Original_TCLavRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_TCEffRT.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[75].Value = ((decimal)(Original_TCEffRT.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[76].Value = ((int)(RowNum));
|
|
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(
|
|
global::System.Nullable<global::System.DateTime> lastUpdate,
|
|
string CodMacchina,
|
|
string Nome,
|
|
string url,
|
|
global::System.Nullable<int> idxODL,
|
|
string CodArticolo,
|
|
global::System.Nullable<int> NumPezzi,
|
|
global::System.Nullable<decimal> TCAssegnato,
|
|
global::System.Nullable<global::System.DateTime> DataInizioODL,
|
|
string Semaforo,
|
|
global::System.Nullable<int> idxStato,
|
|
string DescrizioneStato,
|
|
global::System.Nullable<double> durata,
|
|
global::System.Nullable<int> PezziProd,
|
|
global::System.Nullable<int> PezziConf,
|
|
global::System.Nullable<decimal> TempoOn,
|
|
global::System.Nullable<decimal> TempoAuto,
|
|
global::System.Nullable<decimal> TempoRun,
|
|
global::System.Nullable<decimal> TCMedio,
|
|
global::System.Nullable<decimal> TCLav,
|
|
global::System.Nullable<decimal> TCEff,
|
|
global::System.Nullable<decimal> TCMedioRT,
|
|
global::System.Nullable<decimal> TCLavRT,
|
|
global::System.Nullable<decimal> TCEffRT,
|
|
int Original_RowNum,
|
|
global::System.Nullable<global::System.DateTime> Original_lastUpdate,
|
|
string Original_IdxMacchina,
|
|
string Original_CodMacchina,
|
|
string Original_Nome,
|
|
string Original_url,
|
|
global::System.Nullable<int> Original_idxODL,
|
|
string Original_CodArticolo,
|
|
global::System.Nullable<int> Original_NumPezzi,
|
|
global::System.Nullable<decimal> Original_TCAssegnato,
|
|
global::System.Nullable<global::System.DateTime> Original_DataInizioODL,
|
|
string Original_Semaforo,
|
|
global::System.Nullable<int> Original_idxStato,
|
|
string Original_DescrizioneStato,
|
|
global::System.Nullable<double> Original_durata,
|
|
global::System.Nullable<int> Original_PezziProd,
|
|
global::System.Nullable<int> Original_PezziConf,
|
|
global::System.Nullable<decimal> Original_TempoOn,
|
|
global::System.Nullable<decimal> Original_TempoAuto,
|
|
global::System.Nullable<decimal> Original_TempoRun,
|
|
global::System.Nullable<decimal> Original_TCMedio,
|
|
global::System.Nullable<decimal> Original_TCLav,
|
|
global::System.Nullable<decimal> Original_TCEff,
|
|
global::System.Nullable<decimal> Original_TCMedioRT,
|
|
global::System.Nullable<decimal> Original_TCLavRT,
|
|
global::System.Nullable<decimal> Original_TCEffRT,
|
|
int RowNum) {
|
|
return this.Update(lastUpdate, Original_IdxMacchina, CodMacchina, Nome, url, idxODL, CodArticolo, NumPezzi, TCAssegnato, DataInizioODL, Semaforo, idxStato, DescrizioneStato, durata, PezziProd, PezziConf, TempoOn, TempoAuto, TempoRun, TCMedio, TCLav, TCEff, TCMedioRT, TCLavRT, TCEffRT, Original_RowNum, Original_lastUpdate, Original_IdxMacchina, Original_CodMacchina, Original_Nome, Original_url, Original_idxODL, Original_CodArticolo, Original_NumPezzi, Original_TCAssegnato, Original_DataInizioODL, Original_Semaforo, Original_idxStato, Original_DescrizioneStato, Original_durata, Original_PezziProd, Original_PezziConf, Original_TempoOn, Original_TempoAuto, Original_TempoRun, Original_TCMedio, Original_TCLav, Original_TCEff, Original_TCMedioRT, Original_TCLavRT, Original_TCEffRT, RowNum);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 ProduzioneAs400TableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 ProduzioneAs400TableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "ProduzioneAs400";
|
|
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
|
tableMapping.ColumnMappings.Add("CommessaAs400", "CommessaAs400");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("TotPzProd", "TotPzProd");
|
|
tableMapping.ColumnMappings.Add("DataRif", "DataRif");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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[2];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT IdxODL, CommessaAs400, DataRif, CodArticolo, TotPzProd\r\nFROM " +
|
|
" export.v_AS400_BufferProdAs400";
|
|
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_EXP_insProdAs400_OdlDate";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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_ProdTempi.ProduzioneAs400DataTable 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_ProdTempi.ProduzioneAs400DataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_ProdTempi.ProduzioneAs400DataTable dataTable = new DS_ProdTempi.ProduzioneAs400DataTable();
|
|
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 insProdAs400(global::System.Nullable<int> IdxODL, global::System.Nullable<global::System.DateTime> DataRif) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((IdxODL.HasValue == true)) {
|
|
command.Parameters[1].Value = ((int)(IdxODL.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataRif.HasValue == true)) {
|
|
command.Parameters[2].Value = ((System.DateTime)(DataRif.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 ResProdDett_splitODLTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 ResProdDett_splitODLTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "ResProdDett_splitODL";
|
|
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("pzOrd", "pzOrd");
|
|
tableMapping.ColumnMappings.Add("pzProd", "pzProd");
|
|
tableMapping.ColumnMappings.Add("pzConf", "pzConf");
|
|
tableMapping.ColumnMappings.Add("pzRiman", "pzRiman");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_ResProdDett_splitODL";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlClosed", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlOpen", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlNew", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_ProdTempi.ResProdDett_splitODLDataTable dataTable, string idxMacchina, string CodArticolo, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> OdlClosed, global::System.Nullable<bool> OdlOpen, global::System.Nullable<bool> OdlNew) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlClosed.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlOpen.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlNew.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
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_ProdTempi.ResProdDett_splitODLDataTable GetData(string idxMacchina, string CodArticolo, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> OdlClosed, global::System.Nullable<bool> OdlOpen, global::System.Nullable<bool> OdlNew) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlClosed.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlOpen.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlNew.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.ResProdDett_splitODLDataTable dataTable = new DS_ProdTempi.ResProdDett_splitODLDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 ResProdDett_splitGGTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 ResProdDett_splitGGTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "ResProdDett_splitGG";
|
|
tableMapping.ColumnMappings.Add("Data", "Data");
|
|
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
|
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
|
tableMapping.ColumnMappings.Add("pzProd", "pzProd");
|
|
tableMapping.ColumnMappings.Add("pzConf", "pzConf");
|
|
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_ResProdDett_splitGG";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlClosed", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlOpen", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlNew", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_ProdTempi.ResProdDett_splitGGDataTable dataTable, string idxMacchina, string CodArticolo, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> OdlClosed, global::System.Nullable<bool> OdlOpen, global::System.Nullable<bool> OdlNew) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlClosed.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlOpen.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlNew.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
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_ProdTempi.ResProdDett_splitGGDataTable GetData(string idxMacchina, string CodArticolo, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> OdlClosed, global::System.Nullable<bool> OdlOpen, global::System.Nullable<bool> OdlNew) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((idxMacchina == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(idxMacchina));
|
|
}
|
|
if ((CodArticolo == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo));
|
|
}
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlClosed.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlClosed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlOpen.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((bool)(OdlOpen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlNew.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((bool)(OdlNew.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_ProdTempi.ResProdDett_splitGGDataTable dataTable = new DS_ProdTempi.ResProdDett_splitGGDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 ResProdTotTableAdapter : global::System.ComponentModel.Component {
|
|
|
|
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
|
private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
|
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
|
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 ResProdTotTableAdapter() {
|
|
this.ClearBeforeFill = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected internal 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")]
|
|
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
get {
|
|
return this._transaction;
|
|
}
|
|
set {
|
|
this._transaction = value;
|
|
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
this.CommandCollection[i].Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.DeleteCommand != null))) {
|
|
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.InsertCommand != null))) {
|
|
this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
}
|
|
if (((this.Adapter != null)
|
|
&& (this.Adapter.UpdateCommand != null))) {
|
|
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 = "ResProdTot";
|
|
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
|
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
|
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
|
tableMapping.ColumnMappings.Add("pzOrd", "pzOrd");
|
|
tableMapping.ColumnMappings.Add("pzProd", "pzProd");
|
|
tableMapping.ColumnMappings.Add("pzConf", "pzConf");
|
|
tableMapping.ColumnMappings.Add("pzRiman", "pzRiman");
|
|
tableMapping.ColumnMappings.Add("Stato", "Stato");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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 = "dbo.stp_ResProd_getByPeriodo";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlClosed", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlOpen", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OdlNew", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxMulti", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 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_ProdTempi.ResProdTotDataTable dataTable, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> OdlClosed, global::System.Nullable<bool> OdlOpen, global::System.Nullable<bool> OdlNew, string idxMulti) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlClosed.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(OdlClosed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlOpen.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(OdlOpen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlNew.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlNew.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxMulti == null)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((string)(idxMulti));
|
|
}
|
|
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_ProdTempi.ResProdTotDataTable GetData(global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, global::System.Nullable<bool> OdlClosed, global::System.Nullable<bool> OdlOpen, global::System.Nullable<bool> OdlNew, string idxMulti) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((dataFrom.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(dataFrom.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((dataTo.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(dataTo.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlClosed.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(OdlClosed.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlOpen.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((bool)(OdlOpen.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OdlNew.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((bool)(OdlNew.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((idxMulti == null)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((string)(idxMulti));
|
|
}
|
|
DS_ProdTempi.ResProdTotDataTable dataTable = new DS_ProdTempi.ResProdTotDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
|
|
"esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
|
|
public partial class TableAdapterManager : global::System.ComponentModel.Component {
|
|
|
|
private UpdateOrderOption _updateOrder;
|
|
|
|
private TempiCicloRilevatiTableAdapter _tempiCicloRilevatiTableAdapter;
|
|
|
|
private AnagArticoliTableAdapter _anagArticoliTableAdapter;
|
|
|
|
private PostazioniMapoTableAdapter _postazioniMapoTableAdapter;
|
|
|
|
private DatiConfermatiTableAdapter _datiConfermatiTableAdapter;
|
|
|
|
private CalendFesteFerieTableAdapter _calendFesteFerieTableAdapter;
|
|
|
|
private DatiProduzioneTableAdapter _datiProduzioneTableAdapter;
|
|
|
|
private TurniMacchinaTableAdapter _turniMacchinaTableAdapter;
|
|
|
|
private MappaStatoExplTableAdapter _mappaStatoExplTableAdapter;
|
|
|
|
private bool _backupDataSetBeforeUpdate;
|
|
|
|
private global::System.Data.IDbConnection _connection;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public UpdateOrderOption UpdateOrder {
|
|
get {
|
|
return this._updateOrder;
|
|
}
|
|
set {
|
|
this._updateOrder = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public TempiCicloRilevatiTableAdapter TempiCicloRilevatiTableAdapter {
|
|
get {
|
|
return this._tempiCicloRilevatiTableAdapter;
|
|
}
|
|
set {
|
|
this._tempiCicloRilevatiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public AnagArticoliTableAdapter AnagArticoliTableAdapter {
|
|
get {
|
|
return this._anagArticoliTableAdapter;
|
|
}
|
|
set {
|
|
this._anagArticoliTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public PostazioniMapoTableAdapter PostazioniMapoTableAdapter {
|
|
get {
|
|
return this._postazioniMapoTableAdapter;
|
|
}
|
|
set {
|
|
this._postazioniMapoTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public DatiConfermatiTableAdapter DatiConfermatiTableAdapter {
|
|
get {
|
|
return this._datiConfermatiTableAdapter;
|
|
}
|
|
set {
|
|
this._datiConfermatiTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public CalendFesteFerieTableAdapter CalendFesteFerieTableAdapter {
|
|
get {
|
|
return this._calendFesteFerieTableAdapter;
|
|
}
|
|
set {
|
|
this._calendFesteFerieTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public DatiProduzioneTableAdapter DatiProduzioneTableAdapter {
|
|
get {
|
|
return this._datiProduzioneTableAdapter;
|
|
}
|
|
set {
|
|
this._datiProduzioneTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public TurniMacchinaTableAdapter TurniMacchinaTableAdapter {
|
|
get {
|
|
return this._turniMacchinaTableAdapter;
|
|
}
|
|
set {
|
|
this._turniMacchinaTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
|
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
|
"a", "System.Drawing.Design.UITypeEditor")]
|
|
public MappaStatoExplTableAdapter MappaStatoExplTableAdapter {
|
|
get {
|
|
return this._mappaStatoExplTableAdapter;
|
|
}
|
|
set {
|
|
this._mappaStatoExplTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool BackupDataSetBeforeUpdate {
|
|
get {
|
|
return this._backupDataSetBeforeUpdate;
|
|
}
|
|
set {
|
|
this._backupDataSetBeforeUpdate = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public global::System.Data.IDbConnection Connection {
|
|
get {
|
|
if ((this._connection != null)) {
|
|
return this._connection;
|
|
}
|
|
if (((this._tempiCicloRilevatiTableAdapter != null)
|
|
&& (this._tempiCicloRilevatiTableAdapter.Connection != null))) {
|
|
return this._tempiCicloRilevatiTableAdapter.Connection;
|
|
}
|
|
if (((this._anagArticoliTableAdapter != null)
|
|
&& (this._anagArticoliTableAdapter.Connection != null))) {
|
|
return this._anagArticoliTableAdapter.Connection;
|
|
}
|
|
if (((this._postazioniMapoTableAdapter != null)
|
|
&& (this._postazioniMapoTableAdapter.Connection != null))) {
|
|
return this._postazioniMapoTableAdapter.Connection;
|
|
}
|
|
if (((this._datiConfermatiTableAdapter != null)
|
|
&& (this._datiConfermatiTableAdapter.Connection != null))) {
|
|
return this._datiConfermatiTableAdapter.Connection;
|
|
}
|
|
if (((this._calendFesteFerieTableAdapter != null)
|
|
&& (this._calendFesteFerieTableAdapter.Connection != null))) {
|
|
return this._calendFesteFerieTableAdapter.Connection;
|
|
}
|
|
if (((this._datiProduzioneTableAdapter != null)
|
|
&& (this._datiProduzioneTableAdapter.Connection != null))) {
|
|
return this._datiProduzioneTableAdapter.Connection;
|
|
}
|
|
if (((this._turniMacchinaTableAdapter != null)
|
|
&& (this._turniMacchinaTableAdapter.Connection != null))) {
|
|
return this._turniMacchinaTableAdapter.Connection;
|
|
}
|
|
if (((this._mappaStatoExplTableAdapter != null)
|
|
&& (this._mappaStatoExplTableAdapter.Connection != null))) {
|
|
return this._mappaStatoExplTableAdapter.Connection;
|
|
}
|
|
return null;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int TableAdapterInstanceCount {
|
|
get {
|
|
int count = 0;
|
|
if ((this._tempiCicloRilevatiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._anagArticoliTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._postazioniMapoTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._datiConfermatiTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._datiProduzioneTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._turniMacchinaTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._mappaStatoExplTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
return count;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Update rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateUpdatedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._tempiCicloRilevatiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.TempiCicloRilevati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._tempiCicloRilevatiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._mappaStatoExplTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.MappaStatoExpl.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._mappaStatoExplTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._turniMacchinaTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.TurniMacchina.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._turniMacchinaTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._datiProduzioneTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.DatiProduzione.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._datiProduzioneTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._calendFesteFerieTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._datiConfermatiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.DatiConfermati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._datiConfermatiTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._postazioniMapoTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.PostazioniMapo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._postazioniMapoTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._anagArticoliTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._anagArticoliTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Insert rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateInsertedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._tempiCicloRilevatiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.TempiCicloRilevati.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._tempiCicloRilevatiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._mappaStatoExplTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.MappaStatoExpl.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._mappaStatoExplTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._turniMacchinaTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.TurniMacchina.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._turniMacchinaTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._datiProduzioneTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.DatiProduzione.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._datiProduzioneTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._calendFesteFerieTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._datiConfermatiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.DatiConfermati.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._datiConfermatiTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._postazioniMapoTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.PostazioniMapo.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._postazioniMapoTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._anagArticoliTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._anagArticoliTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Delete rows in bottom-up order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateDeletedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
|
|
int result = 0;
|
|
if ((this._anagArticoliTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._anagArticoliTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._postazioniMapoTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.PostazioniMapo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._postazioniMapoTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._datiConfermatiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.DatiConfermati.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._datiConfermatiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.CalendFesteFerie.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._calendFesteFerieTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._datiProduzioneTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.DatiProduzione.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._datiProduzioneTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._turniMacchinaTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.TurniMacchina.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._turniMacchinaTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._mappaStatoExplTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.MappaStatoExpl.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._mappaStatoExplTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._tempiCicloRilevatiTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.TempiCicloRilevati.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._tempiCicloRilevatiTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
if (((updatedRows == null)
|
|
|| (updatedRows.Length < 1))) {
|
|
return updatedRows;
|
|
}
|
|
if (((allAddedRows == null)
|
|
|| (allAddedRows.Count < 1))) {
|
|
return updatedRows;
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = updatedRows[i];
|
|
if ((allAddedRows.Contains(row) == false)) {
|
|
realUpdatedRows.Add(row);
|
|
}
|
|
}
|
|
return realUpdatedRows.ToArray();
|
|
}
|
|
|
|
/// <summary>
|
|
///Update all changes to the dataset.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public virtual int UpdateAll(DS_ProdTempi dataSet) {
|
|
if ((dataSet == null)) {
|
|
throw new global::System.ArgumentNullException("dataSet");
|
|
}
|
|
if ((dataSet.HasChanges() == false)) {
|
|
return 0;
|
|
}
|
|
if (((this._tempiCicloRilevatiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._tempiCicloRilevatiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._anagArticoliTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._anagArticoliTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._postazioniMapoTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._postazioniMapoTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._datiConfermatiTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._datiConfermatiTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._calendFesteFerieTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._calendFesteFerieTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._datiProduzioneTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._datiProduzioneTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._turniMacchinaTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._turniMacchinaTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._mappaStatoExplTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._mappaStatoExplTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
global::System.Data.IDbConnection workConnection = this.Connection;
|
|
if ((workConnection == null)) {
|
|
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
|
|
"ger TableAdapter property to a valid TableAdapter instance.");
|
|
}
|
|
bool workConnOpened = false;
|
|
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
|
|
== global::System.Data.ConnectionState.Broken)) {
|
|
workConnection.Close();
|
|
}
|
|
if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
|
|
workConnection.Open();
|
|
workConnOpened = true;
|
|
}
|
|
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
|
|
if ((workTransaction == null)) {
|
|
throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
|
|
"ctions or the current state is not allowing the transaction to begin.");
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
|
|
global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
|
|
int result = 0;
|
|
global::System.Data.DataSet backupDataSet = null;
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
backupDataSet = new global::System.Data.DataSet();
|
|
backupDataSet.Merge(dataSet);
|
|
}
|
|
try {
|
|
// ---- Prepare for update -----------
|
|
//
|
|
if ((this._tempiCicloRilevatiTableAdapter != null)) {
|
|
revertConnections.Add(this._tempiCicloRilevatiTableAdapter, this._tempiCicloRilevatiTableAdapter.Connection);
|
|
this._tempiCicloRilevatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._tempiCicloRilevatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._tempiCicloRilevatiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._tempiCicloRilevatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._tempiCicloRilevatiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._anagArticoliTableAdapter != null)) {
|
|
revertConnections.Add(this._anagArticoliTableAdapter, this._anagArticoliTableAdapter.Connection);
|
|
this._anagArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._anagArticoliTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._anagArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._anagArticoliTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._anagArticoliTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._postazioniMapoTableAdapter != null)) {
|
|
revertConnections.Add(this._postazioniMapoTableAdapter, this._postazioniMapoTableAdapter.Connection);
|
|
this._postazioniMapoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._postazioniMapoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._postazioniMapoTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._postazioniMapoTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._postazioniMapoTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._datiConfermatiTableAdapter != null)) {
|
|
revertConnections.Add(this._datiConfermatiTableAdapter, this._datiConfermatiTableAdapter.Connection);
|
|
this._datiConfermatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._datiConfermatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._datiConfermatiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._datiConfermatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._datiConfermatiTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
revertConnections.Add(this._calendFesteFerieTableAdapter, this._calendFesteFerieTableAdapter.Connection);
|
|
this._calendFesteFerieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._calendFesteFerieTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._calendFesteFerieTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._calendFesteFerieTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._calendFesteFerieTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._datiProduzioneTableAdapter != null)) {
|
|
revertConnections.Add(this._datiProduzioneTableAdapter, this._datiProduzioneTableAdapter.Connection);
|
|
this._datiProduzioneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._datiProduzioneTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._datiProduzioneTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._datiProduzioneTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._datiProduzioneTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._turniMacchinaTableAdapter != null)) {
|
|
revertConnections.Add(this._turniMacchinaTableAdapter, this._turniMacchinaTableAdapter.Connection);
|
|
this._turniMacchinaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._turniMacchinaTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._turniMacchinaTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._turniMacchinaTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._turniMacchinaTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._mappaStatoExplTableAdapter != null)) {
|
|
revertConnections.Add(this._mappaStatoExplTableAdapter, this._mappaStatoExplTableAdapter.Connection);
|
|
this._mappaStatoExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._mappaStatoExplTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._mappaStatoExplTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._mappaStatoExplTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._mappaStatoExplTableAdapter.Adapter);
|
|
}
|
|
}
|
|
//
|
|
//---- Perform updates -----------
|
|
//
|
|
if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
}
|
|
else {
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
}
|
|
result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
|
|
//
|
|
//---- Commit updates -----------
|
|
//
|
|
workTransaction.Commit();
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
if ((0 < allChangedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
|
|
allChangedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
}
|
|
catch (global::System.Exception ex) {
|
|
workTransaction.Rollback();
|
|
// ---- Restore the dataset -----------
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
global::System.Diagnostics.Debug.Assert((backupDataSet != null));
|
|
dataSet.Clear();
|
|
dataSet.Merge(backupDataSet);
|
|
}
|
|
else {
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
row.SetAdded();
|
|
}
|
|
}
|
|
}
|
|
throw ex;
|
|
}
|
|
finally {
|
|
if (workConnOpened) {
|
|
workConnection.Close();
|
|
}
|
|
if ((this._tempiCicloRilevatiTableAdapter != null)) {
|
|
this._tempiCicloRilevatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tempiCicloRilevatiTableAdapter]));
|
|
this._tempiCicloRilevatiTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._anagArticoliTableAdapter != null)) {
|
|
this._anagArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagArticoliTableAdapter]));
|
|
this._anagArticoliTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._postazioniMapoTableAdapter != null)) {
|
|
this._postazioniMapoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._postazioniMapoTableAdapter]));
|
|
this._postazioniMapoTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._datiConfermatiTableAdapter != null)) {
|
|
this._datiConfermatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._datiConfermatiTableAdapter]));
|
|
this._datiConfermatiTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._calendFesteFerieTableAdapter != null)) {
|
|
this._calendFesteFerieTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._calendFesteFerieTableAdapter]));
|
|
this._calendFesteFerieTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._datiProduzioneTableAdapter != null)) {
|
|
this._datiProduzioneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._datiProduzioneTableAdapter]));
|
|
this._datiProduzioneTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._turniMacchinaTableAdapter != null)) {
|
|
this._turniMacchinaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._turniMacchinaTableAdapter]));
|
|
this._turniMacchinaTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._mappaStatoExplTableAdapter != null)) {
|
|
this._mappaStatoExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._mappaStatoExplTableAdapter]));
|
|
this._mappaStatoExplTableAdapter.Transaction = null;
|
|
}
|
|
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
|
|
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
|
|
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
|
|
for (int i = 0; (i < adapters.Length); i = (i + 1)) {
|
|
global::System.Data.Common.DataAdapter adapter = adapters[i];
|
|
adapter.AcceptChangesDuringUpdate = true;
|
|
}
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
|
|
global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
|
|
if ((this._connection != null)) {
|
|
return true;
|
|
}
|
|
if (((this.Connection == null)
|
|
|| (inputConnection == null))) {
|
|
return true;
|
|
}
|
|
if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/// <summary>
|
|
///Update Order Option
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public enum UpdateOrderOption {
|
|
|
|
InsertUpdateDelete = 0,
|
|
|
|
UpdateInsertDelete = 1,
|
|
}
|
|
|
|
/// <summary>
|
|
///Used to sort self-referenced table's rows
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
|
|
|
|
private global::System.Data.DataRelation _relation;
|
|
|
|
private int _childFirst;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
|
|
this._relation = relation;
|
|
if (childFirst) {
|
|
this._childFirst = -1;
|
|
}
|
|
else {
|
|
this._childFirst = 1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
|
|
global::System.Diagnostics.Debug.Assert((row != null));
|
|
global::System.Data.DataRow root = row;
|
|
distance = 0;
|
|
|
|
global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
|
|
traversedRows[row] = row;
|
|
|
|
global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
}
|
|
|
|
if ((distance == 0)) {
|
|
traversedRows.Clear();
|
|
traversedRows[row] = row;
|
|
parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
}
|
|
}
|
|
|
|
return root;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
|
|
if (object.ReferenceEquals(row1, row2)) {
|
|
return 0;
|
|
}
|
|
if ((row1 == null)) {
|
|
return -1;
|
|
}
|
|
if ((row2 == null)) {
|
|
return 1;
|
|
}
|
|
|
|
int distance1 = 0;
|
|
global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
|
|
|
|
int distance2 = 0;
|
|
global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
|
|
|
|
if (object.ReferenceEquals(root1, root2)) {
|
|
return (this._childFirst * distance1.CompareTo(distance2));
|
|
}
|
|
else {
|
|
global::System.Diagnostics.Debug.Assert(((root1.Table != null)
|
|
&& (root2.Table != null)));
|
|
if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
|
|
return -1;
|
|
}
|
|
else {
|
|
return 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#pragma warning restore 1591 |